From mboxrd@z Thu Jan 1 00:00:00 1970 From: steve.capper@linaro.org (Steve Capper) Date: Tue, 25 Feb 2014 17:08:38 +0000 Subject: [PATCH V2 0/3] PTE fixes for arm and arm64 In-Reply-To: <20140225152236.GE23136@mudshark.cambridge.arm.com> References: <1393328334-27285-1-git-send-email-steve.capper@linaro.org> <20140225152236.GE23136@mudshark.cambridge.arm.com> Message-ID: <20140225170838.GA10490@linaro.org> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Tue, Feb 25, 2014 at 03:22:36PM +0000, Will Deacon wrote: > On Tue, Feb 25, 2014 at 11:38:51AM +0000, Steve Capper wrote: > > This series fixes a couple of problems that I have come across: > > 1) Some pte accessors for arm and arm64 can have their results > > cancelled out by a downcast. This is addressed by the first two > > patches. > > > > 2) On arm with LPAE it is impossible to distinguish between clean > > writable ptes and read only ptes. This is addressed by the third > > patch. > > > > As the third patch depends on the first patch, all three patches are > > bundled together in the same series. > > > > I have reviewed Will and Russell's patch: > > b6ccb9803e90 ("ARM: 7954/1: mm: remove remaining domain support > > from ARMv6") > > And I believe that the L_PTE_WRITE logic should be compatible with this > > patch. It applies cleanly and compiles; but I would be greatful if > > someone could please give it a test. > > There's an 1136 on my desk with your name on it :) The 1136 appears to run fine with this series and your domain removal patch applied on top. Test writes to the vectors page from user space were unsuccessful (i.e. the board didn't explode when userspace attempted to write over the vectors page). Cheers, -- Steve > > Will