acrn-kernel/arch
Aneesh Kumar K.V 379c926d63 powerpc/mm: move setting pte specific flags to pfn_pte
powerpc used to set the pte specific flags in set_pte_at().  This is
different from other architectures.  To be consistent with other
architecture update pfn_pte to set _PAGE_PTE on ppc64.  Also, drop now
unused pte_mkpte.

We add a VM_WARN_ON() to catch the usage of calling set_pte_at() without
setting _PAGE_PTE bit.  We will remove that after a few releases.

With respect to huge pmd entries, pmd_mkhuge() takes care of adding the
_PAGE_PTE bit.

[akpm@linux-foundation.org: whitespace fix, per Christophe]

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Reviewed-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Cc: Anshuman Khandual <anshuman.khandual@arm.com>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lkml.kernel.org/r/20200902114222.181353-3-aneesh.kumar@linux.ibm.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2020-10-16 11:11:14 -07:00
..
alpha dma-mapping updates for 5.10 2020-10-15 14:43:29 -07:00
arc dma-mapping updates for 5.10 2020-10-15 14:43:29 -07:00
arm dma-mapping updates for 5.10 2020-10-15 14:43:29 -07:00
arm64 dma-mapping updates for 5.10 2020-10-15 14:43:29 -07:00
c6x dma-mapping updates for 5.10 2020-10-15 14:43:29 -07:00
csky dma-mapping updates for 5.10 2020-10-15 14:43:29 -07:00
h8300 kernel-clone-v5.9 2020-10-14 14:32:52 -07:00
hexagon dma-mapping updates for 5.10 2020-10-15 14:43:29 -07:00
ia64 dma-mapping updates for 5.10 2020-10-15 14:43:29 -07:00
m68k dma-mapping updates for 5.10 2020-10-15 14:43:29 -07:00
microblaze dma-mapping updates for 5.10 2020-10-15 14:43:29 -07:00
mips dma-mapping updates for 5.10 2020-10-15 14:43:29 -07:00
nds32 dma-mapping updates for 5.10 2020-10-15 14:43:29 -07:00
nios2 kernel-clone-v5.9 2020-10-14 14:32:52 -07:00
openrisc dma-mapping updates for 5.10 2020-10-15 14:43:29 -07:00
parisc dma-mapping updates for 5.10 2020-10-15 14:43:29 -07:00
powerpc powerpc/mm: move setting pte specific flags to pfn_pte 2020-10-16 11:11:14 -07:00
riscv Merge branch 'akpm' (patches from Andrew) 2020-10-14 09:57:24 -07:00
s390 dma-mapping updates for 5.10 2020-10-15 14:43:29 -07:00
sh dma-mapping updates for 5.10 2020-10-15 14:43:29 -07:00
sparc dma-mapping updates for 5.10 2020-10-15 14:43:29 -07:00
um seccomp updates for v5.10-rc1 2020-10-13 16:33:43 -07:00
x86 dma-mapping updates for 5.10 2020-10-15 14:43:29 -07:00
xtensa Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2020-10-15 15:11:56 -07:00
.gitignore
Kconfig seccomp updates for v5.10-rc1 2020-10-13 16:33:43 -07:00