Re: 答复: [PATCH v6 4/7] arm64: kvm: support user space to query RAS extension feature

2017-09-14 Thread James Morse
Hi gengdongjiu, On 08/09/17 18:36, gengdongjiu wrote: >> The code to signal memory-failure to user-space doesn't depend on the CPU's >> RAS-extensions. > I roughly check your answer and agree with your general idea. > late I will check it in detail. > I have a question, do you sure that if CPU

Re: 答复: [PATCH v6 4/7] arm64: kvm: support user space to query RAS extension feature

2017-09-14 Thread James Morse
Hi Peter, On 08/09/17 16:03, Peter Maydell wrote: > On 8 September 2017 at 15:34, gengdongjiu wrote: >> Hi Peter/ shenglong, >>What is your idea about it? We may need to consult with you about it. > > I agree with what I take to be James' general point that we >

答复: [PATCH v6 4/7] arm64: kvm: support user space to query RAS extension feature

2017-09-08 Thread gengdongjiu
HI James, [...] > > The code to signal memory-failure to user-space doesn't depend on the CPU's > RAS-extensions. I roughly check your answer and agree with your general idea. late I will check it in detail. I have a question, do you sure that if CPU does not support RAS-extensions kernel can

Re: 答复: [PATCH v6 4/7] arm64: kvm: support user space to query RAS extension feature

2017-09-08 Thread Peter Maydell
On 8 September 2017 at 15:34, gengdongjiu wrote: > Hi Peter/ shenglong, >What is your idea about it? We may need to consult with you about it. I agree with what I take to be James' general point that we should be careful to distinguish "KVM supports API A to do a

答复: [PATCH v6 4/7] arm64: kvm: support user space to query RAS extension feature

2017-09-08 Thread gengdongjiu
Hi James, Thanks a lot for your detailed comments. CC Peter. Peter is Qemu expert. Let us see his suggestion. > > Hi gengdongjiu, > > On 05/09/17 08:18, gengdongjiu wrote: > > On 2017/9/1 2:04, James Morse wrote: > >> On 28/08/17 11:38, Dongjiu Geng wrote: > >>> Userspace will want to check