From: Jason Gunthorpe <jgg@nvidia.com>
To: "Tian, Kevin" <kevin.tian@intel.com>
Cc: "iommu@lists.linux.dev" <iommu@lists.linux.dev>,
Joerg Roedel <joro@8bytes.org>, Will Deacon <will@kernel.org>,
Lu Baolu <baolu.lu@linux.intel.com>,
"Rodel, Jorg" <jroedel@suse.de>,
Jerry Snitselaar <jsnitsel@redhat.com>,
"patches@lists.linux.dev" <patches@lists.linux.dev>,
Robin Murphy <robin.murphy@arm.com>
Subject: Re: [PATCH] iommufd/selftest: Check the bus type during probe
Date: Fri, 5 Jan 2024 15:49:33 -0400 [thread overview]
Message-ID: <20240105194933.GA366351@nvidia.com> (raw)
In-Reply-To: <BN9PR11MB52766626A292048AA13F04A78C662@BN9PR11MB5276.namprd11.prod.outlook.com>
On Fri, Jan 05, 2024 at 12:38:49AM +0000, Tian, Kevin wrote:
> > From: Jason Gunthorpe <jgg@nvidia.com>
> > Sent: Wednesday, January 3, 2024 11:27 PM
> >
> > This relied on the probe function only being invoked by the bus type mock
> > was registered on. The removal of the bus ops broke this assumption and
> > the probe could be called on non-mock bus types like PCI.
> >
> > Check the bus type directly in probe.
> >
> > Fixes: 17de3f5fdd35 ("iommu: Retire bus ops")
> > Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
>
> Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Applied to iommufd for-next
Thanks,
Jason
prev parent reply other threads:[~2024-01-05 19:49 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-03 15:27 [PATCH] iommufd/selftest: Check the bus type during probe Jason Gunthorpe
2024-01-05 0:38 ` Tian, Kevin
2024-01-05 19:49 ` Jason Gunthorpe [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240105194933.GA366351@nvidia.com \
--to=jgg@nvidia.com \
--cc=baolu.lu@linux.intel.com \
--cc=iommu@lists.linux.dev \
--cc=joro@8bytes.org \
--cc=jroedel@suse.de \
--cc=jsnitsel@redhat.com \
--cc=kevin.tian@intel.com \
--cc=patches@lists.linux.dev \
--cc=robin.murphy@arm.com \
--cc=will@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox