Thread (77 messages) 77 messages, 5 authors, 2025-06-26

Re: [PATCH v6 16/25] iommu: Allow an input type in hw_info op

From: Baolu Lu <baolu.lu@linux.intel.com>
Date: 2025-06-16 11:54:04
Also in: linux-doc, linux-iommu, linux-kselftest, linux-patches, linux-tegra, lkml

On 6/14/2025 3:14 PM, Nicolin Chen wrote:
The hw_info uAPI will support a bidirectional data_type field that can be
used as an input field for user space to request for a specific info data.

To prepare for the uAPI update, change the iommu layer first:
  - Add a new IOMMU_HW_INFO_TYPE_DEFAULT as an input, for which driver can
    output its only (or firstly) supported type
  - Update the kdoc accordingly
  - Roll out the type validation in the existing drivers

Reviewed-by: Kevin Tian<kevin.tian@intel.com>
Reviewed-by: Jason Gunthorpe<jgg@nvidia.com>
Signed-off-by: Nicolin Chen<redacted>
Reviewed-by: Lu Baolu <baolu.lu@linux.intel.com>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help