All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Cédric Le Goater" <clg@kaod.org>
To: <qemu-ppc@nongnu.org>, <qemu-devel@nongnu.org>
Cc: Alexey Kardashevskiy <aik@ozlabs.ru>, Greg Kurz <groug@kaod.org>,
	David Gibson <david@gibson.dropbear.id.au>
Subject: Re: [PATCH 0/2] spapr: Fix support of POWER5+ processors
Date: Wed, 12 Jan 2022 12:41:43 +0100	[thread overview]
Message-ID: <d9cbb334-bcfa-1c5e-7d06-4d2c9bcbfe98@kaod.org> (raw)
In-Reply-To: <20220105095142.3990430-1-clg@kaod.org>

On 1/5/22 10:51, Cédric Le Goater wrote:
> Hello,
> 
> Grab the images under :
> 
>    https://github.com/legoater/qemu-ppc-boot/tree/main/buildroot/qemu_ppc64_pseries_p5p-2021.11-730-g4f325ce788-20220104
> 
> and run with :
> 
>    qemu-system-ppc64 -M pseries -cpu POWER5+ -m 1G -smp 2 -kernel ./vmlinux -append "root=/dev/sda" -drive file=./rootfs.ext2,if=scsi,index=0,format=raw  -device spapr-vlan,netdev=net0 -netdev user,id=net0 -serial mon:stdio -nographic -nodefaults
> 
> CPU 970, 970MP are also well supported.
> 
> Virtio devices and USB should be avoided because SLOF would use a
> 'stdbrx' instruction (cpu_to_le64 helper) which is invalid under
> POWER5+ and 970 CPUs. SLOF needs to be compiled with -mcpu=power5 to
> fix this issue.
> 
> Thanks,
> 
> C.
> 
> Cédric Le Goater (2):
>    target/ppc: Add popcntb instruction to POWER5+ processors
>    spapr: Fix support of POWER5+ processors
> 
>   hw/ppc/spapr.c        | 10 ++++++----
>   target/ppc/cpu_init.c |  1 +
>   2 files changed, 7 insertions(+), 4 deletions(-)
> 



Applied to ppc7.0.

Thanks,

C.


      parent reply	other threads:[~2022-01-12 12:10 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-05  9:51 [PATCH 0/2] spapr: Fix support of POWER5+ processors Cédric Le Goater
2022-01-05  9:51 ` [PATCH 1/2] target/ppc: Add popcntb instruction to " Cédric Le Goater
2022-01-05 13:40   ` Fabiano Rosas
2022-01-05  9:51 ` [PATCH 2/2] spapr: Fix support of " Cédric Le Goater
2022-01-05 13:41   ` Fabiano Rosas
2022-01-12 11:41 ` Cédric Le Goater [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d9cbb334-bcfa-1c5e-7d06-4d2c9bcbfe98@kaod.org \
    --to=clg@kaod.org \
    --cc=aik@ozlabs.ru \
    --cc=david@gibson.dropbear.id.au \
    --cc=groug@kaod.org \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-ppc@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.