[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-ppc] [RFC PATCH 2/9] Update headers using update-linux-headers
From: |
Thomas Huth |
Subject: |
Re: [Qemu-ppc] [RFC PATCH 2/9] Update headers using update-linux-headers.sh |
Date: |
Thu, 9 Feb 2017 08:45:31 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 |
On 09.02.2017 05:53, Sam Bobroff wrote:
> On Tue, Feb 07, 2017 at 01:59:52PM +0100, Thomas Huth wrote:
>> On 07.02.2017 03:56, Sam Bobroff wrote:
>>> This provides some new definitions needed by ISA 3.00 guests.
>>>
>>> It is a large change because this is the first import since
>>> some kernel header files have become autogenerated.
>>>
>>> Note: update-linux-headers.sh currently generates a change that
>>> (incorrectly) removes virtio_mmio.h and the change has been manually
>>> adjusted to prevent that.
>>>
>>> Signed-off-by: Sam Bobroff <address@hidden>
>>> ---
>>> include/standard-headers/linux/input-event-codes.h | 2 +-
>>> include/standard-headers/linux/pci_regs.h | 8 +
>>> include/standard-headers/linux/virtio_ids.h | 1 +
>>> linux-headers/asm-arm/kvm.h | 2 +
>>> linux-headers/asm-arm/unistd.h | 419
>>> +--------------------
>>> linux-headers/asm-powerpc/kvm.h | 25 ++
>>> linux-headers/asm-powerpc/unistd.h | 1 +
>>> linux-headers/asm-x86/kvm_para.h | 4 +-
>>> linux-headers/linux/kvm.h | 11 +-
>>> linux-headers/linux/vfio.h | 10 +
>>> 10 files changed, 63 insertions(+), 420 deletions(-)
>> [...]
>>> diff --git a/linux-headers/asm-arm/unistd.h b/linux-headers/asm-arm/unistd.h
>>> index ceb5450c81..155571b874 100644
>>> --- a/linux-headers/asm-arm/unistd.h
>>> +++ b/linux-headers/asm-arm/unistd.h
>>> @@ -17,409 +17,14 @@
>>>
>>> #if defined(__thumb__) || defined(__ARM_EABI__)
>>> #define __NR_SYSCALL_BASE 0
>>> +#include <asm/unistd-eabi.h>
>>> #else
>>> #define __NR_SYSCALL_BASE __NR_OABI_SYSCALL_BASE
>>> +#include <asm/unistd-oabi.h>
>>> #endif
>>>
>>> -/*
>>> - * This file contains the system call numbers.
>>> - */
>> [...]
>>
>> Looks like the contents of asm-arm/unistd.h has been moved to two new
>> files, unistd-eabi.h and unistd-oabi.h, but they are not part of your
>> patch. I guess update-linux-headers.sh needs a fix for that?
>>
>> Thomas
>
> Ah thanks! I'll look at it.
>
> Should I try to fix the other problem with update-linux-headers.sh at
> the same time? (I'm referring to the issue I noted in the commit
> message, about virtio_mmio.h)
Yes, please!
Thomas
- Re: [Qemu-ppc] [Qemu-devel] [RFC PATCH 1/9] spapr: fix off-by-one error in spapr_ovec_populate_dt(), (continued)
- [Qemu-ppc] [RFC PATCH 4/9] target-ppc: support KVM_CAP_PPC_MMU_RADIX, KVM_CAP_PPC_MMU_HASH_V3, Sam Bobroff, 2017/02/06
- [Qemu-ppc] [RFC PATCH 3/9] spapr: Add ibm, processor-radix-AP-encodings to the device tree, Sam Bobroff, 2017/02/06
- [Qemu-ppc] [RFC PATCH 2/9] Update headers using update-linux-headers.sh, Sam Bobroff, 2017/02/06
- Re: [Qemu-ppc] [RFC PATCH 2/9] Update headers using update-linux-headers.sh, David Gibson, 2017/02/08
- [Qemu-ppc] [RFC PATCH 5/9] spapr: Only setup HTP if necessary., Sam Bobroff, 2017/02/06
- [Qemu-ppc] [RFC PATCH 8/9] spapr: Advertise ISA 3.0 MMU features in pa_features, Sam Bobroff, 2017/02/06
- [Qemu-ppc] [RFC PATCH 9/9] spapr: Small cleanup of PPC MMU enums, Sam Bobroff, 2017/02/06
- [Qemu-ppc] [RFC PATCH 6/9] spapr: Add h_register_process_table() hypercall, Sam Bobroff, 2017/02/06