Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp5088220rdb; Sat, 16 Sep 2023 02:21:48 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHLmsUzaCCEB2QT1RiQwOgNtk9vF+VgBUCAVdXh/ivPaGzgKO24BcerkDsrYwpmB256KwNm X-Received: by 2002:a17:903:187:b0:1b8:5b70:2988 with SMTP id z7-20020a170903018700b001b85b702988mr3663934plg.30.1694856108520; Sat, 16 Sep 2023 02:21:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694856108; cv=none; d=google.com; s=arc-20160816; b=SlVqKg8EJBLZx64B6qOf02Fom2d59ib+ufjU8C5v+xdsJQGiJAfxpazTTbByoMTX3V UXvlFXlztRwWFA3NB5ngujvXOMwCtGydWBCYWSCaUavoehLPHK9RdkhgupibIx84lf3V Jbj7+Bg82H5GKxATdYg94I19FxLjxTqq106U5kVaKgiEmMN4OxqDesKV+DsE4KyFUw68 J2xYwLEXF4EPVvtsRvc6VRkOdGeSJ7SXLGiWL1KTLnQKlZ8AftWzgwLVz9MJwyHpHmk3 zYX4nZDrWMbdhaEh4ZoFEamCTd2Zx6UFqMB7NF2fW6IMenXNZhePo0GJO3KgH7m8Ck1e pF+Q== 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=2bGNmVCdNvvogzEXgW0zNdAXreJziaadtBBldNfFmhI=; fh=kXSkXFacTVTlVHq0XnHvR0iN61knZqi7sPJIGv3JAWo=; b=LBWMYNu2axwOx7fYKpwe4pKieQG/YF4S79CSNHEsgQC93Djo/SUBcvqBi4QvKYUIpe JSj/HzdFrmuo85sfDEJyklkYuHvU+Bx9XhmCGxlEYnRNBXMCesJkfNWV2Z2NEKimEI5s FPYsT8D3dLhZ0uSxHAy/DdIIMr2/8qUNt3Lu8JC2opITa4y9ATNNpVePrZtSAc5gPflG 3a+i0qUBCSfV5g5qRSFuT6MgmjXWnpQfhtO61ZvMMCoJIW4Fc6Bth+cqccImCI2aCG3n FoU1yaOkOM2xjoiD/27bxifz3oBJz9nZrjPHN8RxbDk5vMpHY34w2omY38prTIgztQLV 5jEg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=4WEhzq8Y; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id s18-20020a17090330d200b001b50cc75c2dsi2280871plc.611.2023.09.16.02.21.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 16 Sep 2023 02:21:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=4WEhzq8Y; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 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 lipwig.vger.email (Postfix) with ESMTP id EF2E3834E7BF; Fri, 15 Sep 2023 17:35:33 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238883AbjIPAe5 (ORCPT + 99 others); Fri, 15 Sep 2023 20:34:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43494 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238873AbjIPAeC (ORCPT ); Fri, 15 Sep 2023 20:34:02 -0400 Received: from mail-yb1-xb4a.google.com (mail-yb1-xb4a.google.com [IPv6:2607:f8b0:4864:20::b4a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1A7801BDC for ; Fri, 15 Sep 2023 17:31:37 -0700 (PDT) Received: by mail-yb1-xb4a.google.com with SMTP id 3f1490d57ef6-d818e01823aso3037314276.2 for ; Fri, 15 Sep 2023 17:31:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1694824296; x=1695429096; 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=2bGNmVCdNvvogzEXgW0zNdAXreJziaadtBBldNfFmhI=; b=4WEhzq8YYbH5MYS8LF3fNZDW9/doxPBMM5mnRkHh7rJfKucqCpmHfMn8Dk8I5T1Vjw r7GKVcMcJezlwbwZdQwe5awi4/JsVEXewSxl/8kp7Zq7Jsnufc0JDsztP0h7mR5pI0hk 90GGOrwszrDkx1ckPXbKoPWJITxFpbbVdVMfjuB1P12117rdZoMXWD/T6fi2bLBNYM37 qNnR1Xa0L12cfVJN4IQcUJIBgcxgx3WqXFeJlD79YjBEClF6YfD2xbgF61lTjSnKppKl wuTsp8sAceoHv77LPkGb4unAjBl8gAta2F+LLf2CZKmCUljmlURPF6ZLjRkpYyfMkyjv k+QA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694824296; x=1695429096; 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=2bGNmVCdNvvogzEXgW0zNdAXreJziaadtBBldNfFmhI=; b=mezVWgMf9Dk0+D4GUZSpScth82oT8zMy92sTLiklIMjyEiO4JQUurrIFMamWFWRg8L 2a99N7gpSfVA4wEjRAzcqjE0oeAPc+xa94ffXPcDkB5L9+hQZ/+V2kuaZ2SSQIPaPr9i fBXcIErWaH9t3yx8StBanUc0Cu4OBXtHTdS5hf1bm1DaR//LxE+tBMKEaJBUxCBeAYXS DJ7DOvk6rQ1o4BHWrFFp4/IUgUnumyoCHx98IEJ9aG2xyTSkWqGOFJNZuTuxVzsukGFi ejLUjVlVxbN4BgkDVsJpfFhWtz5RDUlEvoy1AGIbnXzJ2v64qRojorgIh5Xz98R6+LAp d9mQ== X-Gm-Message-State: AOJu0Yyo8MSzLyF/MbacXlgPuoC1vJFq4QeE6/Ot9Ywpbth62wsEZh/u Ze2fUo74+DzjokeMgqPDvWwAkTcwARc= X-Received: from zagreus.c.googlers.com ([fda3:e722:ac3:cc00:7f:e700:c0a8:5c37]) (user=seanjc job=sendgmr) by 2002:a25:2982:0:b0:d05:98ef:c16b with SMTP id p124-20020a252982000000b00d0598efc16bmr77753ybp.5.1694824296181; Fri, 15 Sep 2023 17:31:36 -0700 (PDT) Reply-To: Sean Christopherson Date: Fri, 15 Sep 2023 17:31:00 -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-9-seanjc@google.com> Subject: [PATCH 08/26] KVM: x86: Stop selecting and depending on HAVE_KVM From: Sean Christopherson To: Catalin Marinas , Will Deacon , Marc Zyngier , Oliver Upton , Huacai Chen , Michael Ellerman , Anup Patel , Paul Walmsley , Palmer Dabbelt , Albert Ou , Heiko Carstens , Vasily Gorbik , Alexander Gordeev , Christian Borntraeger , Janosch Frank , Claudio Imbrenda , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org, Peter Zijlstra , Arnaldo Carvalho de Melo , Sean Christopherson , Paolo Bonzini , Tony Krowiak , Halil Pasic , Jason Herne , Harald Freudenberger , Alex Williamson , Andy Lutomirski 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 , Venkatesh Srinivas , Andrew Thornton Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Fri, 15 Sep 2023 17:35:34 -0700 (PDT) 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 lipwig.vger.email Now that nothing in x86 or architecture agnostic code consumes HAVE_KVM, stop selecting it in x86. This is one of several steps towards deleting HAVE_KVM from the common KVM Kconfig. Signed-off-by: Sean Christopherson --- arch/x86/Kconfig | 1 - arch/x86/kvm/Kconfig | 2 -- 2 files changed, 3 deletions(-) diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 982b777eadc7..32eb288a4e3a 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -240,7 +240,6 @@ config X86 select HAVE_FUNCTION_ERROR_INJECTION select HAVE_KRETPROBES select HAVE_RETHOOK - select HAVE_KVM select HAVE_LIVEPATCH if X86_64 select HAVE_MIXED_BREAKPOINTS_REGS select HAVE_MOD_ARCH_SPECIFIC diff --git a/arch/x86/kvm/Kconfig b/arch/x86/kvm/Kconfig index 0f01e5600b5f..8c5fb7f57b4c 100644 --- a/arch/x86/kvm/Kconfig +++ b/arch/x86/kvm/Kconfig @@ -7,7 +7,6 @@ source "virt/kvm/Kconfig" menuconfig VIRTUALIZATION bool "Virtualization" - depends on HAVE_KVM || X86 default y help Say Y here to get to see options for using your Linux host to run other @@ -20,7 +19,6 @@ if VIRTUALIZATION config KVM tristate "Kernel-based Virtual Machine (KVM) support" - depends on HAVE_KVM depends on HIGH_RES_TIMERS depends on X86_LOCAL_APIC select PREEMPT_NOTIFIERS -- 2.42.0.459.ge4e396fd5e-goog