[raspi-internals] ARM_C0_APROTPASS

  • From: "Kristina Brooks" <tinab@xxxxxxx>
  • To: raspi-internals@xxxxxxxxxxxxx
  • Date: Thu, 05 May 2016 04:13:47 +0100

To address what Herman was saying:
00:44 < hermanhermitage> kristina: do you think the 32(64) entries at
ARM_TRANSLATE don't need to be set up provided ARM_C0_APROTPASS is
set?
I don't believe so but I may be wrong. The fact that flags are present
for user/system mode translations (system mode being memory in secure
regions as defined by SDC configuration) would seem like they would
involve the page table, while the 'PASS' flag seems to (at least from
the name and the comment) implies passthrough mapping avoiding the ARM
"IOMMU" completely.
#define ARM_C0_APROTPASS  0x0000A000 // Translate 1:1#define
ARM_C0_APROTUSER  0x00000000 // Only user mode#define ARM_C0_APROTSYST
 0x0000F000 // Only system mode
 If that isn't the case, I guess it would be possible to set up a
mapping to test this out and just map the range from 0x0 or even from
0xC0000000 (uncached SDRAM).

Other related posts:

  • » [raspi-internals] ARM_C0_APROTPASS - Kristina Brooks