qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Gavin Shan <gwshan@linux.vnet.ibm.com>
To: Peter Maydell <peter.maydell@linaro.org>
Cc: Alexey Kardashevskiy <aik@ozlabs.ru>,
	David Gibson <david@gibson.dropbear.id.au>,
	"qemu-ppc@nongnu.org" <qemu-ppc@nongnu.org>,
	Gavin Shan <gwshan@linux.vnet.ibm.com>,
	QEMU Developers <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] [PATCH v4 1/3] linux-headers: Add eeh.h
Date: Mon, 24 Aug 2015 17:23:15 +1000	[thread overview]
Message-ID: <20150824072315.GA11388@gwshan> (raw)
In-Reply-To: <CAFEAcA8zbUO0WBAvE9UTTHGEiANHydRq-03CEEZ0tEPcC04jbQ@mail.gmail.com>

On Tue, Aug 11, 2015 at 10:11:03AM +0100, Peter Maydell wrote:
>On 10 August 2015 at 08:13, Gavin Shan <gwshan@linux.vnet.ibm.com> wrote:
>> The header file was introduced by following Linux upstream commits:
>>
>>     commit ed3e81f ("powerpc/eeh: Move PE state constants around")
>>     commit ec33d36 ("powerpc/eeh: Introduce eeh_pe_inject_err()")
>>
>> Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com>
>> ---
>>  linux-headers/asm-powerpc/eeh.h | 56 +++++++++++++++++++++++++++++++++++++++++
>>  1 file changed, 56 insertions(+)
>>  create mode 100644 linux-headers/asm-powerpc/eeh.h
>
>Shouldn't this be added by updating scripts/update-linux-headers.sh
>and then doing a plain "synchronize headers against kernel version $X" ?
>Otherwise you won't get any future changes to this file.
>

When I started to sync header files with 4.2.0-rc2 kernel, I found lots
of changes existing in the Linux kernel wasn't updated to QEMU source
tree. Some changes were introduced into the kernel in 2013, for example
commit 24bc69da ("PCI: Clean up MSI/MSI-X capability #defines"). Is there
any reason why the header file wasn't updated in time?

Also, "struct virtio_pci_cfg_cap" has been removed from 4.2.0-rc2 kernel,
but QEMU is still using it. If all header files are sync'ed with this
kernel, then the source code should be adjusted as well. I'm not sure
it's reasonable for someone who (like me) is unfamiliar with VFIO to do
so? :-)

Thanks,
Gavin

  parent reply	other threads:[~2015-08-24  7:24 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-10  7:13 [Qemu-devel] [PATCH v4 0/3] sPAPR: Support EEH Error Injection Gavin Shan
2015-08-10  7:13 ` [Qemu-devel] [PATCH v4 1/3] linux-headers: Add eeh.h Gavin Shan
2015-08-11  9:11   ` Peter Maydell
2015-08-12  1:55     ` David Gibson
2015-08-12  2:00     ` Alexey Kardashevskiy
2015-08-13  1:30       ` Gavin Shan
2015-08-13  1:42         ` David Gibson
2015-08-14  1:10           ` Gavin Shan
2015-08-24  7:23     ` Gavin Shan [this message]
2015-08-24 12:00       ` Gavin Shan
2015-08-10  7:13 ` [Qemu-devel] [PATCH v4 2/3] sPAPR: Support RTAS call ibm, {open, close}-errinjct Gavin Shan
2015-08-10  7:13 ` [Qemu-devel] [PATCH v4 3/3] sPAPR: Support RTAS call ibm,errinjct Gavin Shan

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=20150824072315.GA11388@gwshan \
    --to=gwshan@linux.vnet.ibm.com \
    --cc=aik@ozlabs.ru \
    --cc=david@gibson.dropbear.id.au \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-ppc@nongnu.org \
    /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;
as well as URLs for NNTP newsgroup(s).