[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <aNGl/pos6os95dHh@Asurada-Nvidia>
Date: Mon, 22 Sep 2025 12:39:42 -0700
From: Nicolin Chen <nicolinc@...dia.com>
To: "Tian, Kevin" <kevin.tian@...el.com>
CC: "joro@...tes.org" <joro@...tes.org>, "jgg@...dia.com" <jgg@...dia.com>,
"bhelgaas@...gle.com" <bhelgaas@...gle.com>, "suravee.suthikulpanit@....com"
<suravee.suthikulpanit@....com>, "will@...nel.org" <will@...nel.org>,
"robin.murphy@....com" <robin.murphy@....com>, "sven@...nel.org"
<sven@...nel.org>, "j@...nau.net" <j@...nau.net>, "alyssa@...enzweig.io"
<alyssa@...enzweig.io>, "neal@...pa.dev" <neal@...pa.dev>,
"robin.clark@....qualcomm.com" <robin.clark@....qualcomm.com>,
"m.szyprowski@...sung.com" <m.szyprowski@...sung.com>, "krzk@...nel.org"
<krzk@...nel.org>, "alim.akhtar@...sung.com" <alim.akhtar@...sung.com>,
"dwmw2@...radead.org" <dwmw2@...radead.org>, "baolu.lu@...ux.intel.com"
<baolu.lu@...ux.intel.com>, "yong.wu@...iatek.com" <yong.wu@...iatek.com>,
"matthias.bgg@...il.com" <matthias.bgg@...il.com>,
"angelogioacchino.delregno@...labora.com"
<angelogioacchino.delregno@...labora.com>, "tjeznach@...osinc.com"
<tjeznach@...osinc.com>, "paul.walmsley@...ive.com"
<paul.walmsley@...ive.com>, "palmer@...belt.com" <palmer@...belt.com>,
"aou@...s.berkeley.edu" <aou@...s.berkeley.edu>, "alex@...ti.fr"
<alex@...ti.fr>, "heiko@...ech.de" <heiko@...ech.de>,
"schnelle@...ux.ibm.com" <schnelle@...ux.ibm.com>, "mjrosato@...ux.ibm.com"
<mjrosato@...ux.ibm.com>, "gerald.schaefer@...ux.ibm.com"
<gerald.schaefer@...ux.ibm.com>, "orsonzhai@...il.com" <orsonzhai@...il.com>,
"baolin.wang@...ux.alibaba.com" <baolin.wang@...ux.alibaba.com>,
"zhang.lyra@...il.com" <zhang.lyra@...il.com>, "wens@...e.org"
<wens@...e.org>, "jernej.skrabec@...il.com" <jernej.skrabec@...il.com>,
"samuel@...lland.org" <samuel@...lland.org>, "jean-philippe@...aro.org"
<jean-philippe@...aro.org>, "rafael@...nel.org" <rafael@...nel.org>,
"lenb@...nel.org" <lenb@...nel.org>, "Liu, Yi L" <yi.l.liu@...el.com>,
"cwabbott0@...il.com" <cwabbott0@...il.com>, "quic_pbrahma@...cinc.com"
<quic_pbrahma@...cinc.com>, "iommu@...ts.linux.dev" <iommu@...ts.linux.dev>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"asahi@...ts.linux.dev" <asahi@...ts.linux.dev>,
"linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>, "linux-arm-msm@...r.kernel.org"
<linux-arm-msm@...r.kernel.org>, "linux-samsung-soc@...r.kernel.org"
<linux-samsung-soc@...r.kernel.org>, "linux-mediatek@...ts.infradead.org"
<linux-mediatek@...ts.infradead.org>, "linux-riscv@...ts.infradead.org"
<linux-riscv@...ts.infradead.org>, "linux-rockchip@...ts.infradead.org"
<linux-rockchip@...ts.infradead.org>, "linux-s390@...r.kernel.org"
<linux-s390@...r.kernel.org>, "linux-sunxi@...ts.linux.dev"
<linux-sunxi@...ts.linux.dev>, "linux-tegra@...r.kernel.org"
<linux-tegra@...r.kernel.org>, "virtualization@...ts.linux.dev"
<virtualization@...ts.linux.dev>, "linux-acpi@...r.kernel.org"
<linux-acpi@...r.kernel.org>, "linux-pci@...r.kernel.org"
<linux-pci@...r.kernel.org>, "patches@...ts.linux.dev"
<patches@...ts.linux.dev>, "Sethi, Vikram" <vsethi@...dia.com>,
"helgaas@...nel.org" <helgaas@...nel.org>, "etzhao1900@...il.com"
<etzhao1900@...il.com>
Subject: Re: [PATCH v4 6/7] iommu: Introduce iommu_dev_reset_prepare() and
iommu_dev_reset_done()
On Fri, Sep 12, 2025 at 09:49:13AM +0000, Tian, Kevin wrote:
> given it impacts uAPI:
>
> - now attach/replace can be done anytime
> - with this series attach/replace is rejected when a device is being reset
> - later with compat testing ops attach/replace can be done again at
> any time
>
> we should be cautious here, especially if this series goes into 6.18 (likely
> the next LTS version) the interim behavior change may last long. yes
> we discussed that no know usage would want to do attach/replace
> while a device is being reset, but I wonder whether we should instead
> wait for a full solution to avoid unnecessary uAPI change back-and-forth...
That's a very fair point. To keep the uAPI consistent:
I will split the series, making a smaller preparatory one, as a
part-1 for release_domain and old_domain.
Part-2 will roll out a can_attach op across drivers. And part-3
should have the final reset patches.
Thanks
Nicolin
Powered by blists - more mailing lists