Message ID | 20180813145755.16566-36-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 52F8C157B for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 13 Aug 2018 15:53:35 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4090121FAC for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 13 Aug 2018 15:53:35 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 31957290DC; Mon, 13 Aug 2018 15:53:35 +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=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI 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 D45EA21FAC for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 13 Aug 2018 15:53:34 +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:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: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=C1j93AbPIAm5hEl6FwyDETniFRrtfju6wgkIzMfoFUg=; b=f42lh6Ar2TZMJQB5Hog3OvioWq 4HFLdYKSP1lXEih/S16I5eK70G0GXhbEyFks99nozXZLsIbHVv1XtFQiij81jb0+rwTMvVIJ4zNp8 wWDLI1Spa7XtrYOXiR2w8odRmkGPVj8VtqGayzl2d3jJ5QhyLK0IkbUK1Fd09zIku3uRByu6dbeDE SOkGwGvWF0zGI9kWD4M82b44JEfjdIwflKZW9JM6JrF2/TSYyNXk3sfJQP3gb9giRl9hcgIicciZf 1LTeMC3FNMG6A4J0wQq2jz8MXyLMerlt5KTmRVRPFsjoWtYyWxvzSVXzGZAHiNsz+gryWZOoSiAwv 6f7KDq0A==; 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 1fpF9w-00083K-15; Mon, 13 Aug 2018 15:53:32 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fpF9e-0007eD-9H for linux-arm-kernel@bombadil.infradead.org; Mon, 13 Aug 2018 15:53:14 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding: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=eZpP4CIqSNY04eWzspceTi58f9yVq2xiK8/aZmdfQfE=; b=aVvEH+wUKwVXukSm2LxNhOnQ2 D6dDomZjoSoOvNikhArE3bMGekWKgQF5+ud+05NJ/5v+QwpQZhFG3xwqzWEhFyBzCvfKitfV/DjiK V8x2Hy9ah+AVsMfGY7fjx0qXEH58c3LGG94pzV5fW9C9i55wWF/GnxzibJZdfpREwOooT3ZjFJZfG 6i0E+/mpL1MRx/dUUzhmpSypkcdOUp8gKtHJ2eCxyeUn5C8TGGT9cAnZsj0cAmdj5yXan/TJjLYZr MVeHOAUgrZD1xrZbd5dmeNZdsmeKm4eopQDiPlygrfpsoWtRBdx+LzJpjB4NCY39EyjvcpduIhwIt T6rkb2fng==; Received: from foss.arm.com ([217.140.101.70]) by merlin.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fpEKn-0004c0-VH for linux-arm-kernel@lists.infradead.org; Mon, 13 Aug 2018 15:00:42 +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 D34BD1688; Mon, 13 Aug 2018 08:00:41 -0700 (PDT) Received: from approximate.Emea.Arm.com (approximate.Emea.Arm.com [10.4.13.119]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id E1B483F5D0; Mon, 13 Aug 2018 08:00:38 -0700 (PDT) From: Marc Zyngier <marc.zyngier@arm.com> To: Paolo Bonzini <pbonzini@redhat.com>, =?utf-8?b?UmFkaW0gS3LEjW3DocWZ?= <rkrcmar@redhat.com> Subject: [PATCH 35/37] KVM: arm: Use true and false for boolean values Date: Mon, 13 Aug 2018 15:57:53 +0100 Message-Id: <20180813145755.16566-36-marc.zyngier@arm.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180813145755.16566-1-marc.zyngier@arm.com> References: <20180813145755.16566-1-marc.zyngier@arm.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180813_110042_112898_1DE907B5 X-CRM114-Status: GOOD ( 13.31 ) 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>, Andrew Jones <drjones@redhat.com>, Kees Cook <keescook@chromium.org>, kvm@vger.kernel.org, "Gustavo A . R . Silva" <gustavo@embeddedor.com>, Andre Przywara <andre.przywara@arm.com>, Punit Agrawal <punit.agrawal@arm.com>, Christoffer Dall <christoffer.dall@arm.com>, Dongjiu Geng <gengdongjiu@huawei.com>, Jia He <jia.he@hxt-semitech.com>, Eric Auger <eric.auger@redhat.com>, James Morse <james.morse@arm.com>, Catalin Marinas <catalin.marinas@arm.com>, Suzuki Poulose <suzuki.poulose@arm.com>, kvmarm@lists.cs.columbia.edu, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 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/37] arm64: KVM: Add support for Stage-2 control of memory types and cacheability
|
expand
|
diff --git a/arch/arm/include/asm/kvm_emulate.h b/arch/arm/include/asm/kvm_emulate.h index b50fe8380868..2b7eed21b20e 100644 --- a/arch/arm/include/asm/kvm_emulate.h +++ b/arch/arm/include/asm/kvm_emulate.h @@ -119,7 +119,7 @@ static inline void vcpu_set_wfe_traps(struct kvm_vcpu *vcpu) static inline bool vcpu_mode_is_32bit(const struct kvm_vcpu *vcpu) { - return 1; + return true; } static inline unsigned long *vcpu_pc(struct kvm_vcpu *vcpu)