From: Michael Ellerman <mpe@ellerman.id.au>
To: Will Deacon <will.deacon@arm.com>
Cc: Andre Przywara <andre.przywara@arm.com>,
"kvm-ppc@vger.kernel.org" <kvm-ppc@vger.kernel.org>,
"kvm@vger.kernel.org" <kvm@vger.kernel.org>,
Vaidyanathan Srinivasan <svaidy@linux.vnet.ibm.com>,
Matt Evans <Matt.Evans@arm.com>
Subject: Re: [PATCH 3/3] powerpc: add hvcall.h header from Linux
Date: Thu, 18 Jun 2015 09:15:26 +0000 [thread overview]
Message-ID: <1434618926.18306.2.camel@ellerman.id.au> (raw)
In-Reply-To: <20150617101359.GC6303@arm.com>
On Wed, 2015-06-17 at 11:13 +0100, Will Deacon wrote:
> 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 <andre.przywara@arm.com>
> > ---
> > 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.
Yeah that's probably cleaner.
I think you only need:
H_CPPR
H_EOI
H_FUNCTION
H_GET_TERM_CHAR
H_HARDWARE
H_IPI
H_LOGICAL_CACHE_LOAD
H_LOGICAL_CACHE_STORE
H_LOGICAL_CI_LOAD
H_LOGICAL_CI_STORE
H_LOGICAL_DCBF
H_LOGICAL_ICBI
H_PARAMETER
H_PUT_TERM_CHAR
H_SET_DABR
H_SUCCESS
H_XIRR
KVMPPC_H_RTAS
cheers
next prev parent reply other threads:[~2015-06-18 9:15 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-17 9:43 [PATCH 0/3] kvmtool: fixes for PowerPC Andre Przywara
2015-06-17 9:43 ` [PATCH 1/3] powerpc: implement barrier primitives Andre Przywara
2015-06-17 10:15 ` Will Deacon
2015-06-17 10:46 ` Alexander Graf
2015-06-18 9:11 ` Michael Ellerman
2015-06-18 9:38 ` Will Deacon
2015-06-17 9:43 ` [PATCH 2/3] powerpc: use default endianness for converting guest/init Andre Przywara
2015-06-18 14:52 ` Andre Przywara
2015-06-19 1:08 ` Michael Ellerman
2015-06-19 16:15 ` Andre Przywara
2015-06-21 20:01 ` Michael Ellerman
2015-06-17 9:43 ` [PATCH 3/3] powerpc: add hvcall.h header from Linux Andre Przywara
2015-06-17 10:13 ` Will Deacon
2015-06-18 9:15 ` Michael Ellerman [this message]
2015-06-18 10:10 ` [PATCH v2] " Andre Przywara
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1434618926.18306.2.camel@ellerman.id.au \
--to=mpe@ellerman.id.au \
--cc=Matt.Evans@arm.com \
--cc=andre.przywara@arm.com \
--cc=kvm-ppc@vger.kernel.org \
--cc=kvm@vger.kernel.org \
--cc=svaidy@linux.vnet.ibm.com \
--cc=will.deacon@arm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox