Re: [PATCH 1/1] x86/purgatory: Change compiler flags to avoid relocation errors.

2019-09-04 Thread Vaibhav Rustagi
On Wed, Sep 4, 2019 at 3:28 PM Vaibhav Rustagi wrote: > > On Wed, Sep 4, 2019 at 3:19 PM Nick Desaulniers > wrote: > > > > + (folks recommended by ./scripts/get_maintainer.pl ) > > (See also, step 7: > > https://nickdesaulniers.github.io/blog/2017/05/16/submitt

Re: [PATCH 1/1] x86/purgatory: Change compiler flags to avoid relocation errors.

2019-09-04 Thread Vaibhav Rustagi
On Wed, Sep 4, 2019 at 3:19 PM Nick Desaulniers wrote: > > + (folks recommended by ./scripts/get_maintainer.pl ) > (See also, step 7: > https://nickdesaulniers.github.io/blog/2017/05/16/submitting-your-first-patch-to-the-linux-kernel-and-responding-to-feedback/) > > On Wed, Sep 4, 2019 at 2:45 PM

Re: [PATCH v3 2/2] x86/purgatory: use CFLAGS_REMOVE rather than reset KBUILD_CFLAGS

2019-07-24 Thread Vaibhav Rustagi
_fail references are generated when using > CONFIG_STACKPROTECTOR or CONFIG_STACKPROTECTOR_STRONG. > > Cc: sta...@vger.kernel.org > Fixes: 8fc5b4d4121c ("purgatory: core purgatory functionality") > Reported-by: Vaibhav Rustagi > Suggested-by: Peter Zijlstra > Signed-

Re: [PATCH v3 1/2] x86/purgatory: do not use __builtin_memcpy and __builtin_memset

2019-07-24 Thread Vaibhav Rustagi
against 0 to bcmp's, so add a small definition, too. See also: > > commit 5f074f3e192f ("lib/string.c: implement a basic bcmp") > > > > Cc: sta...@vger.kernel.org > > Fixes: 8fc5b4d4121c ("purgatory: core purgatory functionality") > > Link: https://b

Re: [PATCH v2 2/2] x86/purgatory: use CFLAGS_REMOVE rather than reset KBUILD_CFLAGS

2019-07-22 Thread Vaibhav Rustagi
refer > > that pattern to wiping out all of the important KBUILD_CFLAGS then > > manually having to re-add them. > > > > Fixes: 8fc5b4d4121c ("purgatory: core purgatory functionality") > > Reported-by: Vaibhav Rustagi > > Suggested-by: Peter Zijlstra > > S

[PATCH 1/2] x86/purgatory: add -mno-sse, -mno-mmx, -mno-sse2 to Makefile

2019-07-17 Thread Vaibhav Rustagi
movaps (%rax),%xmm0 125: 0f 11 47 10 movups %xmm0,0x10(%rdi) Add -mno-sse, -mno-mmx, -mno-sse2 to avoid generating SSE instructions. Signed-off-by: Vaibhav Rustagi --- arch/x86/purgatory/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/purgatory/Makefile b

[PATCH 2/2] x86/purgatory: do not use __builtin_memcpy and __builtin_memset.

2019-07-17 Thread Vaibhav Rustagi
/string.c if we define warn as a symbol. Link: https://bugs.chromium.org/p/chromium/issues/detail?id=984056 Reported-by: Vaibhav Rustagi Tested-by: Vaibhav Rustagi Debugged-by: Vaibhav Rustagi Debugged-by: Manoj Gupta Suggested-by: Alistair Delva Signed-off-by: Vaibhav Rustagi Signed-off-by: Nick

[PATCH 0/2] Support kexec/kdump for clang built kernel

2019-07-17 Thread Vaibhav Rustagi
/purgatory: do not use __builtin_memcpy and __builtin_memset. Vaibhav Rustagi (1): x86/purgatory: add -mno-sse, -mno-mmx, -mno-sse2 to Makefile arch/x86/purgatory/Makefile| 4 arch/x86/purgatory/purgatory.c | 6 ++ arch/x86/purgatory/string.c| 23 --- 3