[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-ppc] [Qemu-devel] [PATCH 3/3] target/ppc: filter out non-zero
From: |
Greg Kurz |
Subject: |
Re: [Qemu-ppc] [Qemu-devel] [PATCH 3/3] target/ppc: filter out non-zero PCR values when using TCG |
Date: |
Fri, 15 Jun 2018 00:00:20 +0200 |
On Thu, 14 Jun 2018 09:52:55 -1000
Richard Henderson <address@hidden> wrote:
> On 06/12/2018 10:19 PM, Greg Kurz wrote:
> > I'm confused... I don't see anything related to HTM in TCG. Also we have
> > the following in cap_htm_apply():
> >
> > if (tcg_enabled()) {
> > error_setg(errp,
> > "No Transactional Memory support in TCG, try
> > cap-htm=off");
> >
> > I'm probably missing something... can you enlighten me ?
>
> One of the two IBM machines -- and I thought it was ppc not s390x, but the
> code
> you quote seems to deny that memory -- has stub support for TM within TCG.
>
Oh ? I didn't know and didn't check :)
> To wit, the instructions are recognized and transactions always fail. Which
> is
> not a bad way to test the required fallback paths that rarely fail on
> hardware.
> ;-)
If TM instructions don't cause an exception, I guess its reasonable to say
they're supported :)
--
G
>
>
> r~
- [Qemu-ppc] [PATCH 2/3] spapr: fix leak in h_client_architecture_support(), (continued)
- [Qemu-ppc] [PATCH 2/3] spapr: fix leak in h_client_architecture_support(), Greg Kurz, 2018/06/12
- [Qemu-ppc] [PATCH 3/3] target/ppc: filter out non-zero PCR values when using TCG, Greg Kurz, 2018/06/12
- Re: [Qemu-ppc] [Qemu-devel] [PATCH 3/3] target/ppc: filter out non-zero PCR values when using TCG, Richard Henderson, 2018/06/14
- Re: [Qemu-ppc] [Qemu-devel] [PATCH 3/3] target/ppc: filter out non-zero PCR values when using TCG,
Greg Kurz <=
- Re: [Qemu-ppc] [Qemu-devel] [PATCH 3/3] target/ppc: filter out non-zero PCR values when using TCG, David Gibson, 2018/06/14
- Re: [Qemu-ppc] [Qemu-devel] [PATCH 3/3] target/ppc: filter out non-zero PCR values when using TCG, Richard Henderson, 2018/06/14
- Re: [Qemu-ppc] [Qemu-devel] [PATCH 3/3] target/ppc: filter out non-zero PCR values when using TCG, David Gibson, 2018/06/15
- Re: [Qemu-ppc] [Qemu-devel] [PATCH 3/3] target/ppc: filter out non-zero PCR values when using TCG, Greg Kurz, 2018/06/15
Re: [Qemu-ppc] [PATCH 1/3] target/ppc: drop empty #if/#endif block, David Gibson, 2018/06/12