Skip to contentSkip to conversation

powerpc-64e-drop-unused-tlb-miss-handlers.patch removed from -mm tree

merged mm-stable Andrew Morton 1 participant 1 message Jul 12, 2024

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled
Subject: powerpc/64e: drop unused TLB miss handlers
has been removed from the -mm tree. Its filename was
powerpc-64e-drop-unused-tlb-miss-handlers.patch

This patch was dropped because it was merged into the mm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm

------------------------------------------------------
From: Michael Ellerman <[email protected]>
Subject: powerpc/64e: drop unused TLB miss handlers
Date: Tue, 2 Jul 2024 15:51:18 +0200

There are two possibilities for book3e_htw_mode, PPC_HTW_E6500 or PPC_HTW_NONE.

The TLB miss handlers are patched to use, respectively:
- exc_[data|indstruction]_tlb_miss_e6500_book3e
- exc_[data|indstruction]_tlb_miss_bolted_book3e

Which means the default handlers are never used. Remove those, and use the bolted handlers (PPC_HTW_NONE) by default.

---

 arch/powerpc/kernel/exceptions-64e.S |    4 
 arch/powerpc/mm/nohash/tlb_64e.c     |    4 
 arch/powerpc/mm/nohash/tlb_low_64e.S |  226 -------------------------
 3 files changed, 2 insertions(+), 232 deletions(-)
arch/powerpc/kernel/exceptions-64e.S renamed from arch/powerpc/kernel/exceptions-64e.S~powerpc-64e-drop-unused-tlb-miss-handlers +2 -2
@@ -485,8 +485,8 @@ interrupt_base_book3e:					/* fake trap
 	EXCEPTION_STUB(0x160, decrementer)		/* 0x0900 */
 	EXCEPTION_STUB(0x180, fixed_interval)		/* 0x0980 */
 	EXCEPTION_STUB(0x1a0, watchdog)			/* 0x09f0 */
-	EXCEPTION_STUB(0x1c0, data_tlb_miss)
-	EXCEPTION_STUB(0x1e0, instruction_tlb_miss)
+	EXCEPTION_STUB(0x1c0, data_tlb_miss_bolted)
+	EXCEPTION_STUB(0x1e0, instruction_tlb_miss_bolted)
 	EXCEPTION_STUB(0x200, altivec_unavailable)
 	EXCEPTION_STUB(0x220, altivec_assist)
 	EXCEPTION_STUB(0x260, perfmon)
arch/powerpc/mm/nohash/tlb_64e.c renamed from arch/powerpc/mm/nohash/tlb_64e.c~powerpc-64e-drop-unused-tlb-miss-handlers +0 -4
@@ -244,10 +244,6 @@ static void __init early_init_mmu_global
 		patch_exception(0x1c0, exc_data_tlb_miss_e6500_book3e);
 		patch_exception(0x1e0, exc_instruction_tlb_miss_e6500_book3e);
 		break;
-	case PPC_HTW_NONE:
-		patch_exception(0x1c0, exc_data_tlb_miss_bolted_book3e);
-		patch_exception(0x1e0, exc_instruction_tlb_miss_bolted_book3e);
-		break;
 	}
 
 	pr_info("MMU: Book3E HW tablewalk %s\n",
arch/powerpc/mm/nohash/tlb_low_64e.S renamed from arch/powerpc/mm/nohash/tlb_low_64e.S~powerpc-64e-drop-unused-tlb-miss-handlers +0 -226

232 lines not on this page · raw message

_

Patches currently in -mm which might be from [email protected] are