[linux-yocto] [kernel-cache][master][yocto-6.6][PATCH] features/qat/qat.cfg: enable CONFIG_PCIEAER
Error: 4.24.0-5/qat17/quickassist/qat/drivers/crypto/qat/ qat_common/../../../../compat/qat_compat.c:401:19: error: 'struct pci_dev' has no member named 'aer_cap'; did you mean 'ats_cap'? | 401 | if (!dev->aer_cap) | | ^~~ | | ats_cap https://github.com/torvalds/linux/blob/296455ade1fdcf5f8f8c033201633b60946c589a/include/linux/pci.h#L339 Signed-off-by: Naveen Saini --- features/qat/qat.cfg | 2 ++ 1 file changed, 2 insertions(+) diff --git a/features/qat/qat.cfg b/features/qat/qat.cfg index 2dc36225..5f138f1f 100644 --- a/features/qat/qat.cfg +++ b/features/qat/qat.cfg @@ -10,3 +10,5 @@ CONFIG_CRYPTO_VMAC=m CONFIG_CRYPTO_CTS=m CONFIG_CRYPTO_RSA=y CONFIG_CRYPTO_DH=y +CONFIG_PCIEAER=y +CONFIG_RAS=y -- 2.34.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#13503): https://lists.yoctoproject.org/g/linux-yocto/message/13503 Mute This Topic: https://lists.yoctoproject.org/mt/103824880/21656 Group Owner: linux-yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[linux-yocto] [kernel-cache][PATCH] features: drop RANDOM_TRUST_CPU
This option is no longer present in v6.2-rcx as the following commit removed it: https://github.com/torvalds/linux/commit/b9b01a5625b5a9e9d96d14d4a813a54e8a124f4b Signed-off-by: Naveen Saini --- bsp/intel-common/intel-common-drivers.scc | 1 - features/random/random.cfg| 2 -- features/random/random.scc| 5 - kern-features.rc | 1 - 4 files changed, 9 deletions(-) delete mode 100644 features/random/random.cfg delete mode 100644 features/random/random.scc diff --git a/bsp/intel-common/intel-common-drivers.scc b/bsp/intel-common/intel-common-drivers.scc index 59dc6750..33451730 100644 --- a/bsp/intel-common/intel-common-drivers.scc +++ b/bsp/intel-common/intel-common-drivers.scc @@ -85,7 +85,6 @@ include features/input/keyboard-gpio.scc include features/ciphers/ciphers.scc include features/pci-iov/pci-iov.scc include features/intel-tco/intel-tco.scc -include features/random/random.scc # default policy for standard kernels include cfg/usb-mass-storage.scc diff --git a/features/random/random.cfg b/features/random/random.cfg deleted file mode 100644 index bacab3cb.. --- a/features/random/random.cfg +++ /dev/null @@ -1,2 +0,0 @@ -# SPDX-License-Identifier: MIT -CONFIG_RANDOM_TRUST_CPU=y diff --git a/features/random/random.scc b/features/random/random.scc deleted file mode 100644 index 0fd6584c.. --- a/features/random/random.scc +++ /dev/null @@ -1,5 +0,0 @@ -# SPDX-License-Identifier: MIT -define KFEATURE_DESCRIPTION "Trust CPU's random number generator for initializing kernel's CRNG" -define KFEATURE_COMPATIBILITY arch - -kconf hardware random.cfg diff --git a/kern-features.rc b/kern-features.rc index 4a55ed4f..c531c62f 100644 --- a/kern-features.rc +++ b/kern-features.rc @@ -124,7 +124,6 @@ config = features/rpmb/rpmb-sim.scc config = features/rpmb/rpmb-uapi.scc config = features/rpmb/rpmb-base.scc - config = features/random/random.scc config = features/usb/usb-raw-gadget.scc config = features/usb/designware-usb3.scc config = features/usb/usb-gadgets.scc -- 2.25.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#12366): https://lists.yoctoproject.org/g/linux-yocto/message/12366 Mute This Topic: https://lists.yoctoproject.org/mt/98193043/21656 Group Owner: linux-yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [linux-yocto] [kernel-cache][PATCH 10/11] common-pc: Enable DesignWare PWM & SPI Controller support
> -Original Message- > From: linux-yocto@lists.yoctoproject.org yo...@lists.yoctoproject.org> On Behalf Of Bruce Ashfield > Sent: Thursday, March 9, 2023 5:51 AM > To: Saini, Naveen Kumar > Cc: linux-yocto@lists.yoctoproject.org > Subject: Re: [linux-yocto] [kernel-cache][PATCH 10/11] common-pc: Enable > DesignWare PWM & SPI Controller support > > In message: [linux-yocto] [kernel-cache][PATCH 10/11] common-pc: Enable > DesignWare PWM & SPI Controller support on 06/03/2023 Naveen Saini > wrote: > > > Signed-off-by: Naveen Saini > > --- > > bsp/common-pc/common-pc-drivers.cfg | 9 + > > 1 file changed, 9 insertions(+) > > > > diff --git a/bsp/common-pc/common-pc-drivers.cfg > > b/bsp/common-pc/common-pc-drivers.cfg > > index 5e2018d6..0d2672bc 100644 > > --- a/bsp/common-pc/common-pc-drivers.cfg > > +++ b/bsp/common-pc/common-pc-drivers.cfg > > @@ -62,3 +62,12 @@ CONFIG_EEPROM_AT24=m > > > > CONFIG_NVME_CORE=y > > CONFIG_BLK_DEV_NVME=y > > + > > +# DesignWare PWM Controller > > +CONFIG_PWM_DWC=m > > + > > +# DesignWare SPI controller core support CONFIG_SPI_DESIGNWARE=m > > +CONFIG_SPI_DW_DMA=y CONFIG_SPI_DW_PCI=m > CONFIG_SPI_DW_MMIO=m > > Out of curiosity, why did these specific drivers get enabled in common-pc- > drivers, versus a named feature that could be included ? Yes, it should be included as named feature. I will do that. > > Bruce > > > -- > > 2.25.1 > > > > > > > > > -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#12257): https://lists.yoctoproject.org/g/linux-yocto/message/12257 Mute This Topic: https://lists.yoctoproject.org/mt/97420988/21656 Group Owner: linux-yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [linux-yocto] [kernel-cache][PATCH 01/11] features: drop RANDOM_TRUST_CPU
Hi Bruce, Thank you for reviewing. > -Original Message- > From: Bruce Ashfield > Sent: Thursday, March 9, 2023 6:00 AM > To: Saini, Naveen Kumar > Cc: linux-yocto@lists.yoctoproject.org > Subject: Re: [linux-yocto] [kernel-cache][PATCH 01/11] features: drop > RANDOM_TRUST_CPU > > Hi Naveen, > > I commented directly on one of the patches, and this 1/11 in particular is > clear, but the other patches in the series are a little bit less unclear as > to the > overall goal. > > As Paul mentioned, a 0/N for the series would have helped explain the > motivation. Yes, will make sure I provide that next time. > > I didn't reply directly to the review and thread that started, as everyone had > valid points to make. We have a balance to strike between enablement and > also providing a streamlined base configuration. > > I'm adding the following, so it'll be captured in the archives: > > Generic demo and "works everywhere" configs have their place, and in our > model, they are built up using the kernel features on top of a tuned baseline > configuration. It is easier to add than to remove. So we turn on as little as > possible, then have the kernel types, followed by kernel features triggered > by distro or recipe space coordinated features. > > The baseline machine configurations shouldn't be guessing what the distro or > image needs, and the distro or image shouldn't be undoing things that are > done by the baseline configuration to tune/slim it down. Those baseline > configs need to serve all the kernel types, they are also additive (for the > most part .. tiny is the outlier), not subtractive. > > All that being said, the review and comments are exactly what I like to see. > As we keep in mind that the machine/baseline configuration cannot possibly > be all things to all configurations. Not all users of the kernel-cache have to > adhere to the guidelines we have for the reference boards, kernel types, > etc, but we can certainly try and guide them in that direction, which is the > point of the shared repository of configuration fragments .. and that's what > we are doing here. > > What the intel boards are doing, actually is quite close to what I described > above. These are named features, and are included versus just adding the > configs to a giant .cfg/.scc file. That means that someone doing a new BSP > could decide what type of functionality to build on top of the baseline "it > boots" configuration. Maybe some of the fragments doing most of the > including could be named a bit differently, or be split a bit .. but that is > something we can do as different functionality needs are found on the ends > of the new > -> old board spectrum. > > So my only real question was whether or not we can split the fragments out > of common-pc, into a named fragment. For the ones being added in this series, I guess we can move them to a separate named .scc/.cfg instead of including in intel-common- drivers.scc. We can also create a new config for intel-skylake-64 machine (which enables relatively newer hardware) in meta-intel which can then turn on these features by default. Or, we can just enable the features in .scc via KERNEL_FEATURES in meta-intel so it's easier to disable or override if required. Please let us know what you think. > > That, and I assume this is for master, since you mentioned 6.2. Yes, this is for master/6.2. Thanks, Naveen > > Bruce > > In message: [linux-yocto] [kernel-cache][PATCH 01/11] features: drop > RANDOM_TRUST_CPU on 06/03/2023 Naveen Saini wrote: > > > This option is no longer present in v6.2 as the following commit removed it: > > > https://github.com/torvalds/linux/commit/b9b01a5625b5a9e9d96d14d4a813 > a > > 54e8a124f4b > > > > Signed-off-by: Naveen Saini > > --- > > bsp/intel-common/intel-common-drivers.scc | 1 - > > features/random/random.cfg| 2 -- > > features/random/random.scc| 5 - > > kern-features.rc | 1 - > > 4 files changed, 9 deletions(-) > > delete mode 100644 features/random/random.cfg delete mode 100644 > > features/random/random.scc > > > > diff --git a/bsp/intel-common/intel-common-drivers.scc > > b/bsp/intel-common/intel-common-drivers.scc > > index 59dc6750..33451730 100644 > > --- a/bsp/intel-common/intel-common-drivers.scc > > +++ b/bsp/intel-common/intel-common-drivers.scc > > @@ -85,7 +85,6 @@ include features/input/keyboard-gpio.scc include > > features/ciphers/ciphers.scc include features/pci-iov/pci-iov.scc > > include features/intel-tco/intel-tco.scc -include > > features/random/random.scc > >
Re: [linux-yocto] [kernel-cache][PATCH 08/11] bsp/intel-corei7-64-preempt-rt: Add support for Time-Sensitive Network
> -Original Message- > From: linux-yocto@lists.yoctoproject.org yo...@lists.yoctoproject.org> On Behalf Of Paul Gortmaker > Sent: Tuesday, March 7, 2023 12:20 AM > To: Saini, Naveen Kumar > Cc: linux-yocto@lists.yoctoproject.org > Subject: Re: [linux-yocto] [kernel-cache][PATCH 08/11] bsp/intel-corei7-64- > preempt-rt: Add support for Time-Sensitive Network > > [[linux-yocto] [kernel-cache][PATCH 08/11] bsp/intel-corei7-64-preempt-rt: > Add support for Time-Sensitive Network] On 06/03/2023 (Mon 16:52) > Naveen Saini via lists.yoctoproject.org wrote: > > > Signed-off-by: Naveen Saini > > --- > > bsp/intel-common/intel-corei7-64-preempt-rt.scc | 3 +++ > > 1 file changed, 3 insertions(+) > > > > diff --git a/bsp/intel-common/intel-corei7-64-preempt-rt.scc > > b/bsp/intel-common/intel-corei7-64-preempt-rt.scc > > index 8ec001cb..9ce0b97a 100644 > > --- a/bsp/intel-common/intel-corei7-64-preempt-rt.scc > > +++ b/bsp/intel-common/intel-corei7-64-preempt-rt.scc > > @@ -11,3 +11,6 @@ include ktypes/preempt-rt/preempt-rt.scc include > > intel-common-drivers.scc include intel-developer-drivers.scc include > > intel-corei7-64.scc > > + > > +# Time-Sensitive Network > > +include features/tsn/tsn.scc > > There is at least a decade worth of i7 CPU out there that don't have TSN > support, IIRC. > > I can't help but think that this, and a lot of the other options you've > enabled > in this series are aimed at the latest and greatest, but will just add bloat > to a > lot of other lower end (and older) x86-64 platforms. > Especially anything that lands in intel-common/intel-common-drivers.scc Thank you for reviewing. Yes, the goal was to enable newer features for more recent platforms from last 2-3 years so meta-intel kernel with MACHINE values works without having to add all these to KERNEL_FEATURES while building. > > I can't really tell what the goal was, since your series didn't have the > typical > "[0/11] intel: add options for " explanation preamble. > > But it seems like perhaps maybe it is time to create a new file under the > bsp/intel-common dir that reflects a certain board or family of products that > have these features -- vs. being confined to the existing categorization > dictated by existing files? That can be done. Are you suggesting that we add a MACHINE specific new file here and enable these newer features in that file (like Wind River does it using bsp/intel-x86?). But, even then won't we always have this problem whenever we have a set of new features that need to be enabled? All these configuration fragments are being enabled in intel-x86/ config as well and will be enabled in the new file we add so it just seems like a lot of work will be duplicated to avoid having to create a new baseline/common set of configs ... What if we create a intel- common/intel-common-drivers-extra.scc which enables these configs so intel-common-drivers.scc can continue to have a base set? > > Maybe you can describe what your end goal was, and we can go from there. > > Paul. > -- > > > -- > > 2.25.1 > > > > > > > > > -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#12228): https://lists.yoctoproject.org/g/linux-yocto/message/12228 Mute This Topic: https://lists.yoctoproject.org/mt/97420986/21656 Group Owner: linux-yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[linux-yocto] [kernel-cache][PATCH 11/11] bsp/intel-common: Enable Intel IOMMU & Intel Data Accelerators support
Signed-off-by: Naveen Saini --- bsp/intel-common/intel-common-drivers.scc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bsp/intel-common/intel-common-drivers.scc b/bsp/intel-common/intel-common-drivers.scc index 843bf2f8..3d7ca715 100644 --- a/bsp/intel-common/intel-common-drivers.scc +++ b/bsp/intel-common/intel-common-drivers.scc @@ -89,6 +89,9 @@ include features/pci-iov/pci-iov.scc include features/intel-tco/intel-tco.scc include features/thunderbolt/thunderbolt.scc include features/intel-dptf/intel-dptf.scc +include features/iommu/iommu.scc +include features/intel-idxd/intel-idxd.scc + # default policy for standard kernels include cfg/usb-mass-storage.scc -- 2.25.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#12225): https://lists.yoctoproject.org/g/linux-yocto/message/12225 Mute This Topic: https://lists.yoctoproject.org/mt/97420989/21656 Group Owner: linux-yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[linux-yocto] [kernel-cache][PATCH 08/11] bsp/intel-corei7-64-preempt-rt: Add support for Time-Sensitive Network
Signed-off-by: Naveen Saini --- bsp/intel-common/intel-corei7-64-preempt-rt.scc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bsp/intel-common/intel-corei7-64-preempt-rt.scc b/bsp/intel-common/intel-corei7-64-preempt-rt.scc index 8ec001cb..9ce0b97a 100644 --- a/bsp/intel-common/intel-corei7-64-preempt-rt.scc +++ b/bsp/intel-common/intel-corei7-64-preempt-rt.scc @@ -11,3 +11,6 @@ include ktypes/preempt-rt/preempt-rt.scc include intel-common-drivers.scc include intel-developer-drivers.scc include intel-corei7-64.scc + +# Time-Sensitive Network +include features/tsn/tsn.scc -- 2.25.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#1): https://lists.yoctoproject.org/g/linux-yocto/message/1 Mute This Topic: https://lists.yoctoproject.org/mt/97420986/21656 Group Owner: linux-yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[linux-yocto] [kernel-cache][PATCH 07/11] bsp/intel-common-drivers: Add i3c drivers
Signed-off-by: Naveen Saini --- bsp/intel-common/intel-common-drivers.scc | 1 + 1 file changed, 1 insertion(+) diff --git a/bsp/intel-common/intel-common-drivers.scc b/bsp/intel-common/intel-common-drivers.scc index 3712be93..843bf2f8 100644 --- a/bsp/intel-common/intel-common-drivers.scc +++ b/bsp/intel-common/intel-common-drivers.scc @@ -77,6 +77,7 @@ include features/leds/leds.scc include features/pwm/intel_pwm.scc include features/spi/spidev.scc include features/i2c/i2c-ismt.scc +include features/i3c/i3c.scc # Miscellaneous include cfg/dmaengine.scc -- 2.25.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#12220): https://lists.yoctoproject.org/g/linux-yocto/message/12220 Mute This Topic: https://lists.yoctoproject.org/mt/97420984/21656 Group Owner: linux-yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[linux-yocto] [kernel-cache][PATCH 10/11] common-pc: Enable DesignWare PWM & SPI Controller support
Signed-off-by: Naveen Saini --- bsp/common-pc/common-pc-drivers.cfg | 9 + 1 file changed, 9 insertions(+) diff --git a/bsp/common-pc/common-pc-drivers.cfg b/bsp/common-pc/common-pc-drivers.cfg index 5e2018d6..0d2672bc 100644 --- a/bsp/common-pc/common-pc-drivers.cfg +++ b/bsp/common-pc/common-pc-drivers.cfg @@ -62,3 +62,12 @@ CONFIG_EEPROM_AT24=m CONFIG_NVME_CORE=y CONFIG_BLK_DEV_NVME=y + +# DesignWare PWM Controller +CONFIG_PWM_DWC=m + +# DesignWare SPI controller core support +CONFIG_SPI_DESIGNWARE=m +CONFIG_SPI_DW_DMA=y +CONFIG_SPI_DW_PCI=m +CONFIG_SPI_DW_MMIO=m -- 2.25.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#12224): https://lists.yoctoproject.org/g/linux-yocto/message/12224 Mute This Topic: https://lists.yoctoproject.org/mt/97420988/21656 Group Owner: linux-yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[linux-yocto] [kernel-cache][PATCH 09/11] sound.cfg: Add support for SoundWire generic machine driver
Signed-off-by: Naveen Saini --- cfg/sound.cfg | 1 + 1 file changed, 1 insertion(+) diff --git a/cfg/sound.cfg b/cfg/sound.cfg index 3e11e940..e3f4f4f4 100644 --- a/cfg/sound.cfg +++ b/cfg/sound.cfg @@ -58,6 +58,7 @@ CONFIG_SND_SOC_INTEL_CHT_BSW_MAX98090_TI_MACH=m CONFIG_SND_SOC_INTEL_SKL_NAU88L25_SSM4567_MACH=m CONFIG_SND_SOC_INTEL_SKL_NAU88L25_MAX98357A_MACH=m CONFIG_SND_SOC_INTEL_SKYLAKE=m +CONFIG_SND_SOC_INTEL_SOUNDWIRE_SOF_MACH=m CONFIG_SND_SOC_AC97_CODEC=m CONFIG_SND_SOC_AK4104=m CONFIG_SND_SOC_AK4554=m -- 2.25.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#12223): https://lists.yoctoproject.org/g/linux-yocto/message/12223 Mute This Topic: https://lists.yoctoproject.org/mt/97420987/21656 Group Owner: linux-yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[linux-yocto] [kernel-cache][PATCH 03/11] bsp/intel-common-drivers: Include features/thunderbolt
Signed-off-by: Naveen Saini --- bsp/intel-common/intel-common-drivers.scc | 1 + 1 file changed, 1 insertion(+) diff --git a/bsp/intel-common/intel-common-drivers.scc b/bsp/intel-common/intel-common-drivers.scc index 33451730..48b09cd8 100644 --- a/bsp/intel-common/intel-common-drivers.scc +++ b/bsp/intel-common/intel-common-drivers.scc @@ -85,6 +85,7 @@ include features/input/keyboard-gpio.scc include features/ciphers/ciphers.scc include features/pci-iov/pci-iov.scc include features/intel-tco/intel-tco.scc +include features/thunderbolt/thunderbolt.scc # default policy for standard kernels include cfg/usb-mass-storage.scc -- 2.25.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#12221): https://lists.yoctoproject.org/g/linux-yocto/message/12221 Mute This Topic: https://lists.yoctoproject.org/mt/97420985/21656 Group Owner: linux-yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[linux-yocto] [kernel-cache][PATCH 04/11] bsp/intel-common-drivers: Add ice support
Signed-off-by: Naveen Saini --- bsp/intel-common/intel-common-drivers.scc | 1 + 1 file changed, 1 insertion(+) diff --git a/bsp/intel-common/intel-common-drivers.scc b/bsp/intel-common/intel-common-drivers.scc index 48b09cd8..5cef739a 100644 --- a/bsp/intel-common/intel-common-drivers.scc +++ b/bsp/intel-common/intel-common-drivers.scc @@ -43,6 +43,7 @@ include features/iwlwifi/iwlwifi.scc include features/iwlegacy/iwlegacy.scc include features/i40e/i40e.scc include features/igc/igc.scc +include features/ice/ice.scc # Various RF/Wireless technologies include features/nfc/nfc.scc -- 2.25.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#12217): https://lists.yoctoproject.org/g/linux-yocto/message/12217 Mute This Topic: https://lists.yoctoproject.org/mt/97420981/21656 Group Owner: linux-yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[linux-yocto] [kernel-cache][PATCH 01/11] features: drop RANDOM_TRUST_CPU
This option is no longer present in v6.2 as the following commit removed it: https://github.com/torvalds/linux/commit/b9b01a5625b5a9e9d96d14d4a813a54e8a124f4b Signed-off-by: Naveen Saini --- bsp/intel-common/intel-common-drivers.scc | 1 - features/random/random.cfg| 2 -- features/random/random.scc| 5 - kern-features.rc | 1 - 4 files changed, 9 deletions(-) delete mode 100644 features/random/random.cfg delete mode 100644 features/random/random.scc diff --git a/bsp/intel-common/intel-common-drivers.scc b/bsp/intel-common/intel-common-drivers.scc index 59dc6750..33451730 100644 --- a/bsp/intel-common/intel-common-drivers.scc +++ b/bsp/intel-common/intel-common-drivers.scc @@ -85,7 +85,6 @@ include features/input/keyboard-gpio.scc include features/ciphers/ciphers.scc include features/pci-iov/pci-iov.scc include features/intel-tco/intel-tco.scc -include features/random/random.scc # default policy for standard kernels include cfg/usb-mass-storage.scc diff --git a/features/random/random.cfg b/features/random/random.cfg deleted file mode 100644 index bacab3cb.. --- a/features/random/random.cfg +++ /dev/null @@ -1,2 +0,0 @@ -# SPDX-License-Identifier: MIT -CONFIG_RANDOM_TRUST_CPU=y diff --git a/features/random/random.scc b/features/random/random.scc deleted file mode 100644 index 0fd6584c.. --- a/features/random/random.scc +++ /dev/null @@ -1,5 +0,0 @@ -# SPDX-License-Identifier: MIT -define KFEATURE_DESCRIPTION "Trust CPU's random number generator for initializing kernel's CRNG" -define KFEATURE_COMPATIBILITY arch - -kconf hardware random.cfg diff --git a/kern-features.rc b/kern-features.rc index 4a55ed4f..c531c62f 100644 --- a/kern-features.rc +++ b/kern-features.rc @@ -124,7 +124,6 @@ config = features/rpmb/rpmb-sim.scc config = features/rpmb/rpmb-uapi.scc config = features/rpmb/rpmb-base.scc - config = features/random/random.scc config = features/usb/usb-raw-gadget.scc config = features/usb/designware-usb3.scc config = features/usb/usb-gadgets.scc -- 2.25.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#12215): https://lists.yoctoproject.org/g/linux-yocto/message/12215 Mute This Topic: https://lists.yoctoproject.org/mt/97420978/21656 Group Owner: linux-yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[linux-yocto] [kernel-cache][PATCH 02/11] bsp/intel-corei7-64: add Intel VMD support
Signed-off-by: Naveen Saini --- bsp/intel-common/intel-corei7-64.scc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bsp/intel-common/intel-corei7-64.scc b/bsp/intel-common/intel-corei7-64.scc index ad9122c1..a4778120 100644 --- a/bsp/intel-common/intel-corei7-64.scc +++ b/bsp/intel-common/intel-corei7-64.scc @@ -25,6 +25,9 @@ include features/x2apic/x2apic.scc # CONFIG_INTEL_SPEED_SELECT_INTERFACE is 64-bit only include features/intel-sst/intel-sst.scc +# Intel VMD +include features/intel-vmd/intel-vmd.scc + # This line comes last as it has the final word on # CONFIG values. kconf hardware intel-corei7-64.cfg -- 2.25.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#12216): https://lists.yoctoproject.org/g/linux-yocto/message/12216 Mute This Topic: https://lists.yoctoproject.org/mt/97420980/21656 Group Owner: linux-yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[linux-yocto] [kernel-cache][PATCH 06/11] bsp/intel-common-drivers: include support for Dynamic Platform and Thermal Framework
Signed-off-by: Naveen Saini --- bsp/intel-common/intel-common-drivers.scc | 1 + 1 file changed, 1 insertion(+) diff --git a/bsp/intel-common/intel-common-drivers.scc b/bsp/intel-common/intel-common-drivers.scc index 5cef739a..3712be93 100644 --- a/bsp/intel-common/intel-common-drivers.scc +++ b/bsp/intel-common/intel-common-drivers.scc @@ -87,6 +87,7 @@ include features/ciphers/ciphers.scc include features/pci-iov/pci-iov.scc include features/intel-tco/intel-tco.scc include features/thunderbolt/thunderbolt.scc +include features/intel-dptf/intel-dptf.scc # default policy for standard kernels include cfg/usb-mass-storage.scc -- 2.25.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#12219): https://lists.yoctoproject.org/g/linux-yocto/message/12219 Mute This Topic: https://lists.yoctoproject.org/mt/97420983/21656 Group Owner: linux-yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[linux-yocto] [kernel-cache][PATCH 05/11] bsp/intel-corei7-64: Enable Intel Uncore frequency control
Signed-off-by: Naveen Saini --- bsp/intel-common/intel-corei7-64.scc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bsp/intel-common/intel-corei7-64.scc b/bsp/intel-common/intel-corei7-64.scc index a4778120..41f02689 100644 --- a/bsp/intel-common/intel-corei7-64.scc +++ b/bsp/intel-common/intel-corei7-64.scc @@ -28,6 +28,9 @@ include features/intel-sst/intel-sst.scc # Intel VMD include features/intel-vmd/intel-vmd.scc +# Intel Uncore frequency control +include features/intel-uncore-frequency/intel-uncore-frequency.scc + # This line comes last as it has the final word on # CONFIG values. kconf hardware intel-corei7-64.cfg -- 2.25.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#12218): https://lists.yoctoproject.org/g/linux-yocto/message/12218 Mute This Topic: https://lists.yoctoproject.org/mt/97420982/21656 Group Owner: linux-yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[linux-yocto] [kernel-cache][master][yocto-5.19][yocto-5.15][PATCH v2] qat: fix CONFIG_CRYPTO_CCM mismatch warnings
[NOTE]: 'CONFIG_CRYPTO_CCM' last val (m) and .config val (y) do not match [INFO]: raw config text: config CRYPTO_CCM tristate "CCM support" select CRYPTO_CTR select CRYPTO_HASH select CRYPTO_AEAD select CRYPTO_MANAGER depends on CRYPTO help Support for Counter with CBC MAC. Required for IPsec. Config 'CRYPTO_CCM' has the following Direct dependencies (CRYPTO_CCM=y): CRYPTO(=y) Parent dependencies are: CRYPTO [y] [INFO]: selection details for 'CONFIG_CRYPTO_CCM': Symbols currently y-selecting this symbol: - CIFS Symbols currently m-selecting this symbol: - MAC80211 Symbols currently n-selecting this symbol (no effect): - MAC802154 - LIB80211_CRYPT_CCMP - RTL8192U - RTLLIB_CRYPTO_CCMP - SMB_SERVER - CRYPTO_DEV_PPC4XX - CRYPTO_DEV_NX_ENCRYPT [NOTE]: 'CONFIG_CRYPTO_GCM' last val (m) and .config val (y) do not match [INFO]: raw config text: config CRYPTO_GCM tristate "GCM/GMAC support" select CRYPTO_CTR select CRYPTO_AEAD select CRYPTO_GHASH select CRYPTO_NULL select CRYPTO_MANAGER depends on CRYPTO help Support for Galois/Counter Mode (GCM) and Galois Message Authentication Code (GMAC). Required for IPSec. Config 'CRYPTO_GCM' has the following Direct dependencies (CRYPTO_GCM=y): CRYPTO(=y) Parent dependencies are: CRYPTO [y] [INFO]: selection details for 'CONFIG_CRYPTO_GCM': Symbols currently y-selecting this symbol: - XFRM_ESP - CIFS Symbols currently m-selecting this symbol: - TIPC_CRYPTO - MAC80211 Symbols currently n-selecting this symbol (no effect): - TLS - CEPH_LIB - MACSEC - SMB_SERVER - CRYPTO_DEV_PPC4XX Signed-off-by: Naveen Saini --- features/qat/y_or_m_enabled.cfg | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 features/qat/y_or_m_enabled.cfg diff --git a/features/qat/y_or_m_enabled.cfg b/features/qat/y_or_m_enabled.cfg new file mode 100644 index ..357efc5a --- /dev/null +++ b/features/qat/y_or_m_enabled.cfg @@ -0,0 +1,3 @@ +# SPDX-License-Identifier: MIT +CONFIG_CRYPTO_CCM +CONFIG_CRYPTO_GCM -- 2.25.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#11905): https://lists.yoctoproject.org/g/linux-yocto/message/11905 Mute This Topic: https://lists.yoctoproject.org/mt/95084034/21656 Group Owner: linux-yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[linux-yocto] [kernel-cache][master][yocto-5.19][PATCH] security.cfg: remove configs which have been dropped
[INFO]: the following symbols were not found in the active configuration: - CONFIG_HARDENED_USERCOPY_FALLBACK - CONFIG_LEGACY_VSYSCALL_EMULATE Ref: https://github.com/torvalds/linux/commit/bf00745e7791fe2ba7941aeead8528075a158bbe https://github.com/torvalds/linux/commit/53944f171a89dff4e2a3d76f42e6eedb551bb861 Signed-off-by: Naveen Saini --- features/security/security-x86_64.cfg | 1 - features/security/security.cfg| 1 - 2 files changed, 2 deletions(-) diff --git a/features/security/security-x86_64.cfg b/features/security/security-x86_64.cfg index 0f5c3621..1c12034a 100644 --- a/features/security/security-x86_64.cfg +++ b/features/security/security-x86_64.cfg @@ -1,4 +1,3 @@ # SPDX-License-Identifier: MIT # Modern libc no longer needs a fixed-position mapping in userspace, remove it as a possible target. -CONFIG_LEGACY_VSYSCALL_EMULATE=n CONFIG_LEGACY_VSYSCALL_NONE=y diff --git a/features/security/security.cfg b/features/security/security.cfg index 686c8c8d..54b4789c 100644 --- a/features/security/security.cfg +++ b/features/security/security.cfg @@ -1,7 +1,6 @@ # SPDX-License-Identifier: MIT # Protect against ioctl buffer overflows CONFIG_HARDENED_USERCOPY=y -CONFIG_HARDENED_USERCOPY_FALLBACK=n # Check for memory copies that might overflow a structure in str*() and mem*() # functions both at build-time and run-time -- 2.25.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#11889): https://lists.yoctoproject.org/g/linux-yocto/message/11889 Mute This Topic: https://lists.yoctoproject.org/mt/95037853/21656 Group Owner: linux-yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[linux-yocto] [kernel-cache][master][yocto-5.19][yocto-5.15][PATCH] qat: fix CONFIG_CRYPTO_CCM mismatch warnings
[NOTE]: 'CONFIG_CRYPTO_CCM' last val (m) and .config val (y) do not match [INFO]: raw config text: config CRYPTO_CCM tristate "CCM support" select CRYPTO_CTR select CRYPTO_HASH select CRYPTO_AEAD select CRYPTO_MANAGER depends on CRYPTO help Support for Counter with CBC MAC. Required for IPsec. Config 'CRYPTO_CCM' has the following Direct dependencies (CRYPTO_CCM=y): CRYPTO(=y) Parent dependencies are: CRYPTO [y] [INFO]: selection details for 'CONFIG_CRYPTO_CCM': Symbols currently y-selecting this symbol: - CIFS Symbols currently m-selecting this symbol: - MAC80211 Symbols currently n-selecting this symbol (no effect): - MAC802154 - LIB80211_CRYPT_CCMP - RTL8192U - RTLLIB_CRYPTO_CCMP - SMB_SERVER - CRYPTO_DEV_PPC4XX - CRYPTO_DEV_NX_ENCRYPT [NOTE]: 'CONFIG_CRYPTO_GCM' last val (m) and .config val (y) do not match [INFO]: raw config text: config CRYPTO_GCM tristate "GCM/GMAC support" select CRYPTO_CTR select CRYPTO_AEAD select CRYPTO_GHASH select CRYPTO_NULL select CRYPTO_MANAGER depends on CRYPTO help Support for Galois/Counter Mode (GCM) and Galois Message Authentication Code (GMAC). Required for IPSec. Config 'CRYPTO_GCM' has the following Direct dependencies (CRYPTO_GCM=y): CRYPTO(=y) Parent dependencies are: CRYPTO [y] [INFO]: selection details for 'CONFIG_CRYPTO_GCM': Symbols currently y-selecting this symbol: - XFRM_ESP - CIFS Symbols currently m-selecting this symbol: - TIPC_CRYPTO - MAC80211 Symbols currently n-selecting this symbol (no effect): - TLS - CEPH_LIB - MACSEC - SMB_SERVER - CRYPTO_DEV_PPC4XX Signed-off-by: Naveen Saini --- features/qat/qat.cfg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/features/qat/qat.cfg b/features/qat/qat.cfg index 2dc36225..63730abe 100644 --- a/features/qat/qat.cfg +++ b/features/qat/qat.cfg @@ -3,8 +3,8 @@ CONFIG_PREEMPT=n CONFIG_PREEMPT_VOLUNTARY=y CONFIG_CRYPTO_CTR=y -CONFIG_CRYPTO_CCM=m -CONFIG_CRYPTO_GCM=m +CONFIG_CRYPTO_CCM=y +CONFIG_CRYPTO_GCM=y CONFIG_CRYPTO_XCBC=m CONFIG_CRYPTO_VMAC=m CONFIG_CRYPTO_CTS=m -- 2.25.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#11874): https://lists.yoctoproject.org/g/linux-yocto/message/11874 Mute This Topic: https://lists.yoctoproject.org/mt/94955051/21656 Group Owner: linux-yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [linux-yocto] [kernel-cache][yocto-5.15][PATCH] cfg: fix x86_64 defconfig warnings
Hi Bruce, I am running Ross's oe-selftest that using defconfig. https://lists.openembedded.org/g/openembedded-core/message/160401 $ oe-selftest --run-tests kerneldevelopment.KernelConfigs Regards, Naveen > -Original Message- > From: Bruce Ashfield > Sent: Tuesday, January 25, 2022 10:23 AM > To: Saini, Naveen Kumar > Cc: linux-yocto@lists.yoctoproject.org > Subject: Re: [linux-yocto] [kernel-cache][yocto-5.15][PATCH] cfg: fix x86_64 > defconfig warnings > > Can you send me the configuration that created the warning ? It must have > been in a allnoconfig mode, since the default of the menuconfig BLK_DEV is > "y". > > So looking at the x86_defconfig, while it doesn't have BLK_DEV enabled, it > also doesn't have it explicitly disabled .. and hence BLK_DEV should have > been on, and CONFIG_BLK_DEV_FD gone through to the final config. > > The patch is fine, and it isn't a bad thing to have the dependency explicitly > in > the fragment, I just want to understand the flow of fragments and the > kconfig mode at play. > > Bruce > > In message: [linux-yocto] [kernel-cache][yocto-5.15][PATCH] cfg: fix x86_64 > defconfig warnings on 21/01/2022 Naveen Saini wrote: > > > CONFIG_BLK_DEV_FD has dependeny on BLK_DEV, which is not enabled, > as > > result throws warning. > > [NOTE]: 'CONFIG_BLK_DEV_FD' last val (m) and .config val (n) do > > not match > > > > Signed-off-by: Naveen Saini > > --- > > bsp/common-pc/common-pc-drivers.cfg | 1 + > > 1 file changed, 1 insertion(+) > > > > diff --git a/bsp/common-pc/common-pc-drivers.cfg > > b/bsp/common-pc/common-pc-drivers.cfg > > index 7cb88817..e511c944 100644 > > --- a/bsp/common-pc/common-pc-drivers.cfg > > +++ b/bsp/common-pc/common-pc-drivers.cfg > > @@ -55,6 +55,7 @@ CONFIG_I2C_I801=y > > CONFIG_SATA_AHCI=y > > > > CONFIG_BLK_DEV_FD=m > > +CONFIG_BLK_DEV=y > > > > CONFIG_EEPROM_AT24=m > > > > -- > > 2.17.1 > > > > > > > > > -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#10865): https://lists.yoctoproject.org/g/linux-yocto/message/10865 Mute This Topic: https://lists.yoctoproject.org/mt/88579397/21656 Group Owner: linux-yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[linux-yocto] [kernel-cache][yocto-5.15][PATCH] cfg: fix x86_64 defconfig warnings
CONFIG_BLK_DEV_FD has dependeny on BLK_DEV, which is not enabled, as result throws warning. [NOTE]: 'CONFIG_BLK_DEV_FD' last val (m) and .config val (n) do not match Signed-off-by: Naveen Saini --- bsp/common-pc/common-pc-drivers.cfg | 1 + 1 file changed, 1 insertion(+) diff --git a/bsp/common-pc/common-pc-drivers.cfg b/bsp/common-pc/common-pc-drivers.cfg index 7cb88817..e511c944 100644 --- a/bsp/common-pc/common-pc-drivers.cfg +++ b/bsp/common-pc/common-pc-drivers.cfg @@ -55,6 +55,7 @@ CONFIG_I2C_I801=y CONFIG_SATA_AHCI=y CONFIG_BLK_DEV_FD=m +CONFIG_BLK_DEV=y CONFIG_EEPROM_AT24=m -- 2.17.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#10853): https://lists.yoctoproject.org/g/linux-yocto/message/10853 Mute This Topic: https://lists.yoctoproject.org/mt/88579397/21656 Group Owner: linux-yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[linux-yocto] [v5.15/standard/base][PATCH] x86_64_defconfig: Fix warnings
Configure CONFIG_EEEPC_LAPTOP & CONFIG_SND_SEQ_DUMMY as modules, because dependencies are configured as modules. [NOTE]: 'CONFIG_EEEPC_LAPTOP' last val (y) and .config val (m) do not match [NOTE]: 'CONFIG_SND_SEQ_DUMMY' last val (y) and .config val (m) do not match Added dependency configurations: CONFIG_HID_LOGITECH for CONFIG_LOGITECH_FF CONFIG_NET_VENDOR_DEC for CONFIG_NET_TULIP CONFIG_IOMMU_SUPPORT for CONFIG_AMD_IOOMU & CONFIG_INTEL_IOMMU CONFIG_NET_VENDOR_NVIDIA for CONFIG_FORCEDETH Config 'LOGITECH_FF' has the following Direct dependencies (LOGITECH_FF=n): HID_LOGITECH(=n) && HID(=y) && INPUT(=y) Parent dependencies are: HID_LOGITECH [n] HID [y] INPUT [y] [INFO]: config 'CONFIG_LOGITECH_FF' was set, but it wasn't assignable, check (parent) dependencies Config 'NET_TULIP' has the following Direct dependencies (NET_TULIP=n): PCI(=y) || EISA(=n) || CARDBUS(=y) (=y) && NET_VENDOR_DEC(=n) && ETHERNET(=y) && NETDEVICES(=y) Parent dependencies are: NET_VENDOR_DEC [n] ETHERNET [y] EISA [n] PCI [y] CARDBUS [y] NETDEVICES [y] [INFO]: config 'CONFIG_NET_TULIP' was set, but it wasn't assignable, check (parent) dependencies Config 'FORCEDETH' has the following Direct dependencies (FORCEDETH=n): PCI(=y) && NET_VENDOR_NVIDIA(=n) && ETHERNET(=y) && NETDEVICES(=y) Parent dependencies are: NETDEVICES [y] PCI [y] NET_VENDOR_NVIDIA [n] ETHERNET [y] [INFO]: config 'CONFIG_FORCEDETH' was set, but it wasn't assignable, check (parent) dependencies Tested with qemux86-64 machine: $ oe-selftest --run-tests kerneldevelopment.KernelConfigs Disabled debug configurations. Yocto-kernel-cahce have seperate debug configurations. Signed-off-by: Naveen Saini --- arch/x86/configs/x86_64_defconfig | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/arch/x86/configs/x86_64_defconfig b/arch/x86/configs/x86_64_defconfig index e8a7a0af2bda..fef36a0d6961 100644 --- a/arch/x86/configs/x86_64_defconfig +++ b/arch/x86/configs/x86_64_defconfig @@ -115,7 +115,7 @@ CONFIG_PCCARD=y CONFIG_YENTA=y CONFIG_DEVTMPFS=y CONFIG_DEVTMPFS_MOUNT=y -CONFIG_DEBUG_DEVRES=y +# CONFIG_DEBUG_DEVRES is not set CONFIG_CONNECTOR=y CONFIG_BLK_DEV_LOOP=y CONFIG_BLK_DEV_SD=y @@ -141,11 +141,13 @@ CONFIG_NETDEVICES=y CONFIG_NETCONSOLE=y CONFIG_TIGON3=y CONFIG_NET_TULIP=y +CONFIG_NET_VENDOR_DEC=y CONFIG_E100=y CONFIG_E1000=y CONFIG_E1000E=y CONFIG_SKY2=y CONFIG_FORCEDETH=y +CONFIG_NET_VENDOR_NVIDIA=y CONFIG_8139TOO=y CONFIG_R8169=y CONFIG_INPUT_EVDEV=y @@ -186,12 +188,13 @@ CONFIG_SOUND=y CONFIG_SND=y CONFIG_SND_HRTIMER=y CONFIG_SND_SEQUENCER=y -CONFIG_SND_SEQ_DUMMY=y +CONFIG_SND_SEQ_DUMMY=m CONFIG_SND_HDA_INTEL=y CONFIG_SND_HDA_HWDEP=y CONFIG_HIDRAW=y CONFIG_HID_GYRATION=y CONFIG_LOGITECH_FF=y +CONFIG_HID_LOGITECH=y CONFIG_HID_NTRIG=y CONFIG_HID_PANTHERLORD=y CONFIG_PANTHERLORD_FF=y @@ -214,9 +217,10 @@ CONFIG_USB_STORAGE=y CONFIG_RTC_CLASS=y # CONFIG_RTC_HCTOSYS is not set CONFIG_DMADEVICES=y -CONFIG_EEEPC_LAPTOP=y +CONFIG_EEEPC_LAPTOP=m CONFIG_AMD_IOMMU=y CONFIG_INTEL_IOMMU=y +CONFIG_IOMMU_SUPPORT=y # CONFIG_INTEL_IOMMU_DEFAULT_ON is not set CONFIG_EXT4_FS=y CONFIG_EXT4_FS_POSIX_ACL=y @@ -257,4 +261,4 @@ CONFIG_SCHEDSTATS=y CONFIG_BLK_DEV_IO_TRACE=y CONFIG_PROVIDE_OHCI1394_DMA_INIT=y CONFIG_EARLY_PRINTK_DBGP=y -CONFIG_DEBUG_BOOT_PARAMS=y +# CONFIG_DEBUG_BOOT_PARAMS is not set -- 2.17.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#10852): https://lists.yoctoproject.org/g/linux-yocto/message/10852 Mute This Topic: https://lists.yoctoproject.org/mt/88579395/21656 Group Owner: linux-yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[linux-yocto] [yocto-kernel-cache][yocto-5.10][PATCH v2] nf: drop merged patch
From: Bruce Ashfield Ref: https://github.com/torvalds/linux/commit/5d1549847c76b1ffcf8e388ef4d0f229bdd1d7e8 https://git.yoctoproject.org/cgit/cgit.cgi/yocto-kernel-cache/commit/?h=yocto-5.13=b085ea380cfe6101f56665de6b2362b66fcef9eb Signed-off-by: Bruce Ashfield Signed-off-by: Naveen Saini --- features/net/net.scc | 1 - ...emainder-of-pseudo-header-protocol-0.patch | 92 --- 2 files changed, 93 deletions(-) delete mode 100644 features/net/netfilter-Fix-remainder-of-pseudo-header-protocol-0.patch diff --git a/features/net/net.scc b/features/net/net.scc index a907e016..606aaa91 100644 --- a/features/net/net.scc +++ b/features/net/net.scc @@ -1,4 +1,3 @@ # SPDX-License-Identifier: MIT kconf hardware net.cfg -patch netfilter-Fix-remainder-of-pseudo-header-protocol-0.patch diff --git a/features/net/netfilter-Fix-remainder-of-pseudo-header-protocol-0.patch b/features/net/netfilter-Fix-remainder-of-pseudo-header-protocol-0.patch deleted file mode 100644 index d1fdbf98.. --- a/features/net/netfilter-Fix-remainder-of-pseudo-header-protocol-0.patch +++ /dev/null @@ -1,92 +0,0 @@ -From b383959122e464ccdc21f6b37af88152d29cdf95 Mon Sep 17 00:00:00 2001 -From: He Zhe -Date: Tue, 25 Jun 2019 18:15:50 +0800 -Subject: [PATCH] netfilter: Fix remainder of pseudo-header protocol 0 -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -Since v5.1-rc1, some types of packets do not get unreachable reply with the -following iptables setting. Fox example, - -$ iptables -A INPUT -p icmp --icmp-type 8 -j REJECT -$ ping 127.0.0.1 -c 1 -PING 127.0.0.1 (127.0.0.1) 56(84) bytes of data. -— 127.0.0.1 ping statistics — -1 packets transmitted, 0 received, 100% packet loss, time 0ms - -We should have got the following reply from command line, but we did not. -From 127.0.0.1 icmp_seq=1 Destination Port Unreachable - -Yi Zhao reported it and narrowed it down to: -7fc38225363d ("netfilter: reject: skip csum verification for protocols that don't support it"), - -This is because nf_ip_checksum still expects pseudo-header protocol type 0 for -packets that are of neither TCP or UDP, and thus ICMP packets are mistakenly -treated as TCP/UDP. - -This patch corrects the conditions in nf_ip_checksum and all other places that -still call it with protocol 0. - -Fixes: 7fc38225363d ("netfilter: reject: skip csum verification for protocols that don't support it") -Reported-by: Yi Zhao -Signed-off-by: He Zhe -Signed-off-by: Bruce Ashfield - net/netfilter/nf_conntrack_proto_icmp.c | 2 +- - net/netfilter/nf_nat_proto.c| 2 +- - net/netfilter/utils.c | 5 +++-- - 3 files changed, 5 insertions(+), 4 deletions(-) - -diff --git a/net/netfilter/nf_conntrack_proto_icmp.c b/net/netfilter/nf_conntrack_proto_icmp.c -index a824367ed518..dd53e2b20f6b 100644 a/net/netfilter/nf_conntrack_proto_icmp.c -+++ b/net/netfilter/nf_conntrack_proto_icmp.c -@@ -218,7 +218,7 @@ int nf_conntrack_icmpv4_error(struct nf_conn *tmpl, - /* See ip_conntrack_proto_tcp.c */ - if (state->net->ct.sysctl_checksum && - state->hook == NF_INET_PRE_ROUTING && -- nf_ip_checksum(skb, state->hook, dataoff, 0)) { -+ nf_ip_checksum(skb, state->hook, dataoff, IPPROTO_ICMP)) { - icmp_error_log(skb, state, "bad hw icmp checksum"); - return -NF_ACCEPT; - } -diff --git a/net/netfilter/nf_nat_proto.c b/net/netfilter/nf_nat_proto.c -index 07da07788f6b..83a24cc5753b 100644 a/net/netfilter/nf_nat_proto.c -+++ b/net/netfilter/nf_nat_proto.c -@@ -564,7 +564,7 @@ int nf_nat_icmp_reply_translation(struct sk_buff *skb, - - if (!skb_make_writable(skb, hdrlen + sizeof(*inside))) - return 0; -- if (nf_ip_checksum(skb, hooknum, hdrlen, 0)) -+ if (nf_ip_checksum(skb, hooknum, hdrlen, IPPROTO_ICMP)) - return 0; - - inside = (void *)skb->data + hdrlen; -diff --git a/net/netfilter/utils.c b/net/netfilter/utils.c -index 06dc55590441..51b454d8fa9c 100644 a/net/netfilter/utils.c -+++ b/net/netfilter/utils.c -@@ -17,7 +17,8 @@ __sum16 nf_ip_checksum(struct sk_buff *skb, unsigned int hook, - case CHECKSUM_COMPLETE: - if (hook != NF_INET_PRE_ROUTING && hook != NF_INET_LOCAL_IN) - break; -- if ((protocol == 0 && !csum_fold(skb->csum)) || -+ if ((protocol != IPPROTO_TCP && protocol != IPPROTO_UDP && -+ !csum_fold(skb->csum)) || - !csum_tcpudp_magic(iph->saddr, iph->daddr, - skb->len - dataoff, protocol, - skb->csum)) { -@@ -26,7 +27,7 @@ __sum16 nf_ip_checksum(struct sk_buff *skb, unsigned int hook, - } - /* fall through */ -
[linux-yocto] [yocto-kernel-cache][yocto-5.10][PATCH] nf: drop merged patch
From: Bruce Ashfield Ref: https://github.com/torvalds/linux/commit/5d1549847c76b1ffcf8e388ef4d0f229bdd1d7e8 https://git.yoctoproject.org/cgit/cgit.cgi/yocto-kernel-cache/commit/?h=yocto-5.13=b085ea380cfe6101f56665de6b2362b66fcef9eb Signed-off-by: Bruce Ashfield --- features/net/net.scc | 1 - ...emainder-of-pseudo-header-protocol-0.patch | 92 --- 2 files changed, 93 deletions(-) delete mode 100644 features/net/netfilter-Fix-remainder-of-pseudo-header-protocol-0.patch diff --git a/features/net/net.scc b/features/net/net.scc index a907e016..606aaa91 100644 --- a/features/net/net.scc +++ b/features/net/net.scc @@ -1,4 +1,3 @@ # SPDX-License-Identifier: MIT kconf hardware net.cfg -patch netfilter-Fix-remainder-of-pseudo-header-protocol-0.patch diff --git a/features/net/netfilter-Fix-remainder-of-pseudo-header-protocol-0.patch b/features/net/netfilter-Fix-remainder-of-pseudo-header-protocol-0.patch deleted file mode 100644 index d1fdbf98.. --- a/features/net/netfilter-Fix-remainder-of-pseudo-header-protocol-0.patch +++ /dev/null @@ -1,92 +0,0 @@ -From b383959122e464ccdc21f6b37af88152d29cdf95 Mon Sep 17 00:00:00 2001 -From: He Zhe -Date: Tue, 25 Jun 2019 18:15:50 +0800 -Subject: [PATCH] netfilter: Fix remainder of pseudo-header protocol 0 -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -Since v5.1-rc1, some types of packets do not get unreachable reply with the -following iptables setting. Fox example, - -$ iptables -A INPUT -p icmp --icmp-type 8 -j REJECT -$ ping 127.0.0.1 -c 1 -PING 127.0.0.1 (127.0.0.1) 56(84) bytes of data. -— 127.0.0.1 ping statistics — -1 packets transmitted, 0 received, 100% packet loss, time 0ms - -We should have got the following reply from command line, but we did not. -From 127.0.0.1 icmp_seq=1 Destination Port Unreachable - -Yi Zhao reported it and narrowed it down to: -7fc38225363d ("netfilter: reject: skip csum verification for protocols that don't support it"), - -This is because nf_ip_checksum still expects pseudo-header protocol type 0 for -packets that are of neither TCP or UDP, and thus ICMP packets are mistakenly -treated as TCP/UDP. - -This patch corrects the conditions in nf_ip_checksum and all other places that -still call it with protocol 0. - -Fixes: 7fc38225363d ("netfilter: reject: skip csum verification for protocols that don't support it") -Reported-by: Yi Zhao -Signed-off-by: He Zhe -Signed-off-by: Bruce Ashfield - net/netfilter/nf_conntrack_proto_icmp.c | 2 +- - net/netfilter/nf_nat_proto.c| 2 +- - net/netfilter/utils.c | 5 +++-- - 3 files changed, 5 insertions(+), 4 deletions(-) - -diff --git a/net/netfilter/nf_conntrack_proto_icmp.c b/net/netfilter/nf_conntrack_proto_icmp.c -index a824367ed518..dd53e2b20f6b 100644 a/net/netfilter/nf_conntrack_proto_icmp.c -+++ b/net/netfilter/nf_conntrack_proto_icmp.c -@@ -218,7 +218,7 @@ int nf_conntrack_icmpv4_error(struct nf_conn *tmpl, - /* See ip_conntrack_proto_tcp.c */ - if (state->net->ct.sysctl_checksum && - state->hook == NF_INET_PRE_ROUTING && -- nf_ip_checksum(skb, state->hook, dataoff, 0)) { -+ nf_ip_checksum(skb, state->hook, dataoff, IPPROTO_ICMP)) { - icmp_error_log(skb, state, "bad hw icmp checksum"); - return -NF_ACCEPT; - } -diff --git a/net/netfilter/nf_nat_proto.c b/net/netfilter/nf_nat_proto.c -index 07da07788f6b..83a24cc5753b 100644 a/net/netfilter/nf_nat_proto.c -+++ b/net/netfilter/nf_nat_proto.c -@@ -564,7 +564,7 @@ int nf_nat_icmp_reply_translation(struct sk_buff *skb, - - if (!skb_make_writable(skb, hdrlen + sizeof(*inside))) - return 0; -- if (nf_ip_checksum(skb, hooknum, hdrlen, 0)) -+ if (nf_ip_checksum(skb, hooknum, hdrlen, IPPROTO_ICMP)) - return 0; - - inside = (void *)skb->data + hdrlen; -diff --git a/net/netfilter/utils.c b/net/netfilter/utils.c -index 06dc55590441..51b454d8fa9c 100644 a/net/netfilter/utils.c -+++ b/net/netfilter/utils.c -@@ -17,7 +17,8 @@ __sum16 nf_ip_checksum(struct sk_buff *skb, unsigned int hook, - case CHECKSUM_COMPLETE: - if (hook != NF_INET_PRE_ROUTING && hook != NF_INET_LOCAL_IN) - break; -- if ((protocol == 0 && !csum_fold(skb->csum)) || -+ if ((protocol != IPPROTO_TCP && protocol != IPPROTO_UDP && -+ !csum_fold(skb->csum)) || - !csum_tcpudp_magic(iph->saddr, iph->daddr, - skb->len - dataoff, protocol, - skb->csum)) { -@@ -26,7 +27,7 @@ __sum16 nf_ip_checksum(struct sk_buff *skb, unsigned int hook, - } - /* fall through */ - case CHECKSUM_NONE: -- if (protocol == 0) -+ if (protocol != IPPROTO_TCP && protocol != IPPROTO_UDP) -
[linux-yocto] [kernel-cache][master yocto-5.4][PATCH] features/intel-sst: move from intel-common-drivers.scc to intel-corei7-64-standard.scc
CONFIG_INTEL_SPEED_SELECT_INTERFACE depends on x86-64. Signed-off-by: Naveen Saini --- bsp/intel-common/intel-common-drivers.scc | 1 - bsp/intel-common/intel-corei7-64-standard.scc | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/bsp/intel-common/intel-common-drivers.scc b/bsp/intel-common/intel-common-drivers.scc index d9e1883b..d452157c 100644 --- a/bsp/intel-common/intel-common-drivers.scc +++ b/bsp/intel-common/intel-common-drivers.scc @@ -86,7 +86,6 @@ include features/pci-iov/pci-iov.scc include features/intel-tco/intel-tco.scc include features/inline/inline.cfg include features/random/random.scc -include features/intel-sst/intel-sst.scc # default policy for standard kernels include cfg/usb-mass-storage.scc diff --git a/bsp/intel-common/intel-corei7-64-standard.scc b/bsp/intel-common/intel-corei7-64-standard.scc index 1296bf86..c44dbd90 100644 --- a/bsp/intel-common/intel-corei7-64-standard.scc +++ b/bsp/intel-common/intel-corei7-64-standard.scc @@ -14,3 +14,4 @@ include ktypes/standard/standard.scc include intel-common-drivers.scc include intel-corei7-64.scc +include features/intel-sst/intel-sst.scc -- 2.17.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#8742): https://lists.yoctoproject.org/g/linux-yocto/message/8742 Mute This Topic: https://lists.yoctoproject.org/mt/74792162/21656 Group Owner: linux-yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[linux-yocto] [kernel-cache][master yocto-5.4][PATCH] features/intel-sst: Enable Intel Speed Select Technology interface configuration
Signed-off-by: Naveen Saini --- bsp/intel-common/intel-common-drivers.scc | 1 + features/intel-sst/intel-sst.cfg | 2 ++ features/intel-sst/intel-sst.scc | 4 kern-features.rc | 1 + 4 files changed, 8 insertions(+) create mode 100644 features/intel-sst/intel-sst.cfg create mode 100644 features/intel-sst/intel-sst.scc diff --git a/bsp/intel-common/intel-common-drivers.scc b/bsp/intel-common/intel-common-drivers.scc index d452157c..d9e1883b 100644 --- a/bsp/intel-common/intel-common-drivers.scc +++ b/bsp/intel-common/intel-common-drivers.scc @@ -86,6 +86,7 @@ include features/pci-iov/pci-iov.scc include features/intel-tco/intel-tco.scc include features/inline/inline.cfg include features/random/random.scc +include features/intel-sst/intel-sst.scc # default policy for standard kernels include cfg/usb-mass-storage.scc diff --git a/features/intel-sst/intel-sst.cfg b/features/intel-sst/intel-sst.cfg new file mode 100644 index ..05172701 --- /dev/null +++ b/features/intel-sst/intel-sst.cfg @@ -0,0 +1,2 @@ +# SPDX-License-Identifier: MIT +CONFIG_INTEL_SPEED_SELECT_INTERFACE=m diff --git a/features/intel-sst/intel-sst.scc b/features/intel-sst/intel-sst.scc new file mode 100644 index ..1ab6626b --- /dev/null +++ b/features/intel-sst/intel-sst.scc @@ -0,0 +1,4 @@ +# SPDX-License-Identifier: MIT +define KFEATURE_DESCRIPTION "Enable Intel Speed Select Technology interface" + +kconf hardware intel-sst.cfg diff --git a/kern-features.rc b/kern-features.rc index 9dc78a2c..f53302af 100644 --- a/kern-features.rc +++ b/kern-features.rc @@ -59,6 +59,7 @@ config = features/vrf/vrf.scc config = features/firmware/firmware.scc config = features/intel-tco/intel-tco.scc + config = features/intel-sst/intel-sst.scc config = features/rpmb/rpmb-sim.scc config = features/rpmb/rpmb-base.scc config = features/rpmb/rpmb-uapi.scc -- 2.17.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#8726): https://lists.yoctoproject.org/g/linux-yocto/message/8726 Mute This Topic: https://lists.yoctoproject.org/mt/74645018/21656 Group Owner: linux-yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[linux-yocto] [kernel-cache][PATCH 1/3] cgroups: rename CONFIG_DEBUG_BLK_CGROUP to CONFIG_BFQ_CGROUP_DEBUG
https://github.com/torvalds/linux/commit/8060c47ba853f147c46bf1e6f6d93d1726fcb57a Applicable for v5.3-rc1 onward Signed-off-by: Naveen Saini --- features/cgroups/cgroups.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/cgroups/cgroups.cfg b/features/cgroups/cgroups.cfg index 27c78ca9..5c6cb1b0 100644 --- a/features/cgroups/cgroups.cfg +++ b/features/cgroups/cgroups.cfg @@ -19,7 +19,7 @@ CONFIG_CGROUP_SCHED=y CONFIG_FAIR_GROUP_SCHED=y CONFIG_RT_GROUP_SCHED=y CONFIG_BLK_CGROUP=y -# CONFIG_DEBUG_BLK_CGROUP is not set +# CONFIG_BFQ_CGROUP_DEBUG is not set # Namespace controller -- 2.17.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#8297): https://lists.yoctoproject.org/g/linux-yocto/message/8297 Mute This Topic: https://lists.yoctoproject.org/mt/69593267/21656 Group Owner: linux-yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[linux-yocto] [kernel-cache][PATCH 3/3] features/soc/baytrail: drop obsolete CONFIG_BACKLIGHT_LCD_SUPPORT
https://github.com/torvalds/linux/commit/8c5dc8d9f19c7992b5ed557b865127a80149041b Applicable for v5.2-rc1 onward Signed-off-by: Naveen Saini --- features/soc/baytrail/baytrail.cfg | 1 - 1 file changed, 1 deletion(-) diff --git a/features/soc/baytrail/baytrail.cfg b/features/soc/baytrail/baytrail.cfg index 5f182456..390ef51b 100644 --- a/features/soc/baytrail/baytrail.cfg +++ b/features/soc/baytrail/baytrail.cfg @@ -3,7 +3,6 @@ CONFIG_PCI=y CONFIG_SND_SOC=m -CONFIG_BACKLIGHT_LCD_SUPPORT=y CONFIG_BACKLIGHT_CLASS_DEVICE=y # SATA Support -- 2.17.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#8298): https://lists.yoctoproject.org/g/linux-yocto/message/8298 Mute This Topic: https://lists.yoctoproject.org/mt/69593268/21656 Group Owner: linux-yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[linux-yocto] [kernel-cache][PATCH 2/3] features/intel-pinctrl: remove CONFIG_GPIO_LYNXPOINT
Lynxpoint GPIO driver moved under Intel pin control umbrella for further transformation to a real pin control driver. CONFIG_GPIO_LYNXPOINT renamed to PINCTRL_LYNXPOINT https://github.com/intel/linux-intel-lts/commit/cb81404ffe750270f072d1fc839a4afe288046f3 Signed-off-by: Naveen Saini --- features/intel-pinctrl/intel-pinctrl.cfg | 1 + features/soc/skylake/skylake.cfg | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/features/intel-pinctrl/intel-pinctrl.cfg b/features/intel-pinctrl/intel-pinctrl.cfg index 6d46eec7..406cf3ce 100644 --- a/features/intel-pinctrl/intel-pinctrl.cfg +++ b/features/intel-pinctrl/intel-pinctrl.cfg @@ -11,3 +11,4 @@ CONFIG_PINCTRL_DENVERTON=y CONFIG_PINCTRL_GEMINILAKE=y CONFIG_PINCTRL_ICELAKE=y CONFIG_PINCTRL_LEWISBURG=y +CONFIG_PINCTRL_LYNXPOINT=m diff --git a/features/soc/skylake/skylake.cfg b/features/soc/skylake/skylake.cfg index b2140b05..34066635 100644 --- a/features/soc/skylake/skylake.cfg +++ b/features/soc/skylake/skylake.cfg @@ -24,7 +24,6 @@ CONFIG_CRC8=m CONFIG_BT_HCIUART=m CONFIG_BT_HCIUART_INTEL=y CONFIG_USB_EHCI_PCI=y -CONFIG_GPIO_LYNXPOINT=m # Other misc support CONFIG_INTEL_MEI_TXE=m -- 2.17.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#8299): https://lists.yoctoproject.org/g/linux-yocto/message/8299 Mute This Topic: https://lists.yoctoproject.org/mt/69593269/21656 Group Owner: linux-yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-