On Tue, Dec 01, 2026 at 02:24:49PM +0100, Christian König wrote:
> First of all a physical address is only what the CPU can see, but
> there are a lot of use cases where you need to access resources the
> CPU can't reach. For example hidden device memory or even system
> memory where the CPU intentionally has no address for because of
> digital rights management reasons etc... Taking a look at all the
> use cases I have seen I would say that DMA-buf actually contains
> more non CPU accessible resources than CPU accessible ones.
I think these cases are the private interconnect like "XGMI,
GDS/GWS/OA, I2C, I2S" you mentioned.
It is really clear any solution needs something for DMA API users that
must be phys_addr_t based, and something to negotiate the universe of
botique interconnects that cannot use the DMA API.
Jason