The branch main has been updated by adrian:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=9a5baa9c585652fb7bd4ccd45d567204caf349f2

commit 9a5baa9c585652fb7bd4ccd45d567204caf349f2
Author:     Adrian Chadd <[email protected]>
AuthorDate: 2026-01-23 07:36:00 +0000
Commit:     Adrian Chadd <[email protected]>
CommitDate: 2026-01-27 04:39:37 +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
---
 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;

Reply via email to