From patchwork Sat Sep 16 00:31:02 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Christopherson X-Patchwork-Id: 13387988 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 8A488CD37AF for ; Sat, 16 Sep 2023 00:33:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:Reply-To:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To:From:Subject:Message-ID :References:Mime-Version:In-Reply-To:Date:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=2taJ7wCcs1ritHaaXZn7ugazHhGizum+WWbiCNvhRdU=; b=0yeT03lMpHDhrH ywr0/Lh3kKgbeiSwGDasAhPKgXesmEBR4KD2RwEoqSlCiWFn0b4g0nGTXHH2rYlOZ/lGL0byhm+lF rkRjQu5ctWZqVKu+72Qij3IxUieIhFzcDpj6NPHwaAa4hpz01zZBe1F5ZqbbXcjQdFNwXpEqeEGT4 znOEFA+83ZVAq706itYiyLPspWv5DNWjrD0QJAL15ypPnKmm0u8I1ZyWNVn088b1oWRtYYmAZlSWe 7uY8WQQpPNWZT6yAFhLgyAx9bCOd/7xK8Pnol+Um3f2g/oFfD2e5M9fvfXUVqGuGHytcggfy1rjC6 /8s9QL+KVEHzz9WOXGZQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qhJEe-00BdUc-1N; Sat, 16 Sep 2023 00:32:32 +0000 Received: from mail-pl1-x64a.google.com ([2607:f8b0:4864:20::64a]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qhJDp-00Bcdl-2u for linux-arm-kernel@lists.infradead.org; Sat, 16 Sep 2023 00:31:47 +0000 Received: by mail-pl1-x64a.google.com with SMTP id d9443c01a7336-1c4375c1406so10017315ad.1 for ; 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=lists.infradead.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=Zd/zfv038dYUiRDxyELg0a6fDlsmbrpWr5tB+aXZA/vfZf87102BawQPdKPDc9FhQU vYXK6IOnOmCrJDuWw3V2yHmqGsMf+jkmYGkuQL+5MlPa55hXwDjVIOLV1z9s/zltRqIo 70iU43IrHOtsnz0KJG1YkRzPhFpxAisLFE+4wS9U4CB0Qhx85Qtp5Lazq/81INBrV/kv +zdszbRt5SRPQCiGc0x2MC8TKulgKOA2gRSxEixb0ggd9mQLDNi9m1gN1gFkAZdSz4zc 3SNNpxWM7MI+I3I/x3T95JH6A76Ys6PM85ibFJwokhUcolSCEjvIDztgjPkhFdRMofS1 EdmA== 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=MMvXp0h5rhLoSA8sns/cH4tZseEGQ0dlBSGpR0TEolOo1JIKvd2ygv7XqxvpXLaiIj ZuoJbz/6+g7l3z/oR6qEB46F6yYPwz8cULcgs4+Pe5CZc6WxRXRExCIqlSiZ/k7C0E/A lS1/csT6vzvtVzpNTuj8BZxjOcvop8rHZzWDhXcRzC6iexn0j07t88w+8g9WnqJAgrMf yC9Arq4pICmEbW/F5c0lXN8bqHax26biVnzKK9Xi0l1goqkZ52WhPP5ZfBT1ZsYdCQEL +wn+IgOHfJM0Bi72fA+Tg1qeXABSyikMPHtV7AecOK2DYbUDQbWWynM0fDXNMTSaouAU oHtQ== X-Gm-Message-State: AOJu0Ywc9nqJVS0U14iWOy1QXuV5UMnXvPPFo7TGWsRzZ+g6jBUivpEQ vEnhgxOVCY8hc7e0KSy3V1QlZEgrd20= X-Google-Smtp-Source: AGHT+IHW1P62bdhU5bhLcOltXlUxrv9g7sIQXkfjHJs3Wzbb395eeX6g+RNXiUsvwMV2ESouovB/6KamMFU= 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) 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 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230915_173141_977739_C0D3CAD8 X-CRM114-Status: GOOD ( 11.86 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Sean Christopherson Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 Reviewed-by: Claudio Imbrenda --- 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