Re: Kernel crash during ltp(min_free_kbytes) test run (zone_reclaimable_pages)

2023-09-08 Thread Liu Shixin
On 2023/9/7 22:22, Sachin Sant wrote: > While running LTP tests (specifically min_free_kbytes) on a Power server > booted with 6.5.0-next-20230906 following crash was encountered. > > [ 3952.404936] __vm_enough_memory: pid: 440285, comm: min_free_kbytes, not > enough memory for the allocation >

Re: [PATCH] powerpc: don't select KFENCE on platform PPC_FSL_BOOK3E

2021-10-11 Thread Liu Shixin
kindly ping. On 2021/9/24 14:39, Liu Shixin wrote: > On platform PPC_FSL_BOOK3E, all lowmem is managed by tlbcam. That means > we didn't really map the kfence pool with page granularity. Therefore, > if KFENCE is enabled, the system will hit the following panic: > > BUG:

Re: [PATCH] powerpc: don't select KFENCE on platform PPC_FSL_BOOK3E

2021-09-27 Thread Liu Shixin
On 2021/9/24 14:41, Christophe Leroy wrote: > > > Le 24/09/2021 à 08:39, Liu Shixin a écrit : >> On platform PPC_FSL_BOOK3E, all lowmem is managed by tlbcam. That means >> we didn't really map the kfence pool with page granularity. Therefore, >> if KFENCE is

Re: [PATCH] powerpc: don't select KFENCE on platform PPC_FSL_BOOK3E

2021-09-24 Thread Liu Shixin
On 2021/9/24 14:41, Christophe Leroy wrote: > > > Le 24/09/2021 à 08:39, Liu Shixin a écrit : >> On platform PPC_FSL_BOOK3E, all lowmem is managed by tlbcam. That means >> we didn't really map the kfence pool with page granularity. Therefore, >> if KFENCE is

[PATCH] powerpc: don't select KFENCE on platform PPC_FSL_BOOK3E

2021-09-23 Thread Liu Shixin
a0026 5469b53a 7d295214 <8149> 38831000 554a003c 9149 random: get_random_bytes called from print_oops_end_marker+0x40/0x78 with crng_init=0 ---[ end trace ]--- Signed-off-by: Liu Shixin --- arch/powerpc/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deleti

[PATCH -next] macintosh/therm_adt746x: Replaced simple_strtol() with kstrtoint()

2021-05-24 Thread Liu Shixin
The simple_strtol() function is deprecated in some situation since it does not check for the range overflow. Use kstrtoint() instead. Signed-off-by: Liu Shixin --- drivers/macintosh/therm_adt746x.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/macintosh

[PATCH -next] powerpc/pseries: convert to use DEFINE_SEQ_ATTRIBUTE macro

2020-09-15 Thread Liu Shixin
Use DEFINE_SEQ_ATTRIBUTE macro to simplify the code. Signed-off-by: Liu Shixin --- arch/powerpc/platforms/pseries/hvCall_inst.c | 23 +++- 1 file changed, 3 insertions(+), 20 deletions(-) diff --git a/arch/powerpc/platforms/pseries/hvCall_inst.c b/arch/powerpc/platforms

[PATCH -next] soc/qman: convert to use be32_add_cpu()

2020-09-13 Thread Liu Shixin
Signed-off-by: Liu Shixin drivers/soc/fsl/qbman/qman_test_api.c--- drivers/soc/fsl/qbman/qman_test_api.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/soc/fsl/qbman/qman_test_api.c b/drivers/soc/fsl/qbman/qman_test_api.c index 2895d062cf51..7066b2f1467c 100644