[PATCH 0/1] Add XSAVE layout description to Core files for debuggers to support varying XSAVE layouts

2024-03-14 Thread Vignesh Balasubramanian
ature containing offset, size and flags (that is obtained through CPUID instruction) in a format roughly matching the follow C structure: struct xfeat_component { u32 xfeat_type; u32 xfeat_sz; u32 xfeat_off; u32 xfeat_flags; }; Vignesh Balasubramanian (1): x86/elf

[PATCH 1/1] x86/elf: Add a new .note section containing Xfeatures information to x86 core files

2024-03-14 Thread Vignesh Balasubramanian
. Co-developed-by: Jini Susan George Signed-off-by: Jini Susan George Signed-off-by: Vignesh Balasubramanian --- arch/Kconfig | 9 +++ arch/powerpc/Kconfig | 1 + arch/powerpc/include/asm/elf.h | 2 - arch/x86/Kconfig | 1 + arch/x86/include/asm

[PATCH 0/1] Replace the macro "ARCH_HAVE_EXTRA_ELF_NOTES" with kconfig

2024-04-11 Thread Vignesh Balasubramanian
..@amd.com/ I have split this patch as suggested in the review comment https://lore.kernel.org/lkml/87o7bg31jd.fsf@mail.lhotse/ Vignesh Balasubramanian (1): Replace macro "ARCH_HAVE_EXTRA_ELF_NOTES" with kconfig arch/Kconfig | 9 + arch/powerpc/Kconfig

[PATCH 1/1] Replace macro "ARCH_HAVE_EXTRA_ELF_NOTES" with kconfig

2024-04-11 Thread Vignesh Balasubramanian
"ARCH_HAVE_EXTRA_ELF_NOTES" enables an extra note section in the core dump. Kconfig variable is preferred over ARCH_HAVE_* macro. Co-developed-by: Jini Susan George Signed-off-by: Jini Susan George Signed-off-by: Vignesh Balasubramanian --- arch/Kconfig | 9 +

[PATCH v2 0/1] Add XSAVE layout description to Core files for debuggers to support varying XSAVE layouts

2024-05-07 Thread Vignesh Balasubramanian
. Requesting a review for this patch. Please NOTE that this patch has to be applied on top of the patch (https://lore.kernel.org/lkml/874jbt7qz3@oldenburg3.str.redhat.com/T/). Vignesh Balasubramanian (1): x86/elf: Add a new .note section containing Xfeatures information to x86 core files

[PATCH v2 1/1] x86/elf: Add a new .note section containing Xfeatures information to x86 core files

2024-05-07 Thread Vignesh Balasubramanian
ained through CPUID instruction) in a format roughly matching the follow C structure: struct xfeat_component { u32 xfeat_type; u32 xfeat_sz; u32 xfeat_off; u32 xfeat_flags; }; Co-developed-by: Jini Susan George Signed-off-by: Jini Susan George Signed-off-by: Vi

[PATCH v3 0/1] Add XSAVE layout description to Core files for debuggers to support varying XSAVE layouts

2024-07-12 Thread Vignesh Balasubramanian
. Requesting a review for this patch. Vignesh Balasubramanian (1): x86/elf: Add a new .note section containing xfeatures buffer layout info to x86 core files arch/x86/Kconfig | 1 + arch/x86/include/asm/elf.h | 9 arch/x86/kernel/fpu/xstate.c | 87

[PATCH v3 1/1] x86/elf: Add a new .note section containing xfeatures buffer layout info to x86 core files

2024-07-12 Thread Vignesh Balasubramanian
flags; }; and in an independent manner, allowing for future extensions without depending on hw arch specifics like CPUID etc. Co-developed-by: Jini Susan George Signed-off-by: Jini Susan George Co-developed-by: Borislav Petkov (AMD) Signed-off-by: Borislav Petkov (AMD) Signed-off-by: Vi

[PATCH v4 0/1] Add XSAVE layout description to Core files for debuggers to support varying XSAVE layouts

2024-07-23 Thread Vignesh Balasubramanian
a review for this patch. Vignesh Balasubramanian (1): x86/elf: Add a new .note section containing xfeatures buffer layout info to x86 core files arch/x86/Kconfig| 1 + arch/x86/include/uapi/asm/elf.h | 15 ++ arch/x86/kernel/fpu/xstate.c| 89

[PATCH v4 1/1] x86/elf: Add a new .note section containing xfeatures buffer layout info to x86 core files

2024-07-23 Thread Vignesh Balasubramanian
flags; }; and in an independent manner, allowing for future extensions without depending on hw arch specifics like CPUID etc. Co-developed-by: Jini Susan George Signed-off-by: Jini Susan George Co-developed-by: Borislav Petkov (AMD) Signed-off-by: Borislav Petkov (AMD) Signed-off-by: Vi

[PATCH v5 0/1] Add XSAVE layout description to Core files for debuggers to support varying XSAVE layouts

2024-07-25 Thread Vignesh Balasubramanian
a review for this patch. Vignesh Balasubramanian (1): x86/elf: Add a new .note section containing xfeatures buffer layout info to x86 core files arch/x86/Kconfig| 1 + arch/x86/include/uapi/asm/elf.h | 17 +++ arch/x86/kernel/fpu/xstate.c| 89

[PATCH v5 1/1] x86/elf: Add a new .note section containing xfeatures buffer layout info to x86 core files

2024-07-25 Thread Vignesh Balasubramanian
flags; }; and in an independent manner, allowing for future extensions without depending on hw arch specifics like CPUID etc. Co-developed-by: Jini Susan George Signed-off-by: Jini Susan George Co-developed-by: Borislav Petkov (AMD) Signed-off-by: Borislav Petkov (AMD) Signed-off-by: Vi