lkml.org 
[lkml]   [2023]   [Oct]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH v5 6/7] iommu: Retire bus ops
    On Wed, Oct 11, 2023 at 07:14:53PM +0100, Robin Murphy wrote:
    > With the rest of the API internals converted, it's time to finally
    > tackle probe_device and how we bootstrap the per-device ops association
    > to begin with. This ends up being disappointingly straightforward, since
    > fwspec users are already doing it in order to find their of_xlate
    > callback, and it works out that we can easily do the equivalent for
    > other drivers too. Then shuffle the remaining awareness of iommu_ops
    > into the couple of core headers that still need it, and breathe a sigh
    > of relief.
    >
    > Ding dong the bus ops are gone!
    >
    > CC: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
    > Acked-by: Christoph Hellwig <hch@lst.de>
    > Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    > Reviewed-by: Lu Baolu <baolu.lu@linux.intel.com>
    > Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
    > Signed-off-by: Robin Murphy <robin.murphy@arm.com>
    >
    > ---
    >
    > v4: Don't forget new reference in iommu_device_register_bus()
    > ---
    > drivers/iommu/iommu.c | 31 ++++++++++++++++++-------------
    > include/acpi/acpi_bus.h | 2 ++
    > include/linux/device.h | 1 -
    > include/linux/device/bus.h | 5 -----
    > include/linux/dma-map-ops.h | 1 +
    > 5 files changed, 21 insertions(+), 19 deletions(-)
    >

    Reviewed-by: Jerry Snitselaar <jsnitsel@redhat.com>

    \
     
     \ /
      Last update: 2023-10-19 01:37    [W:6.791 / U:0.028 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site