From: Chris Brand Subject: [PATCH 0/2 v2] xen: arm: Ensure all PTE bits have a known value Date: Thu, 20 Aug 2015 16:33:13 -0700 Message-ID: <1440113595-6961-1-git-send-email-chris.brand@broadcom.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xen.org Cc: Julien Grall , Stefano Stabellini , Ian Campbell List-Id: xen-devel@lists.xenproject.org This is more-or-less what Julien requested. He noted that pt.config was never set to zero. When I looked further, I found other bits that were also never given a value. Looking at the callsites, they almost all seem to assume a value of zero, so that's what I went with. Patch 1 re-orders the assignments to match the declaration, making it clearer which ones are missing. Patch 2 then adds the missing bits. Chris Chris Brand (2): xen: arm re-order assignments in mfn_to_xen_entry() xen: arm: Set all bits in mfn_to_xen_entry() xen/include/asm-arm/page.h | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) -- 1.9.1