[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-ppc] [PATCH for-2.13 13/13] target/ppc: Fold slb_nr into PPCHa
From: |
David Gibson |
Subject: |
Re: [Qemu-ppc] [PATCH for-2.13 13/13] target/ppc: Fold slb_nr into PPCHash64Options |
Date: |
Fri, 6 Apr 2018 11:09:03 +1000 |
User-agent: |
Mutt/1.9.2 (2017-12-15) |
On Thu, Apr 05, 2018 at 03:27:34PM +0200, Cornelia Huck wrote:
> On Thu, 5 Apr 2018 15:12:55 +0200
> Greg Kurz <address@hidden> wrote:
>
> > On Thu, 5 Apr 2018 12:14:37 +1000
> > David Gibson <address@hidden> wrote:
>
> > > @@ -4000,7 +4000,12 @@ DEFINE_SPAPR_MACHINE(2_13, "2.13", true);
> > > * pseries-2.12
> > > */
> > > #define SPAPR_COMPAT_2_12 \
> > > - HW_COMPAT_2_12
> >
> > This hunk doesn't apply on master, nor on your ppc-for-2.13 branch...
> >
> > It looks like a patch to introduce the 2.13 machine type is missing.
> >
> > FWIW, Connie has already queued a patch to do so for s390x, that also
> > introduces HW_COMPAT_2_12.
> >
> > https://github.com/cohuck/qemu/commit/b54cde7350b6681b4349b904e0f9a8a8d58c0951
> >
> > Maybe the HW_COMPAT_ macros should be added in a standalone patch ?
> >
> > Cc'ing Connie for insights.
> >
> > > + HW_COMPAT_2_12 \
> > > + { \
> > > + .driver = TYPE_POWERPC_CPU, \
> > > + .property = "pre-2.13-migration", \
> > > + .value = "on", \
> > >
>
> I think the usual procedure is
>
> - every arch that uses compat machines queues a patch that creates the
> new compat machine(s) and adds an empty HW_COMPAT_<version>
> - whoever has their queue pulled first wins wrt hw_compat
That's my understanding as well. It's an easy conflict to resolve.
> So, I'm happy with anyone adding the empty HW_COMPAT_2_12 -- it needn't
> be me :)
Likewise. I'm planning to keep it in my tree for the time being, so
as not to rely on external patches, but when the 2.13 tree opens, who
wins the race is mostly chance, and that's fine.
> [We could also introduce the 2.13 machines for all architectures in one
> sweep, but I think that would be generating needless churn for arch
> maintainers.]
>
--
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
signature.asc
Description: PGP signature
- [Qemu-ppc] [PATCH for-2.13 10/13] target/ppc: Fold ci_large_pages flag into PPCHash64Options, (continued)
- [Qemu-ppc] [PATCH for-2.13 10/13] target/ppc: Fold ci_large_pages flag into PPCHash64Options, David Gibson, 2018/04/04
- [Qemu-ppc] [PATCH for-2.13 04/13] target/ppc: Avoid taking "env" parameter to mmu-hash64 functions, David Gibson, 2018/04/04
- [Qemu-ppc] [PATCH for-2.13 09/13] target/ppc: Move 1T segment and AMR options to PPCHash64Options, David Gibson, 2018/04/04
- [Qemu-ppc] [PATCH for-2.13 12/13] target/ppc: Get rid of POWERPC_MMU_VER() macros, David Gibson, 2018/04/04
- [Qemu-ppc] [PATCH for-2.13 07/13] target/ppc: Split page size information into a separate allocation, David Gibson, 2018/04/04
- [Qemu-ppc] [PATCH for-2.13 13/13] target/ppc: Fold slb_nr into PPCHash64Options, David Gibson, 2018/04/04