[coreboot-gerrit] Change in coreboot[master]: arch/arm64/armv8/mmu: Add support for 48bit VA

Patrick Rudolph (Code Review) gerrit at coreboot.org
Fri Mar 2 11:31:05 CET 2018


Hello build bot (Jenkins), 

I'd like you to reexamine a change. Please visit

    https://review.coreboot.org/24970

to look at the new patch set (#2).

Change subject: arch/arm64/armv8/mmu: Add support for 48bit VA
......................................................................

arch/arm64/armv8/mmu: Add support for 48bit VA

The VA space needs to be extended to support 48bit, as on Cavium SoCs
the MMIO starts at 1 << 47.

The following changes were done:
* Add a Kconfig to define the VA space on platform level and support
  64KB granular size for VA > 39.
* Decide to use either 4KB granule or 64KB granule depending on
  supported VA space.
* Add helper functions for different page level sizes
* Add asserts to make sure that the address is withing the VA
* Don't use BLOCK in level1 if not on 4KB granule

Tested on Cavium SoC.
Needs tests on other platforms.

Change-Id: I89e6a4809b6b725c3945bad7fce82b0dfee7c262
Signed-off-by: Patrick Rudolph <patrick.rudolph at 9elements.com>
---
M src/arch/arm64/armv8/Kconfig
M src/arch/arm64/armv8/mmu.c
M src/arch/arm64/include/armv8/arch/mmu.h
3 files changed, 121 insertions(+), 34 deletions(-)


  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/70/24970/2
-- 
To view, visit https://review.coreboot.org/24970
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I89e6a4809b6b725c3945bad7fce82b0dfee7c262
Gerrit-Change-Number: 24970
Gerrit-PatchSet: 2
Gerrit-Owner: Patrick Rudolph <patrick.rudolph at 9elements.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply at coreboot.org>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20180302/6fa664e4/attachment.html>


More information about the coreboot-gerrit mailing list