From: Benjamin Herrenschmidt Date: Tue, 12 Sep 2017 10:26:07 +0000 Subject: Re: [PATCH v2 3/9] powerpc/powernv: Remove real mode access limit for early allocations Message-Id: <1505211967.12628.126.camel@au1.ibm.com> List-Id: References: <20170812113416.15978-1-npiggin@gmail.com> <20170813013346.14002-3-npiggin@gmail.com> <87h8xaqpp8.fsf@concordia.ellerman.id.au> <1502716387.4493.27.camel@au1.ibm.com> <87wp54usvj.fsf@linux.vnet.ibm.com> In-Reply-To: <87wp54usvj.fsf@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: "Aneesh Kumar K.V" , Michael Ellerman , Nicholas Piggin , linuxppc-dev@lists.ozlabs.org Cc: Suraj Jitindar Singh , kvm-ppc@vger.kernel.org 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 allocation in radix > > On return from RTAS we access the paca variables and we have 64 bit > disabled. This requires us to limit paca in 32 bit range. > > Fix this by setting ppc64_rma_size to first_memblock_size/1G range. That should be fixable with better use of temporaries... Ben.