[RFC PATCH 11/14] powerpc/crash_dump: Use the new interface copy_oldmem_page_buf

2021-12-03 Thread Amit Daniel Kachhap
Mackerras Cc: linuxppc Signed-off-by: Amit Daniel Kachhap --- arch/powerpc/kernel/crash_dump.c | 33 1 file changed, 17 insertions(+), 16 deletions(-) diff --git a/arch/powerpc/kernel/crash_dump.c b/arch/powerpc/kernel/crash_dump.c index 5693e1c67c2b..a1c8a3a11694

Re: [PATCH v4 13/29] arm64: convert protection key into vm_flags and pgprot values

2024-05-30 Thread Amit Daniel Kachhap
On 5/3/24 18:31, Joey Gouly wrote: Modify arch_calc_vm_prot_bits() and vm_get_page_prot() such that the pkey value is set in the vm_flags and then into the pgprot value. Signed-off-by: Joey Gouly Cc: Catalin Marinas Cc: Will Deacon --- arch/arm64/include/asm/mman.h | 8 +++- arch/ar

Re: [PATCH v4 17/29] arm64: implement PKEYS support

2024-05-30 Thread Amit Daniel Kachhap
On 5/3/24 18:31, Joey Gouly wrote: Implement the PKEYS interface, using the Permission Overlay Extension. Signed-off-by: Joey Gouly Cc: Catalin Marinas Cc: Will Deacon --- arch/arm64/include/asm/mmu.h | 1 + arch/arm64/include/asm/mmu_context.h | 51 - arch/arm64

Re: [PATCH v4 18/29] arm64: add POE signal support

2024-05-30 Thread Amit Daniel Kachhap
On 5/3/24 18:31, Joey Gouly wrote: Add PKEY support to signals, by saving and restoring POR_EL0 from the stackframe. Signed-off-by: Joey Gouly Cc: Catalin Marinas Cc: Will Deacon Reviewed-by: Mark Brown Acked-by: Szabolcs Nagy --- arch/arm64/include/uapi/asm/sigcontext.h | 7 a

Re: [PATCH v4 18/29] arm64: add POE signal support

2024-06-03 Thread Amit Daniel Kachhap
On 5/31/24 22:09, Mark Brown wrote: On Tue, May 28, 2024 at 12:26:54PM +0530, Amit Daniel Kachhap wrote: On 5/3/24 18:31, Joey Gouly wrote: +#define POE_MAGIC 0x504f4530 +struct poe_context { + struct _aarch64_ctx head; + __u64 por_el0; +}; There is a comment