[Qemu-devel] [PATCH 0/3] target/ppc: add support for hypervisor doorbells

Cédric Le Goater posted 3 patches 6 years, 3 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20180116074157.16886-1-clg@kaod.org
Test checkpatch passed
Test docker-build@min-glib passed
Test docker-mingw@fedora passed
Test docker-quick@centos6 passed
Test ppc passed
Test s390x passed
target/ppc/cpu.h            | 16 ++++++++++------
target/ppc/excp_helper.c    | 39 ++++++++++++++++++++++++++++++++-------
target/ppc/helper.h         |  2 +-
target/ppc/translate.c      | 17 ++++++++++++++---
target/ppc/translate_init.c |  2 +-
5 files changed, 58 insertions(+), 18 deletions(-)
[Qemu-devel] [PATCH 0/3] target/ppc: add support for hypervisor doorbells
Posted by Cédric Le Goater 6 years, 3 months ago
Hi,

The hypervisor doorbells are used by skiboot and Linux on POWER9
processors to wake up secondaries. This adds processor control support
to the Book3S architecture.

The full tree can be found here :

  https://github.com/legoater/qemu powernv-2.12

Thanks,

C.

Cédric Le Goater (3):
  target/ppc: fix doorbell and hypervisor doorbell definitions
  target/ppc: msgsnd and msgclr instructions need hypervisor privilege
  target/ppc: add support for hypervisor doorbells on book3s CPUs

 target/ppc/cpu.h            | 16 ++++++++++------
 target/ppc/excp_helper.c    | 39 ++++++++++++++++++++++++++++++++-------
 target/ppc/helper.h         |  2 +-
 target/ppc/translate.c      | 17 ++++++++++++++---
 target/ppc/translate_init.c |  2 +-
 5 files changed, 58 insertions(+), 18 deletions(-)

-- 
2.13.6


Re: [Qemu-devel] [PATCH 0/3] target/ppc: add support for hypervisor doorbells
Posted by David Gibson 6 years, 3 months ago
On Tue, Jan 16, 2018 at 08:41:54AM +0100, Cédric Le Goater wrote:
> Hi,
> 
> The hypervisor doorbells are used by skiboot and Linux on POWER9
> processors to wake up secondaries. This adds processor control support
> to the Book3S architecture.
> 
> The full tree can be found here :
> 
>   https://github.com/legoater/qemu powernv-2.12

1 & 2 look like correct fixes regardless of anything else, so I've
applied them.  Still looking at 3/3.

> 
> Thanks,
> 
> C.
> 
> Cédric Le Goater (3):
>   target/ppc: fix doorbell and hypervisor doorbell definitions
>   target/ppc: msgsnd and msgclr instructions need hypervisor privilege
>   target/ppc: add support for hypervisor doorbells on book3s CPUs
> 
>  target/ppc/cpu.h            | 16 ++++++++++------
>  target/ppc/excp_helper.c    | 39 ++++++++++++++++++++++++++++++++-------
>  target/ppc/helper.h         |  2 +-
>  target/ppc/translate.c      | 17 ++++++++++++++---
>  target/ppc/translate_init.c |  2 +-
>  5 files changed, 58 insertions(+), 18 deletions(-)
> 

-- 
David Gibson			| I'll have my music baroque, and my code
david AT gibson.dropbear.id.au	| minimalist, thank you.  NOT _the_ _other_
				| _way_ _around_!
http://www.ozlabs.org/~dgibson