Received: by 2002:a05:7412:ba23:b0:fa:4c10:6cad with SMTP id jp35csp503775rdb; Thu, 18 Jan 2024 09:40:49 -0800 (PST) X-Google-Smtp-Source: AGHT+IHuvKLhgwKZJvScOwH2v5R5EO7tWZ27UZRw0UQZcgFzIGputQQk+fV2Af+SwKZ76zZuPewa X-Received: by 2002:a05:651c:1310:b0:2cc:f1ea:aa6b with SMTP id u16-20020a05651c131000b002ccf1eaaa6bmr706424lja.78.1705599649659; Thu, 18 Jan 2024 09:40:49 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705599649; cv=pass; d=google.com; s=arc-20160816; b=Hs0HimKNK6Nnk899EurAo9Ia7vlCajw9eUfvBKahW+Owm5FZWUlS22I9ZJ4cNSrjFc ZGEoOw313Edc2SXUZhjH8ny1hHCzIBnjzpN+o/4qYL7VJmIuHzn/Idjk/bOT0YTPxGXm jhA/RCzYFfmdbxWBa0bQDKyZVa8wNS6yXJRz6F8ZvY9t0U0SD1NVC8z2bSLTorYN8/mE tGbU0XRaaz9QaicSc6KGCZu1k78ji/cz+7PipJaI1Lx+WG5oMnSPKRp558hWtON1ocgU f2B2W1S/fdc3KdqTe/JBHuoB7oQqbDHtHeLBozKYHpP/03yCjaezQjgq9z4G55uqM8LB VHXA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:from:subject:message-id:references :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :in-reply-to:date:dkim-signature; bh=5Q3C3WGrieoJdAKFaeIZlXobOygHM9XDpw7BX2KbOhI=; fh=8UuUPKFOCWguSqAjJOYaLhj3AKCYPAcLRqaD4NUesnc=; b=CEaEMobW3cXy37C9hRJNglJGZZkxui0IXR6bFDEFSdv28B9R4DfHSJSc/4O2xE4gZl AmQYz7lj34KIZynAdR23HDhKh17zsm6ZHw2RGOeKQvq5pXZj/SuhETbkgDPQjkN3Aj7d /j2dWlXasWhzwxCBxtk631XwLgsTnYmq1yTGhirirJ1BOs/cGxkGxemaXTUvimSlUUwo qbtzereqzPqDvaxX2nFvOXROvAguuHk0fKivDMEHRl9s1CRS8ey7X7goVQzxpgn+w0xu 9AZy6tL8OHs2Y8eQkkUyjaLh0Szt4fALJjG+6uLcPc/GVVaRNRyjwj2fYA6ug7Q1hzKy TyKw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b="olk/jPcO"; arc=pass (i=1 spf=pass spfdomain=flex--seanjc.bounces.google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-30431-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-30431-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id a24-20020a05640233d800b00559f7423927si1081027edc.343.2024.01.18.09.40.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Jan 2024 09:40:49 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-30431-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b="olk/jPcO"; arc=pass (i=1 spf=pass spfdomain=flex--seanjc.bounces.google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-30431-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-30431-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com 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 116241F21B1F for ; Thu, 18 Jan 2024 17:40:49 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2AB4A2D057; Thu, 18 Jan 2024 17:40:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="olk/jPcO" Received: from mail-pg1-f201.google.com (mail-pg1-f201.google.com [209.85.215.201]) (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 30A6D2C68C for ; Thu, 18 Jan 2024 17:40:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705599639; cv=none; b=mex/4XtuB6v4C0T6knz20bVs+xoYG59OYlv1Jof5cPauFwhUSKSbQ39GnWfClkIEBffxost4hoACtx/i4MscrlgTjnetbCgc05iqZOoXqCns/f3atrFR0KfwngUefGhQFAag0WYWTyUpYyaBeaHUSrA75WMNp1eygMZVSBAIWRI= 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.201 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 Received: by mail-pg1-f201.google.com with SMTP id 41be03b00d2f7-5cf8287b3bdso2909707a12.0 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=IVwSEOz02T3x7wkui2sDGs21xIpj6rShw31rKjuPj9zbZG0Hcp7a5kp6Mv5EBkGc/6 2U9rbmREYv+HVhO25QMFRUdOU0XNDSFBa8Ovv7cFAeL/1r1Z3Xbo1SD2IYfmsQV+bBbP HcwTJ0nQ4LMTx77y1K5DOjI1CX8zGt1XQfzw39rt1qdJ/YE6khA5ec1ScXO+rTD+0b4K 6Vl13/lmnizWfERiscJuONeu2p11jX4vJnyk2bR6dNAZte8kX4Gh58jQAjvw/gNChrB/ pIUot0BNUdp6t+9axIFrX685Mxv7QhTDHFMJXoGICU6mY0GgsphwDubNqhGPlUIH2sSe Sn/Q== X-Gm-Message-State: AOJu0Yx+ZTIGdzDyNxZwTI3iUb22sSz2rOwKonRKhSJ6q8YmQQtI1AGe lvP46ofP3r6BejUgV1TyFvBW6/GZjhlnU0W9fefgiwaBNwMLAkb25KD7GeEqVuDKjBAvQ/aefZD 20w== 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-kernel@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