Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.214.182 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1794336338; b=dH+MLghTJpBLfnZqZ7c0xtzUnQmtlF6BxOJcK3zz6GtvtWG/q2VEmYPI5gJi/3hymbRP +0wXMkOGYoYGWXZrMNVST3gdKtwBmEYDaC2GzHGIqjflIFxgLvdq92NCAuSVxxxRPOtDY Pca4cgKxw3jXK5uweu+o7tyRWfeP02nwk2dvs0iZdPk2q0P2uYB2yDH5J8LmSd2HbaYbb Ozbnkh9jy60UcEnNaBnmpc+ijIvp4/vUIZCGBYs67vv7evxKcU72aOL9bnA5n1H+jRb9d w+SnBwZuwEBDKrqr9lFJ26g8jKH62gfR/Jte6Hb2hVRGUHoVvb/a0C335XsFo9Oj4yQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794336338; h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature: X-Forwarded-Encrypted:X-Gm-Message-State:X-Gm-Gg:X-Received:Received: Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; bh=j6HenvetdiqKK5Mv1KKa157Ln9/E8xXqIQ72cYSu+2Y=; b=Aorh7lq1Sc2E0CM+AhSOEnyH9AShn9rBSK6zh9PwPXsLvloPvUSg90XAXUyM4MwlzfKz QTttrL35uOuT1HFQiPX2MFHVKybQxxIQuFHmwDw8baZy56nOueVA+kNhrT/KnrGJWn9ev tXLk52buIZa4nDFd6oEYfUDoz444fJi2fqBjwfaPQA2MnbQQDAxiHtpgxPMb5K9ICBYoU yNZKtb3VCFrI7Pm98VxW57uX8yeVJx6SN76hAPPjV4SCA2SIpCtQuj9Jvs+Q/2xu2hEUF xLWdADF40rWVuJRgycLKBzqB1MeMtfMziMjI9ZJBwfMz2VL2jhiQ5tl3QspNSK3dhsg== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=google.com; spf=pass smtp.mailfrom=google.com; dkim=pass header.d=google.com header.i=@google.com header.a=rsa-sha256 header.s=20260707 header.b=fqYza+qT; arc=none smtp.remote-ip=209.85.214.182 Received: from mail-pl1-f182.google.com (mail-pl1-f182.google.com [209.85.214.182]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8AB5C606A331 for ; Tue, 10 Nov 2026 18:45:38 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 8AB5C606A331 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=google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.a=rsa-sha256 header.s=20260707 header.b=fqYza+qT Received: by mail-pl1-f182.google.com with SMTP id d9443c01a7336-2e8d6fcbba0so4765ad.1 for ; Tue, 10 Nov 2026 10:45:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20260707; t=1794336338; x=1794941138; darn=vger.kernel.org; h=in-reply-to:content-disposition:content-type:mime-version :references:message-id:subject:cc:to:from:date:from:to:cc:subject :date:message-id:reply-to:content-type; bh=j6HenvetdiqKK5Mv1KKa157Ln9/E8xXqIQ72cYSu+2Y=; b=fqYza+qTmu263ZJR6IQbgcfkkw9jmBae56WVI+o3f6yE+Kb1eAns8SLyCefyix05sI yNFEQKraXZrzlgeP0EDS4+8DlSYhhDPuNHBvo9HtQkvkE80biYpP/AWmMZMb4N/avCqc tiBIiao8l8HKCuoG0Mts/I6lvZxkuP9qJfXB7Cyhx7J46AAPju6wNkwpIXeVimtsE/cG GqmB+KwHAwkczSt+6neTbRmWUTaNZHyZbOq/lWaPoci+yXV25lxstqc4zN1oce/Vkxwn mLCQsVZ9HPbXapT6AxcKUs02u2n1Y2y/FccJnECWdMdOU1ViJg38CiOwYx0X1JHRx/0Z HWgA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1794336338; x=1794941138; h=in-reply-to:content-disposition:content-type:mime-version :references:message-id:subject:cc:to:from:date:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=j6HenvetdiqKK5Mv1KKa157Ln9/E8xXqIQ72cYSu+2Y=; b=uoESu1FxFB23bdVh13pTFvzRM50HxNQEFSIr6BoM/lNZt2q7SD/E0MagcM0OPhUr3K RM+qp8uxOcD2ZAokHmFCVaMaCQDuo5eTfRdcwRMcFiZJUUG5RCSEfZ33eCtwJqOGomsh 2LDxkahsb9RxOMEKZP33OIVdiNlA1AChWdyHiJsjW+svmDBcjN1dGLyx9/RwC0eyz4EB gZwTZS+tOHxWIZ/D//fXCSQHWOGwcF/xS10gGTDktPhHZ5WYjzytQ854k737LEePerL0 0F+8vlltTqrTjj+N/OyZkjG7ZjKd/Mo+tGc+fZn9MTxiqQ/dmBbaUEFRUpOdttldFL7q hNKg== X-Forwarded-Encrypted: i=1; AL+hErHRdI1ALMlYpHJhRPdofWWSu0P1s81qOMuTIEzWI3RegfDB66DoANuMdRxrzm17sINA0Ss=@vger.kernel.org X-Gm-Message-State: APuU4Z+swvHXwwPHfYcdmJA3xmobnwqa3fo8s68cTdL2eam6qJLGgFID f2+zygdFARJro0wCyggnjQpt+BeVmZnYN5ocZh9pTfjXBLUMtvljNws8AC2fR1/s6w== X-Gm-Gg: AYBFou26AsW6c7AwZ1QM0JcUmn+HWNvsRJkU6VQ7JAxlO3WiFbnl8EfRbsNHMLPHLKZ GeaRP2ZetlV4Z38Jl8IXEii5CiaYDFguYBu85NHEHG3icin9AZJDVeZEIu+bfenKTS/Yv55v/dR ZWARjeFFM/Uv2AoCz7U3pnPh6f6+bWmPHB9/nSQOR1FgWxjj8Ea/FfgkJYQhQ+Uzgi97JmotnY1 y/69F+TExJNIps6kpBkfFAnnXZorLFGnvBJVyotQZNNI1VBQus/mY1SROOroPL4+Dlnjb2MT0Jh 3owGxK5VduEUuaeq3Hy1g3N0KcW6YNmkd7p3ocIgbvYm5AkAofRlIQuHiwniHu39Fhj5MrNgWR0 7XLlczd+MOKxGL7Sno1OauCWhD3IEl9fu73vPUp7GO+pv7RflWcix5+/hi1pQ4f+nsXCUTDwtaA 913WpsYhOKouY+8Lu6F0PY9EDEgZZF6B4+SCqtGKdjXLPvxpRD+G9FcIPVpWJ6Xyn7ebU5lNjIt uEY/JNiwYgwK6OTooKRq7mpcXFuqzW7WfOo0V5pAD6Mq/4NwREDYNnsE9TXIqGYuNk3Gcnl8Pnx llKb/3w7BG3g8CM130JcFbbOBefgKTpyNA89Ju6Lf1NUW1r+XZMhZfVDOntlti5Y X-Received: by 2002:a17:903:2a86:b0:2bd:3bfd:74f1 with SMTP id d9443c01a7336-2edd7110fa8mr255665ad.2.1794336337416; Tue, 10 Nov 2026 10:45:37 -0800 (PST) Received: from google.com (60.89.247.35.bc.googleusercontent.com. [35.247.89.60]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-8baaa86ce5fsm1317128b3a.21.2026.11.10.10.45.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Nov 2026 10:45:36 -0800 (PST) Date: Tue, 10 Nov 2026 10:45:32 -0800 From: Vipin Sharma To: David Matlack Cc: kexec@lists.infradead.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, kvm@vger.kernel.org, linux-mm@kvack.org, linux-kselftest@vger.kernel.org, linux-pci@vger.kernel.org, ajayachandra@nvidia.com, alex@shazbot.org, amastro@fb.com, ankita@nvidia.com, apopple@nvidia.com, bhelgaas@google.com, chrisl@kernel.org, christian.koenig@amd.com, corbet@lwn.net, graf@amazon.com, jacob.pan@linux.microsoft.com, jgg@nvidia.com, jgg@ziepe.ca, jrhilke@google.com, julianr@linux.ibm.com, kees@kernel.org, kevin.tian@intel.com, leon@kernel.org, leonro@nvidia.com, lukas@wunner.de, mattev@meta.com, michal.winiarski@intel.com, parav@nvidia.com, pasha.tatashin@soleen.com, praan@google.com, pratyush@kernel.org, rananta@google.com, rdunlap@infradead.org, rientjes@google.com, rodrigo.vivi@intel.com, rppt@kernel.org, saeedm@nvidia.com, schnelle@linux.ibm.com, skhan@linuxfoundation.org, skhawaja@google.com, vivek.kasireddy@intel.com, witu@nvidia.com, yanjun.zhu@linux.dev, yi.l.liu@intel.com Subject: Re: [PATCH v6 00/27] VFIO PCI Live Update (noiommu mode) Message-ID: <20261110184339.GB519525.vipinsh@google.com> References: <20261102153656.1431701-1-vipinsh@google.com> X-Mailing-List: kvm@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Fri, Nov 06, 2026 at 10:20:10PM +0000, David Matlack wrote: > On Mon Nov 2, 2026 at 3:36 PM UTC, Vipin Sharma wrote: > > > David Matlack (4): > > vfio: Enforce preserved devices are retrieved via > > LIVEUPDATE_SESSION_RETRIEVE_FD > > docs: liveupdate: Add documentation for VFIO PCI > > vfio: selftests: Add vfio_pci_liveupdate_uapi_test > > vfio: selftests: Add Makefile support for TEST_GEN_PROGS_EXTENDED > > > > Vipin Sharma (23): > > vfio/pci: Factor out the reset logic in VFIO PCI device close path > > vfio: Export various helpers from VFIO > > liveupdate: Export symbols needed by modules > > vfio/pci: Register a file handler with Live Update Orchestrator > > PCI: liveupdate: Add helpers to preserve struct pci_saved_state > > vfio: Add helpers to identify device files that can be preserved > > vfio/pci: Preserve vfio-pci device files across Live Update > > vfio: Introduce vfio_find_device() helper > > vfio: Refactor vfio_device_fops_cdev_open() > > vfio: Add API to open cdev device for Live Update restore > > vfio/pci: Retrieve preserved device files after Live Update > > vfio/pci: Protect incoming preserved devices until they finish Live > > Update > > vfio/pci: Take over preserved devices without resetting them > > vfio: selftests: Build liveupdate library in VFIO selftests > > vfio: selftests: Initialize vfio_pci_device using a VFIO cdev FD > > vfio: selftests: Add iommufd noiommu mode > > vfio: selftests: Add helpers to map DMA memory at IOVA == PA in > > noiommu mode > > vfio: selftests: Add helpers for Live Update DMA memory and sysfs > > state > > vfio: selftests: Add an attach() driver op > > vfio: selftests: Test preserving noiommu devices in > > vfio_pci_liveupdate_uapi_test > > vfio: selftests: Add vfio_pci_liveupdate_kexec_test > > vfio: selftests: Verify that opening VFIO device fails during Live > > Update > > vfio: selftests: Add continuous DMA to vfio_pci_liveupdate_kexec_test > > This series is getting quite long. I would consider splitting out the > selftests into its own series and we can iterate on each separately. I think it is a good idea. In next version, v7, I will send two series, kernel and selftests patches.