[roll] Roll fuchsia [kernel][iommu] Refactor kernel IOMMU driver API

Restructure the kernel IOMMU driver interface (used by the IOMMU
related dispatchers).  In particular, be a bit more object oriented
about it.  Define proper abstract interfaces for BTIs and PMTs,
allowing drivers to define their specific behaviors instead of using
opaque integer tokens to represent BTIs.

This seems to have been done initially because the Stub IOMMU driver
didn't really have any state to track for these objects, but
implementations based on actual HW (such as an SMMU) _do_ have state
they need to track with these objects.

As a bonus, this explicitly lets us track and object allocations using
a proper smart pointer (`fbl::RefPtr` in this case) reducing the
potential for either leaks or UAF.

Original-Bug: 42108551
Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1519892
Original-Revision: 72d2084931f231339aef6525fd7d8a5eaabd5d6f
GitOrigin-RevId: 855eda72437cd5a1ab4f7d12de592d4922503adc
Change-Id: Ic4b28909725e09c2c72ee1cd6967f69b4bcf9001
1 file changed
tree: 6fec1b78a7baac439f14d89f29171651446a8229
  1. ctf/
  2. git-hooks/
  3. infra/
  4. third_party/
  5. cobalt
  6. flower
  7. jiri.lock
  8. MILESTONE
  9. minimal
  10. prebuilts
  11. README.md
  12. stem
  13. test_durations
README.md

Integration

This repository contains Fuchsia's Global Integration manifest files.

Making changes

All changes should be made to the internal version of this repository. Our infrastructure automatically updates this version when the internal one changes.

Currently all changes must be made by a Google employee. Non-Google employees wishing to make a change can ask for assistance in one of the communication channels documented at get involved.

Obtaining the source

First install Jiri.

Next run:

$ jiri init
$ jiri import minimal https://fuchsia.googlesource.com/integration
$ jiri update

Third party

Third party projects should have their own subdirectory in ./third_party.