[linux-yocto] [yocto-4.12] [PATCH] x86/debug: Handle warnings before the notifier chain, to fix KGDB crash

2017-12-13 Thread Hongzhi.Song
c01d00 R08: R09: a8e4ca10 [ 196.286002] R10: 9f2a0fc01e00 R11: a90d40ed R12: a8e4d2e0 [ 196.286614] R13: R14: a90cd700 R15: Signed-off-by: Hongzhi.Song <hongzhi.s...@windriver.com> --- arch/x86/kernel/traps

[linux-yocto] [yocto-4.14][PATCH] cfg/debug: add debug directory to debug or test kernel

2018-06-21 Thread Hongzhi.Song
Look throuth all kernel fragments and sort debug/test fragments out into individual functional subdirectory. Each fragment is standalone as far as possible. --Hongzhi Hongzhi.Song (1): kernel features about debug: gather debug features cfg/debug/README | 0

[linux-yocto] [PATCH] kernel features about debug: gather debug features

2018-06-21 Thread Hongzhi.Song
Collect debug configs and classify them into functional subdirectories. Signed-off-by: Hongzhi.Song --- cfg/debug/README | 0 cfg/debug/common/debug-kernelhacking.cfg | 1 + cfg/debug/common/debug-kernelhacking.scc | 1 + cfg/debug/crypto

[linux-yocto] [yocto-4.12][PATCH] Mips kernel warining:resolve some warning when compiling arch/mips/math-emu/cp1emu.c

2018-01-17 Thread Hongzhi.Song
From: Manuel Lauss commit 8535f2ba0a9b971df62a5890699b9dfe2e0d5580 upstream MIPS: math-emu: do not use bools for arithmetic GCC-7 complains about a boolean value being used with an arithmetic AND: arch/mips/math-emu/cp1emu.c: In function 'cop1Emulate':

[linux-yocto] [yocto-4.12] [PATCH] kvm : enable VHOST of host for qemu running guest

2018-01-04 Thread Hongzhi.Song
Signed-off-by: Hongzhi.Song <hongzhi.s...@windriver.com> --- features/kvm/qemu-kvm.cfg | 9 + 1 file changed, 9 insertions(+) diff --git a/features/kvm/qemu-kvm.cfg b/features/kvm/qemu-kvm.cfg index 30b0b8e..3e9a5d4 100644 --- a/features/kvm/qemu-kvm.cfg +++ b/features/kvm/qemu-k

[linux-yocto] [PATCH 0/1] add a feature for kernel selftest

2018-08-13 Thread Hongzhi.Song
Please merge this to 4.15 and master Hongzhi.Song (1): cfg: add fragment for kernel-selftest cfg/debug-kselftest.cfg | 70 + cfg/debug-kselftest.scc | 4 +++ 2 files changed, 74 insertions(+) create mode 100644 cfg/debug-kselftest.cfg create

[linux-yocto] [PATCH 1/1] cfg: add fragment for kernel-selftest

2018-08-13 Thread Hongzhi.Song
When you want to run cases under tool/testing/selftest of kernel-source, these fragments are required. Signed-off-by: Hongzhi.Song --- cfg/debug-kselftest.cfg | 70 + cfg/debug-kselftest.scc | 4 +++ 2 files changed, 74 insertions(+) create mode

[linux-yocto] [PATCH 0/1] Modify some config that has been changed

2018-09-06 Thread Hongzhi.Song
Please merge to yocto-4.18 Hongzhi.Song (1): BSPs: Some required kernel config is not enabled as expected bsp/intel-x86/intel-x86-64.cfg | 7 --- bsp/intel-x86/intel-x86-acpi.cfg | 1 - bsp/intel-x86/intel-x86.cfg | 16 ++-- features/edac

[linux-yocto] [PATCH 1/1] BSPs: Some required kernel config is not enabled as expected

2018-09-06 Thread Hongzhi.Song
were removed or the dependencies has been changed by kernel. Signed-off-by: Hongzhi.Song --- bsp/intel-x86/intel-x86-64.cfg | 7 --- bsp/intel-x86/intel-x86-acpi.cfg | 1 - bsp/intel-x86/intel-x86.cfg | 16 ++-- features/edac/edac.cfg

[linux-yocto] [PATCH 6/9] features/tpm: fix conflict with configs and add dependency

2018-09-06 Thread Hongzhi.Song
mp; HW_RANDOM=m) default y Signed-off-by: Hongzhi.Song --- features/tpm/tpm.cfg | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/features/tpm/tpm.cfg b/features/tpm/tpm.cfg index 113f37c7..fc285121 100644 --- a/features/tpm/tpm.cfg +++ b/features/tpm/tpm.cfg @@ -1,6 +1

[linux-yocto] [PATCH 2/9] bsp/intel-x86: Drop configs that has been removed by kernel

2018-09-06 Thread Hongzhi.Song
CONFIG_IWLWIFI_DEBUG_EXPERIMENTAL_UCODE, commit id: 75094dc84 CONFIG_SPI_PXA2XX_DMA, commit id: 22a33632fb Signed-off-by: Hongzhi.Song --- bsp/intel-x86/intel-x86-64.cfg | 7 --- bsp/intel-x86/intel-x86-acpi.cfg | 1 - bsp/intel-x86/intel-x86.cfg | 6 +- 3 files changed, 1 insertion(+), 13

[linux-yocto] [PATCH 9/9] features/intel-pinctrl: Fix conflict with configs

2018-09-06 Thread Hongzhi.Song
CONFIG_PINCTRL_INTEL is selected by CONFIG_PINCTRL_SUNRISEPOINT. If CONFIG_PINCTRL_INTEL want to be set 'y', then CONFIG_PINCTRL_SUNRISEPOINT must be set 'y'. Signed-off-by: Hongzhi.Song --- features/intel-pinctrl/intel-pinctrl.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[linux-yocto] [PATCH 7/9] features/thermal: Add dependency for kernel option

2018-09-06 Thread Hongzhi.Song
The dependency of CONFIG_INTEL_BXT_PMIC_THERMAL was switched from CONFIG_INTEL_SOC_PMIC to CONFIG_INTEL_SOC_PMIC_BXTWC. Commit id:b5238b41858 Signed-off-by: Hongzhi.Song --- features/thermal/coretemp.cfg | 1 + 1 file changed, 1 insertion(+) diff --git a/features/thermal/coretemp.cfg b

[linux-yocto] [PATCH 0/9] Some configs is not set as expected

2018-09-06 Thread Hongzhi.Song
Please merge these patches to yocto-4.18 Hongzhi.Song (9): intel-x86: Drop configs which are not defined in kernel bsp/intel-x86: Drop configs that has been removed by kernel features/hostapd: drop obsolete configs features: drop the obsolete kernel option features/mmc: modify

[linux-yocto] [PATCH 4/9] features: drop the obsolete kernel option

2018-09-06 Thread Hongzhi.Song
CONFIG_MMC_BLOCK_BOUNCE has been removed by kernel. Commit id: de3ee99b097d. Signed-off-by: Hongzhi.Song --- features/mmc/mmc-block.cfg | 1 - features/soc/x1000/x1000.cfg | 1 - 2 files changed, 2 deletions(-) diff --git a/features/mmc/mmc-block.cfg b/features/mmc/mmc-block.cfg index

[linux-yocto] [PATCH 1/9] intel-x86: Drop configs which are not defined in kernel

2018-09-06 Thread Hongzhi.Song
-off-by: Hongzhi.Song --- bsp/intel-x86/intel-x86.cfg | 12 1 file changed, 12 deletions(-) diff --git a/bsp/intel-x86/intel-x86.cfg b/bsp/intel-x86/intel-x86.cfg index 69191796..025c2fdd 100644 --- a/bsp/intel-x86/intel-x86.cfg +++ b/bsp/intel-x86/intel-x86.cfg @@ -36,7 +36,6

[linux-yocto] [PATCH 8/9] bsp/intel-x86: Rename CONFIG_R8723BE to CONFIG_RTL8723BE

2018-09-06 Thread Hongzhi.Song
CONFIG_R8723BE was written wrongly. CONFIG_RTL8723BE is right. Signed-off-by: Hongzhi.Song --- bsp/intel-x86/intel-x86.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bsp/intel-x86/intel-x86.cfg b/bsp/intel-x86/intel-x86.cfg index 4d7f150c..01eda2db 100644 --- a/bsp

[linux-yocto] [PATCH] intel-x86: Some required kernel config is not enabled as expected

2018-09-05 Thread Hongzhi.Song
dependency of CONFIG_MMC_REALTEK_PCI is change to CONFIG_MISC_RTSX_PCI. 3. CONFIG_INTEL_SOC_PMIC_BXTWC is a new dependency for CONFIG_INTEL_BXT_PMIC_THERMAL. 4. The value of CONFIG_HW_RANDOM_TPM must be equal to CONFIG_TCG_TPM. Signed-off-by: Hongzhi.Song --- features/intel-pinctrl/intel-pinct

[linux-yocto] [PATCH 2/2] lxc: drop CONFIG_MM_OWNER

2018-10-22 Thread Hongzhi.Song
Kernel has killed CONFIG_MM_OWNER config fragment. [kernel commit id: f98bafa06] Signed-off-by: Hongzhi.Song --- features/lxc/lxc.cfg | 1 - 1 file changed, 1 deletion(-) diff --git a/features/lxc/lxc.cfg b/features/lxc/lxc.cfg index 740b800..1327962 100644 --- a/features/lxc/lxc.cfg +++ b

[linux-yocto] [PATCH 1/2] vfio: drop CONFIG_KVM_DEVICE_ASSIGNMENT

2018-10-22 Thread Hongzhi.Song
Kernel has killed the config fragment for legacy device assignment deprecated since v4.2. [kernel commit id: ad6260da1e23] Signed-off-by: Hongzhi.Song --- features/vfio/vfio.cfg | 1 - 1 file changed, 1 deletion(-) diff --git a/features/vfio/vfio.cfg b/features/vfio/vfio.cfg index 1d28231

[linux-yocto] [yocto-kernel-cache][PATCH 0/2] drop unusefull config options

2018-10-22 Thread Hongzhi.Song
Please merge to master and yocto-4.18 Hongzhi.Song (2): vfio: drop CONFIG_KVM_DEVICE_ASSIGNMENT lxc: drop CONFIG_MM_OWNER features/lxc/lxc.cfg | 1 - features/vfio/vfio.cfg | 1 - 2 files changed, 2 deletions(-) -- 2.8.1 -- ___ linux-yocto

[linux-yocto] [PATCH] kernel-cache: edac: correct config

2018-11-01 Thread Hongzhi.Song
Please merge to master/v4.19~v4.14 Hongzhi.Song (1): edac: Drop CONFIG_EDAC_MM_EDAC and add dependency features/edac/edac.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.8.1 -- ___ linux-yocto mailing list linux-yocto

[linux-yocto] [PATCH] edac: Drop CONFIG_EDAC_MM_EDAC and add dependency

2018-11-01 Thread Hongzhi.Song
CONFIG_EDAC depends on RAS. CONFIG_EDAC_MM_EDAC was removed by kernel.[Commit: e3c4ff6d8c9] Signed-off-by: Hongzhi.Song --- features/edac/edac.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/edac/edac.cfg b/features/edac/edac.cfg index ad9c98f..e7be14e 100644

[linux-yocto] [PATCH] intel-x86-64: Move 'CONFIG_NR_CPUS=256' to intel-x86-64.cfg

2018-11-06 Thread Hongzhi.Song
The maximum cpus are 64 on intel-x86-32. But intel-x86-64 can support 8192. Signed-off-by: Hongzhi.Song --- bsp/intel-x86/intel-x86-64.cfg | 3 +++ bsp/intel-x86/intel-x86.cfg| 1 - 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/bsp/intel-x86/intel-x86-64.cfg b/bsp/intel-x86

[linux-yocto] [V2 PATCH 0/2] Move some configs to intel-x86-64

2018-11-07 Thread Hongzhi.Song
v2: modify commit log to be more clearly. Hongzhi.Song (2): intel-x86-64: Move some configs from x86 and x86-64 shared to x86-64 intel-x86-64: Move 'CONFIG_NR_CPUS=256' to intel-x86-64.cfg bsp/intel-x86/intel-x86-64.cfg | 3 +++ bsp/intel-x86/intel-x86-64.scc | 1 + bsp/intel-x86

[linux-yocto] [PATCH 1/2] intel-x86-64: Move some configs from x86 and x86-64 shared to x86-64

2018-11-07 Thread Hongzhi.Song
These configs are possessed privately by x86-64. CONFIG_IXGBE_DCA depends on CONFIG_DCA. CONFIG_DCA depends on x86-64. So I abstract configs related to DCA and put them to *-x86-64.cfg. Signed-off-by: Hongzhi.Song --- bsp/intel-x86/intel-x86-64.scc | 1 + bsp/intel-x86/intel-x86.scc | 1

[linux-yocto] [V2 PATCH 0/2] Move some configs to intel-x86-64

2018-11-07 Thread Hongzhi.Song
v2: modify commit log to be more clearly. Hongzhi.Song (2): intel-x86-64: Move some configs from x86 and x86-64 shared to x86-64 intel-x86-64: Move 'CONFIG_NR_CPUS=256' to intel-x86-64.cfg bsp/intel-x86/intel-x86-64.cfg | 3 +++ bsp/intel-x86/intel-x86-64.scc | 1 + bsp/intel-x86

[linux-yocto] [PATCH 2/2] intel-x86-64: Move 'CONFIG_NR_CPUS=256' to intel-x86-64.cfg

2018-11-07 Thread Hongzhi.Song
The maximum cpus are 64 on intel-x86-32. But intel-x86-64 support ranges from 1 to 8192. So we should move the config to intel-x86-64.cfg. Signed-off-by: Hongzhi.Song --- bsp/intel-x86/intel-x86-64.cfg | 3 +++ bsp/intel-x86/intel-x86.cfg| 1 - 2 files changed, 3 insertions(+), 1 deletion

[linux-yocto] [PATCH] intel-x86-32: Set CONFIG_NR_CPUS to 64 explicitly

2018-11-12 Thread Hongzhi.Song
Since 'CONFIG_NR_CPUS=256' was moved to intel-x86-64.cfg, seeing commit [11917e28727], we would better explicitly set CONFIG_NR_CPUS to 64 in intel-x86-32.cfg for a future re-org of the fragments. And the '64' is also the default value for intel-x86-32. Signed-off-by: Hongzhi.Song --- bsp

[linux-yocto] [PATCH] Move some configs that possessed privately by x86-64

2018-11-06 Thread Hongzhi.Song
Please merge to master/v4.18/v4.19/ Hongzhi.Song (1): intel-x86-64: Move configs from x86 and x86-64 shared to x86-64 bsp/intel-x86/intel-x86-64.scc | 1 + bsp/intel-x86/intel-x86.scc | 1 + features/ixgbe/ixgbe-x86-64.cfg | 1 + features/ixgbe/ixgbe-x86-64.scc | 3 +++ features/ixgbe

[linux-yocto] [PATCH] intel-x86-64: Move configs from x86 and x86-64 shared to x86-64

2018-11-06 Thread Hongzhi.Song
These configs are possessed privately by x86-64. Signed-off-by: Hongzhi.Song --- bsp/intel-x86/intel-x86-64.scc | 1 + bsp/intel-x86/intel-x86.scc | 1 + features/ixgbe/ixgbe-x86-64.cfg | 1 + features/ixgbe/ixgbe-x86-64.scc | 3 +++ features/ixgbe/ixgbe.cfg| 1 - features/ixgbe

[linux-yocto] [PATCH 5/5] bsp/intel-x86: Rename CONFIG_R8723BE to CONFIG_RTL8723BE

2019-02-27 Thread Hongzhi.Song
CONFIG_R8723BE was written wrongly. CONFIG_RTL8723BE is right. Signed-off-by: Hongzhi.Song --- bsp/intel-x86/intel-x86.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bsp/intel-x86/intel-x86.cfg b/bsp/intel-x86/intel-x86.cfg index 7d7c2f6..dff54fe 100644 --- a/bsp/intel

[linux-yocto] [PATCH 1/5] intel-x86: Drop configs which are not defined in kernel

2019-02-27 Thread Hongzhi.Song
-off-by: Hongzhi.Song --- bsp/intel-x86/intel-x86.cfg | 12 1 file changed, 12 deletions(-) diff --git a/bsp/intel-x86/intel-x86.cfg b/bsp/intel-x86/intel-x86.cfg index 080bca1..29bdfea 100644 --- a/bsp/intel-x86/intel-x86.cfg +++ b/bsp/intel-x86/intel-x86.cfg @@ -35,7 +35,6

[linux-yocto] [kernel-cache][PATCH 0/5] Some kernel configs have been deprecated or changed.

2019-02-27 Thread Hongzhi.Song
and master. Hongzhi.Song (5): intel-x86: Drop configs which are not defined in kernel bsp/intel-x86: Drop configs that has been removed by kernel features/hostapd: drop obsolete configs features: drop the obsolete kernel option bsp/intel-x86: Rename CONFIG_R8723BE to CONFIG_RTL8723BE bsp/intel

[linux-yocto] [PATCH 3/5] features/hostapd: drop obsolete configs

2019-02-27 Thread Hongzhi.Song
CONFIG_WIRELESS_EXT_SYSFS has been removed by kernel. Commit id: 35b2a113cb. Signed-off-by: Hongzhi.Song --- features/hostapd/hostapd.cfg | 1 - 1 file changed, 1 deletion(-) diff --git a/features/hostapd/hostapd.cfg b/features/hostapd/hostapd.cfg index 16c601e..d1ec38c 100644 --- a/features

[linux-yocto] [kernel-cache][PATCH 0/5] Some kernel configs have been deprecated or changed.

2019-02-27 Thread Hongzhi.Song
and master. Hongzhi.Song (5): intel-x86: Drop configs which are not defined in kernel bsp/intel-x86: Drop configs that has been removed by kernel features/hostapd: drop obsolete configs features: drop the obsolete kernel option bsp/intel-x86: Rename CONFIG_R8723BE to CONFIG_RTL8723BE bsp/intel

[linux-yocto] [PATCH 2/5] bsp/intel-x86: Drop configs that has been removed by kernel

2019-02-27 Thread Hongzhi.Song
CONFIG_IWLWIFI_DEBUG_EXPERIMENTAL_UCODE, commit id: 75094dc84 CONFIG_SPI_PXA2XX_DMA, commit id: 22a33632fb Signed-off-by: Hongzhi.Song --- bsp/intel-x86/intel-x86-64.cfg | 7 --- bsp/intel-x86/intel-x86-acpi.cfg | 1 - bsp/intel-x86/intel-x86.cfg | 6 +- 3 files changed, 1 insertion(+), 13

[linux-yocto] [PATCH 4/5] features: drop the obsolete kernel option

2019-02-27 Thread Hongzhi.Song
CONFIG_MMC_BLOCK_BOUNCE has been removed by kernel. Commit id: de3ee99b097d. Signed-off-by: Hongzhi.Song --- features/mmc/mmc-block.cfg | 1 - features/soc/x1000/x1000.cfg | 1 - 2 files changed, 2 deletions(-) diff --git a/features/mmc/mmc-block.cfg b/features/mmc/mmc-block.cfg index

[linux-yocto] [linux-yocto-rt][PATCH 0/2] Backport two rt patches to fix build error for powerpc

2019-04-09 Thread Hongzhi.Song
There are tow errors when compiling powerpc rt kernel. 1. Error: operand out of range (0x00208690 is not between 0x and 0x) 2. error: implicit declaration of function 'printk_safe_flush_on_panic' There are for v5.0/standard/preempt-rt/base

[linux-yocto] [PATCH 1/2] powerpc: reshuffle TIF bits

2019-04-09 Thread Hongzhi.Song
=140bf8deb0fa9607a85ecd6241d64e80c7817e8c] Error: operand out of range (0x00208690 is not between 0x and 0x) Signed-off-by: Hongzhi.Song --- arch/powerpc/include/asm/thread_info.h | 13 - arch/powerpc/kernel/entry_32.S | 12 +++- arch/powerpc/kernel

[linux-yocto] [PATCH 2/2] printk: An all-in-one commit to fix build failures

2019-04-09 Thread Hongzhi.Song
-by: Hongzhi.Song --- arch/powerpc/kernel/traps.c| 1 - arch/powerpc/kernel/watchdog.c | 5 - kernel/printk/printk.c | 16 ++-- lib/printk_ringbuffer.c| 8 +++- 4 files changed, 21 insertions(+), 9 deletions(-) diff --git a/arch/powerpc/kernel/traps.c b/arch/powerpc

[linux-yocto] [linux-yocto-rt][PATCH] printk: revert part of code of printk emergency mechanism

2019-04-22 Thread Hongzhi.Song
doesn't work as expected. Removing partial code of printk emergency mechanism can fix the issue temporarily. Signed-off-by: Hongzhi.Song --- kernel/printk/printk.c | 4 1 file changed, 4 insertions(+) diff --git a/kernel/printk/printk.c b/kernel/printk/printk.c index 997d07b..99d4a94 100644