From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pl1-f201.google.com (mail-pl1-f201.google.com [209.85.214.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 2D5582BE7CD for ; Thu, 4 Jun 2026 19:52:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780602780; cv=none; b=kNshsp1EcbIM8MxlkNZXGbvEVST1aufwpdu6eL4SlDmKAL+VKZVpco/tSibjot0O45ftM5KL/PJVLHqK425EzlxILlymUUyVThoYHUxfokbe+smPZmrgYuwrymZKCOCTbGSe7x/JL9BEpPqnm16hekKA2LzeZBP6SgKrLzHDpzA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780602780; c=relaxed/simple; bh=Y028cuKR6FYoyxdBLZixo2Z7j4FqlKA2dWY8G2E9U8A=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=KODWOXlJdcNEQoiwCU6kQzhyFL66Fzbh33UrCralAdD/GU08LOnkfhecXN2nJOh8E/1rKsxVBknaR4ra91RgEWUcllPrV4tnhXfYPE5IUdLeDzhBlT4TFNMgxLvDZL6aIUonRmuS81AgvLVXdK/VeSjBKp6vHPSa0N++R3/qAcM= 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=E5cPE5eY; arc=none smtp.client-ip=209.85.214.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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="E5cPE5eY" Received: by mail-pl1-f201.google.com with SMTP id d9443c01a7336-2c0b35fa876so12531505ad.1 for ; Thu, 04 Jun 2026 12:52:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20251104; t=1780602778; x=1781207578; darn=vger.kernel.org; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=sDFg7hairTTD7rHZDg8/KR6emBzfhwen7rYcm2WIInM=; b=E5cPE5eY9xehnR4JcbmGalHkc39rOunIbrQ67RnC04tPcv71+1QFt9l8O9tis1FXN3 i+8WW4AcvQf3a/9IXwY2eVn5cQ9aqMdZ3hg4hvWvDa0SgOn2rcbZ6fhgYAwc++I0rLE6 PLlOY6E80GAs5LQds9PWmwT9s0F2lwi8yJhtQVXVOW4cZnHVHOvwbTAjy330marRw4AF fY5LcgtX/KbiNJw7BM2QpqCvJq8RIGrwr7G3fsvx5b8I+E8tFHuUbbo5Rv245nISDSFg THrOpklcqAIwIIAQowV+r75n0Jloh0yCkqWRuYTvqsFSwA3X0QiS9jgLoVZKa+1dfWXR x3ZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1780602778; x=1781207578; h=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=sDFg7hairTTD7rHZDg8/KR6emBzfhwen7rYcm2WIInM=; b=AI3E/KE93NLmPSePlHK/IhH9UXsIUSJgOsvjiGL7GOQ6A3UQRMX9IzmWXmh3USVB72 PDb2z4LlgHzJurRjwG0galZFmBrjN5ZJLbXC+RWSxVP5E3leXS949mkpGJLtHZk0cq7z x0lllWNT3ktFR/+HDtFGbBXpcnspXhImjYZVBramKTXp9hKT39Wex7n6oodUGVobQR4V nMu+8V4MhDASHu/GPRgwsy9ffbZSDEedaUGSzXtB0KKNG+oiHR6kh8CN+xgWRJQ9g01x LvEegpPKsHlFR2rqdM/4RZ7/9PEFAQJ180fKf5OI/I4E1tJGVxLr4wSwOl5WslwUZuHI SGbQ== X-Forwarded-Encrypted: i=1; AFNElJ9bFaN2R19KRKjT3TUXjM//p2PF6teWkd4R2N1x6XGTZ2g9sYkkbjSLF98Q5ApU4d7hEJUqsH9ZWdwmJCU=@vger.kernel.org X-Gm-Message-State: AOJu0YyU3lLrXV5fLHniVlGcEiRwM8WjY9HxP88MF3SFcD8vUPzgFMR5 e5EqRVIbrPIQCVC2mUJmzbNYo+8WshF5dBpm7/y2heaPggY9ronJNQYBg03iVPCikakUP3/pkBN /bF3I0A== X-Received: from plau10.prod.google.com ([2002:a17:903:304a:b0:2ba:67f8:6257]) (user=seanjc job=prod-delivery.src-stubby-dispatcher) by 2002:a17:903:13ce:b0:2c0:c0fa:1659 with SMTP id d9443c01a7336-2c1e8207360mr576395ad.33.1780602778199; Thu, 04 Jun 2026 12:52:58 -0700 (PDT) Date: Thu, 4 Jun 2026 12:52:57 -0700 In-Reply-To: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <20260604020143.748245-1-jrhilke@google.com> <20260604020143.748245-8-jrhilke@google.com> Message-ID: Subject: Re: [PATCH v5 07/21] KVM: selftests: Verify IRQ bypass works in IRQ test From: Sean Christopherson To: Josh Hilke Cc: Paolo Bonzini , kvm@vger.kernel.org, linux-kernel@vger.kernel.org, David Matlack , Alex Williamson Content-Type: text/plain; charset="us-ascii" On Thu, Jun 04, 2026, Sean Christopherson wrote: > On Thu, Jun 04, 2026, Sean Christopherson wrote: > > diff --git tools/testing/selftests/kvm/irq_test.c tools/testing/selftests/kvm/irq_test.c > > index cf4568718cee..2e7e100d4815 100644 > > --- tools/testing/selftests/kvm/irq_test.c > > +++ tools/testing/selftests/kvm/irq_test.c > > @@ -235,6 +235,8 @@ int main(int argc, char **argv) > > } > > > > if (device_bdf) { > > + __open_path_or_exit("/dev/iommu", O_RDONLY, "Is IOMMUFD available?"); > > + > > iommu = iommu_init(default_iommu_mode); > > *sigh* > > > This is beyond frustating. I have A PERFECTLY FUNCTIONAL KERNEL, but this test > VERY SUBTLY "defaults" to IOMMUFD. ARGH!!!!! > > And to make matters worse, if I enable CONFIG_IOMMUFD, but don't enable > CONFIG_VFIO_DEVICE_CDEV, then AFAICT, I can't do a damn thing with VFIO. I dunno, > I can't get IOMMUFD to work even with that. > > Worst of all, the changelog SAYS BLOODY NOTHING ABOUT THIS. > Turns out the DSA SPR device is on VFIO's naughty list: vfio-pci 0000:6a:01.0: 8086:0b25 exists in vfio-pci device denylist, driver probing disallowed. vfio-pci 0000:6a:01.0: probe with driver vfio-pci failed with error -22 Reloading vfio-pci with disable_denylist=1 got things working.