Re: [PATCH v10 08/40] arm64/gcs: Provide put_user_gcs()

2024-08-16 Thread Catalin Marinas
On Thu, Aug 01, 2024 at 01:06:35PM +0100, Mark Brown wrote: > In order for EL1 to write to an EL0 GCS it must use the GCSSTTR instruction > rather than a normal STTR. Provide a put_user_gcs() which does this. > > Reviewed-by: Thiago Jung Bauermann > Signed-off-by: Mark Brown Reviewed-by: Catali

[PATCH v10 08/40] arm64/gcs: Provide put_user_gcs()

2024-08-01 Thread Mark Brown
In order for EL1 to write to an EL0 GCS it must use the GCSSTTR instruction rather than a normal STTR. Provide a put_user_gcs() which does this. Reviewed-by: Thiago Jung Bauermann Signed-off-by: Mark Brown --- arch/arm64/include/asm/uaccess.h | 18 ++ 1 file changed, 18 insertio