linux/arch/powerpc
Christophe Leroy e7a9af8c93 powerpc/mm: Fix size of allocated PGDIR
Commit 6b0e82791b ("powerpc/e500: switch to 64 bits PGD on 85xx
(32 bits)") increased the size of PGD entries but failed to increase
the PGD directory.

Use the size of pgd_t instead of the size of pointers to calculate
the allocated size.

Reported-by: Guenter Roeck <linux@roeck-us.net>
Fixes: 6b0e82791b ("powerpc/e500: switch to 64 bits PGD on 85xx (32 bits)")
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Tested-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/1cdaacb391cbd3e0240f0e0faf691202874e9422.1723109462.git.christophe.leroy@csgroup.eu
2024-08-12 21:49:53 +10:00
..
boot powerpc: Remove 40x leftovers 2024-07-12 11:43:41 +10:00
configs powerpc/configs: Update defconfig with now user-visible CONFIG_FSL_IFC 2024-07-04 23:10:40 +10:00
crypto This update includes the following changes: 2024-07-19 08:52:58 -07:00
include Driver core changes for 6.11-rc1 2024-07-25 10:42:22 -07:00
kernel - In the series "treewide: Refactor heap related implementation", 2024-07-21 17:56:22 -07:00
kexec powerpc updates for 6.11 2024-07-19 21:00:33 -07:00
kvm a couple of leaks on failure exits missing fdput() 2024-07-26 10:26:33 -07:00
lib powerpc updates for 6.10 2024-05-17 09:05:46 -07:00
math-emu
mm powerpc/mm: Fix size of allocated PGDIR 2024-08-12 21:49:53 +10:00
net powerpc updates for 6.11 2024-07-19 21:00:33 -07:00
perf powerpc/perf: Set cpumode flags using sample address 2024-06-17 22:47:16 +10:00
platforms Driver core changes for 6.11-rc1 2024-07-25 10:42:22 -07:00
purgatory Makefile: remove redundant tool coverage variables 2024-05-14 23:35:48 +09:00
sysdev of: remove internal arguments from of_property_for_each_u32() 2024-07-25 06:53:47 -05:00
tools powerpc/tools: Pass -mabi=elfv2 to gcc-check-mprofile-kernel.sh 2023-10-20 17:46:33 +11:00
xmon powerpc/xmon: Fix disassembly CPU feature checks 2024-07-11 17:31:54 +10:00
Kbuild powerpc: Fix fatal warnings flag for LLVM's integrated assembler 2024-04-08 16:06:41 +10:00
Kconfig Kbuild updates for v6.11 2024-07-23 14:32:21 -07:00
Kconfig.debug powerpc: Remove 40x from Kconfig and defconfig 2024-06-28 22:28:47 +10:00
Makefile powerpc: Remove 40x from Kconfig and defconfig 2024-06-28 22:28:47 +10:00
Makefile.postlink kbuild: remove ARCH_POSTLINK from module builds 2023-10-28 21:10:08 +09:00