From mboxrd@z Thu Jan 1 00:00:00 1970 From: Will Deacon Date: Wed, 17 Jun 2015 10:13:59 +0000 Subject: Re: [PATCH 3/3] powerpc: add hvcall.h header from Linux Message-Id: <20150617101359.GC6303@arm.com> List-Id: References: <1434534230-17249-1-git-send-email-andre.przywara@arm.com> <1434534230-17249-4-git-send-email-andre.przywara@arm.com> In-Reply-To: <1434534230-17249-4-git-send-email-andre.przywara@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Andre Przywara Cc: "kvm-ppc@vger.kernel.org" , "kvm@vger.kernel.org" , Vaidyanathan Srinivasan , Michael Ellerman , Matt Evans On Wed, Jun 17, 2015 at 10:43:50AM +0100, Andre Przywara wrote: > The powerpc code uses some PAPR hypercalls, of which we need the > hypercall number. Copy the macro definition parts from the kernel's > (private) hvcall.h file and remove the extra tricks formerly used > to be able to include this header file directly. > > Signed-off-by: Andre Przywara > --- > Hi, > > I copied most of the Linux header, without removing > definitions that kvmtool doesn't use. That should make updates > easier. If people would prefer a bespoke header, let me know. I'd rather just #define the stuff we need now that we're outside of the kernel source tree. Will From mboxrd@z Thu Jan 1 00:00:00 1970 From: Will Deacon Subject: Re: [PATCH 3/3] powerpc: add hvcall.h header from Linux Date: Wed, 17 Jun 2015 11:13:59 +0100 Message-ID: <20150617101359.GC6303@arm.com> References: <1434534230-17249-1-git-send-email-andre.przywara@arm.com> <1434534230-17249-4-git-send-email-andre.przywara@arm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: "kvm-ppc@vger.kernel.org" , "kvm@vger.kernel.org" , Vaidyanathan Srinivasan , Michael Ellerman , Matt Evans To: Andre Przywara Return-path: Content-Disposition: inline In-Reply-To: <1434534230-17249-4-git-send-email-andre.przywara@arm.com> Sender: kvm-ppc-owner@vger.kernel.org List-Id: kvm.vger.kernel.org On Wed, Jun 17, 2015 at 10:43:50AM +0100, Andre Przywara wrote: > The powerpc code uses some PAPR hypercalls, of which we need the > hypercall number. Copy the macro definition parts from the kernel's > (private) hvcall.h file and remove the extra tricks formerly used > to be able to include this header file directly. > > Signed-off-by: Andre Przywara > --- > Hi, > > I copied most of the Linux header, without removing > definitions that kvmtool doesn't use. That should make updates > easier. If people would prefer a bespoke header, let me know. I'd rather just #define the stuff we need now that we're outside of the kernel source tree. Will