drm/tyr: add Memory Management Unit (MMU) supportAdd Memory Management Unit (MMU) support in Tyr. The MMU module wraps aSlotManager instance to allocate MMU address-space slots for use byvirtual
drm/tyr: add Memory Management Unit (MMU) supportAdd Memory Management Unit (MMU) support in Tyr. The MMU module wraps aSlotManager instance to allocate MMU address-space slots for use byvirtual memory (VM) address spaces. The MMU's SlotManager uses anAddressSpaceManager to handle the hardware-specific callbacks. Forexample, the AddressSpaceManager activates and evicts VMs from slots bywriting commands to the MMU registers.Add an implementation block for the MMU's MEMATTR register to providea method for translating the Memory Attribute Indirection Register (MAIR)format from the pagetable configuration to a format understood by the MMU.Create an mmu instance during probe, it will be used by subsequent patchesin this series.Wrap the iomem stored in TyrDrmRegistrationData in an Arc. The iomemis stored in the mmu through its AddressSpaceManager. In anticipationof the iomem also being stored in the firmware object, set up sharedownership of the iomem now.Update Kconfig to add the new MMU and IOMMU dependencies requiredby this MMU module.Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>Co-developed-by: Deborah Brouwer <deborah.brouwer@collabora.com>Signed-off-by: Deborah Brouwer <deborah.brouwer@collabora.com>Link: https://patch.msgid.link/20260728-fw-boot-b4-v10-3-9187aefa3f2f@collabora.comSigned-off-by: Alice Ryhl <aliceryhl@google.com>
show more ...