[PATCH -next 1/2] w1: ds2805: Use module_w1_family to simplify the code

2021-04-08 Thread Chen Huang
module_w1_family() makes the code simpler by eliminating boilerplate code. Signed-off-by: Chen Huang --- drivers/w1/slaves/w1_ds2805.c | 15 +-- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/drivers/w1/slaves/w1_ds2805.c b/drivers/w1/slaves/w1_ds2805.c index

[PATCH -next 2/2] w1: ds28e17: Use module_w1_family to simplify the code

2021-04-08 Thread Chen Huang
module_w1_family() makes the code simpler by eliminating boilerplate code. Signed-off-by: Chen Huang --- drivers/w1/slaves/w1_ds28e17.c | 16 +--- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/drivers/w1/slaves/w1_ds28e17.c b/drivers/w1/slaves/w1_ds28e17.c index

[PATCH -next] vfio/fsl-mc: Use module_fsl_mc_driver to simplify the code

2021-04-08 Thread Chen Huang
module_fsl_mc_driver() makes the code simpler by eliminating boilerplate code. Signed-off-by: Chen Huang --- drivers/vfio/fsl-mc/vfio_fsl_mc.c | 13 + 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/drivers/vfio/fsl-mc/vfio_fsl_mc.c b/drivers/vfio/fsl-mc/vfio_fsl_mc.c

[PATCH -next] ALSA: virtio: use module_virtio_driver() to simplify the code

2021-04-08 Thread Chen Huang
module_virtio_driver() makes the code simpler by eliminating boilerplate code. Signed-off-by: Chen Huang --- sound/virtio/virtio_card.c | 12 +--- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/sound/virtio/virtio_card.c b/sound/virtio/virtio_card.c index ae9128063917

[PATCH -next] hugetlb: Fix the loss of exclamation point in comment

2021-04-01 Thread Chen Huang
In "else" and "endif" comment, it loses the exclamation point. Signed-off-by: Chen Huang --- include/linux/hugetlb.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/linux/hugetlb.h b/include/linux/hugetlb.h index a7f7d5f328dc..c5fb0035c13a

[PATCH v2] powerpc: Fix HAVE_HARDLOCKUP_DETECTOR_ARCH build configuration

2021-03-28 Thread Chen Huang
cific hardlockup watchdog") Reported-by: Hulk Robot Signed-off-by: Chen Huang --- arch/powerpc/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig index 764df010baee..a5196e1a1281 100644 --- a/arch/powerpc/Kconfig +++ b/arch/power

Re: [PATCH] powerpc: Fix HAVE_HARDLOCKUP_DETECTOR_ARCH build configuration

2021-03-28 Thread Chen Huang
在 2021/3/28 19:06, Christophe Leroy 写道: > > > Le 27/03/2021 à 10:49, Chen Huang a écrit : >> When compiling the powerpc with the SMP disabled, it shows the issue: >> >> arch/powerpc/kernel/watchdog.c: In function ‘watchdog_smp_panic’: >> arch/powerpc/kernel/

[PATCH] powerpc: Fix HAVE_HARDLOCKUP_DETECTOR_ARCH build configuration

2021-03-27 Thread Chen Huang
cific hardlockup watchdog") Reported-by: Hulk Robot Signed-off-by: Chen Huang --- arch/powerpc/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig index 764df010baee..2d4f37b117ce 100644 --- a/arch/powerpc/Kconfig +++ b/arch/power

Re: [PATCH 0/3] Add support for free vmemmap pages of HugeTLB for arm64

2021-03-11 Thread Chen Huang
teps to debug what > could be going wrong. > > On 11/03/21, 11:32 AM, "Chen Huang" wrote: > > CAUTION: This email originated from outside of the organization. Do not > click links or open attachments unless you can confirm the sender and know > the co

Re: [PATCH 0/3] Add support for free vmemmap pages of HugeTLB for arm64

2021-03-10 Thread Chen Huang
gt; building and testing these patches for ARM. > > On 11/03/21, 9:44 AM, "Chen Huang" wrote: > > CAUTION: This email originated from outside of the organization. Do not > click links or open attachments unless you can confirm the sender and know > the content i

Re: [PATCH 0/3] Add support for free vmemmap pages of HugeTLB for arm64

2021-03-10 Thread Chen Huang
> arch/x86/mm/init_64.c | 5 + > fs/Kconfig| 4 ++-- > mm/bootmem_info.c | 4 ++-- > mm/sparse-vmemmap.c | 9 +++-- > 5 files changed, 21 insertions(+), 6 deletions(-) > Tested-by: Chen Huang I have tested the patch and the result is same as the last time.

Re: [PATCH v17 0/9] Free some vmemmap pages of HugeTLB page

2021-03-02 Thread Chen Huang
g inefficiencies Joao was > fixing[0], but with that in added it shows even more: > > unpin_user_pages(): ~27k -> ~3.8k > > [0] > https://lore.kernel.org/linux-mm/20210204202500.26474-1-joao.m.mart...@oracle.com/ > > Todo: > - Free all of the tail vmemmap pag

[PATCH v2] riscv: stacktrace: fix stackframe without ra on the top

2020-11-28 Thread Chen Huang
[] ksys_write+0x98/0xc0 [] sys_write+0xe/0x16 [] ret_from_syscall+0x0/0x2 ---[ end trace 61917f3d9a9fadcd ]--- Signed-off-by: Chen Huang Signed-off-by: Kefeng Wang --- arch/riscv/kernel/stacktrace.c | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/arch/riscv/kernel

[PATCH] riscv/stacktrace: fix stackframe without ra on the top

2020-11-27 Thread Chen Huang
[] sys_write+0xe/0x16 [] ret_from_syscall+0x0/0x2 ---[ end trace 61917f3d9a9fadcd ]--- Signed-off-by: Chen Huang --- arch/riscv/kernel/stacktrace.c | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/arch/riscv/kernel/stacktrace.c b/arch/riscv/kernel/stacktrace.c index 595342910c3f