All of lore.kernel.org
 help / color / mirror / Atom feed
From: Will Deacon <will.deacon@arm.com>
To: Andre Przywara <andre.przywara@arm.com>
Cc: "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>,
	Michael Ellerman <mpe@ellerman.id.au>,
	Matt Evans <Matt.Evans@arm.com>
Subject: Re: [PATCH 3/3] powerpc: add hvcall.h header from Linux
Date: Wed, 17 Jun 2015 10:13:59 +0000	[thread overview]
Message-ID: <20150617101359.GC6303@arm.com> (raw)
In-Reply-To: <1434534230-17249-4-git-send-email-andre.przywara@arm.com>

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.

Will

WARNING: multiple messages have this Message-ID (diff)
From: Will Deacon <will.deacon@arm.com>
To: Andre Przywara <andre.przywara@arm.com>
Cc: "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>,
	Michael Ellerman <mpe@ellerman.id.au>,
	Matt Evans <Matt.Evans@arm.com>
Subject: Re: [PATCH 3/3] powerpc: add hvcall.h header from Linux
Date: Wed, 17 Jun 2015 11:13:59 +0100	[thread overview]
Message-ID: <20150617101359.GC6303@arm.com> (raw)
In-Reply-To: <1434534230-17249-4-git-send-email-andre.przywara@arm.com>

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.

Will

  reply	other threads:[~2015-06-17 10:13 UTC|newest]

Thread overview: 30+ 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 ` Andre Przywara
2015-06-17  9:43 ` [PATCH 1/3] powerpc: implement barrier primitives Andre Przywara
2015-06-17  9:43   ` Andre Przywara
2015-06-17 10:15   ` Will Deacon
2015-06-17 10:15     ` Will Deacon
2015-06-17 10:46     ` Alexander Graf
2015-06-17 10:46       ` Alexander Graf
2015-06-18  9:11     ` Michael Ellerman
2015-06-18  9:11       ` Michael Ellerman
2015-06-18  9:38       ` Will Deacon
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-17  9:43   ` Andre Przywara
2015-06-18 14:52   ` Andre Przywara
2015-06-18 14:52     ` Andre Przywara
2015-06-19  1:08     ` Michael Ellerman
2015-06-19  1:08       ` Michael Ellerman
2015-06-19 16:15       ` Andre Przywara
2015-06-19 16:15         ` Andre Przywara
2015-06-21 20:01         ` Michael Ellerman
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  9:43   ` Andre Przywara
2015-06-17 10:13   ` Will Deacon [this message]
2015-06-17 10:13     ` Will Deacon
2015-06-18  9:15     ` Michael Ellerman
2015-06-18  9:15       ` Michael Ellerman
2015-06-18 10:10       ` [PATCH v2] " Andre Przywara
2015-06-18 10:10         ` 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=20150617101359.GC6303@arm.com \
    --to=will.deacon@arm.com \
    --cc=Matt.Evans@arm.com \
    --cc=andre.przywara@arm.com \
    --cc=kvm-ppc@vger.kernel.org \
    --cc=kvm@vger.kernel.org \
    --cc=mpe@ellerman.id.au \
    --cc=svaidy@linux.vnet.ibm.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.