From patchwork Mon Nov 13 09:17:28 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christoffer Dall X-Patchwork-Id: 10055387 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 024C260586 for ; Mon, 13 Nov 2017 09:25:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EEE3129333 for ; Mon, 13 Nov 2017 09:25:09 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E2C132933C; Mon, 13 Nov 2017 09:25:09 +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=-4.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.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 167EC29333 for ; Mon, 13 Nov 2017 09:25:08 +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=TGlqTK462BjtD/pCfigBmWCLSVPmHU63cnId65oTQuM=; b=VmLN2uu9/oRVfvr2OtdnzvHASV 69/ArzAXjDr4joPxYkkPOg+sYjouNj9MAj8fFlYVmu8EWaTLfwlbaIDZ9mP28+oZpHYyinmAg1Zkd ttOnYVSgF1YbSnOXp7rVKS24YQHZ1n1/SA+EkEdFqarlK84Q3U2S5i2dFZ2pCsUBTHSWvYbUh1ZvH KozlvjiaxmkS2LcpLUhPt2xWh/zseTXb/WO4fUb5i1FpgOeama/W3WU38QAYk1K56pKN7qvshutI1 UDmaRstKbVTEjnmrnzfLZ5wPDjspT0Em5hIjLjRvxVWy1BN0bNgR4rQ+po5UlDWxBRpv4yzFIm6Rg +cJq4tMQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1eEAzH-0000vn-Vx; Mon, 13 Nov 2017 09:25:04 +0000 Received: from mail-wr0-x242.google.com ([2a00:1450:400c:c0c::242]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1eEAsl-00021s-ER for linux-arm-kernel@lists.infradead.org; Mon, 13 Nov 2017 09:18:22 +0000 Received: by mail-wr0-x242.google.com with SMTP id q66so13750765wrb.13 for ; Mon, 13 Nov 2017 01:17:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=qctrWEzAt0lbgaRUegeR4nok24h1poQZzKg4P7xtvwM=; b=We6TtJV+oo1NgtegIWKAgq8AM6GbmIsad/qa3DbWV3z4PN+gRYPhRGfR2NqeutxNbQ AULP73w9lTTgAF2r7O9inThTKFsqyR7EerD8eOOoGicMJfrD/zj8dcbB+t1xNpwc4h5B 7I/vWXH43ZYtIYn8WXWIS/JY6ZgkODpZn8PvM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=qctrWEzAt0lbgaRUegeR4nok24h1poQZzKg4P7xtvwM=; b=VuYR1MN78SQp50NTTacOXSlBAXMjmZFEqSa4E0FT6BcUNvy+cYd1+3lckOpnDzQM2H NLSqYW92mmvVSeUlyRDTJiWn0liPsnkgusK9qc8zz1iIboXBzuCOz5xT8kJLHfKtrs4l EgA1zTINZkbNwodwXD2tW8hFnyoMSpS+XBmTKtuw3fg7IEd0TzQhWL7PhCnRGy4azdOT 3KPbP2OaKktyVNXW5V0/dAyVj7N6Q/AGjwM1KGEOxiZcvzxSDtX2UD/QM5Mb0tSIJVMR myUYYYtNYQiaL4PhpvjBc4VOyTlreq25gmQH251rbawX7HOOizVhZ4mN5AsQdv9IjVth CX3g== X-Gm-Message-State: AJaThX7XQLINUpWk/i0ukoFVfrvUVwjp2lNttXGxfhN8mZH5x4hOHIH/ TZRe5UQD1w4gswsyumcNdPklYQ== X-Google-Smtp-Source: AGs4zMZ2zC5MHhIuDwqbCsK+frve6mJ6oTuC4G0DBvc44FolXLxyJ1Suy3uFBkGg6TCSJci0QtsKnQ== X-Received: by 10.223.138.246 with SMTP id z51mr1107331wrz.152.1510564677707; Mon, 13 Nov 2017 01:17:57 -0800 (PST) Received: from localhost.localdomain (xd93dd96b.cust.hiper.dk. [217.61.217.107]) by smtp.gmail.com with ESMTPSA id x63sm9651399wma.39.2017.11.13.01.17.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 13 Nov 2017 01:17:56 -0800 (PST) From: Christoffer Dall To: Paolo Bonzini , =?UTF-8?q?Radim=20Kr=C4=8Dm=C3=A1=C5=99?= Subject: [PULL 03/27] KVM: arm: Select ARM_GIC_V3 and ARM_GIC_V3_ITS Date: Mon, 13 Nov 2017 10:17:28 +0100 Message-Id: <20171113091752.10663-4-christoffer.dall@linaro.org> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20171113091752.10663-1-christoffer.dall@linaro.org> References: <20171113091752.10663-1-christoffer.dall@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171113_011819_643043_59AB8634 X-CRM114-Status: UNSURE ( 9.58 ) 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: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Marc Zyngier , Christoffer Dall , kvmarm@lists.cs.columbia.edu, linux-arm-kernel@lists.infradead.org, kvm@vger.kernel.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Marc Zyngier The GICv4 support introduces a hard dependency between the KVM core and the ITS infrastructure. arm64 already selects it at the architecture level, but 32bit doesn't. In order to avoid littering the kernel with #ifdefs, let's just select the whole of the GICv3 suport code. You know you want it. Acked-by: Christoffer Dall Signed-off-by: Marc Zyngier Signed-off-by: Christoffer Dall --- arch/arm/kvm/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/kvm/Kconfig b/arch/arm/kvm/Kconfig index 4e2b192a030a..52b50af04e3b 100644 --- a/arch/arm/kvm/Kconfig +++ b/arch/arm/kvm/Kconfig @@ -23,6 +23,8 @@ config KVM select PREEMPT_NOTIFIERS select ANON_INODES select ARM_GIC + select ARM_GIC_V3 + select ARM_GIC_V3_ITS select HAVE_KVM_CPU_RELAX_INTERCEPT select HAVE_KVM_ARCH_TLB_FLUSH_ALL select KVM_MMIO