Age | Commit message (Collapse) | Author |
|
We ended up with two lxc fragments when meta-virtualization
was sync'd to the kernel-cache
We can make our existing feature include the new one and
nothing will break.
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
|
|
This is required to enable the hugetlb cgroup.
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
|
|
Add CONFIG_CGROUP_BPF to ensure docker can be started under cgroup v2,
otherwise it would report the following error:
Error: for ... error setting cgroup config for procHooks process:
bpf_prog_query(BPF_CGROUP_DEVICE) failed: invalid argument: unknown
Cgroup v2 device controller has no interface files and is implemented on top
of cgroup BPF. To control access to device files, a user may create bpf programs
of type BPF_PROG_TYPE_CGROUP_DEVICE and attach them to cgroups with
BPF_CGROUP_DEVICE flag.
Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
|
|
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
|
|
NO_HZ was obsoleted in 2011[1] and simply selects NO_HZ_IDLE.
[1] linux 3ca277e
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
|
|
It's required at least in selftest to test read-only file systems.
Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
|
|
CONFIG_DEBUG_CREDENTIALS
kernel upstream already removed the CONFIG_DEBUG_CREDENTIALS[1],
this causes do_kernel_configcheck report warnings:
[INFO]: the following symbols were not found in the active configuration:
- CONFIG_DEBUG_CREDENTIALS
[1] https://git.kernel.org/linus/ae191417
Kernel's 6.7+ need this change.
Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
|
|
CONFIG_MICROCODE_AND and CONFIG_MICROCODE_INTEL are automatically
selected based on the cpu. We no longer need to explicitly set
the values.
See upstream commt: e6bcfdd75d53 [x86/microcode: Hide the config knob]
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
|
|
commit 9db5d918e2c07fa09f [netfilter: ip_tables: remove clusterip
target] removes CONFIG_IP_NF_TARGET_CLUSTERIP from the kernel, so
we update our fragments accordingly.
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
|
|
commit 0f5b2c69a4cbe4166ca24b76d5ada98ed2867741
Author: Ard Biesheuvel <ardb@kernel.org>
Date: Mon Jun 20 13:34:03 2022 +0200
efi: vars: Remove deprecated 'efivars' sysfs interface
Commit 5d9db883761a ("efi: Add support for a UEFI variable filesystem")
dated Oct 5, 2012, introduced a new efivarfs pseudo-filesystem to
replace the efivars sysfs interface that was used up to that point to
expose EFI variables to user space.
The main problem with the sysfs interface was that it only supported up
to 1024 bytes of payload per file, whereas the underlying variables
themselves are only bounded by a platform specific per-variable and
global limit that is typically much higher than 1024 bytes.
The deprecated sysfs interface is only enabled on x86 and Itanium, other
EFI enabled architectures only support the efivarfs pseudo-filesystem.
So let's finally rip off the band aid, and drop the old interface
entirely. This will make it easier to refactor and clean up the
underlying infrastructure that is shared between efivars, efivarfs and
efi-pstore, and is long overdue for a makeover.
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
|
|
The config has been renamed:
https://github.com/torvalds/linux/commit/8b766b0f8eece55155146f7628610ce54a065e0f
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
|
|
commit d334505d98a85ffe7549026d10e43cccd897e19c [efi.cfg: Drop ACPI dependency]
is generating configuration warnings on both qemuarm64 and x86 for the
poky-tiny configuration.
x864:
- because we configure tiny with allnoconfig, and then apply our
fragments, the default of ACPI=y for x86 doesn't hold. We need
to exlicitly enable it. We put it in the x86 fragment, to avoid
bringing warnings back for arm32
ARM:
- We can't assign to ARCH_SUPPORTS_ACPI, as that is a select only
value. The only selector for that config in arch/arm is CONFIG_EFI.
The default of CONFIG_ACPI was added to support EFI if required,
but since CONFIG_EFI takes care of the selection, we don't need it
in our BSP configuration.
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
|
|
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
|
|
On X86 this will have no impact as CONFIG_ACPI is enabled by default. On
the other hand, ARM64 would be affected as they don't have the same
default. The defconfig for arm64 recommends CONFIG_ACPI and this patch
follows this recommendation in the qemuarm64 bsp configuration to fix
ACPI-only EFI boots on this arch.
arm (32bit) would also be unaffected as there is no ACPI support there
at all. And this unconditional drop (CONFIG_ACPI) will actually fix a
configuration warning when enabling EFI on a arm (32bit) machine:
[INFO]: config 'CONFIG_ACPI' was set, but it wasn't assignable, check
(parent) dependencies
Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
|
|
commit 83a44a4f47ad20997aebb311fc678a13cde391d7
Author: Masahiro Yamada <masahiroy@kernel.org>
Date: Mon Mar 14 12:48:41 2022 -0700
x86: Remove toolchain check for X32 ABI capability
Commit 0bf6276392e9 ("x32: Warn and disable rather than error if
binutils too old") added a small test in arch/x86/Makefile because
binutils 2.22 or newer is needed to properly support elf32-x86-64. This
check is no longer necessary, as the minimum supported version of
binutils is 2.23, which is enforced at configuration time with
scripts/min-tool-version.sh.
Remove this check and replace all uses of CONFIG_X86_X32 with
CONFIG_X86_X32_ABI, as two symbols are no longer necessary.
[nathan: Rebase, fix up a few places where CONFIG_X86_X32 was still
used, and simplify commit message to satisfy -tip requirements]
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lore.kernel.org/r/20220314194842.3452-2-nathan@kernel.org
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
|
|
This patch ebanles MDIO bus device support, required by mdio-tools for
low-level MDIO bus communcation.
Signed-off-by: Potin Lai <potin.lai.pt@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
|
|
This patch removes the warning message when enabling debug-info.scc:
WARNING: linux-yocto-${PV} do_kernel_configcheck: \
[kernel config]: This BSP contains fragments with warnings:
[INFO]: the following symbols were not found in the active configuration:
- CONFIG_TEST
CONFIG_TEST is not a real config and is apparently an artifact from an
old test.
Signed-off-by: Dylan Garrett <dylang@microsoft.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
|
|
The default 'n' of tiny is causing some of the prerequisites for the
virtio drivers to not be enabled. Add them here so that they will work
if enabled in a tiny config.
Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
|
|
Upstream is dropping support for is not set, so we adjust our
configs accordingly.
Commit:
https://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild.git/commit/?h=for-next&id=55de8686df7ed2b5237867b130e30c728bbd9db4
kconfig: change .config format to use =n instead of "is not set"
The .config file uses "# CONFIG_FOO is not set" form to represent
disabled options. In the old days, it was useful because the .config
was directly included from Makefiles. For example, you can use
"ifdef CONFIG_FOO" in Makefiles to check if the option is enabled.
Commit c955ccafc38e ("kconfig: fix .config dependencies") introduced
include/config/auto.conf, which mirrors the .config, but trims down
all disabled options.
Since then, include/config/auto.conf defines CONFIG options during the
build. The .config is used just for storing the user's configuration.
I do not see a strong reason to use a particular pattern of comment
for disabled options.
With this commit, Kconfig will output disable options in a more natural
form, "CONFIG_FOO=n".
Kconfig accepts both "# CONFIG_FOO is not set" and "CONFIG_FOO=n" as a
valid input. You do not need to update arch/*/configs/*_defconfig files
for now. "git bisect" should be able to cross the commit in both ways
without any issue.
A problem may occur if you parse the .config for the "# ... is not set"
patterns.
I adjusted streamline_config.pl, merge_config.sh,
scripts/kconfig/tests/.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Boris Kolpackov <boris@codesynthesis.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
|
|
Add a scc file that groups together various debug and emulation features needed
for syzkaller fuzzing. Syzkaller runtime sanity checks now report that most
required features are enabled:
loading corpus...
serving http on http://127.0.0.1:53725
serving rpc on tcp://[::]:39765
booting test machines...
wait for the connection from test machine...
machine check:
syscalls : 2222/4223
code coverage : enabled
comparison tracing : enabled
extra coverage : enabled
delay kcov mmap : mmap returned an invalid pointer
setuid sandbox : enabled
namespace sandbox : enabled
Android sandbox : /sys/fs/selinux/policy does not exist
fault injection : enabled
leak checking : enabled
net packet injection : enabled
net device setup : enabled
concurrency sanitizer : enabled
devlink PCI setup : PCI device 0000:00:10.0 is not available
USB emulation : enabled
hci packet injection : enabled
wifi device emulation : enabled
802.15.4 emulation : enabled
corpus : 855 (deleted 0 broken)
seeds : 0/0
Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
|
|
Add support for enabling fault injection debugfs capabilities. It's desirable
to have this feature enabled when doing kernel fuzzing with syzkaller.
Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
|
|
Add support for enabling Kernel Concurrency Sanitizer (KCSAN). It's desirable
to have this feature enabled when doing kernel fuzzing with syzkaller.
Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
|
|
KCOV exposes kernel code coverage information in a form suitable for
coverage-guided fuzzing. This debug feature can be enabled to add support for
kernel fuzzing (with tools such as syzkaller).
Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
|
|
The REMOTEPROC has been changed to bool type by
commit 6334150e9a36 ("remoteproc: don't allow modular
build"), so we should set it to "Y" instead of "M".
Signed-off-by: Xiaolei Wang <xiaolei.wang@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
|
|
Add SCSI_FC_ATTRS for FUSION_FC
Add NET_FC for FUSION_LAN
Remove SCSI LOGGING configuration options no longer in kernel
Signed-off-by: Jate Sujjavanich <jatedev@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
|
|
Drop references to config_ide, since the driver has been removed
from the 5.14 kernel:
commit b7fb14d3ac63117e0e8beabe75f4ea52051fbe3a
Author: Christoph Hellwig <hch@lst.de>
Date: Wed Jun 16 15:46:58 2021 +0200
ide: remove the legacy ide driver
The legay ide driver has been replace with libata starting in 2003 and has
been scheduled for removal for a while. Finally kill it off so that we
can start cleaning up various bits of cruft it forced on the block layer.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
|
|
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
|
|
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
|
|
The following commits make these configs unnecessary:
commit 1849a3872f035494639201fdefb394425233647b
Author: Cezary Rojewski <cezary.rojewski@intel.com>
Date: Mon Oct 12 11:50:05 2020 +0200
ASoC: Intel: atom: Remove duplicate kconfigs
SND_SST_IPC and its _PCI and _ACPI variants all target
sound/soc/intel/atom solution alone. SND_SST_IPC is the core component,
required for PCI and ACPI based atom platforms both. _PCI and _ACPI
target Merrifield/Edison and Baytrial/Cherrytrail platforms
respectively.
On top of that, there is an equivalent set of configs targeting the same
solution:
- SND_SST_ATOM_HIFI2_PLATFORM (core)
- SND_SST_ATOM_HIFI2_PLATFORM_PCI
- SND_SST_ATOM_HIFI2_PLATFORM_ACPI
As both sets do the same job - allow for granular platform selection -
remove the duplicate set and rely on SND_SST_ATOM_HIFI2_PLATOFRM_XXX
configs alone.
Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20201012095005.29859-1-cezary.rojewski@intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
ommit fb94b7b11c6a20b786c6a8aec3d701ced8854419
Author: Cezary Rojewski <cezary.rojewski@intel.com>
Date: Tue Oct 6 08:49:00 2020 +0200
ASoC: Intel: Remove SST firmware components
sst-firmware is host to many image loading over DMA operations. Majority
of code targets sound/soc/intel/haswell solution as /baytrail/ never
switched to DMA-based firmware loading. With /haswell/ removed this code
serves no purpose. Address this redundancy.
Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Liam Girdwood <liam.r.girdwood@intel.com>
Link: https://lore.kernel.org/r/20201006064907.16277-7-cezary.rojewski@intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
|
|
virtio-vsock provides a POSIX Sockets API based host/guest
communications capability.
Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
|
|
On some embedded systems 8250 compatible serial ports meant to be
defined in devicetree. Config SERIAL_OF_PLATFORM enables probing of
them.
Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
|
|
nat is widely used in virtualization environment. For example, libvirt expects
one of ipv4 and ipv6 nat working by default.
Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
|
|
Remove CONFIG_OPTIMIZE_INLINING and associated features entirely. The
config has been removed starting 5.7.
https://github.com/torvalds/linux/commit/889b3c1245de48ed0cacf7aebb25c489d3e4a3e9
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
|
|
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
|
|
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
|
|
There isn`t PRUSS(Programmable Real-Time Units) driver in kernel. So removed it
support under the basic support to avoid kernel_configcheck build warning.
Signed-off-by: Jun Miao <jun.miao@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
|
|
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
|
|
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
|
|
Signed-off-by: Yann CARDAILLAC <ycnakajsph@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
|
|
commit 69c1f396 [efi/x86: Convert x86 EFI earlyprintk into generic
earlycon implementation] changes the location, implementation and
Kconfig option for EFI early console.
So we update our fragments to match.
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
|
|
commit 4c145dce2 [xfrm: make xfrm modes builtin] moves the xfrm modes
into core and drops their associated Kconfig options. So we can safely
drop them from our fragment as well.
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
|
|
Add scc/cfg kernel fragment to build and boot EVM/SK and BeagleBone Black
boards all with am335x soc
Signed-off-by: Jun Miao <jun.miao@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
|
|
These have been removed and are now controlled by CONFIG_FS_ENCRYPTION
which is enabled by standard/preempt-rt.cfg.
https://github.com/torvalds/linux/commit/643fa9612bf1a29153eee46fd398117632f93cbe
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
|
|
The only way to boot from Intel VROC RAID disk is use initramfs with
mdadm installed, mdadm is used to initialize RAID volume and create
md device, During initialization it need read RAID status from efivarfs,
so efivarfs must be ready before mdadm initialize RAID volume
built-in efivarfs to kernel can aviod the timing problem and make mdadm
work well.
Signed-off-by: Liwei Song <liwei.song@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
|
|
Both the qemux86 and qemux86-64 targets RRECOMMEND the ens1370 kernel
module and set QB_AUDIO_OPT to support that as one of the audio cards as
well.
Fixes: daadaf7fd7d5 ("yocto-kernel-cache: [PATCH] Update audio support v2")
Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
|
|
While working with meta-virtualization I was cleaning up build
warnings:
WARNING: linux-yocto-4.18.21+gitAUTOINC+9e348b6f9d_db2d813869-r0
do_kernel_configcheck: [kernel config]: This BSP sets config
options that are not offered anywhere within this kernel:
CONFIG_EXT3_FS_XATTR
CONFIG_RESOURCE_COUNTERS
CONFIG_CGROUP_MEM_RES_CTLR
CONFIG_CLS_CGROUP
CONFIG_NETPRIO_CGROUP
CONFIG_DEVPTS_MULTIPLE_INSTANCES
Most of these were coming from a configuration fragment included in
meta-virtualization but some are also found here in the
kernel-cache. So while I had the history handy to complete the commit
for meta-virtualization I thought it best to do similar cleanup
here. The follow 3 kconfigs have been removed from the kernel-cache,
per the provided rationale.
CONFIG_DEVPTS_MULTIPLE_INSTANCES removed since kernel v4.7 via mainline
commit eedf265aa003b4781de24cfed40a655a664457e6
CONFIG_EXT3_FS_XATTR was revoved since kernel v4.3 via mainline
commit c290ea01abb7907fde602f3ba55905ef10a37477
CONFIG_RESOURCE_COUNTERS gone since kernel v3.19 via mainline
commit 5b1efc027c0b51ca3e76f4e00c83358f8349f543.
Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
|
|
This adds support for a virtual graphics card provided by QEMU,
which allows accelerated host-assisted GL inside QEMU guests.
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
|
|
Starting 4.15, Intel SKL audio configs instead of selecting, depend on
SND_SOC_INTEL_SKYLAKE which isn't enabled by default. Enable it to
ensure audio configs actually are enabled.
https://github.com/torvalds/linux/commit/f6a118a800e35af2c63f90cbcc23093f4b53b3a2
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
|
|
As of 4.16+ we need a source of entropy for ssl and other
crypto components to initialize during boot. To ensure that
our virtio based "BSPs" still work we add the cryptodev virtio
device.
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
|
|
In 2016, the final removal of GEN_RTC happened with commit
6705fdb3 char/genrtc: remove the rest of the driver
What is remaining, is a legacy driver (char/rtc) and the new
RTC_CLASS framework - which supports everything except S390
and Atari. Many platforms automatically support the right
driver for RTC_CLASS framework.
Signed-off-by: Jens Rehsack <sno@netbsd.org>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
|