Message ID | 20230916003118.2540661-11-seanjc@google.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:172:b0:3f2:4152:657d with SMTP id h50csp1505116vqi; Fri, 15 Sep 2023 23:18:15 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG5t4T4JcsJN5ntqZL7OXWXZo3YqP7lOVxNjIefMmXcm02hg+H3b3meHkNTW7Yo3B43NMlV X-Received: by 2002:a05:6358:339f:b0:141:331:ffa7 with SMTP id i31-20020a056358339f00b001410331ffa7mr4399647rwd.24.1694845095447; Fri, 15 Sep 2023 23:18:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694845095; cv=none; d=google.com; s=arc-20160816; b=whWJsTMj2sdySu0yhUsvZisDx8ezVdutpUMSbG7Il52U4mGJjVjeACHQDtl4m5b0tf 7Ju6qA6k7opTfga/P1qAcYGDloiRsqwLXnlsK27tD58lhss8t8XfN2eQj0esP5mcX0vn nM8QdASXQi68XpbDG56mtRU95+SeqDWhT/8EhckCbUY3IIe9ukIG4l67vHYWFhh9tCD6 Z6isVNd2o0VGSJXkRtQwqonCNeJpH77hZiNpYgUUkpGHcSop9hqFmnYm1+RUuiplqZFL jrFh+CfTVBRvp9KGIM1Y9DWiPIUFXYU+/X79Eol2hIEax7E2924ujYKhZhLbJw+YWU/Q /NFw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:from:subject:message-id:references :mime-version:in-reply-to:date:reply-to:dkim-signature; bh=RPxwiI+CF5oY5axnD8PplP8rMTdwT2bOTUtJzDVfTIk=; fh=kXSkXFacTVTlVHq0XnHvR0iN61knZqi7sPJIGv3JAWo=; b=vMUOWSLxFtjqHCRPkxLFknG4HG+E45/lel7iadGJL6uMk9tkPW3sYy1vyK4PEGSXlk pK5qJ7Lec0RpugFHxY3Evz5mIflO8bdKnvn05JKBk9hyRpgiJMwPwQVuKMvjRydzL4Oz /CGaHHiNhMLkujoObvdomq+Gn53sVzsv3Aq71kWNwIHTzad7ErJT6mGWvrzBJxVF5QmP cJmgvKUsxskH9ppLn41+/ZURx12LB96J0ZF+xrPkO5TMVt/p9JXUBG+iaW4xVJeEt094 5zRfM1olieez68m/AAeTP7uLyWWjzeBmjmW+B5ebW+mz0NHRON4IqVvB5eWw1x827y6g ZM0w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=4JDunwJW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id b26-20020a6567da000000b00564b8e55214si4350313pgs.385.2023.09.15.23.18.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Sep 2023 23:18:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=4JDunwJW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 656368389DB5; Fri, 15 Sep 2023 17:34:55 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238826AbjIPAd4 (ORCPT <rfc822;realc9580@gmail.com> + 28 others); Fri, 15 Sep 2023 20:33:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37880 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238812AbjIPAd0 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 15 Sep 2023 20:33:26 -0400 Received: from mail-pl1-x64a.google.com (mail-pl1-x64a.google.com [IPv6:2607:f8b0:4864:20::64a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 29467E4D for <linux-kernel@vger.kernel.org>; Fri, 15 Sep 2023 17:31:41 -0700 (PDT) Received: by mail-pl1-x64a.google.com with SMTP id d9443c01a7336-1c4375c1406so10017335ad.1 for <linux-kernel@vger.kernel.org>; Fri, 15 Sep 2023 17:31:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1694824300; x=1695429100; darn=vger.kernel.org; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:reply-to:from:to:cc:subject:date:message-id:reply-to; bh=RPxwiI+CF5oY5axnD8PplP8rMTdwT2bOTUtJzDVfTIk=; b=4JDunwJWxDluddrMrRLTj/LNkgoGDpJZcWWCGcaCKouRqjfsjyOm4kgy50/93DGnZf 47M5ulzp+LdIpA7ytRU4ah7PBKR0ywSq/f3x4FE3+ygF+EYDC0Hwo2P6X9XHCShKXJaj u71jWAsO/NSqunHJVsy6qy6pdJs6MMiXYrJBeQi6yHoqBzETx5iksGAYkEILl8n/zmcD xRU9wBMR8d7612MakXTzQp0Hf9Yd/+YpQuO9F0zqCh8rS+7W/P8zRrBOCvcbZ0EmxGRP +K3N+t53IM5kD3mmQa9K98Yd7WDxTdEqa/YPORKKcln/NzLt+E3f7UH1RblOyCG42MRY yWBQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694824300; x=1695429100; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:reply-to:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=RPxwiI+CF5oY5axnD8PplP8rMTdwT2bOTUtJzDVfTIk=; b=sl49JWl/gegmDb0Iq5cec42KIERD1KYm3b7C0zx8mo8eWVwY0ULcsiCipiuUOnGmcV GVHIY49qQDSA/v7bhW7awUhiipabqx6p+BN2NY2Z462hy4/tOX2zVK4FJf4SmPRXKQCI F2SU3Ge5GStgInheb8Hp8EqVRGmnSV/J5nxomXB1t58AU2pyA8gEwojSXJKHqdUMTRsO uBQOPGvJRUcLs+FC8V99FzElt9cCehrdLCHtpT6UUzkRabA4uEBY2yRg1gXft5rdZ0vZ cUWYPxvSoCYBDm+r8B4zbIXyvUDWDue6jvzeUt94a7AJK1uKH1pV9LQ+wm4x+1rQidfU MpvA== X-Gm-Message-State: AOJu0YzTAwevfRnD3G26bZ4v1DO9lj4vAEHzi6mq5AGBAN3qyBal7QzK v6zZ7fSUhntvvMmtxHWlQxUvAzHmEzo= X-Received: from zagreus.c.googlers.com ([fda3:e722:ac3:cc00:7f:e700:c0a8:5c37]) (user=seanjc job=sendgmr) by 2002:a17:903:2302:b0:1b8:a555:385d with SMTP id d2-20020a170903230200b001b8a555385dmr88540plh.9.1694824300497; Fri, 15 Sep 2023 17:31:40 -0700 (PDT) Reply-To: Sean Christopherson <seanjc@google.com> Date: Fri, 15 Sep 2023 17:31:02 -0700 In-Reply-To: <20230916003118.2540661-1-seanjc@google.com> Mime-Version: 1.0 References: <20230916003118.2540661-1-seanjc@google.com> X-Mailer: git-send-email 2.42.0.459.ge4e396fd5e-goog Message-ID: <20230916003118.2540661-11-seanjc@google.com> Subject: [PATCH 10/26] KVM: s390: Stop selecting and depending on HAVE_KVM From: Sean Christopherson <seanjc@google.com> To: Catalin Marinas <catalin.marinas@arm.com>, Will Deacon <will@kernel.org>, Marc Zyngier <maz@kernel.org>, Oliver Upton <oliver.upton@linux.dev>, Huacai Chen <chenhuacai@kernel.org>, Michael Ellerman <mpe@ellerman.id.au>, Anup Patel <anup@brainfault.org>, Paul Walmsley <paul.walmsley@sifive.com>, Palmer Dabbelt <palmer@dabbelt.com>, Albert Ou <aou@eecs.berkeley.edu>, Heiko Carstens <hca@linux.ibm.com>, Vasily Gorbik <gor@linux.ibm.com>, Alexander Gordeev <agordeev@linux.ibm.com>, Christian Borntraeger <borntraeger@linux.ibm.com>, Janosch Frank <frankja@linux.ibm.com>, Claudio Imbrenda <imbrenda@linux.ibm.com>, Thomas Gleixner <tglx@linutronix.de>, Ingo Molnar <mingo@redhat.com>, Borislav Petkov <bp@alien8.de>, Dave Hansen <dave.hansen@linux.intel.com>, x86@kernel.org, Peter Zijlstra <peterz@infradead.org>, Arnaldo Carvalho de Melo <acme@kernel.org>, Sean Christopherson <seanjc@google.com>, Paolo Bonzini <pbonzini@redhat.com>, Tony Krowiak <akrowiak@linux.ibm.com>, Halil Pasic <pasic@linux.ibm.com>, Jason Herne <jjherne@linux.ibm.com>, Harald Freudenberger <freude@linux.ibm.com>, Alex Williamson <alex.williamson@redhat.com>, Andy Lutomirski <luto@kernel.org> Cc: linux-arm-kernel@lists.infradead.org, kvmarm@lists.linux.dev, linux-mips@vger.kernel.org, kvm@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, kvm-riscv@lists.infradead.org, linux-riscv@lists.infradead.org, linux-s390@vger.kernel.org, linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, Anish Ghulati <aghulati@google.com>, Venkatesh Srinivas <venkateshs@chromium.org>, Andrew Thornton <andrewth@google.com> Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-8.4 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_IN_DEF_DKIM_WL autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Fri, 15 Sep 2023 17:34:55 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1777173890647671895 X-GMAIL-MSGID: 1777173890647671895 |
Series |
KVM: vfio: Hide KVM internals from others
|
|
Commit Message
Sean Christopherson
Sept. 16, 2023, 12:31 a.m. UTC
Now that nothing in s390 or architecture agnostic code consumes HAVE_KVM,
stop selecting it in s390. This is one of several steps towards deleting
HAVE_KVM from the common KVM Kconfig.
Signed-off-by: Sean Christopherson <seanjc@google.com>
---
arch/s390/Kconfig | 1 -
arch/s390/kvm/Kconfig | 1 -
2 files changed, 2 deletions(-)
Comments
On Fri, 15 Sep 2023 17:31:02 -0700 Sean Christopherson <seanjc@google.com> wrote: > Now that nothing in s390 or architecture agnostic code consumes HAVE_KVM, > stop selecting it in s390. This is one of several steps towards deleting > HAVE_KVM from the common KVM Kconfig. > > Signed-off-by: Sean Christopherson <seanjc@google.com> > --- > arch/s390/Kconfig | 1 - > arch/s390/kvm/Kconfig | 1 - > 2 files changed, 2 deletions(-) > > diff --git a/arch/s390/Kconfig b/arch/s390/Kconfig > index ae29e4392664..8a5dca0036d9 100644 > --- a/arch/s390/Kconfig > +++ b/arch/s390/Kconfig > @@ -193,7 +193,6 @@ config S390 > select HAVE_KPROBES > select HAVE_KPROBES_ON_FTRACE > select HAVE_KRETPROBES > - select HAVE_KVM > select HAVE_LIVEPATCH > select HAVE_MEMBLOCK_PHYS_MAP > select HAVE_MOD_ARCH_SPECIFIC > diff --git a/arch/s390/kvm/Kconfig b/arch/s390/kvm/Kconfig > index 459d536116a6..9056cee72945 100644 > --- a/arch/s390/kvm/Kconfig > +++ b/arch/s390/kvm/Kconfig > @@ -19,7 +19,6 @@ if VIRTUALIZATION > config KVM > def_tristate y > prompt "Kernel-based Virtual Machine (KVM) support" > - depends on HAVE_KVM > select PREEMPT_NOTIFIERS > select HAVE_KVM_CPU_RELAX_INTERCEPT > select HAVE_KVM_VCPU_ASYNC_IOCTL it looks like we don't use HAVE_KVM on s390x Reviewed-by: Claudio Imbrenda <imbrenda@linux.ibm.com>
diff --git a/arch/s390/Kconfig b/arch/s390/Kconfig index ae29e4392664..8a5dca0036d9 100644 --- a/arch/s390/Kconfig +++ b/arch/s390/Kconfig @@ -193,7 +193,6 @@ config S390 select HAVE_KPROBES select HAVE_KPROBES_ON_FTRACE select HAVE_KRETPROBES - select HAVE_KVM select HAVE_LIVEPATCH select HAVE_MEMBLOCK_PHYS_MAP select HAVE_MOD_ARCH_SPECIFIC diff --git a/arch/s390/kvm/Kconfig b/arch/s390/kvm/Kconfig index 459d536116a6..9056cee72945 100644 --- a/arch/s390/kvm/Kconfig +++ b/arch/s390/kvm/Kconfig @@ -19,7 +19,6 @@ if VIRTUALIZATION config KVM def_tristate y prompt "Kernel-based Virtual Machine (KVM) support" - depends on HAVE_KVM select PREEMPT_NOTIFIERS select HAVE_KVM_CPU_RELAX_INTERCEPT select HAVE_KVM_VCPU_ASYNC_IOCTL