Patchwork [PULL,00/31] ppc patch queue 2013-01-07

login
register
mail settings
Submitter Alexander Graf
Date Jan. 7, 2013, 3:38 p.m.
Message ID <1357573140-8877-1-git-send-email-agraf@suse.de>
Download mbox
Permalink /patch/209958/
State New
Headers show

Pull-request

git://repo.or.cz/qemu/agraf.git ppc-for-upstream

Comments

Alexander Graf - Jan. 7, 2013, 3:38 p.m.
Hi Blue / Aurelien,

This is my current patch queue for ppc.  Please pull.

Alex


The following changes since commit 8e4a424b305e29dc0e454f52df3b35577f342975:
  Blue Swirl (1):
        Revert "virtio-pci: replace byte swap hack"

are available in the git repository at:

  git://repo.or.cz/qemu/agraf.git ppc-for-upstream

Alexander Graf (3):
      openpic: fix coding style issues
      kvm: Update kernel headers
      PPC: Bring EPR support closer to reality

Andreas Färber (2):
      target-ppc: Slim conversion of model definitions to QOM subclasses
      target-ppc: Error out for -cpu host on unknown PVR

Bharat Bhushan (2):
      powerpc: linux header sync script includes epapr_hcalls.h
      PPC: Reset qemu timers when guest reset

Samuel Seay (2):
      PPC: fix segfault in signal handling code
      PPC: linux-user: Calculate context pointer explicitly

Scott Wood (21):
      openpic: symbolicize some magic numbers
      openpic: remove pcsr (CPU sensitivity register)
      openpic: support large vectors on FSL mpic
      openpic: BRR1 is not a CPU-specific register.
      openpic: s/opp->nb_irqs -1/opp->nb_cpus - 1/
      openpic: don't crash on a register access without a CPU context
      openpic: fix debug prints
      openpic: lower interrupt when reading the MSI register
      ppc/booke: fix crit/mcheck/debug exceptions
      openpic: make register names correspond better with hw docs
      openpic: rework critical interrupt support
      openpic: make ctpr signed
      openpic/fsl: critical interrupts ignore mask before v4.1
      openpic: always call IRQ_check from IRQ_get_next
      Revert "openpic: Accelerate pending irq search"
      openpic: use standard bitmap operations
      openpic: add some bounds checking for IRQ numbers
      openpic: fix sense and priority bits
      openpic: IRQ_check: search the queue a word at a time
      openpic: move IACK to its own function
      openpic: fix CTPR and de-assertion of interrupts

Stuart Yoder (1):
      PPC: KVM: set has-idle in guest device tree

 hw/openpic.c                             | 1032 ++++++++++++++++++-----------
 hw/ppc/e500.c                            |    8 +-
 hw/ppc_booke.c                           |   13 +
 linux-headers/asm-powerpc/epapr_hcalls.h |   98 +++
 linux-headers/asm-powerpc/kvm.h          |   86 +++
 linux-headers/asm-powerpc/kvm_para.h     |   13 +-
 linux-headers/linux/kvm.h                |   21 +-
 linux-headers/linux/kvm_para.h           |    6 +-
 linux-headers/linux/vfio.h               |    6 +-
 linux-headers/linux/virtio_config.h      |    6 +-
 linux-headers/linux/virtio_ring.h        |    6 +-
 linux-user/signal.c                      |    6 +-
 scripts/update-linux-headers.sh          |    3 +
 target-ppc/Makefile.objs                 |    4 +-
 target-ppc/cpu-qom.h                     |    5 +
 target-ppc/cpu.h                         |    8 +-
 target-ppc/excp_helper.c                 |   35 +-
 target-ppc/helper.c                      |   50 --
 target-ppc/helper.h                      |    1 -
 target-ppc/kvm.c                         |   77 ++-
 target-ppc/kvm_ppc.h                     |    9 +-
 target-ppc/mpic_helper.c                 |   35 -
 target-ppc/translate_init.c              |  352 +++++++----
 23 files changed, 1225 insertions(+), 655 deletions(-)
 create mode 100644 linux-headers/asm-powerpc/epapr_hcalls.h
 delete mode 100644 target-ppc/helper.c
 delete mode 100644 target-ppc/mpic_helper.c
Andreas Färber - Jan. 7, 2013, 4:21 p.m.
Am 07.01.2013 16:38, schrieb Alexander Graf:
> Hi Blue / Aurelien,
> 
> This is my current patch queue for ppc.  Please pull.

Breaks on x86_64:

  CC    ppc-softmmu/hw/ppc/e500.o
/home/andreas/QEMU/qemu-ppc/hw/ppc/e500.c: In function
‘ppce500_load_device_tree’:
/home/andreas/QEMU/qemu-ppc/hw/ppc/e500.c:229:9: error: implicit
declaration of function ‘kvmppc_get_hasidle’
[-Werror=implicit-function-declaration]
/home/andreas/QEMU/qemu-ppc/hw/ppc/e500.c:229:9: error: nested extern
declaration of ‘kvmppc_get_hasidle’ [-Werror=nested-externs]
cc1: all warnings being treated as errors
make[1]: *** [hw/ppc/e500.o] Fehler 1
make: *** [subdir-ppc-softmmu] Fehler 2

Lacking a static inline version of kvmppc_get_hasidle() in kvm_ppc.h.

Andreas
Alexander Graf - Jan. 7, 2013, 4:40 p.m.
On 07.01.2013, at 17:21, Andreas Färber wrote:

> Am 07.01.2013 16:38, schrieb Alexander Graf:
>> Hi Blue / Aurelien,
>> 
>> This is my current patch queue for ppc.  Please pull.
> 
> Breaks on x86_64:
> 
>  CC    ppc-softmmu/hw/ppc/e500.o
> /home/andreas/QEMU/qemu-ppc/hw/ppc/e500.c: In function
> ‘ppce500_load_device_tree’:
> /home/andreas/QEMU/qemu-ppc/hw/ppc/e500.c:229:9: error: implicit
> declaration of function ‘kvmppc_get_hasidle’
> [-Werror=implicit-function-declaration]
> /home/andreas/QEMU/qemu-ppc/hw/ppc/e500.c:229:9: error: nested extern
> declaration of ‘kvmppc_get_hasidle’ [-Werror=nested-externs]
> cc1: all warnings being treated as errors
> make[1]: *** [hw/ppc/e500.o] Fehler 1
> make: *** [subdir-ppc-softmmu] Fehler 2
> 
> Lacking a static inline version of kvmppc_get_hasidle() in kvm_ppc.h.

Sigh. I wonder why our buildbots didn't fetch this one.

Fixed it up manually in both ppc-next and ppc-for-upstream, so the pull request is still valid.


Alex
Stefan Hajnoczi - Jan. 8, 2013, 8:54 a.m.
On Mon, Jan 07, 2013 at 05:40:24PM +0100, Alexander Graf wrote:
> 
> On 07.01.2013, at 17:21, Andreas Färber wrote:
> 
> > Am 07.01.2013 16:38, schrieb Alexander Graf:
> >> Hi Blue / Aurelien,
> >> 
> >> This is my current patch queue for ppc.  Please pull.
> > 
> > Breaks on x86_64:
> > 
> >  CC    ppc-softmmu/hw/ppc/e500.o
> > /home/andreas/QEMU/qemu-ppc/hw/ppc/e500.c: In function
> > ‘ppce500_load_device_tree’:
> > /home/andreas/QEMU/qemu-ppc/hw/ppc/e500.c:229:9: error: implicit
> > declaration of function ‘kvmppc_get_hasidle’
> > [-Werror=implicit-function-declaration]
> > /home/andreas/QEMU/qemu-ppc/hw/ppc/e500.c:229:9: error: nested extern
> > declaration of ‘kvmppc_get_hasidle’ [-Werror=nested-externs]
> > cc1: all warnings being treated as errors
> > make[1]: *** [hw/ppc/e500.o] Fehler 1
> > make: *** [subdir-ppc-softmmu] Fehler 2
> > 
> > Lacking a static inline version of kvmppc_get_hasidle() in kvm_ppc.h.
> 
> Sigh. I wonder why our buildbots didn't fetch this one.
> 
> Fixed it up manually in both ppc-next and ppc-for-upstream, so the pull request is still valid.

e500.o is only built when CONFIG_FDT is defined.

agraf: "zypper search libfdt" on qemu-ppc.opensuse.org turns up no
packages.  Any ideas where to get the packages from?

Stefan
Alexander Graf - Jan. 8, 2013, 9:12 a.m.
Am 08.01.2013 um 09:54 schrieb Stefan Hajnoczi <stefanha@redhat.com>:

> On Mon, Jan 07, 2013 at 05:40:24PM +0100, Alexander Graf wrote:
>> 
>> On 07.01.2013, at 17:21, Andreas Färber wrote:
>> 
>>> Am 07.01.2013 16:38, schrieb Alexander Graf:
>>>> Hi Blue / Aurelien,
>>>> 
>>>> This is my current patch queue for ppc.  Please pull.
>>> 
>>> Breaks on x86_64:
>>> 
>>> CC    ppc-softmmu/hw/ppc/e500.o
>>> /home/andreas/QEMU/qemu-ppc/hw/ppc/e500.c: In function
>>> ‘ppce500_load_device_tree’:
>>> /home/andreas/QEMU/qemu-ppc/hw/ppc/e500.c:229:9: error: implicit
>>> declaration of function ‘kvmppc_get_hasidle’
>>> [-Werror=implicit-function-declaration]
>>> /home/andreas/QEMU/qemu-ppc/hw/ppc/e500.c:229:9: error: nested extern
>>> declaration of ‘kvmppc_get_hasidle’ [-Werror=nested-externs]
>>> cc1: all warnings being treated as errors
>>> make[1]: *** [hw/ppc/e500.o] Fehler 1
>>> make: *** [subdir-ppc-softmmu] Fehler 2
>>> 
>>> Lacking a static inline version of kvmppc_get_hasidle() in kvm_ppc.h.
>> 
>> Sigh. I wonder why our buildbots didn't fetch this one.
>> 
>> Fixed it up manually in both ppc-next and ppc-for-upstream, so the pull request is still valid.
> 
> e500.o is only built when CONFIG_FDT is defined.
> 
> agraf: "zypper search libfdt" on qemu-ppc.opensuse.org turns up no
> packages.  Any ideas where to get the packages from?

I can install them on the ppc box, but the important build case would be against x86, no?

Alex

> 
> Stefan
Richard Henderson - Jan. 8, 2013, 3:49 p.m.
On 01/08/2013 12:54 AM, Stefan Hajnoczi wrote:
> agraf: "zypper search libfdt" on qemu-ppc.opensuse.org turns up no
> packages.  Any ideas where to get the packages from?

Fedora 17 ships them.  Either grab the packages from there, or
the rpm info points to 

URL         : http://git.jdl.com/gitweb/?p=dtc.git;a=summary

as the upstream source.


r~
Blue Swirl - Jan. 12, 2013, 4:13 p.m.
On Mon, Jan 7, 2013 at 4:40 PM, Alexander Graf <agraf@suse.de> wrote:
>
> On 07.01.2013, at 17:21, Andreas Färber wrote:
>
>> Am 07.01.2013 16:38, schrieb Alexander Graf:
>>> Hi Blue / Aurelien,
>>>
>>> This is my current patch queue for ppc.  Please pull.
>>
>> Breaks on x86_64:
>>
>>  CC    ppc-softmmu/hw/ppc/e500.o
>> /home/andreas/QEMU/qemu-ppc/hw/ppc/e500.c: In function
>> ‘ppce500_load_device_tree’:
>> /home/andreas/QEMU/qemu-ppc/hw/ppc/e500.c:229:9: error: implicit
>> declaration of function ‘kvmppc_get_hasidle’
>> [-Werror=implicit-function-declaration]
>> /home/andreas/QEMU/qemu-ppc/hw/ppc/e500.c:229:9: error: nested extern
>> declaration of ‘kvmppc_get_hasidle’ [-Werror=nested-externs]
>> cc1: all warnings being treated as errors
>> make[1]: *** [hw/ppc/e500.o] Fehler 1
>> make: *** [subdir-ppc-softmmu] Fehler 2
>>
>> Lacking a static inline version of kvmppc_get_hasidle() in kvm_ppc.h.
>
> Sigh. I wonder why our buildbots didn't fetch this one.
>
> Fixed it up manually in both ppc-next and ppc-for-upstream, so the pull request is still valid.

Thanks, pulled.

>
>
> Alex
>