Re: [PATCH v2 02/12] x86/ioapic: Gate decrypted mapping on cc_platform_has() attribute

From
Dave Hansen <hidden>
Date
2022-11-12 00:21:59
Also in
linux-arch, linux-iommu, linux-pci, lkml, netdev
Reply to
Michael Kelley, 2022-11-11
On 11/10/22 22:21, Michael Kelley wrote:
quoted hunk ↗ jump to hunk
 	 * Ensure fixmaps for IOAPIC MMIO respect memory encryption pgprot
 	 * bits, just like normal ioremap():
 	 */
-	flags = pgprot_decrypted(flags);
+	if (!cc_platform_has(CC_ATTR_HAS_PARAVISOR))
+		flags = pgprot_decrypted(flags);
This begs the question whether *all* paravisors will want to avoid a
decrypted ioapic mapping.  Is this _fundamental_ to paravisors, or it is
an implementation detail of this _individual_ paravisor?
Thread (27 messages) 27 messages, 4 authors, last reply 2022-11-16
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help