From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pf1-f171.google.com (mail-pf1-f171.google.com [209.85.210.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 56417366839 for ; Wed, 25 Feb 2026 23:20:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.171 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772061618; cv=none; b=Af/jiRjxtP6sBNU+b38LYym7SljDFzmsuRkVrqqtzeWCrf1Ugwv9++Z9nHFxWHICzGR/4rDAGADpYmFOQ9wo1GM3f5DReurDZvstGGH0tTjdLqoOYaxdSfUqz+QqbtzgwZHYMxrrXEn5wxtlNMFscMIt12553u5uOjmv8REsT90= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772061618; c=relaxed/simple; bh=ncJ/yZrFQwmQDLQRu5VuYVpooUS7GC0HT5ZYkkiWhy4=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=h7IAj5dwwpsoW217WdMcFTv0wm8XcgsGwNwYdzD8ggZv6EJZZwj96zP8ZfZVt0kLT/b7ZdQCEfJsE/tKZWRT9dNbcmHXJyrT6N/vZ1aUJisQhm24weTt2mstMU59TJi86PDvIXtADJQTm6GfE6DpuelCQrLts7rkztSl17yDxDI= 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=uhzn4w6U; arc=none smtp.client-ip=209.85.210.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="uhzn4w6U" Received: by mail-pf1-f171.google.com with SMTP id d2e1a72fcca58-81df6a302b1so327281b3a.2 for ; Wed, 25 Feb 2026 15:20:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1772061617; x=1772666417; 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=aEWfuL1WgCP/eH/o3qO74sPfk+Pg3+xsCKw2mq2gLYE=; b=uhzn4w6UtRIAbnLkkRvfqKWxBco+JaWGwiRza1DyJHeGRsQPcwqUw/970G9aidfPJB mZbdRLAhnelthWtXAM066H0ITzo931/rXkSCh69hexdD2OHYrTbdKJlhKIhprEmP7w/b rdddN8iQOeNU9st4sqX59824wjd8ufl7mLW0cssGI4D/bDvqtJsRQqxFdJIJ3WTtKIHm qc6NKD8dG52/9IkgsB+Vj1v6QZTk5/LgnyXMn08D/0xnIx6K2VYpmHTPCUmEHzHN4dMl EerY3NyQyRZA07tRMRN0OSocjAxMABPEh4iUXLFHvJwdvP4D9d+//76ht8k2auMf9DHp 1h4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1772061617; x=1772666417; h=in-reply-to:content-disposition: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; bh=aEWfuL1WgCP/eH/o3qO74sPfk+Pg3+xsCKw2mq2gLYE=; b=Q16jKvE3x9gRsiXYhsVJcF0iTc0ijHmGksEgRRD8INN4NJlJB684FlHYB986kEkYmF +4qHT8o3jB1KihrYhvH9yfkcvRf7VKLQGUEnChorQubZTlD6CeNfoj2S1PZEz//8hpyn ySZ8Hj8f2fBLxDjaNTy7JsgTOyuoXWnGl9ACgDLJFA27YW4o6t4hAyyS+vC+gKzOGEiI h1D9x9c5VKGEdZwRot1P3pkaL3245IJrRWSknU/Utks2QwmxGBtNFO5Nyt7hTxfsJpzb D/9ma8QhaEZdO+Od3tFXSCUcWy5ZMbogwS5vMEDrCBO02b+LsHd/nH7mVWzfoqh01Op6 36Gg== X-Forwarded-Encrypted: i=1; AJvYcCVio6sfkJITUKGmTx7bFWePJN7cCIGGkxhfFaDR7Tw0Vwgk6ZN2VV2/YxO9IjNb0XKSXQw=@vger.kernel.org X-Gm-Message-State: AOJu0YxMcHLduW/7i0HRXT0fKO0MGQdvF1kA1uCg/InJlBVm8fC/oOOQ D5jCcidfhTkYESV79q46z/E2mR0SaLd3KesIu5H99sII5el4wt3jzpern2CvdyY0EQ== X-Gm-Gg: ATEYQzyK6sUNtSvJam3wMybBQcgtxM+OaMqFg6eA7w+sQgyXLmMi+BOkTruuisvqGre 17tlF7if2n/kT9+u66Gv178mro5kMwb0SAuRz14ZP+i1ioiXEMUpuQTOfUD7oj9Js/p1uA/r7fr nEA+l6El3C1YlsaCR9s8s3W7134iDh7FshZvP3erDp0W7JUJbOvIvpDfM0cfXmMLCnF7y/jw+hH y2wmB97qmzwV+1R6XlMrT7Fc6Cm+uBascHfItaHoUn8lW0ND/yufh8kxcWQOejBdB6HrEd/dLzN BgKLoKUbr2KvDI05tNWU6q097GvInMJpKrM4JH2V88WDubWspS5/6qMK8oHEV6086QSpnMmkEP/ 0RQGEAeLWmtu8R9JzX8ljUooi5QhA1MOKta9OU7/ckGNGKrw4bkV067zBnfOEWdGNESivFCf+Vg wP1vvqUcjWW2RVWR7U7h7nGaPtJy3V4RFNK1dJfbSgvur8alPG4IBnh/ikWRO9fA== X-Received: by 2002:a05:6a00:18a7:b0:81f:852b:a91c with SMTP id d2e1a72fcca58-8273390dcc3mr1547131b3a.64.1772061616376; Wed, 25 Feb 2026 15:20:16 -0800 (PST) Received: from google.com (239.23.105.34.bc.googleusercontent.com. [34.105.23.239]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-82739ff37f1sm347240b3a.40.2026.02.25.15.20.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Feb 2026 15:20:14 -0800 (PST) Date: Wed, 25 Feb 2026 23:20:10 +0000 From: David Matlack To: Bjorn Helgaas Cc: Alex Williamson , Adithya Jayachandran , Alexander Graf , Alex Mastro , Alistair Popple , Andrew Morton , Ankit Agrawal , Bjorn Helgaas , Chris Li , David Rientjes , Jacob Pan , Jason Gunthorpe , Jason Gunthorpe , Jonathan Corbet , Josh Hilke , Kevin Tian , kexec@lists.infradead.org, kvm@vger.kernel.org, Leon Romanovsky , Leon Romanovsky , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-mm@kvack.org, linux-pci@vger.kernel.org, Lukas Wunner , =?utf-8?Q?Micha=C5=82?= Winiarski , Mike Rapoport , Parav Pandit , Pasha Tatashin , Pranjal Shrivastava , Pratyush Yadav , Raghavendra Rao Ananta , Rodrigo Vivi , Saeed Mahameed , Samiullah Khawaja , Shuah Khan , Thomas =?iso-8859-1?Q?Hellstr=F6m?= , Tomita Moeko , Vipin Sharma , Vivek Kasireddy , William Tu , Yi Liu , Zhu Yanjun Subject: Re: [PATCH v2 03/22] PCI: Inherit bus numbers from previous kernel during Live Update Message-ID: References: <20260129212510.967611-4-dmatlack@google.com> <20260225224746.GA3714478@bhelgaas> Precedence: bulk X-Mailing-List: kvm@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: <20260225224746.GA3714478@bhelgaas> On 2026-02-25 04:47 PM, Bjorn Helgaas wrote: > On Thu, Jan 29, 2026 at 09:24:50PM +0000, David Matlack wrote: > > Inherit bus numbers from the previous kernel during a Live Update when > > one or more PCI devices are being preserved. This is necessary so that > > preserved devices can DMA through the IOMMU during a Live Update > > (changing bus numbers would break IOMMU translation). > > I think changing bus numbers would break DMA regardless of whether an > IOMMU is involved. Completions carrying the data for DMA reads are > routed back to the Requester ID of the read. Ahh, makes sense. I'll clarify the commit message in the next version.