summaryrefslogtreecommitdiff
path: root/include/uapi/linux/kernel.h
diff options
context:
space:
mode:
authorMitchel Humpherys <mitchelh@codeaurora.org>2014-11-04 10:40:00 -0800
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-22 11:11:22 -0700
commitcc4f1763f08b782b170c23a1cf5bd40b2ef952be (patch)
treedd4fa66298798dd97cb9d05c1b202e4da646289e /include/uapi/linux/kernel.h
parentb1dea0183f192dc9f67cda13a6c7ad4740400525 (diff)
iommu/arm-smmu: add and use definitions for the TTBCR2.SEP field
Currently we're repurposing the definitions used for the TTBCR2.PASize field for TTBCR2.SEP since they conveniently have the same values. However, this might look like a bug at first glance to the casual passer-by, appearing that we're using the wrong bit definitions for the field. For example, we're using TTBCR2_ADDR_32 to indicate that the Sign Extension Bit should live at 31 (not 32 as the name of the macro might imply). Reduce cumulative human cognitive load by adding some definitions specifically for the SEP field. Change-Id: Ia406951499453e2badca42a1cc4cdbc566af4dab Signed-off-by: Mitchel Humpherys <mitchelh@codeaurora.org>
Diffstat (limited to 'include/uapi/linux/kernel.h')
0 files changed, 0 insertions, 0 deletions