staging: vchiq_arm: Add 36-bit address support
authorPhil Elwell <phil@raspberrypi.com>
Thu, 1 Nov 2018 17:31:37 +0000 (17:31 +0000)
committerDom Cobley <popcornmix@gmail.com>
Mon, 19 Feb 2024 11:33:11 +0000 (11:33 +0000)
commit822c67c672f649c7ba4656eb167929bef03e8d72
treea4ab75454230b42531d3d85d673d9a90eebcf682
parente3835a8990e2140e11b28d83b7528b010ab99593
staging: vchiq_arm: Add 36-bit address support

Conditional on a new compatible string, change the pagelist encoding
such that the top 24 bits are the pfn, leaving 8 bits for run length
(-1), giving a 36-bit address range.

Manage the split between addresses for the VPU and addresses for the
40-bit DMA controller with a dedicated DMA device pointer that on non-
BCM2711 platforms is the same as the main VCHIQ device. This allows
the VCHIQ node to stay in the usual place in the DT.

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c