Re: [RFC PATCH v0 1/2] spapr: Add H_REG_SNS hcall

2021-08-11 Thread David Gibson
On Wed, Aug 11, 2021 at 02:56:13PM +0530, Bharata B Rao wrote: > On Mon, Aug 09, 2021 at 01:49:54PM +1000, David Gibson wrote: > > On Thu, Aug 05, 2021 at 01:02:27PM +0530, Bharata B Rao wrote: [snip] > > > diff --git a/linux-headers/asm-powerpc/kvm.h > > > b/linux-headers/asm-powerpc/kvm.h > > >

Re: [RFC PATCH v0 1/2] spapr: Add H_REG_SNS hcall

2021-08-11 Thread Bharata B Rao
On Mon, Aug 09, 2021 at 01:49:54PM +1000, David Gibson wrote: > On Thu, Aug 05, 2021 at 01:02:27PM +0530, Bharata B Rao wrote: > > Add support for H_REG_SNS hcall so that asynchronous page > > fault mechanism can be supported on PowerKVM guests. > > > > This hcall essentially issues KVM_PPC_SET_SN

Re: [RFC PATCH v0 1/2] spapr: Add H_REG_SNS hcall

2021-08-08 Thread David Gibson
On Thu, Aug 05, 2021 at 01:02:27PM +0530, Bharata B Rao wrote: > Add support for H_REG_SNS hcall so that asynchronous page > fault mechanism can be supported on PowerKVM guests. > > This hcall essentially issues KVM_PPC_SET_SNS to let the > host map and pin the memory containing the Subvention > N

Re: [RFC PATCH v0 1/2] spapr: Add H_REG_SNS hcall

2021-08-06 Thread Fabiano Rosas
Bharata B Rao writes: > Add support for H_REG_SNS hcall so that asynchronous page > fault mechanism can be supported on PowerKVM guests. > > This hcall essentially issues KVM_PPC_SET_SNS to let the > host map and pin the memory containing the Subvention > Notification Structure. It also claims SP

[RFC PATCH v0 1/2] spapr: Add H_REG_SNS hcall

2021-08-05 Thread Bharata B Rao
Add support for H_REG_SNS hcall so that asynchronous page fault mechanism can be supported on PowerKVM guests. This hcall essentially issues KVM_PPC_SET_SNS to let the host map and pin the memory containing the Subvention Notification Structure. It also claims SPAPR_IRQ_SNS to be used as subventio