Re: [PATCH v6 03/43] arm64: RME: Handle Granule Protection Faults (GPFs)

From: Suzuki K Poulose
Date: Mon Dec 16 2024 - 11:52:27 EST


On 12/12/2024 15:55, Steven Price wrote:
If the host attempts to access granules that have been delegated for use
in a realm these accesses will be caught and will trigger a Granule
Protection Fault (GPF).

A fault during a page walk signals a bug in the kernel and is handled by
oopsing the kernel. A non-page walk fault could be caused by user space
having access to a page which has been delegated to the kernel and will
trigger a SIGBUS to allow debugging why user space is trying to access a
delegated page.

Signed-off-by: Steven Price <steven.price@xxxxxxx>

Reviewed-by: Suzuki K Poulose <suzuki.poulose@xxxxxxx>