diff options
author | Rob Herring <[email protected]> | 2019-02-21 14:23:25 -0600 |
---|---|---|
committer | Rob Herring <[email protected]> | 2019-04-12 12:52:38 -0500 |
commit | d08d42de6432d5064045159aed060e3db9fa7807 (patch) | |
tree | 2019c00522f05dfd8df93440401a2042cd085da0 /scripts/bpf_helpers_doc.py | |
parent | 0eb2766dd6f366d42448121c383420bb0307bcc7 (diff) |
iommu: io-pgtable: Add ARM Mali midgard MMU page table format
ARM Mali midgard GPU is similar to standard 64-bit stage 1 page tables, but
have a few differences. Add a new format type to represent the format. The
input address size is 48-bits and the output address size is 40-bits (and
possibly less?). Note that the later bifrost GPUs follow the standard
64-bit stage 1 format.
The differences in the format compared to 64-bit stage 1 format are:
The 3rd level page entry bits are 0x1 instead of 0x3 for page entries.
The access flags are not read-only and unprivileged, but read and write.
This is similar to stage 2 entries, but the memory attributes field matches
stage 1 being an index.
The nG bit is not set by the vendor driver. This one didn't seem to matter,
but we'll keep it aligned to the vendor driver.
Cc: Will Deacon <[email protected]>
Acked-by: Robin Murphy <[email protected]>
Cc: [email protected]
Cc: [email protected]
Acked-by: Alyssa Rosenzweig <[email protected]>
Acked-by: Joerg Roedel <[email protected]>
Signed-off-by: Rob Herring <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions