[yocto][meta-anaconda][PATCH] kernel: ide: Remove ide kernel options that had been deleted upstream

2024-04-02 Thread He Zhe via lists.yoctoproject.org
- CONFIG_BLK_DEV_IDEDMA Signed-off-by: He Zhe --- classes/anaconda_kernel.bbclass| 1 - recipes-kernel/linux/files/ide.cfg | 5 - recipes-kernel/linux/files/ide.scc | 1 - recipes-kernel/linux/files/liveinstall.cfg | 1 - 4 files changed, 8 deletions(-) delete mode 100644 recipes

Re: [yocto][meta-anaconda][PATCH] kernel: ide: Remove ide kernel options that had been deleted upstream

2024-04-02 Thread He Zhe via lists.yoctoproject.org
Please ignore thanks. Zhe On 2024/4/1 18:03, He Zhe via lists.yoctoproject.org wrote: > Issue: LIN1023-4443 > > IDE related kernel options had been deleted from upstream since v5.14 > http://lxgit.wrs.com/cgit/linux-yocto-6.1.git/commit/?h=v6.1/s

[yocto][meta-anaconda][PATCH] kernel: ide: Remove ide kernel options that had been deleted upstream

2024-04-02 Thread He Zhe via lists.yoctoproject.org
- CONFIG_BLK_DEV_IDEDMA Signed-off-by: He Zhe --- classes/anaconda_kernel.bbclass| 1 - recipes-kernel/linux/files/ide.cfg | 5 - recipes-kernel/linux/files/ide.scc | 1 - recipes-kernel/linux/files/liveinstall.cfg | 1 - 4 files changed, 8 deletions(-) delete mode 100644 recipes

[yocto][meta-anaconda][PATCH] kernel: ide: Remove ide kernel options that had been deleted upstream

2024-04-02 Thread He Zhe via lists.yoctoproject.org
- CONFIG_BLK_DEV_IDEDMA Signed-off-by: He Zhe --- classes/anaconda_kernel.bbclass| 1 - recipes-kernel/linux/files/ide.cfg | 5 - recipes-kernel/linux/files/ide.scc | 1 - recipes-kernel/linux/files/liveinstall.cfg | 1 - 4 files changed, 8 deletions(-) delete mode 100644 recipes

[yocto][meta-anaconda][PATCH] kernel: ide: Remove ide kernel options that had been deleted upstream

2024-04-01 Thread He Zhe via lists.yoctoproject.org
- CONFIG_BLK_DEV_IDEDMA Signed-off-by: He Zhe --- classes/anaconda_kernel.bbclass| 1 - recipes-kernel/linux/files/ide.cfg | 5 - recipes-kernel/linux/files/ide.scc | 1 - recipes-kernel/linux/files/liveinstall.cfg | 1 - 4 files changed, 8 deletions(-) delete

[linux-yocto][linux-yocto v6.1/standard/preempt-rt/base][PATCH] aufs: i_op: Add handling for au_pin_hdir_set_owner with RT kernel

2024-01-05 Thread He Zhe via lists.yoctoproject.org
named 'owner' 639 | atomic_long_set(>hdir->hi_inode->i_rwsem.owner, (long)task); Signed-off-by: He Zhe --- fs/aufs/i_op.c | 4 1 file changed, 4 insertions(+) diff --git a/fs/aufs/i_op.c b/fs/aufs/i_op.c index a2416992a593..532382c880d8 100644 --- a/fs/aufs/i_op.c +++ b/fs/au

[linux-yocto][linux-yocto v6.1/standard/base][PATCH] mtd_blkdevs: add mtd_table_mutex lock back to blktrans_{open, release} to avoid race condition

2023-05-31 Thread He Zhe via lists.yoctoproject.org
re convert mutex_lock to mutex_trylock and return immediately if failed acquire mtd_table_mutex, then both race condition and DEADLOCK can be avoided. Fixes: 799ae31c58ae ("mtd_blkdevs: don't hold del_mtd_blktrans_dev in blktrans_{open, release}") Signed-off-by: Liwei Song S

[linux-yocto][linux-yocto v6.1/standard/base][PATCH] yaffs2: Fix miscalculation of devname buffer length

2023-05-31 Thread He Zhe via lists.yoctoproject.org
as a function parameter it'll be treated as a simple pointer and thus sizeof will return the length of a pointer rather than the length of the array. Add and pass the buffer length to make it work correctly. Signed-off-by: He Zhe --- fs/yaffs2/yaffs_vfs.c | 10 +- 1 file changed, 5

Re: [linux-yocto] yaffs_vfs warning

2023-05-30 Thread He Zhe via lists.yoctoproject.org
On 5/30/23 21:35, Bruce Ashfield wrote: > On Mon, May 29, 2023 at 11:41 PM He Zhe wrote: >> Sorry for messy encoding... >> >> >> We met the following warning when build linux-yocto v6.1, introduced by >> latter diff. It perhaps miscalculates the buf length. >

Re: [linux-yocto] yaffs_vfs warning

2023-05-29 Thread He Zhe via lists.yoctoproject.org
t;s_bdev, buf) +//#define yaffs_devname(sb, buf) bdevname(sb->s_bdev, buf) +static inline char* yaffs_devname(struct super_block *sb, char *buf) { +   snprintf(buf, sizeof(buf), "%pg", sb->s_bdev); +   return buf; +}    #else   Thanks, Zhe On 5/30/23 11:34, He Zhe via lists.

[linux-yocto] yaffs_vfs warning

2023-05-29 Thread He Zhe via lists.yoctoproject.org
|Hi Bruce, We met the following warning when build linux-yocto v6.1, introduced by latter diff. It perhaps miscalculates the buf length. fs/yaffs2/yaffs_vfs.c:122:29: warning: argument to 'sizeof' in 'snprintf' call is the same expression as the destination; did you mean to provide an explicit

[linux-yocto][v5.15/standard/base][PATCH] squashfs: provide backing_dev_info in order to disable read-ahead

2022-12-07 Thread He Zhe
ng Liang Reviewed-by: Phillip Lougher Cc: Zhang Yi Cc: Hou Tao Cc: Miao Xie Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds This patch can fix a severe disk read degradation on squashfs, which is observed in our customer's environment. Signed-off-by: He Zhe

[linux-yocto] merge issue of arch/arm/boot/dts/imx6sx.dtsi on v5.15/standard/nxp-sdk-5.15/nxp-soc

2022-11-06 Thread He Zhe
Hi Bruce, There is merge issue causing build failure on v5.15/standard/nxp-sdk-5.15/nxp-soc. Seems the HEAD should be kept. https://git.yoctoproject.org/linux-yocto/tree/arch/arm/boot/dts/imx6sx.dtsi?h=v5.15/standard/nxp-sdk-5.15/nxp-soc#n218 arch/arm/boot/dts/imx6sx.dtsi:218.1-3 syntax error

Re: [linux-yocto][linux-ycoto v5.15/standard/preempt-rt/nxp-sdk-5.15/nxp-soc & v5.15/standard/nxp-sdk-5.15/nxp-soc][PATCH 1/1] cert host tools: Stop complaining about deprecated OpenSSL functions

2022-08-16 Thread He Zhe
Hi Bruce, Seems all arches needs this patch so that it can save us a bunch of useless warnings in do_compile. It was created since 5.19 and hasn't been put on upstream stable tree. Thanks, Zhe On 7/14/22 08:13, Xiaolei Wang wrote: > From: Linus Torvalds > > commit

Re: [linux-yocto] [kernel-cache][yocto-5.15][PATCH v3] nft: add configs for greater nftables coverage

2022-08-15 Thread He Zhe
Hi Bruce, This patch happened to be merged onto two branches in linux-yocto. https://git.yoctoproject.org/linux-yocto/commit/?h=v5.15/standard/nxp-sdk-5.10/nxp-s32g=a920167f0254ced8e1672e8b0c63fb49f6c3069b

[linux-yocto][v5.15/standard/preempt-rt/base][PATCH] sched: deadline: Use printk_once instead of missing printk_deferred_once

2022-08-01 Thread He Zhe
REPLENISH flag missing\n", | ^~~~~~~~~~~~ Signed-off-by: He Zhe --- kernel/sched/deadline.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/sched/deadline.c b/kernel/sched/deadline.c index c9dc1bc06431..4c6579cb1b7f 100644 --- a/kernel/sched

Re: [linux-yocto][yocto-kernel-cache yocto-5.15][PATCH] nxp-imx8: Enable CONFIG_EXPERT to meet dependency

2022-06-22 Thread He Zhe
On 6/22/22 16:37, Kevin wrote: > On Wed, Jun 22, 2022 at 02:02:35PM +0800, He Zhe wrote: >> [NOTE]: 'CONFIG_GPIO_SYSFS' last val (y) and .config val (n) do not match > Hmm, The GPIO sysfs ABI has been marked as obsolete 6 years ago and has been > scheduled to be removed in 2

[linux-yocto][yocto-kernel-cache yocto-5.15][PATCH] nxp-imx8: Enable CONFIG_EXPERT to meet dependency

2022-06-22 Thread He Zhe
[NOTE]: 'CONFIG_GPIO_SYSFS' last val (y) and .config val (n) do not match ...snip... Parent dependencies are: SYSFS [y] EXPERT [n] GPIOLIB [y] Signed-off-by: He Zhe --- bsp/nxp-imx8/nxp-imx8.cfg | 1 + 1 file changed, 1 insertion(+) diff --git a/bsp/nxp-imx8/nxp-imx8.cfg b

[linux-yocto][v5.10/standard/base v5.15/standard/base][PATCH] x86/boot: Wrap literal addresses in absolute_pointer()

2022-06-01 Thread He Zhe
id=99578 [2] https://lore.kernel.org/all/20210912160149.2227137-1-li...@roeck-us.net/ Cc: Thomas Gleixner Cc: Guenter Roeck Cc: x...@kernel.org Signed-off-by: Kees Cook Backport https://git.kernel.org/tip/aeb84412037b89e06f45e382f044da6f200e12f8 to fix build warnings. Signed-off-by

[linux-yocto][v5.10/standard/base v5.15/standard/base][PATCH] ACPI: thermal: drop an always true check

2022-06-01 Thread He Zhe
/thermal.c:1101:21: error: the comparison will always evaluate as 'true' for the address of 'active' will never be NULL [-Waddress] Signed-off-by: He Zhe --- drivers/acpi/thermal.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/acpi/thermal.c b/drivers/acpi/thermal.c index 95105db642b9

[linux-yocto][v5.10/standard/base v5.15/standard/base][PATCH] xfs: Fix -Werror=dangling-pointer work-around for older GCC

2022-05-30 Thread He Zhe
GCC 11 and older do not have dangling-pointer, use cc-option to make it work for all versions of GCC. Fixes: 5509050b3392 ("xfs: Work around GCC 12 -Werror=dangling-pointer for xfs_attr_remote.o") Signed-off-by: He Zhe --- fs/xfs/Makefile | 2 +- 1 file changed, 1 insertion(+),

[linux-yocto][v5.10/standard/base v5.15/standard/base][PATCH 2/2] xfs: Work around GCC 12 -Werror=dangling-pointer for xfs_attr_remote.o

2022-05-25 Thread He Zhe
Signed-off-by: He Zhe --- fs/xfs/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/xfs/Makefile b/fs/xfs/Makefile index 04611a1068b4..8d4ad8ed4b77 100644 --- a/fs/xfs/Makefile +++ b/fs/xfs/Makefile @@ -6,6 +6,7 @@ ccflags-y += -I $(srctree)/$(src) # needed for trace

[linux-yocto][v5.10/standard/base v5.15/standard/base][PATCH 1/2] virtio-pci: Remove wrong address verification in vp_del_vqs()

2022-05-25 Thread He Zhe
ife). [0] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102103 Signed-off-by: Murilo Opsfelder Araujo This is to fix build failure when we enable -Werror. It's not yet merged, but ACKed. Link: https://lore.kernel.org/lkml/20220415023002.49805-1-muri...@linux.ibm.com/ Signed-off-by: He Zhe ---

[linux-yocto][meta-realtime][PATCH] LICENSE: update to SPDX standard names

2022-05-12 Thread He Zhe
To fix warnings like the following, update LICENSE names in recipes with poky/scripts/contrib/convert-spdx-licenses.py. WARNING: schedtool-dl-1.0-r0 do_package_qa: QA Issue: Recipe LICENSE includes obsolete licenses GPLv2 [obsolete-license] Signed-off-by: He Zhe --- recipes-kernel/latencytop

[linux-yocto][v5.10/standard/base][PATCH] regulator: consumer: Add missing stubs to regulator/consumer.h

2022-05-10 Thread He Zhe
this case. Link: https://lore.kernel.org/all/62796b82.1c69fb81.1bf47.0...@mx.google.com/ Signed-off-by: He Zhe --- include/linux/regulator/consumer.h | 30 ++ 1 file changed, 30 insertions(+) diff --git a/include/linux/regulator/consumer.h b/include/linux/regulator

[linux-yocto][yocto-kernel-cache master][PATCH] global: Clean up is not set with =n

2022-05-05 Thread He Zhe
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=55de8686df7ed2b5237867b130e30c728bbd9db4 Signed-off-by: He Zhe --- bsp/qemuarma15/qemuarma15.cfg | 2

[linux-yocto][v5.10/standard/preempt-rt/base][PATCH] tcp: Fix net/ipv4/inet_hashtables.c conflict

2022-04-25 Thread He Zhe
This causes build failure. Keep all parts of the function from v5.10/standard/base Fixes: f640c7dd08c9 ("Merge branch 'v5.10/standard/base' into v5.10/standard/preempt-rt/base") Signed-off-by: He Zhe --- net/ipv4/inet_hashtables.c | 22 -- 1 file changed, 22

Re: [linux-yocto] Build failure drivers/video/fbdev/core/fbmem.c

2022-04-25 Thread He Zhe
On 4/25/22 13:23, He Zhe wrote: > Hi Bruce, > > The base context of 2388f826cdc9af2651991adc0feb79de9bdf2232 is removed and > it causes build failure for all branches. if we use linux-yocto 5.15.35 or later. Zhe > https://git.yoctoproject.org/linux-yocto/commit/?h=v5.1

[linux-yocto] Build failure drivers/video/fbdev/core/fbmem.c

2022-04-24 Thread He Zhe
Hi Bruce, The base context of 2388f826cdc9af2651991adc0feb79de9bdf2232 is removed and it causes build failure for all branches. https://git.yoctoproject.org/linux-yocto/commit/?h=v5.15/standard/base=4e7122625996261d870160dfd2096108742f1009

[linux-yocto][v5.15/standard/base][PATCH] netfilter: conntrack: avoid useless indirection during conntrack destruction

2022-04-18 Thread He Zhe
0006 R11: 0293 R12: 55fab0216e90 R13: R14: 55fab0216e90 R15: 7ffe2fae9130 ---[ end trace 00000002 ]--- Signed-off-by: He Zhe --- include/linux/netfilter/nf_conntrack_common.h | 2 ++ include/net/netfilter/nf_conntrack.h | 8 ++--

Re: [linux-yocto][v5.10/standard/base][PATCH] ipv6: Fix stats accounting in ip6_pkt_drop

2022-04-06 Thread He Zhe
On 4/6/22 20:07, Paul Gortmaker wrote: > [[linux-yocto][v5.10/standard/base][PATCH] ipv6: Fix stats accounting in > ip6_pkt_drop] On 06/04/2022 (Wed 15:54) He Zhe wrote: > >> VRF devices are the loopbacks for VRFs, and a loopback can not be >> assigned to a VRF. Accor

[linux-yocto][v5.10/standard/base][PATCH] ipv6: Fix stats accounting in ip6_pkt_drop

2022-04-06 Thread He Zhe
Reported-by: Pudak, Filip Reported-by: Xiao, Jiguang Signed-off-by: David Ahern Link: https://lore.kernel.org/r/20220404150908.2937-1-dsah...@kernel.org Signed-off-by: Paolo Abeni Link: https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git/commit/?id=1158f79f82d4 Signed-off-by: He Zhe ---

Re: [linux-yocto] [kernel-cache][RFC][ PATCH] features/tpm: split into tpm-1.2, tpm-2.0, tpm-2.0-crb and vtpm feature

2022-03-08 Thread He Zhe
ERROR: could not find kconf tpm2.cfg, included from TOPDIR/tmp-glibc/work/intel_x86_64-wrs-linux/linux-yocto-dev/5.17++gitAUTOINC+72b219a527_8bfadd26b3-r0/kernel-meta/features/tpm/tpm.scc features/tpm/tpm.scc -> features/tpm/tpm-2.0.scc -> tpm2.cfg There is no tmp2.cfg there. Zhe On 3/9/22

Re: [linux-yocto][linux-yocto v5.10/standard/base][PATCH 0/4] Fix ramoops/ftrace

2022-02-24 Thread He Zhe
On 2/25/22 12:28, He Zhe wrote: > We experienced system hang when using ramoops/ftrace. > > To avoid the deadlock causing the hang, rebase the patch in the following > link onto v5.10 as 4/9. 1/9, 2/9 and 3/9 are minimum basic change typo, should have been 1/4 - 4/4. > backporte

[linux-yocto][linux-yocto v5.10/standard/base][PATCH 4/4] pstore/ftrace: Add and use ftrace_test_recursion_trylock_safe

2022-02-24 Thread He Zhe
. This is based on the Steven Rostedt's patch(not yet in mainline) in following link. Link: https://lkml.org/lkml/2021/6/10/868 Signed-off-by: He Zhe --- fs/pstore/ftrace.c | 7 - include/linux/trace_recursion.h | 55 +++-- 2 files changed, 59 insertions(+), 3

[linux-yocto][linux-yocto v5.10/standard/base][PATCH 0/4] Fix ramoops/ftrace

2022-02-24 Thread He Zhe
tracer and the other users of it stays unchanged. This has been tested on arm64 and intel-x86-64 hardwares and qemu. He Zhe (4): ftrace: Move the recursion testing into global headers ftrace: Add ftrace_test_recursion_trylock() helper function pstore/ftrace: Add recursion protection

[linux-yocto][linux-yocto v5.10/standard/base][PATCH 1/4] ftrace: Move the recursion testing into global headers

2022-02-24 Thread He Zhe
. But they should not all implement their own. Move the recursion helpers to global headers, so that all callbacks can use them. Signed-off-by: Steven Rostedt (VMware) Rebase to 5.10 Signed-off-by: He Zhe --- include/linux/ftrace.h | 1 + include/linux/trace_recursion.h | 166

[linux-yocto][linux-yocto v5.10/standard/base][PATCH 2/4] ftrace: Add ftrace_test_recursion_trylock() helper function

2022-02-24 Thread He Zhe
To make it easier for ftrace callbacks to have recursion protection, provide a ftrace_test_recursion_trylock() and ftrace_test_recursion_unlock() helper that tests for recursion. Signed-off-by: Steven Rostedt (VMware) Rebase to 5.10 Keep core path of function tracer unchanged Signed-off-by: He

[linux-yocto][linux-yocto v5.10/standard/base][PATCH 3/4] pstore/ftrace: Add recursion protection to the ftrace callback

2022-02-24 Thread He Zhe
recursion protection unless otherwise specified. Cc: Thomas Meyer Cc: Kees Cook Signed-off-by: Steven Rostedt (VMware) Rebase to 5.10 Signed-off-by: He Zhe --- fs/pstore/ftrace.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/fs/pstore/ftrace.c b/fs/pstore/ftrace.c index

[linux-yocto][yocto-kernel-cache][master][PATCH] intel-x86: preempt-rt: Disable CONFIG_NUMA_BALANCING

2021-12-13 Thread He Zhe
val (y) and .config val (n) do not match [NOTE]: 'CONFIG_NUMA_BALANCING_DEFAULT_ENABLED' last val (y) and .config val (n) do not match Signed-off-by: He Zhe --- bsp/intel-x86/intel-x86-64-preempt-rt.scc | 1 + intel-x86-64-preempt-rt.cfg | 4 2 files changed, 5 insertions

[linux-yocto][yocto-kernel-cache][yocto-5.10][PATCH] intel-x86: preempt-rt: Disable CONFIG_NUMA_BALANCING

2021-12-13 Thread He Zhe
val (y) and .config val (n) do not match [NOTE]: 'CONFIG_NUMA_BALANCING_DEFAULT_ENABLED' last val (y) and .config val (n) do not match Signed-off-by: He Zhe --- bsp/intel-x86/intel-x86-64-preempt-rt.scc | 1 + intel-x86-64-preempt-rt.cfg | 4 2 files changed, 5 insertions

[linux-yocto][v5.10/standard/preempt-rt/base][PATCH] arm64: signal: Delay calling signals in atomic

2021-10-19 Thread He Zhe
ing action to arm64 specific path. Link: https://lore.kernel.org/all/20211015170325.li5rugf6u4rgh...@linutronix.de/ Back ported for 5.10 Signed-off-by: He Zhe --- arch/arm64/include/asm/signal.h | 11 +++ arch/arm64/kernel/signal.c | 8 2 files changed, 19 insertions(+) create m

[linux-yocto][v5.10/standard/base][PATCH 1/2] perf: Cap allocation order at aux_watermark

2021-07-13 Thread He Zhe
Signed-off-by: Peter Zijlstra (Intel) Link: https://lkml.kernel.org/r/20210414154955.49603-2-alexander.shish...@linux.intel.com perf, pt: Improve data loss https://lore.kernel.org/lkml/20210414154955.49603-1-alexander.shish...@linux.intel.com/ Signed-off-by: He Zhe --- kernel/events

[linux-yocto][v5.10/standard/base][PATCH 2/2] perf intel-pt: Use aux_watermark

2021-07-13 Thread He Zhe
://lore.kernel.org/lkml/20210414154955.49603-1-alexander.shish...@linux.intel.com/ Signed-off-by: He Zhe --- tools/perf/arch/x86/util/intel-pt.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/tools/perf/arch/x86/util/intel-pt.c b/tools/perf/arch/x86/util/intel-pt.c index 082e5f2a415a..3c6745e28f57 100

[linux-yocto][v5.10/standard/base][PATCH] timers: Fix get_next_timer_interrupt() with no timers pending

2021-07-12 Thread He Zhe
Nicolas Saenz Julienne Acked-by: Frederic Weisbecker Link: https://lore.kernel.org/lkml/20210710005243.GA23956@lothringen/ Signed-off-by: He Zhe --- This fixes the bug that arch_timer interrupt counts keep increasing on isolated cores for all arm64 This has been acked by the original problematic

[linux-yocto][yocto-kernel-cache][master yocto-5.13][PATCH] kfence: Initial enablement

2021-06-22 Thread He Zhe
, KFENCE trades precision for performance. Signed-off-by: He Zhe --- features/kfence/kfence.cfg | 2 ++ features/kfence/kfence.scc | 5 + 2 files changed, 7 insertions(+) create mode 100644 features/kfence/kfence.cfg create mode 100644 features/kfence/kfence.scc diff --git a/features/kfence

[linux-yocto][v5.10/standard/preempt-rt/base][PATCH] ptrace: Fix make ptrace() fail if the tracee changed its pid unexpectedly

2021-06-17 Thread He Zhe
A part of dbb5afad100a ("ptrace: make ptrace() fail if the tracee changed its pid unexpectedly") is missing during merge, which invalidates the commit. Signed-off-by: He Zhe --- kernel/ptrace.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/kernel/ptrace.

[linux-yocto] missing cfg/crypto-obsolete-disable.scc

2021-05-14 Thread He Zhe
Hi Bruce, Seems cfg/crypto-obsolete-disable.scc is missing from the commit 5eb0bebcf0b5 ("ktypes/standard: disable obsolete crypto options by default") Regards, Zhe -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#9879):

[linux-yocto] preempt-rt build failure

2021-01-19 Thread He Zhe
Hi Bruce, The following revert breaks preempt-rt build. http://git.yoctoproject.org/cgit/cgit.cgi/linux-yocto/commit/?h=v5.10/standard/preempt-rt/base=491a86a368de0c75f18b85d01a3390dc2811c343 tmp-glibc/work-shared/qemux86-64/kernel-source/kernel/locking/rwsem.c:1517:54: error: implicit

[linux-yocto][linux-yocto][v5.4/standard/xlnx-soc][PATCH] net: axienet: Remove static from __axienet_device_reset

2020-11-15 Thread He Zhe
__axienet_device_reset is referenced from different source files. Fixes: 59b0ea17cf64 ("net: axienet: Add missing return value type for __axienet_device_reset") Signed-off-by: He Zhe --- drivers/net/ethernet/xilinx/xilinx_axienet.h | 2 +- drivers/net/ethernet/xilinx/xilinx_axie

[linux-yocto][linux-yocto][v5.4/standard/xlnx-soc][PATCH] net: axienet: Add missing return value type for __axienet_device_reset

2020-11-10 Thread He Zhe
returning void [-Wreturn-type] Fixes: 00c44b7e5c15 ("Merge branch 'v5.4/standard/base' into v5.4/standard/xlnx-soc") Signed-off-by: He Zhe --- drivers/net/ethernet/xilinx/xilinx_axienet_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ether

[linux-yocto][linux-yocto-dev][PATCH] SUNRPC: Fix svc_flush_dcache()

2020-09-28 Thread He Zhe
20 14:01:05 klimt.1015granger.net kernel: ? test_bit+0x1d/0x27 Sep 20 14:01:05 klimt.1015granger.net kernel: ? kthread_mod_delayed_work+0x115/0x115 Sep 20 14:01:05 klimt.1015granger.net kernel: ret_from_fork+0x22/0x30 Reported-by: He Zhe Fixes: ca07eda33e01 ("SUNRPC: Refactor svc_rec

Re: [linux-yocto] [standard/base] [PATCH] arm64/perf: Fix wrong cast that may cause wrong truncation

2020-09-17 Thread He Zhe
rf: Fix wrong cast > that may cause wrong truncation > on 21/08/2020 zhe...@windriver.com wrote: > >> From: He Zhe >> >> tail is a pointer while buftail.fp is a u32. >> >> arch/arm64/kernel/perf_callchain.c:100:6: warning: cast from pointer to >> integer

[linux-yocto][yocto-kernel-cache][master and yocto-5.4 and later][PATCH] ti-am335x: Clean up useless and badly formatted fragments

2020-09-10 Thread He Zhe
From: He Zhe Fix the following warning. WARNING: linux-yocto-5.4.x do_kernel_configcheck: [kernel config]: This BSP contains fragments with warnings: [INFO]: Fragments with badly formatted configuration options: - fragment configs/v5.4/standard/ti-am335x/bsp/ti-am335x/ti-am335x.cfg

[linux-yocto][yocto-kernel-cache][yocto-5.4/yocto-5.8/master][PATCH] netfilter: Enable nat for ipv4 and ipv6

2020-09-01 Thread He Zhe
From: He Zhe 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 --- cfg/net/ip6_nf.cfg | 1 + cfg/net/ip_nf.cfg | 1 + 2 files changed, 2 insertions(+) diff --git a/cfg/net/ip6_nf.cfg b/cfg/net

[linux-yocto][yocto-kernel-cache][master yocto-5.4 yocto-5.2][PATCH] features/ocicontainer: Drop RT_GROUP_SCHED

2020-07-12 Thread He Zhe
From: He Zhe Systemd doesn't support RT group scheduling. https://github.com/systemd/systemd/issues/13781#issuecomment-549164383 And lxc doesn't necessarily use this feature. Signed-off-by: He Zhe --- features/ocicontainer/lxc.cfg | 1 - 1 file changed, 1 deletion(-) diff --git a/features

[linux-yocto][linux-yocto-dev][standard/base][PATCH] eventfd: Enlarge recursion limit to allow vhost to work

2020-06-05 Thread He Zhe
From: He Zhe Upstream link: https://lore.kernel.org/lkml/20200410114720.24838-1-zhe...@windriver.com/ commit b5e683d5cab8 ("eventfd: track eventfd_signal() recursion depth") introduces a percpu counter that tracks the percpu recursion depth and warn if it greater than zero, to avoid

Re: [linux-yocto][linux-yocto-dev standard/base][PATCH] x86/mce: Add compat_ioctl assignment to make it compatible with 32-bit system

2020-05-20 Thread He Zhe
Could you please merge this? This has been accepted but not in mainline master. Thanks, Zhe On 3/4/20 2:48 PM, He Zhe wrote: > From: He Zhe > > 32-bit user-space program would get errors like the following from ioctl > syscall due to missing compat_ioctl. > MCE_GET_RECORD_LEN

[linux-yocto][master yocto-5.4][PATCH] bpf: Add CONFIG_IKHEADERS

2020-04-27 Thread He Zhe
From: He Zhe bcc and bpftrace may require kernel headers to be able to build tools. Otherwise it would fail as modprobe: module kheaders not found in modules.dep Unable to find kernel headers. Try rebuilding kernel with CONFIG_IKHEADERS=m (module) Signed-off-by: He Zhe --- features/bpf

[linux-yocto] ARM: 8918/2: only build return_address() if needed

2020-04-01 Thread He Zhe
Hi Bruce, fb033c95c94c ("ARM: 8918/2: only build return_address() if needed") fixing a build warning is now on standard/base and v5.5/standard/base. Could you please merge it to v5.4/standard/base too? Zhe -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply

[linux-yocto][standard/base v5.4/standard/base][PATCH] KVM: LAPIC: Mark hrtimer for period or oneshot mode to expire in hard interrupt context

2020-03-24 Thread He Zhe
From: He Zhe https://lore.kernel.org/lkml/a2eb9c9e-b8db-6d17-82b2-70014324f...@redhat.com/ apic->lapic_timer.timer was initialized with HRTIMER_MODE_ABS_HARD but started later with HRTIMER_MODE_ABS, which may cause the following warning in PREEMPT_RT kernel. WARNING: CPU: 1 PID: 2957 at ker

[linux-yocto][v5.4/standard/base][PATCH] ARM: 8918/2: only build return_address() if needed

2020-03-24 Thread He Zhe
From: Ben Dooks The system currently warns if the config conditions for building return_address in arch/arm/kernel/return_address.c are not met, leaving just an EXPORT_SYMBOL_GPL(return_address) of a function defined to be 'static linline'. This is a result of aeea3592a13b ("ARM: 8158/1:

Re: [linux-yocto][linux-yocto v5.4/standard/preempt-rt/base v5.4/standard/preempt-rt/intel-x86 v5.4/standard/preempt-rt/bcm-2xxx-rpi][PATCH] aufs5:fix:avoid to access rw_sem.owner at rt kernel

2020-03-11 Thread He Zhe
On 3/11/20 3:44 PM, Xu, Yanfei wrote: > > On 3/11/20 12:14 PM, He Zhe wrote: >> >> On 3/10/20 2:50 PM, Xu, Yanfei wrote: >>> From: Yanfei Xu >>> >>> Fix build failure. >>> >>> Even though owner member is now made a permanent member

Re: [linux-yocto][linux-yocto-dev standard/base][PATCH 0/5] Revert disk invalidating updates

2020-03-10 Thread He Zhe
On 3/11/20 11:24 AM, Bruce Ashfield wrote: > On Wed, Mar 4, 2020 at 10:40 AM wrote: >> From: He Zhe >> >> This series of commits do not work with the latest systemd-udevd(v244, likely >> v245). And the mainline has confirmed this potential misbehaviour. >>

[yocto] [meta-cgl][PATCH] kernel: Rename linux-yocto bbappend without major version

2020-03-05 Thread He Zhe
We do not necessarily match the major version of kernel recipe and update it every time oe-core upgrades kernel. Signed-off-by: He Zhe --- .../linux/{linux-yocto_4.%.bbappend => linux-yocto_%.bbappend}| 0 1 file changed, 0 insertions(+), 0 deletions(-) rename meta-cgl-com

[linux-yocto][linux-yocto-dev standard/base][PATCH 4/5] Revert "block: move rescan_partitions to fs/block_dev.c"

2020-03-04 Thread He Zhe
From: He Zhe This reverts commit a1548b674403c0de70cc29a1575689917ba60157. --- block/partition-generic.c | 37 +++-- fs/block_dev.c| 38 ++ include/linux/fs.h| 2 ++ include/linux/genhd.h | 4 ++-- 4

[linux-yocto][linux-yocto-dev standard/base][PATCH 2/5] Revert "block: remove (__)blkdev_reread_part as an exported API"

2020-03-04 Thread He Zhe
From: He Zhe This reverts commit f0b870df80bc70dad432fd0c142bb709a49964f5. Adjust context of block/ioctl.c --- block/ioctl.c | 35 - drivers/block/loop.c| 13 +--- drivers/s390/block/dasd_genhd.c | 4 +--- fs/block_dev.c

[linux-yocto][linux-yocto-dev standard/base][PATCH 3/5] Revert "block: fix bdev_disk_changed for non-partitioned devices"

2020-03-04 Thread He Zhe
From: He Zhe This reverts commit 142fe8f4bb169e8632024d51c64653a8bf140561. Also reverts commit 490547ca2df6 ("block: don't send uevent for empty disk when not invalidating") --- block/ioctl.c | 6 -- block/partition-generic.c | 5 - fs/block_dev.c

[linux-yocto][linux-yocto-dev standard/base][PATCH 5/5] Revert "block: merge invalidate_partitions into rescan_partitions"

2020-03-04 Thread He Zhe
From: He Zhe This reverts commit 6917d0689993f46d97d40dd66c601d0fd5b1dbdd. --- block/ioctl.c | 2 +- block/partition-generic.c | 38 -- fs/block_dev.c| 5 - include/linux/genhd.h | 4 ++-- 4 files changed, 31 insertions

[linux-yocto][linux-yocto-dev standard/base][PATCH 1/5] Revert "block: move clearing bd_invalidated into check_disk_size_change"

2020-03-04 Thread He Zhe
From: He Zhe This reverts commit 979c690d9a017db14b7759a099478e3faad991ac. --- fs/block_dev.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fs/block_dev.c b/fs/block_dev.c index 69bf2fb6f7cd..387b64665dc2 100644 --- a/fs/block_dev.c +++ b/fs/block_dev.c @@ -1433,7

[linux-yocto][linux-yocto-dev standard/base][PATCH 0/5] Revert disk invalidating updates

2020-03-04 Thread He Zhe
From: He Zhe This series of commits do not work with the latest systemd-udevd(v244, likely v245). And the mainline has confirmed this potential misbehaviour. https://lore.kernel.org/lkml/20200304133738.gf21...@quack2.suse.cz/ As it would run out of memory very soon and make the system

[linux-yocto][linux-yocto v5.4/standard/preempt-rt/base][PATCH] printk: Fix build failures caused by v5.4.22 merge

2020-03-03 Thread He Zhe
From: He Zhe A hunk of code that was already removed from RT upstream was introduced by the merger of v5.4.22 and cause the following build failures. Remove it. kernel/printk/printk.c: In function 'register_console': kernel/printk/printk.c:2530:3: error: implicit declaration of function

[linux-yocto][linux-yocto-dev standard/base][PATCH] perf probe: Fix to delete multiple probe event

2020-02-25 Thread He Zhe
(Code: -2) With this: # perf probe -d \* Removed event: probe_perf:map__map_ip Reported-by: Arnaldo Carvalho de Melo Signed-off-by: Masami Hiramatsu https://lkml.org/lkml/2019/12/3/136 Signed-off-by: He Zhe --- tools/perf/util/probe-file.c | 3 +++ 1 file changed, 3 insertions(+) diff --g

[linux-yocto][linux-yocto-dev standard/base][PATCH] tipc: fix successful connect() but timed out

2020-02-19 Thread He Zhe
Note: This solution doesn't break the previous one as it deals with a different situation that the socket state is 'DISCONNECTING' but has no error (i.e. sk->sk_err = 0). Fixes: 9546a0b7ce00 ("tipc: fix wrong connect() return code") Acked-by: Ying Xue Acked-by: Jon Maloy Signed-off-by: Tuong

[linux-yocto][PATCH v5.2/standard/preempt-rt/base] workqueue: Fix missing transition to raw lock

2020-02-10 Thread He Zhe
From: He Zhe For the following build failure. kernel/workqueue.c:4336:17: error: passing argument 1 of 'rt_spin_lock' from incompatible pointer type [-Werror=incompatible-pointer-types] 4336 | spin_lock_irq(_mayday_lock); | ^~~ kernel/workqueue.c:4338:19: error: passing argument 1

[linux-yocto][v5.2/standard/mti-malta64][PATCH] malta64: Remove __init annotation of malta_pcnet32_ioports_fixup

2020-01-18 Thread He Zhe
From: He Zhe To fix the following warning. WARNING: vmlinux.o(.pci_fixup_final+0x1288): Section mismatch in reference from the variable __pci_fixup_malta_pcnet32_ioports_fixup163 to the function .init.text:malta_pcnet32_ioports_fixup() The variable __pci_fixup_malta_pcnet32_ioports_fixup163

[linux-yocto] Still need "Omit to optimize vsprintf.c/kasprintf.c"?

2020-01-17 Thread He Zhe
Hi Bruce, And reason we keep the following commit? http://git.yoctoproject.org/cgit/cgit.cgi/linux-yocto/commit/?id=0817a77d8c65f150d659f0a38b5f108372f381e6=v5.2%2Fstandard%2Farm-versatile-926ejs It causes the following warning.

[linux-yocto][master v5.2/standard/base][PATCH] net, sysctl: Fix compiler warning when only cBPF is present

2020-01-17 Thread He Zhe
~~ Suppress this by guarding it with CONFIG_HAVE_EBPF_JIT again. Fixes: fdadd04931c2 ("bpf: fix bpf_jit_limit knob for PAGE_SIZE >= 64K") Signed-off-by: Alexander Lobakin Signed-off-by: Daniel Borkmann Link: https://lore.kernel.org/bpf/20191218091821.7080-1-

[linux-yocto][v5.2/standard/base v5.2/standard/intel-x86][PATCH] Revert "x86: Use CONFIG_PREEMPTION"

2020-01-15 Thread He Zhe
From: He Zhe This reverts commit 41bbdde13b435400816397a47e84fa697934c253. The reverted patch causes the following build failure. tmp-glibc/work-shared/intel-x86-64/kernel-source/include/linux/preempt.h:190:3: error: implicit declaration of function '__preempt_schedule' [-Werror=implicit

[linux-yocto][linux-yocto-dev][PATCH] linux-yocto linux-yocto-dev: Fix /bin/awk issues

2020-01-14 Thread He Zhe
From: He Zhe 084857b1bf19 ("linux-yocto: Handle /bin/awk issues") makes one mistake and misses one substitution causing the following warning. Warning: Kernel ABI header at 'tools/arch/x86/tools/gen-insn-attr-x86.awk' differs from latest version at 'arch/x86/tools/gen-insn-attr-x86.a

Re: [linux-yocto] [PATCH] qemuarma15: Enable high memory to support more physical memory

2020-01-08 Thread He Zhe
Hi Bruce, I can't find it in master/yocto-5.2 from the web. http://git.yoctoproject.org/cgit/cgit.cgi/yocto-kernel-cache/log/?h=master Zhe On 1/9/20 4:59 AM, Bruce Ashfield wrote: > merged to master/yocto-5.2 > > Bruce > > On Sun, Jan 5, 2020 at 10:30 PM wrote: >> From:

[linux-yocto] [PATCH] qemuarma15: Enable high memory to support more physical memory

2020-01-05 Thread He Zhe
From: He Zhe Signed-off-by: He Zhe --- bsp/qemuarma15/qemuarma15.cfg | 1 + 1 file changed, 1 insertion(+) diff --git a/bsp/qemuarma15/qemuarma15.cfg b/bsp/qemuarma15/qemuarma15.cfg index 3bc219a..c7bb50a 100644 --- a/bsp/qemuarma15/qemuarma15.cfg +++ b/bsp/qemuarma15/qemuarma15.cfg @@ -30,3

Re: [linux-yocto][yocto-kernel-cache yocto-5.0 yocto-5.2 master][PATCH] qemuarma15: Enable high memory to support more physical memory

2020-01-01 Thread He Zhe
Ping. Zhe On 12/19/19 6:19 PM, He Zhe wrote: > From: He Zhe > > Signed-off-by: He Zhe > --- > bsp/qemuarma15/qemuarma15.cfg | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/bsp/qemuarma15/qemuarma15.cfg b/bsp/qemuarma15/qemuarma15.cfg > index 3bc219a.

[linux-yocto][yocto-kernel-cache yocto-5.0 yocto-5.2 master][PATCH] qemuarma15: Enable high memory to support more physical memory

2019-12-19 Thread He Zhe
From: He Zhe Signed-off-by: He Zhe --- bsp/qemuarma15/qemuarma15.cfg | 1 + 1 file changed, 1 insertion(+) diff --git a/bsp/qemuarma15/qemuarma15.cfg b/bsp/qemuarma15/qemuarma15.cfg index 3bc219a..c7bb50a 100644 --- a/bsp/qemuarma15/qemuarma15.cfg +++ b/bsp/qemuarma15/qemuarma15.cfg @@ -30,3