From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753143AbaCaSMg (ORCPT ); Mon, 31 Mar 2014 14:12:36 -0400 Received: from smtp.codeaurora.org ([198.145.11.231]:38914 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752442AbaCaSMf (ORCPT ); Mon, 31 Mar 2014 14:12:35 -0400 Message-ID: <5339B011.7070006@codeaurora.org> Date: Mon, 31 Mar 2014 11:12:33 -0700 From: Laura Abbott User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: Kees Cook , "linux-arm-kernel@lists.infradead.org" CC: Russell King , Rob Herring , Olof Johansson , Catalin Marinas , Steve Capper , LKML Subject: Re: [PATCH v4] ARM: mm: fix reporting of read-only PMD bits References: <20140323042050.GA15181@www.outflux.net> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 3/28/2014 11:45 AM, Kees Cook wrote: > On Sat, Mar 22, 2014 at 9:20 PM, Kees Cook wrote: >> On non-LPAE ARMv6+, read-only PMD bits are defined with the combination >> "PMD_SECT_APX | PMD_SECT_AP_WRITE". Adjusted the bit masks to correctly >> report this. >> >> Signed-off-by: Kees Cook >> --- >> v4: >> - clean up defines for CPU versions; Rob Herring. >> v3: >> - check for pre-v6 CPUs on the page table report. >> v2: >> - reorder bits, suggested by Olof. > > Can anyone give this a test or ack? I've done build tests for all CPU > combinations, and runtime tests on v6 and LPAE. > > Thanks! > > -Kees > You are welcome to add Tested-by: Laura Abbott Laura -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation