From patchwork Tue Oct 25 09:21:10 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Henry Wang X-Patchwork-Id: 13018846 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A2EC0C04A95 for ; Tue, 25 Oct 2022 09:21:35 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.429681.680818 (Exim 4.92) (envelope-from ) id 1onG7i-0004Zx-7I; Tue, 25 Oct 2022 09:21:26 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 429681.680818; Tue, 25 Oct 2022 09:21:26 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1onG7i-0004Zo-3J; Tue, 25 Oct 2022 09:21:26 +0000 Received: by outflank-mailman (input) for mailman id 429681; Tue, 25 Oct 2022 09:21:24 +0000 Received: from se1-gles-sth1-in.inumbo.com ([159.253.27.254] helo=se1-gles-sth1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1onG7g-0004ZS-QI for xen-devel@lists.xenproject.org; Tue, 25 Oct 2022 09:21:24 +0000 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by se1-gles-sth1.inumbo.com (Halon) with ESMTP id 64e347fd-5446-11ed-91b5-6bf2151ebd3b; Tue, 25 Oct 2022 11:21:23 +0200 (CEST) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 62D36D6E; Tue, 25 Oct 2022 02:21:29 -0700 (PDT) Received: from entos-skylake.shanghai.arm.com (entos-skylake.shanghai.arm.com [10.169.212.207]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 097023F792; Tue, 25 Oct 2022 02:21:20 -0700 (PDT) X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 64e347fd-5446-11ed-91b5-6bf2151ebd3b From: Henry Wang To: xen-devel@lists.xenproject.org Cc: Henry Wang , Stefano Stabellini , Julien Grall , Bertrand Marquis , Volodymyr Babchuk Subject: [PATCH for-4.14-to-4.16 0/2] Backports for XSA-409 fixes Date: Tue, 25 Oct 2022 09:21:10 +0000 Message-Id: <20221025092112.50168-1-Henry.Wang@arm.com> X-Mailer: git-send-email 2.17.1 This series is a backported series for XSA-409 fixes from master for 4.14 to 4.16, which cherry-picking commits: 3783e583319f arm/p2m: Rework p2m_init() c7cff1188802 xen/arm: p2m: Populate pages for GICv2 mapping in p2m_init() Andrew Cooper (1): arm/p2m: Rework p2m_init() Henry Wang (1): xen/arm: p2m: Populate pages for GICv2 mapping in p2m_init() xen/arch/arm/domain.c | 2 +- xen/arch/arm/p2m.c | 58 +++++++++++++++++++++++++++++---------- xen/include/asm-arm/p2m.h | 14 +++++++--- 3 files changed, 55 insertions(+), 19 deletions(-)