Re: [PATCH] powerpc/pseries: Use doorbells even if XIVE is available

2020-06-27 Thread Nicholas Piggin
Excerpts from Cédric Le Goater's message of June 26, 2020 5:17 pm: > Adding David, > > On 6/25/20 3:11 AM, Michael Ellerman wrote: >> Nicholas Piggin writes: >>> KVM supports msgsndp in guests by trapping and emulating the >>> instruction, so it was decided to always use XIVE for IPIs if it is >

Re: [PATCH] powerpc/pseries: Use doorbells even if XIVE is available

2020-06-26 Thread Cédric Le Goater
Adding David, On 6/25/20 3:11 AM, Michael Ellerman wrote: > Nicholas Piggin writes: >> KVM supports msgsndp in guests by trapping and emulating the >> instruction, so it was decided to always use XIVE for IPIs if it is >> available. However on PowerVM systems, msgsndp can be used and gives >> be

Re: [PATCH] powerpc/pseries: Use doorbells even if XIVE is available

2020-06-26 Thread Cédric Le Goater
>>> An option vector (or dt-cpu-ftrs) could be defined to disable msgsndp >>> to get KVM performance back. > > An option vector would require a PAPR change. Unless the architecture > reserves some bits for the implementation, but I don't think so. Same > for CAS. > >> Qemu/KVM populates /proc/de

Re: [PATCH] powerpc/pseries: Use doorbells even if XIVE is available

2020-06-26 Thread Cédric Le Goater
[ ... ] >>> An option vector (or dt-cpu-ftrs) could be defined to disable msgsndp >>> to get KVM performance back. > > An option vector would require a PAPR change. Unless the architecture > reserves some bits for the implementation, but I don't think so. Same > for CAS. > >> Qemu/KVM populate