Re: [PATCH v4 18/23] iommu/arm-smmu-v3-iommufd: Support implementation-defined hw_info

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, May 16, 2025 at 10:22:57AM -0300, Jason Gunthorpe wrote:
> On Thu, May 15, 2025 at 01:17:47PM -0700, Nicolin Chen wrote:
> > > I think the former is simpler to code, you can just add the req_type
> > > to the signatures and if the driver comes back with a type != req_type
> > > the core code will return EOPNOTSUPP
> > 
> > OK.
> > 
> > Maybe just turn the out_data_type to be bidirectional?
> 
> You can do that, bu you need to add a flag to turn it on.  We didn't
> validate that it was 0 on input before so we can't start now.

Sure. I feel adding a flag would have less footprints throughout
the call down to the driver. Will try doing that.

Thanks
Nicolin




[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux