[kvm-unit-tests PATCH v9 26/31] powerpc: add usermode support
Thomas Huth
thuth at redhat.com
Tue Jun 4 20:26:48 AEST 2024
On 04/05/2024 14.28, Nicholas Piggin wrote:
> The biggest difficulty for user mode is MMU support. Otherwise it is
> a simple matter of setting and clearing MSR[PR] with rfid and sc
> respectively.
>
> Some common harness operations will fail in usermode, so some workarounds
> are reqiured (e.g., puts() can't be used directly).
>
> A usermode privileged instruction interrupt test is added.
>
> Signed-off-by: Nicholas Piggin <npiggin at gmail.com>
> ---
Reviewed-by: Thomas Huth <thuth at redhat.com>
More information about the Linuxppc-dev
mailing list