From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pl1-f171.google.com (mail-pl1-f171.google.com [209.85.214.171]) (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 3AB51221FD0 for ; Sat, 18 Oct 2025 22:53:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.171 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1760827996; cv=none; b=ZWlQVs+SG5ETAfovT1UJjuRC2epbWCmsVoC/NL3kTKwz56V9DjFIKu6D7YFTJtC10crHk7TZimWygrInHJcAwsV1T1o9j7+yi0VY5rtfp4abgfCMoh1oOQo634OvIwNv+W3y6SQBi3ILEsJHSqHkCLjJ5KSfdJEnemDcqtaYyc4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1760827996; c=relaxed/simple; bh=7qLVYcdBi8bpEpnS4F0eADPD2Bf5b4Eo3btCpBmFKVQ=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=oiuccKdIhRB9RM7PqizTIsoYOcJcbY4OoS50WwRoHcOkIbrB4Bn1oHwUyGz4C2v0SpFpJWBLbvCV15IcNbxn+ttffggSXLAWDeHph47OfCpCVo2+JG7pMgii0NCyqiG0Q2YD0EetY39Mhm1JdNwZgLuXk2T1xpEx3nkpd6knfRs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=UAbNi8cy; arc=none smtp.client-ip=209.85.214.171 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.b="UAbNi8cy" Received: by mail-pl1-f171.google.com with SMTP id d9443c01a7336-27d67abd215so155345ad.0 for ; Sat, 18 Oct 2025 15:53:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1760827994; x=1761432794; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=ExoVcTIek9AdjVCMkiYpZILDA0YvBh98/+0VTxUThlI=; b=UAbNi8cyjQbjrZyXCTT4a8vAp+AHgWvBfwiir9ZAZjgl1sA3IJj/GvQI3uf8xKsIXM lwL8tt0xwwordOaFzkyxegDoovfaXTshVMyFD8oWeZmVLtDhik0U2lcIRq15Dr/LejDq snj12IfKQSWfdL5LKVfhXhLE/kAbt6tqzMtOijBiv3pOIeAk0QfXKjmaWBI2Tepg3QFy MNxAtm3zcrMgyeCeyodHMq1o48Tvli5QY+z2z1hjktBZJsklS6bZ7dosbbrpApGUB/1E ET/hFglPHZzfOfygTVWCPR8kf2gv3DUBA7DigMaY5sGxaOa1kh1Hfxb/ImgVw0794oDG rcpw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1760827994; x=1761432794; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=ExoVcTIek9AdjVCMkiYpZILDA0YvBh98/+0VTxUThlI=; b=ovzDlzMFuNNR+gw+1hVuEr6lXWXkYN5jxjHHfI1L6vfjN9R5likbKIbn23LFac9Oxt qNcvxPSuhhstsMDx8MmIxL5wzy80CN4uvEiyMUTNqASSJzNw5bg0Bx9R2FoZfpuUC6JR MGnDe5jDwF2kGcfiBQA8vhtkKV56hQ6cVaKh9+Crj9snmdNY5JvLQKGVtiLZmQc3KFNh SNKnQNy6z27HQwNR41IH2ek9npu1rVNKUAJ/SZ/BL04x5attjpSyRtqSB37kiBQmWzaW FJYxkv/5uQvVlYv4EmBykP9wWPVsoLxdyiVjNIog3TJYDA3OOPcKKsNMmVMFw8fJYg9v tr0g== X-Forwarded-Encrypted: i=1; AJvYcCVI9V2D8rY6Qics3E1TGq63SAk99I7Uw/fyqyEXU5rghuPB1BigxF3M20QfLoI+JTBLORWyncDk8C7WAUo=@vger.kernel.org X-Gm-Message-State: AOJu0YyKTj9r1OzPPmA6RDlqxt7C94F6m9lHd6kIybvyVtQe8XRFq8JW 6jVTaD1N4jZ6a4LjVqq7lTzJeAUsf5tisNf0R0FETfIwLzfwPkKOSfrUBetLiO6jXw== X-Gm-Gg: ASbGncuATZrPROudKoev7zTvuJla/gnsawaP1W55N4ZM3m+G/PN1SYO9vbTtOtva8Ld GxewBJkRdnZrdVlYAjXW9jO7AfqVMBuSDOLoQrPyNNnlOABJIuUeWHq73qcarRBqPXkScg5MAE/ T4jRP6eBJdnBnR0as8HtuztY2na/g/Y9C/SHZA77GPuRsh0Yj39QOpNPDdkD+t+gxhkHHasAotZ CuLRyDdWy1NVxPK+oOZT4Am4g6JzFbI4XdtNgBpTK8IS7hR/IrXT9wbyv/ltoVtg9cvy2VyuSbZ wTdxYaGoBpnTOx9HEcWH0OEyLrjpE9aaiC09bxk0IqkPf/0s5fmDXPBAjRDijAME1LexUv7Vds8 +gs593vU2ielfugXP8xxnVWUpa+5nsxC5bHMmT2Q0+IZIEbZbhxFRqqL0EyNbL4QolKf19h+HG9 RRMajTIRhjNHaiFXWSvZG5Pu/987eZqabgMa8a1HwugyUQWAQ= X-Google-Smtp-Source: AGHT+IHYSWZKJqORVU2MlERhdd7pLQTU+bgumM/RJ5rxntS44MT/2pojFpL/YQ8TyquwryI9b7dpMA== X-Received: by 2002:a17:903:380d:b0:26a:befc:e7e1 with SMTP id d9443c01a7336-29087a1668emr19722635ad.12.1760827994094; Sat, 18 Oct 2025 15:53:14 -0700 (PDT) Received: from google.com (176.13.105.34.bc.googleusercontent.com. [34.105.13.176]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-b6a834de75bsm1268723a12.12.2025.10.18.15.53.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 18 Oct 2025 15:53:13 -0700 (PDT) Date: Sat, 18 Oct 2025 15:53:09 -0700 From: Vipin Sharma To: Jason Gunthorpe Cc: bhelgaas@google.com, alex.williamson@redhat.com, pasha.tatashin@soleen.com, dmatlack@google.com, graf@amazon.com, pratyush@kernel.org, gregkh@linuxfoundation.org, chrisl@kernel.org, rppt@kernel.org, skhawaja@google.com, parav@nvidia.com, saeedm@nvidia.com, kevin.tian@intel.com, jrhilke@google.com, david@redhat.com, jgowans@amazon.com, dwmw2@infradead.org, epetron@amazon.de, junaids@google.com, linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, kvm@vger.kernel.org, linux-kselftest@vger.kernel.org Subject: Re: [RFC PATCH 00/21] VFIO live update support Message-ID: <20251018225309.GF1034710.vipinsh@google.com> References: <20251018000713.677779-1-vipinsh@google.com> <20251018172130.GQ3938986@ziepe.ca> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20251018172130.GQ3938986@ziepe.ca> On 2025-10-18 14:21:30, Jason Gunthorpe wrote: > On Fri, Oct 17, 2025 at 05:06:52PM -0700, Vipin Sharma wrote: > > 2. Integration with IOMMUFD and PCI series for complete workflow where a > > device continues a DMA while undergoing through live update. > > It is a bit confusing, this series has PCI components so how does it > relate the PCI series? Is this self contained for at least limited PCI > topologies? This series has very minimal PCI support. For example, it is skipping DMA disable on the VFIO PCI device during kexec reboot and saving initial PCI state during first open (bind) of the device. We do need proper PCI support, few examples: - Not disabling DMA bit on bridges upstream of the leaf VFIO PCI device node. - Not writing to PCI config during device enumeration. - Not autobinding devices to their default driver. My testing works on devices which don't have driver bulit in the kernel so there is no probing by other drivers. - PCI enable and disable calls support. These things I think should be solved in PCI series.