[PATCH 0/6] ppc fixes possibly for 8.1

Nicholas Piggin posted 6 patches 9 months, 2 weeks ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20230726182230.433945-1-npiggin@gmail.com
Maintainers: Daniel Henrique Barboza <danielhb413@gmail.com>, "Cédric Le Goater" <clg@kaod.org>, David Gibson <david@gibson.dropbear.id.au>, Greg Kurz <groug@kaod.org>, Nicholas Piggin <npiggin@gmail.com>
hw/ppc/ppc.c             | 47 +++++++++++++++------------
target/ppc/excp_helper.c |  6 ++++
target/ppc/machine.c     | 14 +++++++++
target/ppc/mmu-hash64.c  | 68 ++++++++++++++++++++++++++++++----------
4 files changed, 98 insertions(+), 37 deletions(-)
[PATCH 0/6] ppc fixes possibly for 8.1
Posted by Nicholas Piggin 9 months, 2 weeks ago
Sorry for the delay following up on the fixes, I got sucked down
the decrementer rabbit hole that took longer than expected.

Question about what is suitable for merge at this time and what
should be stable. The first 3 have caused crashes or hangs running
Linux and other software. Second 3 fix some issues with dec that
could cause problems, especially with migration. But they affect
more machines in more complex ways than the first 3.

No changes to the first 3 already posted except to add Fixes:
tags.

Thanks,
Nick

Nicholas Piggin (6):
  target/ppc: Implement ASDR register for ISA v3.0 for HPT
  target/ppc: Fix VRMA page size for ISA v3.0
  target/ppc: Fix pending HDEC when entering PM state
  hw/ppc: Avoid decrementer rounding errors
  hw/ppc: Always store the decrementer value
  target/ppc: Migrate DECR SPR

 hw/ppc/ppc.c             | 47 +++++++++++++++------------
 target/ppc/excp_helper.c |  6 ++++
 target/ppc/machine.c     | 14 +++++++++
 target/ppc/mmu-hash64.c  | 68 ++++++++++++++++++++++++++++++----------
 4 files changed, 98 insertions(+), 37 deletions(-)

-- 
2.40.1
Re: [PATCH 0/6] ppc fixes possibly for 8.1
Posted by Daniel Henrique Barboza 9 months, 1 week ago

On 7/26/23 15:22, Nicholas Piggin wrote:
> Sorry for the delay following up on the fixes, I got sucked down
> the decrementer rabbit hole that took longer than expected.
> 
> Question about what is suitable for merge at this time and what
> should be stable. The first 3 have caused crashes or hangs running
> Linux and other software. Second 3 fix some issues with dec that
> could cause problems, especially with migration. But they affect
> more machines in more complex ways than the first 3.
> 
> No changes to the first 3 already posted except to add Fixes:
> tags.

Patches 1 and 3 queued in ppc-next. Thanks,


Daniel

> 
> Thanks,
> Nick
> 
> Nicholas Piggin (6):
>    target/ppc: Implement ASDR register for ISA v3.0 for HPT
>    target/ppc: Fix VRMA page size for ISA v3.0
>    target/ppc: Fix pending HDEC when entering PM state
>    hw/ppc: Avoid decrementer rounding errors
>    hw/ppc: Always store the decrementer value
>    target/ppc: Migrate DECR SPR
> 
>   hw/ppc/ppc.c             | 47 +++++++++++++++------------
>   target/ppc/excp_helper.c |  6 ++++
>   target/ppc/machine.c     | 14 +++++++++
>   target/ppc/mmu-hash64.c  | 68 ++++++++++++++++++++++++++++++----------
>   4 files changed, 98 insertions(+), 37 deletions(-)
>