Re: [PATCH v1 1/6] KVM: arm64: Abstract the size of the HYP vectors pre-amble

2019-06-05 Thread Julien Thierry
Hi James, On 04/06/2019 15:45, James Morse wrote: > The EL2 vector hardening feature causes KVM to generate vectors for > each type of CPU present in the system. The generated sequences already > do some of the early guest-exit work (i.e. saving registers). To avoid > duplication the generated

Re: [PATCH v1 2/6] KVM: arm64: Consume pending SError as early as possible

2019-06-05 Thread Julien Thierry
Hi James, On 04/06/2019 15:45, James Morse wrote: > On systems with v8.2 we switch the 'vaxorcism' of guest SError with an > alternative sequence that uses the ESB-instruction, then reads DISR_EL1. > This saves the unmasking and re-masking of asynchronous exceptions. > > We do this after we've

Re: [PATCH v1 2/6] KVM: arm64: Consume pending SError as early as possible

2019-06-05 Thread James Morse
Hi Julien, On 05/06/2019 10:00, Julien Thierry wrote: > On 04/06/2019 15:45, James Morse wrote: >> On systems with v8.2 we switch the 'vaxorcism' of guest SError with an >> alternative sequence that uses the ESB-instruction, then reads DISR_EL1. >> This saves the unmasking and re-masking of

Re: [PATCH RFC 11/14] arm64: Move the ASID allocator code in a separate file

2019-06-05 Thread Julien Grall
Hi, I am CCing RISC-V folks to see if there are an interest to share the code. @RISC-V: I noticed you are discussing about importing a version of ASID allocator in RISC-V. At a first look, the code looks quite similar. Would the library below helps you? Cheers, On 21/03/2019 16:36, Julien

Re: [PATCH v8 26/29] vfio-pci: Register an iommu fault handler

2019-06-05 Thread Jacob Pan
On Tue, 4 Jun 2019 18:11:08 +0200 Auger Eric wrote: > Hi Alex, > > On 6/4/19 12:31 AM, Alex Williamson wrote: > > On Sun, 26 May 2019 18:10:01 +0200 > > Eric Auger wrote: > > > >> This patch registers a fault handler which records faults in > >> a circular buffer and then signals an