Thread (67 messages) 67 messages, 9 authors, 2024-10-18

Re: [PATCH v5 07/19] arm64: rsi: Add support for checking whether an MMIO is protected

From: Catalin Marinas <catalin.marinas@arm.com>
Date: 2024-08-26 10:04:54
Also in: kvm, kvmarm, linux-arm-kernel, lkml

On Mon, Aug 19, 2024 at 02:19:12PM +0100, Steven Price wrote:
+static inline bool arm64_is_iomem_private(phys_addr_t phys_addr, size_t size)
+{
+	if (unlikely(is_realm_world()))
+		return arm64_rsi_is_protected_mmio(phys_addr, size);
+	return false;
+}
I was wondering whether to return true in non-realm world. It doesn't
matter since the pgprot_decrypted() wouldn't do anything. Anyway:

Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help