[PATCH] MIPS: Enable GCOV

2020-12-02 Thread Xingxing Su
arch/mips/boot/compressed/string.o: in function `_GLOBAL__sub_D_00100_1_memcpy': string.c:(.text.exit+0x0): undefined reference to `__gcov_exit' ... Signed-off-by: Youling Tang Signed-off-by: Xingxing Su --- arch/mips/Kconfig | 1 + arch/mips/boot/compressed/Makefile |

[PATCH] selftest/vm: Fix build error

2020-12-01 Thread Xingxing Su
ABLE_WRITE) ^ protection_keys.c:218:45: error: ‘PKEY_DISABLE_WRITE’ undeclared pkey_assert(flags & (PKEY_DISABLE_ACCESS | PKEY_DISABLE_WRITE)); ^ Signed-off-by: Xingxing Su --- tools/testing/selftests/vm/Makefile | 4 1 file changed, 4 insertions(

[PATCH v2] selftests/clone3: Fix build error

2020-11-26 Thread Xingxing Su
; i++) { ^ test_core.c:87:2: note: use option -std=c99 or -std=gnu99 to compile Add -std=gnu99 to the clone3 selftest Makefile to fix this. Signed-off-by: Xingxing Su Acked-by: Christian Brauner --- tools/testing/selftests/clone3/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/to

[PATCH] selftests/clone3: Add gun99 to compile in Makefile.

2020-11-25 Thread Xingxing Su
ode Signed-off-by: Xingxing Su --- tools/testing/selftests/clone3/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/clone3/Makefile b/tools/testing/selftests/clone3/Makefile index ef7564c..88354a8 100644 --- a/tools/testing/selftests/clone3/Makef

[PATCH] rseq/selftests: Fix MEMBARRIER_CMD_PRIVATE_EXPEDITED_RSEQ build error under other arch.

2020-11-24 Thread Xingxing Su
' collect2: error: ld returned 1 exit status make: *** [/selftests/rseq/param_test_benchmark] Error 1 Signed-off-by: Xingxing Su --- tools/testing/selftests/rseq/param_test.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/testing/selftests/rseq/param_test.c b/t

Re: [PATCH v2] seqlock: Fix build errors

2020-08-14 Thread Xingxing Su
On 08/14/2020 04:35 PM, Peter Zijlstra wrote: On Fri, Aug 14, 2020 at 12:12:38PM +0800, Xingxing Su wrote: Fix the following build errors: In file included from ./include/linux/time.h:6:0, from ./include/linux/compat.h:10, from arch/mips/kernel/asm

[PATCH v2] seqlock: Fix build errors

2020-08-13 Thread Xingxing Su
kefile:396: recipe for target 'archprepare' failed make: *** [archprepare] Error 2 Signed-off-by: Xingxing Su --- v2: update the commit message include/linux/seqlock.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/seqlock.h b/include/linux/seqlock.h index 54bc204..

[PATCH RESEND] KVM: MIPS/VZ: Fix build error caused by 'kvm_run' cleanup

2020-08-11 Thread Xingxing Su
for target 'arch/mips/kvm/vz.o' failed make[2]: *** [arch/mips/kvm/vz.o] Error 1 scripts/Makefile.build:500: recipe for target 'arch/mips/kvm' failed make[1]: *** [arch/mips/kvm] Error 2 Makefile:1785: recipe for target 'arch/mips' failed make: *** [arch/mips] Error

[PATCH] seqlock: Fix build errors

2020-08-10 Thread Xingxing Su
From: XingxingSu Fix the following build errors: In file included from ./include/linux/time.h:6:0, from ./include/linux/compat.h:10, from arch/mips/kernel/asm-offsets.c:12: ./include/linux/seqlock.h: In function ???write_seqcount_begin_nested???: ./include/linux

[PATCH] PCI: Don't use Printk in raw_spinlocks

2020-07-31 Thread Xingxing Su
ned-off-by: Xingxing Su --- drivers/pci/access.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/pci/access.c b/drivers/pci/access.c index 79c4a2e..b3fc164 100644 --- a/drivers/pci/access.c +++ b/drivers/pci/access.c @@ -160,9 +160,6 @@ int pci_generic_config_write32(struct pci_b

[PATCH] MIPS: Do not use smp_processor_id() in preemptible code

2020-07-02 Thread Xingxing Su
] [] show_stack+0xa4/0x138 [ 24.470029] [] dump_stack+0xf0/0x150 [ 24.475208] [] check_preemption_disabled+0xf4/0x100 [ 24.481682] [] do_ri+0x1a8/0x690 [ 24.486509] [] handle_ri_int+0x44/0x5c Signed-off-by: Xingxing Su --- arch/mips/kernel/traps.c | 8 +--- 1 file changed, 5 insertions

[PATCH] certs/blacklist_hashes.c: Use __initconst for const init definition

2020-06-14 Thread Xingxing Su
Fix the following checkpatch error: ERROR: Use of const init definition must use __initconst #4: FILE: certs/blacklist_hashes.c:4: +const char __initdata *const blacklist_hashes[] = { Signed-off-by: Xingxing Su --- certs/blacklist_hashes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion