Thread (23 messages) flat view 23 messages, 5 authors, 2020-03-05

Re: [RFC PATCH v1] powerpc/prom_init: disable XIVE in Secure VM.

From: David Gibson <hidden>
Date: 2020-03-05 00:31:27

On Wed, Mar 04, 2020 at 04:56:09PM +0100, Cédric Le Goater wrote:
[ ... ]
quoted
(1) applied the patch which shares the EQ-page with the hypervisor.
(2) set "kernel_irqchip=off"
(3) set "ic-mode=xive"
you don't have to set the interrupt mode. xive should be negotiated
by default.
quoted
(4) set "svm=on" on the kernel command line.
(5) no changes to the hypervisor and ultravisor.

And Boom it works!.   So you were right.
Excellent.
 
quoted
I am sending out the patch for (1) above ASAP.
Next step, could you please try to do the same with the TIMA and ESB pfn ?
and use KVM.
I'm a bit confused by this.  Aren't the TIMA and ESB pages essentially
IO pages, rather than memory pages from the guest's point of view?  I
assume only memory pages are protected with PEF - I can't even really
see what protecting an IO page would even mean.

-- 
David Gibson			| I'll have my music baroque, and my code
david AT gibson.dropbear.id.au	| minimalist, thank you.  NOT _the_ _other_
				| _way_ _around_!
http://www.ozlabs.org/~dgibson

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help