android_kernel_xiaomi_sm8350/arch
Benjamin Herrenschmidt 67b108131d [PATCH] ppc64: Fix huge pages MMU mapping bug
Current kernel has a couple of sneaky bugs in the ppc64 hugetlb code that
cause huge pages to be potentially left stale in the hash table and TLBs
(improperly invalidated), with all the nasty consequences that can have.

One is that we forgot to set the "secondary" bit in the hash PTEs when
hashing a huge page in the secondary bucket (fortunately very rare).

The other one is on non-LPAR machines (like Apple G5s), flush_hash_range()
which is used to flush a batch of PTEs simply did not work for huge pages.
Historically, our huge page code didn't batch, but this was changed without
fixing this routine.  This patch fixes both.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-09-23 13:35:36 -07:00
..
alpha [PATCH] alpha: fix kernel panic during SysRq-b 2005-09-22 22:17:34 -07:00
arm [ARM] 2932/1: Avoid the "noreturn" warning in arch/arm/kernel/traps.c 2005-09-21 22:14:05 +01:00
arm26 [PATCH] Remove arch/arm26/boot/compressed/hw-bse.c 2005-09-17 11:49:59 -07:00
cris kbuild: rename prepare to archprepare to fix dependency chain 2005-09-11 22:30:22 +02:00
frv kbuild: frv,m32r,sparc64 introduce fake asm-offsets.h file 2005-09-09 22:47:53 +02:00
h8300 kbuild: h8300,m68knommu,sh,sh64 use generic asm-offsets.h support 2005-09-09 20:28:49 +02:00
i386 [LIB]: Consolidate _atomic_dec_and_lock() 2005-09-14 21:47:01 -07:00
ia64 [IA64] MCA recovery verify pfn_valid 2005-09-22 13:27:59 -07:00
m32r [LIB]: Consolidate _atomic_dec_and_lock() 2005-09-14 21:47:01 -07:00
m68k Merge master.kernel.org:/pub/scm/linux/kernel/git/sam/kbuild 2005-09-09 15:46:49 -07:00
m68knommu [PATCH] m68knommu: startup code for the Drangen Engine 68328 based board 2005-09-12 20:04:15 -07:00
mips [LIB]: Consolidate _atomic_dec_and_lock() 2005-09-14 21:47:01 -07:00
parisc [PATCH] spinlock consolidation 2005-09-10 10:06:21 -07:00
ppc [PATCH] ppc64: SMU driver update & i2c support 2005-09-22 22:17:35 -07:00
ppc64 [PATCH] ppc64: Fix huge pages MMU mapping bug 2005-09-23 13:35:36 -07:00
s390 [PATCH] s390: kernel stack corruption 2005-09-17 11:49:59 -07:00
sh kbuild: rename prepare to archprepare to fix dependency chain 2005-09-11 22:30:22 +02:00
sh64 kbuild: rename prepare to archprepare to fix dependency chain 2005-09-11 22:30:22 +02:00
sparc [SPARC]: Fix dot-symbol exporting for good. 2005-09-11 20:14:07 -07:00
sparc64 [SPARC64]: Verify vmalloc TLB misses more strictly. 2005-09-20 12:18:38 -07:00
um [PATCH] uml: replace printk with "stack-friendly" printf - to report console failure 2005-09-22 22:17:37 -07:00
v850 [PATCH] V850: C99 initializers for hw_interrupt_type structures 2005-09-10 10:06:27 -07:00
x86_64 [PATCH] update URL for HPET spec. 2005-09-21 10:12:18 -07:00
xtensa [PATCH] xtensa: remove io_remap_page_range and minor clean-ups 2005-09-22 22:17:37 -07:00