HomeFreeBSD

Treat cache write as a read in arm64 data faults

Description

Treat cache write as a read in arm64 data faults

On arm64 we can ask the hardware to perform cache operations from
userspace. These require read permission however when the memory is
unmapped the kernel will receive a write exception. Add a check to
see if the cause of the exception is from the cache and pass a memory
read fault type to the vm subsystem.

PR: 262836
Reported by: dch
Sponsored by: The FreeBSD Foundation

Details

Provenance
andrewAuthored on Mar 26 2022, 3:59 PM
Parents
rG7afec5182a63: stress2: Enable four quota tests, which now seems to run without issues
Branches
Unknown
Tags
Unknown