Re: [PATCH v2 3/9] powerpc/powernv: Remove real mode access limit for early allocations

2017-09-12 Thread Benjamin Herrenschmidt
On Tue, 2017-09-12 at 15:43 +0530, Aneesh Kumar K.V wrote: > Yes. I added the limit to radix after I observed that we have MSR[SF] = > 0. > > IIRC it was PACA access that was causing it to crash on return from RTAS. > > hmm the commit also explains that. > > powerpc/mm/radix: Limit paca

Re: [PATCH v2 3/9] powerpc/powernv: Remove real mode access limit for early allocations

2017-09-12 Thread Aneesh Kumar K.V
Benjamin Herrenschmidt writes: > On Mon, 2017-08-14 at 22:49 +1000, Michael Ellerman wrote: >> > - /* >> > - * We limit the allocation that depend on ppc64_rma_size >> > - * to first_memblock_size. We also clamp it to 1GB to >> > - * avoid some funky things

Re: [PATCH v2 3/9] powerpc/powernv: Remove real mode access limit for early allocations

2017-08-15 Thread Nicholas Piggin
On Tue, 15 Aug 2017 22:48:22 +1000 Benjamin Herrenschmidt wrote: > On Tue, 2017-08-15 at 22:10 +1000, Nicholas Piggin wrote: > > On Mon, 14 Aug 2017 23:13:07 +1000 > > Benjamin Herrenschmidt wrote: > > > > > On Mon, 2017-08-14 at 22:49 +1000, Michael

Re: [PATCH v2 3/9] powerpc/powernv: Remove real mode access limit for early allocations

2017-08-15 Thread Benjamin Herrenschmidt
On Tue, 2017-08-15 at 22:10 +1000, Nicholas Piggin wrote: > On Mon, 14 Aug 2017 23:13:07 +1000 > Benjamin Herrenschmidt wrote: > > > On Mon, 2017-08-14 at 22:49 +1000, Michael Ellerman wrote: > > > > - /* > > > > - * We limit the allocation that depend on

Re: [PATCH v2 3/9] powerpc/powernv: Remove real mode access limit for early allocations

2017-08-15 Thread Nicholas Piggin
On Mon, 14 Aug 2017 23:13:07 +1000 Benjamin Herrenschmidt wrote: > On Mon, 2017-08-14 at 22:49 +1000, Michael Ellerman wrote: > > > - /* > > > - * We limit the allocation that depend on ppc64_rma_size > > > - * to first_memblock_size. We also clamp it to 1GB to >

Re: [PATCH v2 3/9] powerpc/powernv: Remove real mode access limit for early allocations

2017-08-14 Thread Nicholas Piggin
On Mon, 14 Aug 2017 23:10:50 +1000 Benjamin Herrenschmidt wrote: > On Mon, 2017-08-14 at 22:49 +1000, Michael Ellerman wrote: > > Nicholas Piggin writes: > > > > > This removes the RMA limit on powernv platform, which constrains > > > early allocations

Re: [PATCH v2 3/9] powerpc/powernv: Remove real mode access limit for early allocations

2017-08-14 Thread Benjamin Herrenschmidt
On Mon, 2017-08-14 at 22:49 +1000, Michael Ellerman wrote: > > - /* > > - * We limit the allocation that depend on ppc64_rma_size > > - * to first_memblock_size. We also clamp it to 1GB to > > - * avoid some funky things such as RTAS bugs. > > That comment about RTAS is 7 years

Re: [PATCH v2 3/9] powerpc/powernv: Remove real mode access limit for early allocations

2017-08-14 Thread Benjamin Herrenschmidt
On Mon, 2017-08-14 at 22:49 +1000, Michael Ellerman wrote: > Nicholas Piggin writes: > > > This removes the RMA limit on powernv platform, which constrains > > early allocations such as PACAs and stacks. There are still other > > restrictions that must be followed, such as

Re: [PATCH v2 3/9] powerpc/powernv: Remove real mode access limit for early allocations

2017-08-14 Thread Michael Ellerman
Nicholas Piggin writes: > This removes the RMA limit on powernv platform, which constrains > early allocations such as PACAs and stacks. There are still other > restrictions that must be followed, such as bolted SLB limits, but > real mode addressing has no constraints. > >