Message ID | 20181219180349.242681-29-marc.zyngier@arm.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> 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 B90A36C2 for <patchwork-linux-arm@patchwork.kernel.org>; Wed, 19 Dec 2018 18:20:52 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AA74B2B563 for <patchwork-linux-arm@patchwork.kernel.org>; Wed, 19 Dec 2018 18:20:52 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9D3CD2B681; Wed, 19 Dec 2018 18:20:52 +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,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 4420D2B563 for <patchwork-linux-arm@patchwork.kernel.org>; Wed, 19 Dec 2018 18:20:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=3sY7seGvA0CcZANeF0dQE3fveqncWMYfspgFiBeU448=; b=lFd+UwQKPd+aK5 1tbc4X7fydq3ksFF4S2nvungSI0fQfn0QKX6y6tmi8rcE/QL0qhXRgLAh4YiZZ9Wl0T/IzzJ8DArO qoN733UJU2wFs8F6nL5ltAHZbMQzMWfcujN6eE6/EY4H8BFE1RDHh6Ch53wiuhQX1OQhOEip1nTxf jA4h1jgkSr4NQKYHfF2cySAtqGJMxeTGzVJuPeFKIUQh+5Ie4hAr0gNg8C4gLbt21NIQiDkU/cDn3 vc6xy88oZVU/cUubpU8ceLI0kc60ZplQZIrv/dGZoBYF21WWJFOlJN+/OeVLZlhkSxmR65a504WKn 36+sV5IwCiPuooQ8uFTw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gZgSZ-00017m-C1; Wed, 19 Dec 2018 18:20:43 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gZgSX-00010P-K5 for linux-arm-kernel@bombadil.infradead.org; Wed, 19 Dec 2018 18:20:41 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=lJMAY8R3oKtt9r0RCoOQlxCzI33FL3L7bVo06MoarHA=; b=uqdEB8MNQCxmWrhBWZ5drXYLzR GrAN6KgivtbImvCexQMEOGWQWOw/3O1DXUsxVsW/n4ls1wZWHySQUCJcVTd6VvC012ZQgdf7g8mux 98LwJliw7wXJbG6qTHu/MCNj7omqTL2BshuYCaqoAe2Abdj64KOqoZF08/P+QKGII4SiIEYj/jrrJ aq5FbOCSBtGR+UPggNfUo6KZPco0AQ3UmgL2cQhtFBM9/gyO7L5JB6zGgdPqxGVsIROn+lUineech LQkOCPB/2OSqAM5whRhqlPk/+7tetrbpqr0EeahlncRCIfS1+qBvCT5JvZPzf56Joc/0C5QfucR6Q AZZ+SKcQ==; Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70] helo=foss.arm.com) by casper.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gZgDy-0008Ig-1f for linux-arm-kernel@lists.infradead.org; Wed, 19 Dec 2018 18:05:39 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 40DB2168F; Wed, 19 Dec 2018 10:05:27 -0800 (PST) Received: from filthy-habits.cambridge.arm.com (filthy-habits.cambridge.arm.com [10.1.196.62]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id B43933F675; Wed, 19 Dec 2018 10:05:24 -0800 (PST) From: Marc Zyngier <marc.zyngier@arm.com> To: Paolo Bonzini <pbonzini@redhat.com>, =?utf-8?b?UmFkaW0gS3LEjW3DocWZ?= <rkrcmar@redhat.com> Subject: [PATCH 28/28] arm: KVM: Add S2_PMD_{MASK,SIZE} constants Date: Wed, 19 Dec 2018 18:03:49 +0000 Message-Id: <20181219180349.242681-29-marc.zyngier@arm.com> X-Mailer: git-send-email 2.19.2 In-Reply-To: <20181219180349.242681-1-marc.zyngier@arm.com> References: <20181219180349.242681-1-marc.zyngier@arm.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181219_180538_218554_54E7AA96 X-CRM114-Status: UNSURE ( 9.43 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: Mark Rutland <mark.rutland@arm.com>, Punit Agrawal <punit.agrawal@arm.com>, kvm@vger.kernel.org, Julien Thierry <julien.thierry@arm.com>, "Gustavo A . R . Silva" <gustavo@embeddedor.com>, Will Deacon <will.deacon@arm.com>, Christoffer Dall <christoffer.dall@arm.com>, linux-arm-kernel@lists.infradead.org, punitagrawal@gmail.com, =?utf-8?q?Ale?= =?utf-8?q?x_Benn=C3=A9e?= <alex.bennee@linaro.org>, kvmarm@lists.cs.columbia.edu, Suzuki Poulose <suzuki.poulose@arm.com>, Lukas Braun <koomi@moshbit.net> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
[01/28] arm64: KVM: Skip MMIO insn after emulation
|
expand
|
diff --git a/arch/arm/include/asm/stage2_pgtable.h b/arch/arm/include/asm/stage2_pgtable.h index f9017167a8d1..c4b1d4fb1797 100644 --- a/arch/arm/include/asm/stage2_pgtable.h +++ b/arch/arm/include/asm/stage2_pgtable.h @@ -73,4 +73,7 @@ static inline bool kvm_stage2_has_pud(struct kvm *kvm) return false; } +#define S2_PMD_MASK PMD_MASK +#define S2_PMD_SIZE PMD_SIZE + #endif /* __ARM_S2_PGTABLE_H_ */