Re: [PATCH v4 2/2] arm64: kvm: Introduce MTE VCPU feature

2020-11-25 Thread James Morse
Hi Steven, Catalin, On 18/11/2020 16:01, Steven Price wrote: > On 17/11/2020 16:07, Catalin Marinas wrote: >> On Mon, Oct 26, 2020 at 03:57:27PM +, Steven Price wrote: >>> diff --git a/arch/arm64/kvm/mmu.c b/arch/arm64/kvm/mmu.c >>> index 19aacc7d64de..38fe25310ca1 100644 >>> --- a/arch/arm64/

Re: [RFC v2 00/14] Add SDEI support for arm64

2020-02-07 Thread James Morse
Hi guys, On 06/02/2020 17:30, Marc Zyngier wrote: > On 2020-02-06 01:20, Heyi Guo wrote: >> On 2020/2/5 21:15, Marc Zyngier wrote: >>> My concern is that SDEI implies having EL3. EL3 not being virtualizable >>> with KVM, you end-up baking SDEI in *hardware*. Of course, this hardware >>> is actuall

Re: [Qemu-devel] [RFC] Add virtual SDEI support in qemu

2019-07-15 Thread James Morse
t;>> 2. qemu handles supported SDEI calls just as the spec says for what a >>> hypervisor should do for a guest OS. [pulled point 3 out to discuss separately] >> Something like that. >> >> Interactions between SDEI and PSCI would need some thought: for example, >>

Re: [Qemu-devel] 答复: using which notification for guest about GHES error

2017-10-16 Thread James Morse
Hi gengdongjiu, Igor, On 16/10/17 15:33, gengdongjiu wrote: >> On Mon, 16 Oct 2017 14:10:05 +0800 >> gengdongjiu wrote: >>> Now we use Qemu to create APEI table and record CPER for guest, After >>> QEMU recorded a asynchronous CPER error, we needs to notify guest using >>> interrupt or Polled no

Re: [Qemu-devel] [PATCH v3 2/3] arm64: kvm: inject SError with virtual syndrome

2017-05-12 Thread James Morse
Hi gengdongjiu, On 05/05/17 14:19, gengdongjiu wrote: > On 2017/5/2 23:37, James Morse wrote: > > ... I think you expect an SError to arrive at EL2 and have its ESR recorded > > in > > vcpu->arch.fault.vsesr_el2. Some time later KVM decides to inject an SError > >

Re: [Qemu-devel] [PATCH v3 1/3] arm64: kvm: support kvmtool to detect RAS extension feature

2017-05-04 Thread James Morse
Hi Dongjiu Geng, On 02/05/17 16:29, James Morse wrote: > I think we need a new API for injecting SError for SEI from Qemu/kvmtool, but > it > shouldn't be related to the RAS extensions. All v8.0 CPUs have HCR_EL2.VSE, so > we need to know KVM supports this API. Thinking about t

Re: [Qemu-devel] [PATCH v3 1/3] arm64: kvm: support kvmtool to detect RAS extension feature

2017-05-04 Thread James Morse
Hi Paolo, On 02/05/17 16:48, Paolo Bonzini wrote: > On 02/05/2017 09:56, Christoffer Dall wrote: >> The subject and description of these patches are also misleading. >> Hopefully this is in no way tied to kvmtool, but to userspace >> generically, for example also to be used by QEMU? > > Yes, QEMU

Re: [Qemu-devel] [PATCH v3 2/3] arm64: kvm: inject SError with virtual syndrome

2017-05-02 Thread James Morse
Hi Dongjiu Geng, On 30/04/17 06:37, Dongjiu Geng wrote: > when SError happen, kvm notifies kvmtool to generate GHES table > to record the error, then kvmtools inject the SError with specified > virtual syndrome. when switch to guest, a virtual SError will happen with > this specified syndrome. GH

Re: [Qemu-devel] [PATCH v3 3/3] arm/arm64: signal SIBGUS and inject SEA Error

2017-05-02 Thread James Morse
Hi Dongjiu Geng, On 30/04/17 06:37, Dongjiu Geng wrote: > when happen SEA, deliver signal bus and handle the ioctl that > inject SEA abort to guest, so that guest can handle the SEA error. > diff --git a/arch/arm/kvm/mmu.c b/arch/arm/kvm/mmu.c > index 105b6ab..a96594f 100644 > --- a/arch/arm/kvm/

Re: [Qemu-devel] [PATCH v3 1/3] arm64: kvm: support kvmtool to detect RAS extension feature

2017-05-02 Thread James Morse
Hi Dongjiu Geng, On 30/04/17 06:37, Dongjiu Geng wrote: > Handle kvmtool's detection for RAS extension, because sometimes > the APP needs to know the CPU's capacity > diff --git a/arch/arm64/kvm/reset.c b/arch/arm64/kvm/reset.c > index d9e9697..1004039 100644 > --- a/arch/arm64/kvm/reset.c > +++

[Qemu-devel] [Bug 655120] Re: VirtFS EFAULT when accessing not existing files

2010-11-02 Thread James Morse
Yes, I can't reproduce this anymore with the updated tree. This can probably be closed. Thanks! -- VirtFS EFAULT when accessing not existing files https://bugs.launchpad.net/bugs/655120 You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU.

[Qemu-devel] [Bug 655120] Re: VirtFS EFAULT when accessing not existing files

2010-10-27 Thread James Morse
Reproducible here with guest kernel 2.6.36 built for i686 and qemu-kvm built from a fresh git clone taken on 27/10/2010. Host kernel is 2.6.30.10105.2.23.fc11.i686.PAE Guest 9p filesystem mounted as both 9p2000.u and 9p2000.L with the same problem. In the guest syscall 'stat' on a non-existent pa