HomeFreeBSD

powerpc/booke: Don't zero MAS8, it's unnecessary

Description

powerpc/booke: Don't zero MAS8, it's unnecessary

MAS8 is hypervisor privileged, defining the logical partition (VM) to
operate on for TLB accesses. It's already guaranteed to be cleared when
booting bare metal (bootloader needs it zeroed to work), and we can't touch
it from a guest. Assume that if/when we eventually port bhyve to PowerPC
(and Book-E) the hypervisor module will take care of managing MAS8. This
saves several (tens) of clocks on each TLB miss.

MFC after: 2 weeks

Details

Provenance
jhibbitsAuthored on Oct 20 2019, 3:50 PM
Parents
rG760fa2ab5d12: netmap: minor misc improvements
Branches
Unknown
Tags
Unknown

Event Timeline