Received: by 2002:a05:7412:ba23:b0:fa:4c10:6cad with SMTP id jp35csp747568rdb; Thu, 18 Jan 2024 19:13:25 -0800 (PST) X-Google-Smtp-Source: AGHT+IF9LkD20fu5ofbd5H2jte615NkeYCogffqG+/gny2gUOt2CembBNrVO6CRnYHYMjpHmSq5i X-Received: by 2002:a17:906:f344:b0:a2c:176a:d89d with SMTP id hg4-20020a170906f34400b00a2c176ad89dmr1075197ejb.146.1705634004917; Thu, 18 Jan 2024 19:13:24 -0800 (PST) Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id c5-20020a170906528500b00a2ea4a814b3si2702733ejm.600.2024.01.18.19.13.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Jan 2024 19:13:24 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-30724-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@ventanamicro.com header.s=google header.b=cNFsReMZ; arc=fail (body hash mismatch); spf=pass (google.com: domain of linux-kernel+bounces-30724-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-30724-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 7D8651F2303F for ; Fri, 19 Jan 2024 03:13:24 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B379B3D9E; Fri, 19 Jan 2024 03:13:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=ventanamicro.com header.i=@ventanamicro.com header.b="cNFsReMZ" Received: from mail-lf1-f41.google.com (mail-lf1-f41.google.com [209.85.167.41]) (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 5BBA817C8 for ; Fri, 19 Jan 2024 03:13:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.41 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705633990; cv=none; b=SteEoAd0d1v7yRViqo1Bd210G+K7E7g6VfhhBEM5mhDBXNgJyu63lt3oO9dmpcKmpOJGAEeJjKnkm2iixSWwECw5v2OLAWSyc8ZgyJEpxII/xzEWTyQ9LIRycqcIBGpgVu24pAlhXAcGyq/zh2hr8PA45rshi3GWA/ZMsgixXEU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705633990; c=relaxed/simple; bh=+f2ZoedK7FP1DbND5juUvhTafSPGIv0emWsVqtcPME4=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=O3HFh+9fgRmKzqCnrfvaD9DDX9fl9+ATROMKx4PXXjhtyxNMyS/esj3bWS4OUgLV7bnHZbgRJEvuVgSSgajGx6gGY18ugJc6ZyrClpbxA9N84dT57AZatSoFZ4JAXtXvKwBBifhaNAd+fXuaiz/TYFq6zBHOJnp9+WvgMjXMKH8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ventanamicro.com; spf=pass smtp.mailfrom=ventanamicro.com; dkim=pass (2048-bit key) header.d=ventanamicro.com header.i=@ventanamicro.com header.b=cNFsReMZ; arc=none smtp.client-ip=209.85.167.41 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ventanamicro.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ventanamicro.com Received: by mail-lf1-f41.google.com with SMTP id 2adb3069b0e04-50ea8fbf261so341170e87.2 for ; Thu, 18 Jan 2024 19:13:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; t=1705633986; x=1706238786; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=YfU1RR3yVXE2aFjE6KuwO1NTsoIa0IOOIUzkc/YADig=; b=cNFsReMZRK0Oc4hfqvzplg3X83svfp0wBCIib+Vdz3umPUWpuj0yD1o2kKGYM0+T2E m/zZjfYBrbPTm1J7V8vBpdDf0C169yUdWgWx6zi3U7VHazKbDL2aoQo98YB23hgf84xH CqlCkE0b3KwvkRzw92qsMP3vWQYKfzJ0WK6hi1rCheVMcCet1ROlAbC9kiz2S5jiZ8DF ziDD8MlYdcN0JfOoFablYt7v2NNTB0wXKRVJKbrxzcVlBIx2n47/uzGtCsYzWToF0T05 YCL5/9Pt8eXzQQVMBTywhk4waq7dAGPsUAXVZ6bOMOPj93AH4AdGCFBKn9yAW98fGQP7 OWnQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705633986; x=1706238786; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=YfU1RR3yVXE2aFjE6KuwO1NTsoIa0IOOIUzkc/YADig=; b=LVGfOpkqANk/eaWo/cD5RUTD0257HLa+7j6K+Zaa7ePrjRS8QXjhed2EraUldBpZGs NWaXsVYM2zG9hK8GYhhscthceFUWYYtbm1jLEaRArPd0MMCZgEFtYx/mu7CPBvSotbPk jA961dxzMGsDrhkpF9vZApMUsrNdJwLBizTEZoHbjPzFWEAv54ADOStX9VplQU2YTkvN IPRbUOFK6QAxA5epsNdq3hovnSml+K7rnLr8g1TmgGV0yVW3OU0XQvP66gAAiYxGHvak 9F0fwmXhVzNXR//mDADd81i182TFw0HSX8KZbaCJgxU9KpnudQShV6p2e5pw69dUoWMA 61bg== X-Gm-Message-State: AOJu0YzW+Ofu15rl0BkfmZqZXf7bFVIhInYeVraLqFRAn6L9cTHzUx+7 OK1T/PjdLFLttwr/KnF11zB1p6KeByWLvIImW1/w1uRcRM8wCtbRpmn6vJAuFza206ajUXBpQ0b X+dbwr/qFtp9y+iqpFmiJFZoVEhrJ7WN4aFbC3w== X-Received: by 2002:ac2:41c9:0:b0:50e:314c:76da with SMTP id d9-20020ac241c9000000b0050e314c76damr265337lfi.82.1705633986292; Thu, 18 Jan 2024 19:13:06 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240104123727.76987-2-ajones@ventanamicro.com> In-Reply-To: From: Anup Patel Date: Fri, 19 Jan 2024 08:42:53 +0530 Message-ID: Subject: Re: [PATCH -fixes v2] RISC-V: KVM: Require HAVE_KVM To: Sean Christopherson Cc: Anup Patel , 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 at 11:10=E2=80=AFPM Sean Christopherson wrote: > > 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-e4d382553= 9d8@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. A= nd the > rest of Paolo's series[*], which presumably will get queued for 6.9, elim= inates > HAVE_KVM entirely. > > [*] https://lore.kernel.org/all/20240108124740.114453-6-pbonzini@redhat.c= om I was not sure about the timeline of when Paolo's series would be merged hence thought of taking this patch as a fix. For now, I will drop this patch from my queue. If required we can have it as a 6.8-rc fix. Regards, Anup