git: 0a45c8821d8e - stable/15 - powerpc: disable the TLBIE lock, it's not needed for POWER8
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 30 Jan 2026 05:03:21 UTC
The branch stable/15 has been updated by adrian:
URL: https://cgit.FreeBSD.org/src/commit/?id=0a45c8821d8eb8c81c1090339c98aafec964f017
commit 0a45c8821d8eb8c81c1090339c98aafec964f017
Author: Adrian Chadd <adrian@FreeBSD.org>
AuthorDate: 2026-01-23 07:36:00 +0000
Commit: Adrian Chadd <adrian@FreeBSD.org>
CommitDate: 2026-01-30 05:03:15 +0000
powerpc: disable the TLBIE lock, it's not needed for POWER8
According to POWER8_UM_v1.3_16MAR2016 3.8.3 Translation Lookaside
Buffer (TLB), POWER8 supports lockless TLBIE operations.
Locally Tested:
* IBM POWER8 Revision 2.0, dual socket, 160 threads
Differential Revision: https://reviews.freebsd.org/D54855
Approved by: jhibbits
(cherry picked from commit 9a5baa9c585652fb7bd4ccd45d567204caf349f2)
---
sys/powerpc/aim/moea64_native.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/sys/powerpc/aim/moea64_native.c b/sys/powerpc/aim/moea64_native.c
index bf254e1f466c..20beccbdf935 100644
--- a/sys/powerpc/aim/moea64_native.c
+++ b/sys/powerpc/aim/moea64_native.c
@@ -565,6 +565,11 @@ moea64_bootstrap_native(vm_offset_t kernelstart, vm_offset_t kernelend)
moea64_early_bootstrap(kernelstart, kernelend);
switch (mfpvr() >> 16) {
+ case IBMPOWER8:
+ case IBMPOWER8E:
+ case IBMPOWER8NVL:
+ moea64_need_lock = false;
+ break;
case IBMPOWER9:
moea64_need_lock = false;
break;