Re: [PATCH] spapr: Rework hash<->radix transitions at CAS

2020-02-24 Thread David Gibson
On Mon, Feb 24, 2020 at 12:18:27PM +0100, Greg Kurz wrote: > On Wed, 19 Feb 2020 10:21:05 +1100 > David Gibson wrote: > > > On Fri, Feb 14, 2020 at 07:19:00PM +0100, Greg Kurz wrote: > > > On Fri, 14 Feb 2020 09:28:35 +1100 > > > David Gibson wrote: > > > > > > > On Thu, Feb 13, 2020 at 04:38:3

Re: [PATCH] spapr: Rework hash<->radix transitions at CAS

2020-02-24 Thread Greg Kurz
On Wed, 19 Feb 2020 10:21:05 +1100 David Gibson wrote: > On Fri, Feb 14, 2020 at 07:19:00PM +0100, Greg Kurz wrote: > > On Fri, 14 Feb 2020 09:28:35 +1100 > > David Gibson wrote: > > > > > On Thu, Feb 13, 2020 at 04:38:38PM +0100, Greg Kurz wrote: > > > > Until the CAS negotiation is over, an H

Re: [PATCH] spapr: Rework hash<->radix transitions at CAS

2020-02-18 Thread David Gibson
On Fri, Feb 14, 2020 at 07:19:00PM +0100, Greg Kurz wrote: > On Fri, 14 Feb 2020 09:28:35 +1100 > David Gibson wrote: > > > On Thu, Feb 13, 2020 at 04:38:38PM +0100, Greg Kurz wrote: > > > Until the CAS negotiation is over, an HPT can be allocated on three > > > different paths: > > > > > > 1) d

Re: [PATCH] spapr: Rework hash<->radix transitions at CAS

2020-02-14 Thread Greg Kurz
On Fri, 14 Feb 2020 09:28:35 +1100 David Gibson wrote: > On Thu, Feb 13, 2020 at 04:38:38PM +0100, Greg Kurz wrote: > > Until the CAS negotiation is over, an HPT can be allocated on three > > different paths: > > > > 1) during machine reset if the host doesn't support radix, > > > > 2) during C

Re: [PATCH] spapr: Rework hash<->radix transitions at CAS

2020-02-13 Thread David Gibson
On Thu, Feb 13, 2020 at 04:38:38PM +0100, Greg Kurz wrote: > Until the CAS negotiation is over, an HPT can be allocated on three > different paths: > > 1) during machine reset if the host doesn't support radix, > > 2) during CAS if the guest wants hash and doesn't support HPT resizing, >in wh

[PATCH] spapr: Rework hash<->radix transitions at CAS

2020-02-13 Thread Greg Kurz
Until the CAS negotiation is over, an HPT can be allocated on three different paths: 1) during machine reset if the host doesn't support radix, 2) during CAS if the guest wants hash and doesn't support HPT resizing, in which case we pre-emptively resize the HPT to accomodate maxram, 3) during