From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sean Christopherson Date: Thu, 18 Jan 2024 09:40:36 -0800 Subject: [PATCH -fixes v2] RISC-V: KVM: Require HAVE_KVM In-Reply-To: References: <20240104123727.76987-2-ajones@ventanamicro.com> Message-ID: List-Id: To: kvm-riscv@lists.infradead.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit On Thu, Jan 18, 2024, Anup Patel wrote: > On Thu, Jan 4, 2024 at 6:07?PM Andrew Jones wrote: > > > > KVM requires EVENTFD, which is selected by HAVE_KVM. Other KVM > > supporting architectures select HAVE_KVM and then their KVM > > Kconfigs ensure its there with a depends on HAVE_KVM. Make RISCV > > consistent with that approach which fixes configs which have KVM > > but not EVENTFD, as was discovered with a randconfig test. > > > > Fixes: 99cdc6c18c2d ("RISC-V: Add initial skeletal KVM support") > > Reported-by: Randy Dunlap > > Closes: https://lore.kernel.org/all/44907c6b-c5bd-4e4a-a921-e4d3825539d8 at infradead.org/ > > Signed-off-by: Andrew Jones > > Queued this patch for Linux-6.8 That should be unnecessary. Commit caadf876bb74 ("KVM: introduce CONFIG_KVM_COMMON"), which is in Paolo's pull request for 6.8, addresses the EVENTFD issue. And the rest of Paolo's series[*], which presumably will get queued for 6.9, eliminates HAVE_KVM entirely. [*] https://lore.kernel.org/all/20240108124740.114453-6-pbonzini at redhat.com From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pg1-f202.google.com (mail-pg1-f202.google.com [209.85.215.202]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3E0D52D04B for ; Thu, 18 Jan 2024 17:40:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.202 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705599639; cv=none; b=uiMorvY2WKITdzDPVfZCmmt9pC1E++I4iJBZU8B5fRMUN6qck9jbP6t15PIHKNohRbqK2vjpkwfenIiZDsPSEtFAmMAqhGTtc/S6BYyAOv3hmQgxqz2Rp9olba8/BflVVLQ3nWwcFiWEyPoiJwtn7iuGLYUqETjo4TcFPPVkcMQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705599639; c=relaxed/simple; bh=ltTdpIF83mD4FLWoP8ES+hjgX7H5akmsbH+KpszV1Tw=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=vBQBMpQJlpFP3cnTaAXIbbOls6PW6mMNchuvfoYkwSjTkTGvJqzT7a02YTBsk1lO22x+th7i555K+5mE3OK3zW/W8xAs4ggn4sX1x2XzR9JlPIwFK1UxqqvsvaZTNpvZsUTQAeZYXwhaacz0BiIUV1iWiUM3HvyXgRIucf46kpY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=flex--seanjc.bounces.google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=olk/jPcO; arc=none smtp.client-ip=209.85.215.202 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flex--seanjc.bounces.google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="olk/jPcO" Received: by mail-pg1-f202.google.com with SMTP id 41be03b00d2f7-5cdf9a354a0so7629887a12.3 for ; Thu, 18 Jan 2024 09:40:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1705599637; x=1706204437; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:from:subject:message-id:references :mime-version:in-reply-to:date:from:to:cc:subject:date:message-id :reply-to; bh=5Q3C3WGrieoJdAKFaeIZlXobOygHM9XDpw7BX2KbOhI=; b=olk/jPcOL4P18CmMZSUtVuZLS1/hmMykvKVXtE47UIUdOVpEC43luKhwfj9E/nsUGX syyfL4xpvdeuuSQTA7VZ6oem8PxUpEMwLzj3+7biCEhfkdZR+XMqFfK6FGoyhhu67y3r 26q9AfNAgS2BkoqzObqM78oMFvm3n/+OYBcUOXguw5reox20j8ZIM7lgj/82kpoX3raa Wm2iIwLJjpNp2XCGM0MpPVO+2v5SeUhohXFKvaHD8noAunKUwzUDKGJBK7u62lwoT6r1 okP6bJyvaTrIPoJYYoDIwae7f0RatLauOG0sdKEXuIoyguvDMxuEXYeeKIeaTiWNADae 4YfA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705599637; x=1706204437; h=content-transfer-encoding:cc:to:from:subject:message-id:references :mime-version:in-reply-to:date:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=5Q3C3WGrieoJdAKFaeIZlXobOygHM9XDpw7BX2KbOhI=; b=Y/O8ZLSAzKgLKj8oT1U4t87Q4pKForataagwjGxAhicq998jfaCVWt1xKey1+DJYRs 0fs7marwsqb7MJHi+bqosFGcshfLlHXFtjZqIs/DG7n1Ki3Aq+7uglhBQNePANy2Flc7 vIIln120BKhwgBgenfRG7M0dNOAzCCyFbQwjsld3Ua2w2ePk7UHRRW22jcjOGLU7xm8r 0VMHfVDGKv+oaOlicwAyuvN/txN2R6k2inuD0eifgZFID+Zi09+8oFQtPIIVYzj9/13T O2Dh7RUBJCZRWHjU4XRLMmP0OwQgfT4RoGfvb6wMF2jcAOiBCj+kWIKtaRW0G5iLvnc5 uPkQ== X-Gm-Message-State: AOJu0Yx2Zbt5l2DFm3VipNFavffMM8wI9+vMHEOI4YvqqjTVJEK9uuTL dN2tJ9pkzRWy+luF7cRIzTDaO+MiYfeerEQiTM0rJa4o8wRQT6q6NtQlz1/K4p3a+mwSOHUhbj5 PoA== X-Google-Smtp-Source: AGHT+IHQno7PAwboCP87bGIkYG2fH+s8EoDNQ4sFTOlwoU3XmXeAa1RkI+vnnDxRDet8Cr9UHVnWumLJcOM= X-Received: from zagreus.c.googlers.com ([fda3:e722:ac3:cc00:7f:e700:c0a8:5c37]) (user=seanjc job=sendgmr) by 2002:a65:63c3:0:b0:5ce:1891:dfac with SMTP id n3-20020a6563c3000000b005ce1891dfacmr6154pgv.4.1705599637554; Thu, 18 Jan 2024 09:40:37 -0800 (PST) Date: Thu, 18 Jan 2024 09:40:36 -0800 In-Reply-To: Precedence: bulk X-Mailing-List: linux-next@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <20240104123727.76987-2-ajones@ventanamicro.com> Message-ID: Subject: Re: [PATCH -fixes v2] RISC-V: KVM: Require HAVE_KVM From: Sean Christopherson To: Anup Patel Cc: Andrew Jones , linux-riscv@lists.infradead.org, linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, kvm@vger.kernel.org, kvm-riscv@lists.infradead.org, paul.walmsley@sifive.com, palmer@dabbelt.com, aou@eecs.berkeley.edu, atishp@atishpatra.org, rdunlap@infradead.org, sfr@canb.auug.org.au, alex@ghiti.fr, mpe@ellerman.id.au, npiggin@gmail.com, linuxppc-dev@lists.ozlabs.org, pbonzini@redhat.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable On Thu, Jan 18, 2024, Anup Patel wrote: > On Thu, Jan 4, 2024 at 6:07=E2=80=AFPM Andrew Jones wrote: > > > > KVM requires EVENTFD, which is selected by HAVE_KVM. Other KVM > > supporting architectures select HAVE_KVM and then their KVM > > Kconfigs ensure its there with a depends on HAVE_KVM. Make RISCV > > consistent with that approach which fixes configs which have KVM > > but not EVENTFD, as was discovered with a randconfig test. > > > > Fixes: 99cdc6c18c2d ("RISC-V: Add initial skeletal KVM support") > > Reported-by: Randy Dunlap > > Closes: https://lore.kernel.org/all/44907c6b-c5bd-4e4a-a921-e4d3825539d= 8@infradead.org/ > > Signed-off-by: Andrew Jones >=20 > Queued this patch for Linux-6.8 That should be unnecessary. Commit caadf876bb74 ("KVM: introduce CONFIG_KV= M_COMMON"), which is in Paolo's pull request for 6.8, addresses the EVENTFD issue. And= the rest of Paolo's series[*], which presumably will get queued for 6.9, elimin= ates HAVE_KVM entirely. [*] https://lore.kernel.org/all/20240108124740.114453-6-pbonzini@redhat.com From mboxrd@z Thu Jan 1 00:00:00 1970 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 DCC25C47DB3 for ; Thu, 18 Jan 2024 17:40:55 +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: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:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=7X3NPl8Xfv17M73qDkL8pKKgNNpIhj+bAgLOQN28lOk=; b=YVfuSRH7aNnvGbunjQnMyy/d1I CYlPxKgXPlw9ZvoEaeyLEQUfQhryfNE6JmaYRjLkmc54ncMRGPnK6QvmdhHF5ip2akOi7eHujkSXb wSSGET1ItnZ/pZwa3CNGXf9Z7j2toaSv62bS4OtOdaUq5s01FI/ePSilF+eqq1u9oKQj0sWlYhgVQ MyDPBMNEOAMojVBjMrrbDVk9yBtYJdr56DoviTT36WJy+6k1firNFuCa2TP8lr1LdNFI5wRtyDm7k InfC/EdrqBMYjTiRGZMw+61169Clsi1QHBwtNIs1IuRKqk0vHlGakbPh0E9wiMS9o9fPJVFT4cpy3 sPjhLarw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rQWNf-003Pod-2O; Thu, 18 Jan 2024 17:40:43 +0000 Received: from mail-pg1-x54a.google.com ([2607:f8b0:4864:20::54a]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rQWNc-003PnX-0h for linux-riscv@lists.infradead.org; Thu, 18 Jan 2024 17:40:42 +0000 Received: by mail-pg1-x54a.google.com with SMTP id 41be03b00d2f7-5cdbbf7e591so6585248a12.2 for ; Thu, 18 Jan 2024 09:40:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1705599637; x=1706204437; darn=lists.infradead.org; h=content-transfer-encoding:cc:to:from:subject:message-id:references :mime-version:in-reply-to:date:from:to:cc:subject:date:message-id :reply-to; bh=5Q3C3WGrieoJdAKFaeIZlXobOygHM9XDpw7BX2KbOhI=; b=LHwuNAdiAXFks5HsC0h6/v7tZnrEb7htlBG4DTS3bVxKae2NNjQ16I0cwAbMuJIPfo aN+sehYOrgJJgr8mu68B4JFa9KMTOseDW5ZNPOhfG7MbfHN1NzdzGcbBrnXilUz0bSbJ sNajLf2bUMVXvEXtoM1MVi2ZpeO1/JMJfXIf+htSPGB7z74RiOJTGYdWaiaL3cq81vLt okjgoi4CPJxE7O2OkXfk5E35+a5IxVeiNIkxMBdl7mN0Z7qV9xqXx3ySqXu544YVdiA1 eQe2M5sds3KBsT0sF1khuYyO6Xr0mHYJpNwhRNtdhm6bdvEUsW/kVbuREf5OrTvvKHI7 uCQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705599637; x=1706204437; h=content-transfer-encoding:cc:to:from:subject:message-id:references :mime-version:in-reply-to:date:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=5Q3C3WGrieoJdAKFaeIZlXobOygHM9XDpw7BX2KbOhI=; b=lZwcNHPBcNSd4tglY/Cb82b2GWnIVH98ppI5XRVHxuyFyEWJHhoOzZf/sS1m8wUMbr rmBYg6zgCGy/hOadOdE6Uj9Q938DKMAf8YZDBGxT5kI/gTn3BuptCBG5EukLhibQPY0/ pwMQjVsvPG6JXY3u7HrMEDEOumtYK7aGAMHKEMQOmsH1N45V++AvCEAoAtGqKPRJuGaq Uhq6bsan+4OGKPCC6Hf4305gIlRzbFNb0L69tKefxuZ9ZocojKFKhRzGxMxxFMno7hhJ mfZTGApIqgmhin7rQKielp8ilKk1+2o9ZRb4OgprAW0Cp/WceD1Vyp5xPRWlVxBy4hNW vfpQ== X-Gm-Message-State: AOJu0YzR33e4pT+PSTF0pBQAsalEe1YEx1RV1ZvEiOgFESNFTZjH2pSS Rvle9dFkcqeA9ivBUPg8mT/ot1S73ytEgcfBiNzdB8yslc1TlsUbbH28vfbuASGk63lJVfux1h+ FZA== X-Google-Smtp-Source: AGHT+IHQno7PAwboCP87bGIkYG2fH+s8EoDNQ4sFTOlwoU3XmXeAa1RkI+vnnDxRDet8Cr9UHVnWumLJcOM= X-Received: from zagreus.c.googlers.com ([fda3:e722:ac3:cc00:7f:e700:c0a8:5c37]) (user=seanjc job=sendgmr) by 2002:a65:63c3:0:b0:5ce:1891:dfac with SMTP id n3-20020a6563c3000000b005ce1891dfacmr6154pgv.4.1705599637554; Thu, 18 Jan 2024 09:40:37 -0800 (PST) Date: Thu, 18 Jan 2024 09:40:36 -0800 In-Reply-To: Mime-Version: 1.0 References: <20240104123727.76987-2-ajones@ventanamicro.com> Message-ID: Subject: Re: [PATCH -fixes v2] RISC-V: KVM: Require HAVE_KVM From: Sean Christopherson To: Anup Patel Cc: Andrew Jones , linux-riscv@lists.infradead.org, linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, kvm@vger.kernel.org, kvm-riscv@lists.infradead.org, paul.walmsley@sifive.com, palmer@dabbelt.com, aou@eecs.berkeley.edu, atishp@atishpatra.org, rdunlap@infradead.org, sfr@canb.auug.org.au, alex@ghiti.fr, mpe@ellerman.id.au, npiggin@gmail.com, linuxppc-dev@lists.ozlabs.org, pbonzini@redhat.com X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240118_094040_257001_A91342E3 X-CRM114-Status: UNSURE ( 9.27 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org T24gVGh1LCBKYW4gMTgsIDIwMjQsIEFudXAgUGF0ZWwgd3JvdGU6Cj4gT24gVGh1LCBKYW4gNCwg MjAyNCBhdCA2OjA34oCvUE0gQW5kcmV3IEpvbmVzIDxham9uZXNAdmVudGFuYW1pY3JvLmNvbT4g d3JvdGU6Cj4gPgo+ID4gS1ZNIHJlcXVpcmVzIEVWRU5URkQsIHdoaWNoIGlzIHNlbGVjdGVkIGJ5 IEhBVkVfS1ZNLiBPdGhlciBLVk0KPiA+IHN1cHBvcnRpbmcgYXJjaGl0ZWN0dXJlcyBzZWxlY3Qg SEFWRV9LVk0gYW5kIHRoZW4gdGhlaXIgS1ZNCj4gPiBLY29uZmlncyBlbnN1cmUgaXRzIHRoZXJl IHdpdGggYSBkZXBlbmRzIG9uIEhBVkVfS1ZNLiBNYWtlIFJJU0NWCj4gPiBjb25zaXN0ZW50IHdp dGggdGhhdCBhcHByb2FjaCB3aGljaCBmaXhlcyBjb25maWdzIHdoaWNoIGhhdmUgS1ZNCj4gPiBi dXQgbm90IEVWRU5URkQsIGFzIHdhcyBkaXNjb3ZlcmVkIHdpdGggYSByYW5kY29uZmlnIHRlc3Qu Cj4gPgo+ID4gRml4ZXM6IDk5Y2RjNmMxOGMyZCAoIlJJU0MtVjogQWRkIGluaXRpYWwgc2tlbGV0 YWwgS1ZNIHN1cHBvcnQiKQo+ID4gUmVwb3J0ZWQtYnk6IFJhbmR5IER1bmxhcCA8cmR1bmxhcEBp bmZyYWRlYWQub3JnPgo+ID4gQ2xvc2VzOiBodHRwczovL2xvcmUua2VybmVsLm9yZy9hbGwvNDQ5 MDdjNmItYzViZC00ZTRhLWE5MjEtZTRkMzgyNTUzOWQ4QGluZnJhZGVhZC5vcmcvCj4gPiBTaWdu ZWQtb2ZmLWJ5OiBBbmRyZXcgSm9uZXMgPGFqb25lc0B2ZW50YW5hbWljcm8uY29tPgo+IAo+IFF1 ZXVlZCB0aGlzIHBhdGNoIGZvciBMaW51eC02LjgKClRoYXQgc2hvdWxkIGJlIHVubmVjZXNzYXJ5 LiAgQ29tbWl0IGNhYWRmODc2YmI3NCAoIktWTTogaW50cm9kdWNlIENPTkZJR19LVk1fQ09NTU9O IiksCndoaWNoIGlzIGluIFBhb2xvJ3MgcHVsbCByZXF1ZXN0IGZvciA2LjgsIGFkZHJlc3NlcyB0 aGUgRVZFTlRGRCBpc3N1ZS4gIEFuZCB0aGUKcmVzdCBvZiBQYW9sbydzIHNlcmllc1sqXSwgd2hp Y2ggcHJlc3VtYWJseSB3aWxsIGdldCBxdWV1ZWQgZm9yIDYuOSwgZWxpbWluYXRlcwpIQVZFX0tW TSBlbnRpcmVseS4KClsqXSBodHRwczovL2xvcmUua2VybmVsLm9yZy9hbGwvMjAyNDAxMDgxMjQ3 NDAuMTE0NDUzLTYtcGJvbnppbmlAcmVkaGF0LmNvbQoKX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX18KbGludXgtcmlzY3YgbWFpbGluZyBsaXN0CmxpbnV4LXJp c2N2QGxpc3RzLmluZnJhZGVhZC5vcmcKaHR0cDovL2xpc3RzLmluZnJhZGVhZC5vcmcvbWFpbG1h bi9saXN0aW5mby9saW51eC1yaXNjdgo= From mboxrd@z Thu Jan 1 00:00:00 1970 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 lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (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 609F1C47DB3 for ; Thu, 18 Jan 2024 17:41:34 +0000 (UTC) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=google.com header.i=@google.com header.a=rsa-sha256 header.s=20230601 header.b=PeQAuuwS; dkim-atps=neutral Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4TG9645sVHz3cR4 for ; Fri, 19 Jan 2024 04:41:32 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=google.com header.i=@google.com header.a=rsa-sha256 header.s=20230601 header.b=PeQAuuwS; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=flex--seanjc.bounces.google.com (client-ip=2607:f8b0:4864:20::54a; helo=mail-pg1-x54a.google.com; envelope-from=3lwkpzqykddqiuqdzsweewbu.secbydknffs-tulbyiji.epbqri.ehw@flex--seanjc.bounces.google.com; receiver=lists.ozlabs.org) Received: from mail-pg1-x54a.google.com (mail-pg1-x54a.google.com [IPv6:2607:f8b0:4864:20::54a]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4TG9575pFvz3bnB for ; Fri, 19 Jan 2024 04:40:42 +1100 (AEDT) Received: by mail-pg1-x54a.google.com with SMTP id 41be03b00d2f7-5cdbbf7e591so6585249a12.2 for ; Thu, 18 Jan 2024 09:40:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1705599637; x=1706204437; darn=lists.ozlabs.org; h=content-transfer-encoding:cc:to:from:subject:message-id:references :mime-version:in-reply-to:date:from:to:cc:subject:date:message-id :reply-to; bh=5Q3C3WGrieoJdAKFaeIZlXobOygHM9XDpw7BX2KbOhI=; b=PeQAuuwSTJsKP6oQE6MKarZYTAR2BFUKtisHB8Tk5Ork302CfHllIJhWUmM5ihmhII /m8kpliREFUqImXBu0yAUXblGWy7ThsRNZUHOvhVfTd0o1PS7711/KYydOz5Bnw5+ueR 6fNUcVmJ28pl2MZrwKq9fboFGDPZjcBEPKuLDRV8Mkby+GFFHduT7QkxsA4fmErJ4ZkS kU4euHE9EhTeCyYvGhQFdS2xmT0TDvAD6flQmW4ZwfTcHylohoBiYopibiYOj3mlYKE+ 5nqLuIesJVSSnSbmRncMKL63i+dLCzPZTWUcVBhAXqvpF7kg3MJ6pGnF7QdYkj7T5cds YDOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705599637; x=1706204437; h=content-transfer-encoding:cc:to:from:subject:message-id:references :mime-version:in-reply-to:date:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=5Q3C3WGrieoJdAKFaeIZlXobOygHM9XDpw7BX2KbOhI=; b=V5S+6Tmk1K8A2oa4/eD7JhphZzNPbuuQKJ1wRbBPfEsV4DJXU/xpYXRX9Ki7xQlTNa Io0pCfxo9qFS8PwSUrib13fcA2Kd9vHOW2nhR+ksJNTcD5pnSBNAqAOB1yW99W70HFZL BCqH42+zCp/u+SAnHZmdhZ/CXfsD6O5sDEPcS8KHKNB0EvxWTC1SR9/QoDioC4q2Xhvy pOwbtYnqzrhq1EZQ2V+c3me9RB8hN1nxCgBJVNl7SdbpZ9nbICIs5j0cK4LJOVprco9/ ei9DW4GPbaI/bQqq9lnGpK48vfz6EE2RHNNJmJ9GU63K2V9mX68QQ8a9wVNEQ7M94niU VkTg== X-Gm-Message-State: AOJu0YxfQzP+7AJWBbg5AdX94nSvlKjuOEliMCxJXsDOwZD6g94h0g1V /dLsX1l2IAgHYY0PV9S077NBq22xQIZkZQd1zpdguVWDb77MVMoNyz+izu5/K6ohTfWbtx+QedB viA== X-Google-Smtp-Source: AGHT+IHQno7PAwboCP87bGIkYG2fH+s8EoDNQ4sFTOlwoU3XmXeAa1RkI+vnnDxRDet8Cr9UHVnWumLJcOM= X-Received: from zagreus.c.googlers.com ([fda3:e722:ac3:cc00:7f:e700:c0a8:5c37]) (user=seanjc job=sendgmr) by 2002:a65:63c3:0:b0:5ce:1891:dfac with SMTP id n3-20020a6563c3000000b005ce1891dfacmr6154pgv.4.1705599637554; Thu, 18 Jan 2024 09:40:37 -0800 (PST) Date: Thu, 18 Jan 2024 09:40:36 -0800 In-Reply-To: Mime-Version: 1.0 References: <20240104123727.76987-2-ajones@ventanamicro.com> Message-ID: Subject: Re: [PATCH -fixes v2] RISC-V: KVM: Require HAVE_KVM From: Sean Christopherson To: Anup Patel Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: sfr@canb.auug.org.au, aou@eecs.berkeley.edu, alex@ghiti.fr, kvm@vger.kernel.org, atishp@atishpatra.org, linux-kernel@vger.kernel.org, npiggin@gmail.com, linux-next@vger.kernel.org, palmer@dabbelt.com, rdunlap@infradead.org, kvm-riscv@lists.infradead.org, paul.walmsley@sifive.com, pbonzini@redhat.com, linux-riscv@lists.infradead.org, linuxppc-dev@lists.ozlabs.org, Andrew Jones Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" On Thu, Jan 18, 2024, Anup Patel wrote: > On Thu, Jan 4, 2024 at 6:07=E2=80=AFPM Andrew Jones wrote: > > > > KVM requires EVENTFD, which is selected by HAVE_KVM. Other KVM > > supporting architectures select HAVE_KVM and then their KVM > > Kconfigs ensure its there with a depends on HAVE_KVM. Make RISCV > > consistent with that approach which fixes configs which have KVM > > but not EVENTFD, as was discovered with a randconfig test. > > > > Fixes: 99cdc6c18c2d ("RISC-V: Add initial skeletal KVM support") > > Reported-by: Randy Dunlap > > Closes: https://lore.kernel.org/all/44907c6b-c5bd-4e4a-a921-e4d3825539d= 8@infradead.org/ > > Signed-off-by: Andrew Jones >=20 > Queued this patch for Linux-6.8 That should be unnecessary. Commit caadf876bb74 ("KVM: introduce CONFIG_KV= M_COMMON"), which is in Paolo's pull request for 6.8, addresses the EVENTFD issue. And= the rest of Paolo's series[*], which presumably will get queued for 6.9, elimin= ates HAVE_KVM entirely. [*] https://lore.kernel.org/all/20240108124740.114453-6-pbonzini@redhat.com