From patchwork Mon Mar 18 14:57:19 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wei Liu X-Patchwork-Id: 10857865 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id E86531575 for ; Mon, 18 Mar 2019 14:59:12 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CB8AD27F92 for ; Mon, 18 Mar 2019 14:59:12 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BC63C27F9F; Mon, 18 Mar 2019 14:59:12 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 6C47127F91 for ; Mon, 18 Mar 2019 14:59:12 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1h5thj-00081U-B7; Mon, 18 Mar 2019 14:57:31 +0000 Received: from all-amaz-eas1.inumbo.com ([34.197.232.57] helo=us1-amaz-eas2.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1h5thh-000814-W2 for xen-devel@lists.xenproject.org; Mon, 18 Mar 2019 14:57:30 +0000 X-Inumbo-ID: 24e55114-498e-11e9-917f-3390f170c329 Received: from SMTP03.CITRIX.COM (unknown [162.221.156.55]) by us1-amaz-eas2.inumbo.com (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vudD6K+bJFAc8SdKpO8oW/OGitx46JMMNlwrv0OcvvKo0jGlboGiBIBVkDHSU7qhdF+xSwq rs3Ptj3Dtwbum+Pe26J4PA4F1kTwQr9/khJ7PH5pMoiA8FDMv63zi0U4TkJhBNCN8CPdjzKR onFfN0H+hA9ozGe52fEV2peRo7q6N6c6zJrQXLeaE6Vqtm69s/btkO77zfUh7jZEAEMgiD8I 6eE9KAYmGAuj+x5sdqXVAuaxnao3ndi7/qItQWohj3cBj9E7GgdI5ZTX0mu1Q/Feps29pgIl 41VqzYGU2L9p5IxPHIgH0njL0kfa8u7yoTz11YiUL85zoSrcP2xJpS5e1G9lekloihUgUCsZ I8pVivGDdiNwfKtQVwBa/lOitEGD1DsJ4s6Z5UWm9IpLjJ6uU4ywDRVAY3BqAmY8uP6YxgpL LpUGeYwgagjwODBM30xJH/L/miWo3oJPeF0/Sv6uq4/1zdN5vlAapS1Z7WBAUK0GkWub9U+4 Ufjf9IZxz1/50XH1HWi5mJIdD0fV6bNStYYnuEaesfabLpZdjcg1jBa/p3ZxGWb5bMSziYJi qqOAvAT0eBLj33rd9fxzeke8465f8FgPMZEY214iR927G3RdQTzQ+8LZZlSwvqsAXUh18+Q8 UdDQ/3EGDvPrV3TS1nouhSAqhpBntBosadGc4nge9fHLQx2EC271B+NLa5HYIjn2B4n7fQpE rL/PHC+L9lDH7ullutxHxCwGIuy7bA3nbmEPp3O1NoKty/8U3a64/WY3CfVGXb6uqmwg8iUj Ttru1/7nbFyGtnVNHnYdPtRwB5St7kZOqy+KjP X-IronPort-AV: E=Sophos;i="5.58,494,1544486400"; d="scan'208";a="80881945" From: Wei Liu To: Date: Mon, 18 Mar 2019 14:57:19 +0000 Message-ID: <20190318145719.11396-3-wei.liu2@citrix.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190318145719.11396-1-wei.liu2@citrix.com> References: <20190318145719.11396-1-wei.liu2@citrix.com> MIME-Version: 1.0 Subject: [Xen-devel] [PATCH 2/2] x86/pvshim: use 2M alignment X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Andrew Cooper , Wei Liu , Jan Beulich , =?utf-8?q?Roger_Pau_Monn=C3=A9?= Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" X-Virus-Scanned: ClamAV using ClamSMTP The pvshim is loaded directly by toolstack. Use 2M alignment for potential better performance. Signed-off-by: Wei Liu --- xen/arch/x86/configs/pvshim_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/xen/arch/x86/configs/pvshim_defconfig b/xen/arch/x86/configs/pvshim_defconfig index a12e3d0465..8e50b60cda 100644 --- a/xen/arch/x86/configs/pvshim_defconfig +++ b/xen/arch/x86/configs/pvshim_defconfig @@ -5,6 +5,7 @@ CONFIG_PVH_GUEST=y CONFIG_PV_SHIM=y CONFIG_PV_SHIM_EXCLUSIVE=y CONFIG_NR_CPUS=32 +CONFIG_XEN_ALIGN_2M=y # Disable features not used by the PV shim # CONFIG_SHADOW_PAGING is not set # CONFIG_BIGMEM is not set