Re: [PATCH V3 04/30] powerpc/mm: Enable ARCH_HAS_VM_GET_PAGE_PROT
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: Anshuman Khandual <anshuman.khandual@xxxxxxx>, linux-mm@xxxxxxxxx, akpm@xxxxxxxxxxxxxxxxxxxx
- Subject: Re: [PATCH V3 04/30] powerpc/mm: Enable ARCH_HAS_VM_GET_PAGE_PROT
- From: Michael Ellerman <mpe@xxxxxxxxxxxxxx>
- Date: Wed, 02 Mar 2022 16:23:02 +1100
- Cc: linux-kernel@xxxxxxxxxxxxxxx, geert@xxxxxxxxxxxxxx, Anshuman Khandual <anshuman.khandual@xxxxxxx>, Christoph Hellwig <hch@xxxxxxxxxxxxx>, linuxppc-dev@xxxxxxxxxxxxxxxx, linux-arm-kernel@xxxxxxxxxxxxxxxxxxx, sparclinux@xxxxxxxxxxxxxxx, linux-mips@xxxxxxxxxxxxxxx, linux-m68k@xxxxxxxxxxxxxxx, linux-s390@xxxxxxxxxxxxxxx, linux-riscv@xxxxxxxxxxxxxxxxxxx, linux-alpha@xxxxxxxxxxxxxxx, linux-sh@xxxxxxxxxxxxxxx, linux-snps-arc@xxxxxxxxxxxxxxxxxxx, linux-csky@xxxxxxxxxxxxxxx, linux-xtensa@xxxxxxxxxxxxxxxx, linux-parisc@xxxxxxxxxxxxxxx, openrisc@xxxxxxxxxxxxxxxxxxxx, linux-um@xxxxxxxxxxxxxxxxxxx, linux-hexagon@xxxxxxxxxxxxxxx, linux-ia64@xxxxxxxxxxxxxxx, linux-arch@xxxxxxxxxxxxxxx, Paul Mackerras <paulus@xxxxxxxxx>
- In-reply-to: <1646045273-9343-5-git-send-email-anshuman.khandual@arm.com>
- References: <1646045273-9343-1-git-send-email-anshuman.khandual@arm.com> <1646045273-9343-5-git-send-email-anshuman.khandual@arm.com>
Anshuman Khandual <anshuman.khandual@xxxxxxx> writes:
> This defines and exports a platform specific custom vm_get_page_prot() via
> subscribing ARCH_HAS_VM_GET_PAGE_PROT. Subsequently all __SXXX and __PXXX
> macros can be dropped which are no longer needed. While here, this also
> localizes arch_vm_get_page_prot() as powerpc_vm_get_page_prot() and moves
> it near vm_get_page_prot().
>
> Cc: Michael Ellerman <mpe@xxxxxxxxxxxxxx>
> Cc: Paul Mackerras <paulus@xxxxxxxxx>
> Cc: linuxppc-dev@xxxxxxxxxxxxxxxx
> Cc: linux-kernel@xxxxxxxxxxxxxxx
> Signed-off-by: Anshuman Khandual <anshuman.khandual@xxxxxxx>
> ---
> arch/powerpc/Kconfig | 1 +
> arch/powerpc/include/asm/mman.h | 12 ------
> arch/powerpc/include/asm/pgtable.h | 19 ----------
> arch/powerpc/mm/mmap.c | 59 ++++++++++++++++++++++++++++++
> 4 files changed, 60 insertions(+), 31 deletions(-)
Acked-by: Michael Ellerman <mpe@xxxxxxxxxxxxxx> (powerpc)
cheers
[Index of Archives]
[Linux Kernel]
[Sparc Linux]
[DCCP]
[Linux ARM]
[Yosemite News]
[Linux SCSI]
[Linux x86_64]
[Linux for Ham Radio]