On Wed, Jun 29, 2016 at 12:59:05PM +1000, Benjamin Herrenschmidt wrote:
> On Wed, 2016-06-29 at 12:41 +1000, David Gibson wrote:
> > > +        /* Actually we don't support unbounded RMA anymore since
> > we
> > > +         * added proper emulation of HV mode. The max we can get
> > is
> > > +         * 16G which also happens to be what we configure for PAPR
> > > +         * mode so make sure we don't do anything bigger than that
> > > +         */
> > > +        spapr->rma_size = MIN(spapr->rma_size, 0x400000000ull);
> > 
> > #1 - Instead of the various KVM / non-KVM cases here, it might be
> > simpler to just always clamp the RMA to 256MiB.
> 
> That would be sad ... we benefit from having a larger RMA..

Ah, ok.  Let's leave it as is, then.

-- 
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

Attachment: signature.asc
Description: PGP signature

Reply via email to