All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PULL 00/23] ppc-for-2.7 queue 20160701
@ 2016-07-01  6:41 David Gibson
  2016-07-01  6:41 ` [Qemu-devel] [PULL 01/23] ppc: Add a bunch of hypervisor SPRs to Book3s David Gibson
                   ` (23 more replies)
  0 siblings, 24 replies; 55+ messages in thread
From: David Gibson @ 2016-07-01  6:41 UTC (permalink / raw)
  To: peter.maydell; +Cc: agraf, benh, qemu-devel, qemu-ppc, David Gibson

The following changes since commit 8a0b4de048e20215415b24c7b42514c27b9d6ef3:

  pcspk: fix KVM (2016-06-30 19:00:02 +0100)

are available in the git repository at:

  git://github.com/dgibson/qemu.git tags/ppc-for-2.7-20160701

for you to fetch changes up to 13f5e8003e7b67039cb7a19e41b4f7f7ac669cb3:

  qmp: fix spapr example of query-hotpluggable-cpus (2016-07-01 13:41:47 +1000)

----------------------------------------------------------------
ppc patch queue 2016-07-01

Here's the current ppc patch queue.  This is a fairly large batch,
containing:
    * A number of further preliminary patches towards full hypervisor
      mode emulation
    * Some further fixes / cleanups for the recently merged device_add
      based CPU hotplug
    * Preliminary patches towards supporting a native (rather than
      paravirtualized) XICS device.  This will be needed to emulate a
      physical Power machine, including hypervisor capabilities
    * Assorted bug fixes

----------------------------------------------------------------
Aaron Larson (2):
      target-ppc: Eliminate redundant and incorrect function booke206_page_size_to_tlb
      target-ppc: gen_pause for instructions: yield, mdoio, mdoom, miso

Benjamin Herrenschmidt (13):
      ppc: Add a bunch of hypervisor SPRs to Book3s
      ppc: Update LPCR definitions
      ppc: Use a helper to filter writes to LPCR
      ppc: Fix conditions for delivering external interrupts to a guest
      ppc: Enforce setting MSR:EE,IR and DR when MSR:PR is set
      ppc: Initial HDEC support
      ppc: LPCR is a HV resource
      ppc: Print HSRR0/HSRR1 in "info registers"
      ppc: Fix 64K pages support in full emulation
      ppc/xics: Rename existing xics to xics_spapr
      ppc/xics: Move SPAPR specific code to a separate file
      ppc/xics: Implement H_IPOLL using an accessor
      ppc/xics: Replace "icp" with "xics" in most places

Bharata B Rao (2):
      spapr: Restore support for older PowerPC CPU cores
      spapr: Restore support for 970MP and POWER8NVL CPU cores

Greg Kurz (4):
      spapr: fix write-past-end-of-array error in cpu core device init code
      spapr: drop reference on child object during core realization
      spapr: do proper error propagation in spapr_cpu_core_realize_child()
      spapr: drop duplicate variable in spapr_core_release()

Igor Mammedov (1):
      qmp: fix spapr example of query-hotpluggable-cpus

Thomas Huth (1):
      hw/ppc/spapr: Add some missing hcall function set strings

 default-configs/ppc64-softmmu.mak |   1 +
 hw/intc/Makefile.objs             |   1 +
 hw/intc/xics.c                    | 537 ++++++--------------------------------
 hw/intc/xics_kvm.c                |  63 ++---
 hw/intc/xics_spapr.c              | 434 ++++++++++++++++++++++++++++++
 hw/ppc/e500.c                     |   2 +-
 hw/ppc/e500.h                     |   2 +
 hw/ppc/ppc.c                      |  17 +-
 hw/ppc/ppce500_spin.c             |   7 +-
 hw/ppc/spapr.c                    |  22 +-
 hw/ppc/spapr_cpu_core.c           |  48 +++-
 hw/ppc/spapr_events.c             |   8 +-
 hw/ppc/spapr_pci.c                |  13 +-
 hw/ppc/spapr_vio.c                |   2 +-
 include/hw/pci-host/spapr.h       |   2 +-
 include/hw/ppc/spapr.h            |   2 +-
 include/hw/ppc/spapr_vio.h        |   2 +-
 include/hw/ppc/xics.h             |  54 +++-
 qmp-commands.hx                   |   4 +-
 target-ppc/cpu-qom.h              |   3 +
 target-ppc/cpu.h                  |  16 +-
 target-ppc/excp_helper.c          |  41 ++-
 target-ppc/helper.h               |   3 +
 target-ppc/helper_regs.h          |   4 +
 target-ppc/mmu-hash64.c           |  96 ++++++-
 target-ppc/timebase_helper.c      |  10 +
 target-ppc/translate.c            |  22 +-
 target-ppc/translate_init.c       | 216 +++++++++++++--
 28 files changed, 1022 insertions(+), 610 deletions(-)
 create mode 100644 hw/intc/xics_spapr.c

^ permalink raw reply	[flat|nested] 55+ messages in thread
* Re: [Qemu-devel] [Qemu-ppc] [PULL 05/23] ppc: Enforce setting MSR:EE, IR and DR when MSR:PR is set
@ 2016-07-09 17:42 G 3
  2016-07-10 22:14 ` Cédric Le Goater
  0 siblings, 1 reply; 55+ messages in thread
From: G 3 @ 2016-07-09 17:42 UTC (permalink / raw)
  To: clg; +Cc: qemu-devel

> On 07/09/2016 02:43 AM, Mark Cave-Ayland wrote:
>
>> On 01/07/16 07:41, David Gibson wrote:
>>
>>
>>> From: Benjamin Herrenschmidt  
>>> <b378bb0948277d71c78bc6d0c1ef80a253aafc80>
>>>
>>> The architecture specifies that any instruction that sets MSR:PR  
>>> will also
>>> set MSR:EE, IR and DR.
>>>
>>> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
>>> Signed-off-by: C?dric Le Goater <clg@kaod.org>
>>> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
>>> ---
>>>  target-ppc/helper_regs.h | 4 ++++
>>>  1 file changed, 4 insertions(+)
>>>
>>> diff --git a/target-ppc/helper_regs.h b/target-ppc/helper_regs.h
>>> index 8fc0934..8fdfa5c 100644
>>> --- a/target-ppc/helper_regs.h
>>> +++ b/target-ppc/helper_regs.h
>>> @@ -136,6 +136,10 @@ static inline int hreg_store_msr(CPUPPCState  
>>> *env, target_ulong value,
>>>          /* Change the exception prefix on PowerPC 601 */
>>>          env->excp_prefix = ((value >> MSR_EP) & 1) * 0xFFF00000;
>>>      }
>>> +    /* If PR=1 then EE, IR and DR must be 1 */
>>> +    if ((value >> MSR_PR) & 1) {
>>> +        value |= (1 << MSR_EE) | (1 << MSR_DR) | (1 << MSR_IR);
>>> +    }
>>>  #endif
>>>      env->msr = value;
>>>      hreg_compute_hflags(env);
>>>
>>>
>>
>> Unfortunately this patch causes a regression and breaks booting OS  
>> 9 and
>> OS X under qemu-system-ppc.
>>
>
> Ah This is curious.
>
>
> I used :
>
> 	qemu-system-ppc -M g3beige -cdrom darwinppc-602.cdr -boot d
> 	qemu-system-ppc -M mac99 -cdrom darwinppc-602.cdr -boot d
> 	qemu-system-ppc64 -M g3beige -cdrom darwinppc-602.cdr -boot d
>
> which "work" as they reach the installation prompt :
>
> 	The following devices are available for installation.
>
> This one hangs :
>
> 	qemu-system-ppc64 -M mac99 -cdrom darwinppc-602.cdr -boot d
>
> But that is expected for a 970 cpu.
>
> The login prompt is reached with a full Darwin disk image.
>
> So I must be missing a scenario :/
>
> Thanks,
>
> C.


I suggest you use a more up-to-date version of Darwin for PowerPC 64- 
bit support:

https://opensource.apple.com/static/iso/darwinppc-801.cdr.gz

^ permalink raw reply	[flat|nested] 55+ messages in thread

end of thread, other threads:[~2016-07-12  7:30 UTC | newest]

Thread overview: 55+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-01  6:41 [Qemu-devel] [PULL 00/23] ppc-for-2.7 queue 20160701 David Gibson
2016-07-01  6:41 ` [Qemu-devel] [PULL 01/23] ppc: Add a bunch of hypervisor SPRs to Book3s David Gibson
2016-07-01  6:41 ` [Qemu-devel] [PULL 02/23] ppc: Update LPCR definitions David Gibson
2016-07-01  6:41 ` [Qemu-devel] [PULL 03/23] ppc: Use a helper to filter writes to LPCR David Gibson
2016-07-01  6:41 ` [Qemu-devel] [PULL 04/23] ppc: Fix conditions for delivering external interrupts to a guest David Gibson
2016-07-01  6:41 ` [Qemu-devel] [PULL 05/23] ppc: Enforce setting MSR:EE, IR and DR when MSR:PR is set David Gibson
2016-07-09  0:43   ` [Qemu-devel] [Qemu-ppc] " Mark Cave-Ayland
2016-07-09  2:46     ` Benjamin Herrenschmidt
2016-07-09  2:52       ` Benjamin Herrenschmidt
2016-07-09  3:00         ` Benjamin Herrenschmidt
2016-07-09  3:08           ` Benjamin Herrenschmidt
2016-07-09  3:22             ` [Qemu-devel] [PATCH] ppc: Fix support for odd MSR combinations Benjamin Herrenschmidt
2016-07-09  3:40               ` Benjamin Herrenschmidt
2016-07-09  3:41             ` [Qemu-devel] [PATCH v2] " Benjamin Herrenschmidt
2016-07-09  3:42               ` Benjamin Herrenschmidt
2016-07-09  9:56                 ` Mark Cave-Ayland
2016-07-11  1:55               ` David Gibson
2016-07-11 18:30                 ` Mark Cave-Ayland
2016-07-12  0:57                   ` David Gibson
2016-07-09  9:04             ` [Qemu-devel] [Qemu-ppc] [PULL 05/23] ppc: Enforce setting MSR:EE, IR and DR when MSR:PR is set Mark Cave-Ayland
2016-07-09  8:16     ` Cédric Le Goater
2016-07-09  8:25       ` Benjamin Herrenschmidt
2016-07-09  8:28         ` Cédric Le Goater
2016-07-01  6:41 ` [Qemu-devel] [PULL 06/23] ppc: Initial HDEC support David Gibson
2016-07-01  6:41 ` [Qemu-devel] [PULL 07/23] ppc: LPCR is a HV resource David Gibson
2016-07-01  6:41 ` [Qemu-devel] [PULL 08/23] ppc: Print HSRR0/HSRR1 in "info registers" David Gibson
2016-07-01  6:41 ` [Qemu-devel] [PULL 09/23] hw/ppc/spapr: Add some missing hcall function set strings David Gibson
2016-07-01  6:41 ` [Qemu-devel] [PULL 10/23] spapr: fix write-past-end-of-array error in cpu core device init code David Gibson
2016-07-01  6:41 ` [Qemu-devel] [PULL 11/23] spapr: Restore support for older PowerPC CPU cores David Gibson
2016-07-01  6:41 ` [Qemu-devel] [PULL 12/23] target-ppc: Eliminate redundant and incorrect function booke206_page_size_to_tlb David Gibson
2016-07-01  6:41 ` [Qemu-devel] [PULL 13/23] ppc: Fix 64K pages support in full emulation David Gibson
2016-07-01  6:41 ` [Qemu-devel] [PULL 14/23] ppc/xics: Rename existing xics to xics_spapr David Gibson
2016-07-01  6:41 ` [Qemu-devel] [PULL 15/23] ppc/xics: Move SPAPR specific code to a separate file David Gibson
2016-07-01  6:41 ` [Qemu-devel] [PULL 16/23] ppc/xics: Implement H_IPOLL using an accessor David Gibson
2016-07-01  6:41 ` [Qemu-devel] [PULL 17/23] ppc/xics: Replace "icp" with "xics" in most places David Gibson
2016-07-01  6:41 ` [Qemu-devel] [PULL 18/23] target-ppc: gen_pause for instructions: yield, mdoio, mdoom, miso David Gibson
2016-07-01  6:41 ` [Qemu-devel] [PULL 19/23] spapr: Restore support for 970MP and POWER8NVL CPU cores David Gibson
2016-07-01  6:41 ` [Qemu-devel] [PULL 20/23] spapr: drop reference on child object during core realization David Gibson
2016-07-01  6:41 ` [Qemu-devel] [PULL 21/23] spapr: do proper error propagation in spapr_cpu_core_realize_child() David Gibson
2016-07-01  6:41 ` [Qemu-devel] [PULL 22/23] spapr: drop duplicate variable in spapr_core_release() David Gibson
2016-07-01  6:41 ` [Qemu-devel] [PULL 23/23] qmp: fix spapr example of query-hotpluggable-cpus David Gibson
2016-07-01 13:28 ` [Qemu-devel] [PULL 00/23] ppc-for-2.7 queue 20160701 Peter Maydell
2016-07-09 17:42 [Qemu-devel] [Qemu-ppc] [PULL 05/23] ppc: Enforce setting MSR:EE, IR and DR when MSR:PR is set G 3
2016-07-10 22:14 ` Cédric Le Goater
2016-07-11  3:09   ` Alfonso Gamboa
2016-07-11  7:02     ` Mark Cave-Ayland
2016-07-11  7:04   ` Mark Cave-Ayland
2016-07-11  7:51     ` Cédric Le Goater
2016-07-11  7:54       ` Cédric Le Goater
2016-07-11 18:11       ` Mark Cave-Ayland
2016-07-12  6:24         ` Cédric Le Goater
2016-07-12  7:29           ` Mark Cave-Ayland
2016-07-11 14:42     ` Programmingkid
2016-07-11 18:37       ` Mark Cave-Ayland
2016-07-12  3:30         ` Programmingkid

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.