From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-170.mta0.migadu.com (out-170.mta0.migadu.com [91.218.175.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9F9D6B665 for ; Tue, 6 Jan 2026 00:08:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.170 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767658141; cv=none; b=ekuMPZTMD7/hl21rm68QtBdqGJ/tfAvAbRSLXUtiGY0o9ze+7zpzNzWe9W8dMslWvny445eWKQ6P9mnLmmaYPyMxNn+oD1LI0zCi4whxXRZ6L1gU3478iZdv385QxqhAULnU2K1jB8ctxw/LahiHECFNgpiMp9g5Xbd/1skSMyw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767658141; c=relaxed/simple; bh=a82xTthIcNehQpZ6rOGsATibYTCrmxAP5sovfwtE100=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=jLsIEv4JksrqCWKbA78KrieEN7DAFLTeNVg+b8Zc/g8VgHAKEJEQGTjmWVIUu3FiwfnY9UeuwIZ/idGOS2+HFsBtz8gM6MgMYwLDzhV+gBx0iBP39uRNOtKyapOFk/NmdqbPzKr8QbfJywK+4qkALDYqWZZk6Bh716bAdaWzqFQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=mRZZiiHw; arc=none smtp.client-ip=91.218.175.170 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="mRZZiiHw" Message-ID: <2779d6a2-d734-4334-befc-99f958e1d1ef@linux.dev> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1767658127; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=CKXdtHAZxkL4dbdBsFp4H2lxuKZOEn/tbI1ZRL1PIoQ=; b=mRZZiiHwbDumZLLsIkopVpbarNOTKTnJPB8xLZGcwE7Ybhzd8Yt/TGxbLlTz4CDYMyNZz6 UqVXDzVNpv53OnCuWigg/lV8KL8ARRDFapjmyvwOOg1VWAINwHs51v1lF4ky9AB4jo1fwD WbLWxgufYJ+Bx7GXloJw8TB8In11NWg= Date: Mon, 5 Jan 2026 16:07:55 -0800 Precedence: bulk X-Mailing-List: linux-kselftest@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Subject: Re: [PATCH 19/21] vfio: selftests: Expose low-level helper routines for setting up struct vfio_pci_device To: David Matlack Cc: Alex Williamson , Adithya Jayachandran , Alex Mastro , Alistair Popple , Andrew Morton , Bjorn Helgaas , Chris Li , David Rientjes , Jacob Pan , Jason Gunthorpe , Jason Gunthorpe , Josh Hilke , Kevin Tian , kvm@vger.kernel.org, Leon Romanovsky , linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-pci@vger.kernel.org, Lukas Wunner , Mike Rapoport , Parav Pandit , Pasha Tatashin , Philipp Stanner , Pratyush Yadav , Saeed Mahameed , Samiullah Khawaja , Shuah Khan , Tomita Moeko , Vipin Sharma , William Tu , Yi Liu , Yunxiang Li References: <20251126193608.2678510-1-dmatlack@google.com> <20251126193608.2678510-20-dmatlack@google.com> Content-Language: en-US X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: "Yanjun.Zhu" In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT On 1/5/26 9:54 AM, David Matlack wrote: > On Sat, Dec 27, 2025 at 8:04 PM Zhu Yanjun wrote: >> 在 2025/11/26 11:36, David Matlack 写道: >>> @@ -349,9 +351,20 @@ struct vfio_pci_device *__vfio_pci_device_init(const char *bdf, >>> device->bdf = bdf; >>> device->iommu = iommu; >>> >>> + return device; >>> +} >>> + >> In the latest kernel, this part changes too much. > Can you clarify what you mean by "changes too much"? What is the issue? I tried to apply this commit to the linux and linux-next repositories and run tests. However, I’m unable to apply [PATCH 19/21] vfio: selftests: Expose low-level helper routines for setting up struct vfio_pci_device, because the related source code has changed significantly in both linux and linux-next. If you plan to resend this patch series based on the latest linux or linux-next, please feel free to ignore this comment. I look forward to testing the updated patch series once it is available. Best Regards, Yanjun.Zhu