1. 12 Feb, 2021 4 commits
  2. 11 Feb, 2021 8 commits
  3. 10 Feb, 2021 3 commits
  4. 09 Feb, 2021 5 commits
    • Manish V Badarkhe's avatar
      plat/arm: fvp: Protect GICR frames for fused/unused cores · f98630fb
      Manish V Badarkhe authored
      
      
      Currently, BLs are mapping the GIC memory region as read-write
      for all cores on boot-up.
      
      This opens up the security hole where the active core can write
      the GICR frame of fused/inactive core. To avoid this issue, disable
      the GICR frame of all inactive cores as below:
      
      1. After primary CPU boots up, map GICR region of all cores as
         read-only.
      2. After primary CPU boots up, map its GICR region as read-write
         and initialize its redistributor interface.
      3. After secondary CPU boots up, map its GICR region as read-write
         and initialize its redistributor interface.
      4. All unused/fused core's redistributor regions remain read-only and
         write attempt to such protected regions results in an exception.
      
      As mentioned above, this patch offers only the GICR memory-mapped
      region protection considering there is no facility at the GIC IP
      level to avoid writing the redistributor area.
      
      These changes are currently done in BL31 of Arm FVP and guarded under
      the flag 'FVP_GICR_REGION_PROTECTION'.
      
      As of now, this patch is tested manually as below:
      1. Disable the FVP cores (core 1, 2, 3) with core 0 as an active core.
      2. Verify data abort triggered by manually updating the ‘GICR_CTLR’
         register of core 1’s(fused) redistributor from core 0(active).
      
      Change-Id: I86c99c7b41bae137b2011cf2ac17fad0a26e776d
      Signed-off-by: default avatarManish V Badarkhe <Manish.Badarkhe@arm.com>
      f98630fb
    • Manish V Badarkhe's avatar
      doc: Build option to protect GICR frame · d30a6615
      Manish V Badarkhe authored
      
      
      Added a build option 'FVP_GICR_REGION_PROTECTION' to make
      redistributor frame of fused/unused cores as read only.
      
      Change-Id: Ie85f86e2465b93321a92a888ce8712a3144e4ccb
      Signed-off-by: default avatarManish V Badarkhe <Manish.Badarkhe@arm.com>
      d30a6615
    • Manish V Badarkhe's avatar
      plat/arm: fvp: Do not map GIC region in BL1 and BL2 · e0cea783
      Manish V Badarkhe authored
      
      
      GIC memory region is not getting used in BL1 and BL2.
      Hence avoid its mapping in BL1 and BL2 that freed some
      page table entries to map other memory regions in the
      future.
      
      Retains mapping of CCN interconnect region in BL1 and BL2
      overlapped with the GIC memory region.
      
      Change-Id: I880dd0690f94b140e59e4ff0c0d436961b9cb0a7
      Signed-off-by: default avatarManish V Badarkhe <Manish.Badarkhe@arm.com>
      e0cea783
    • Sandrine Bailleux's avatar
    • Usama Arif's avatar
      fdts: use scmi_dvfs clock index 1 for cores 4-7 · a97c390b
      Usama Arif authored
      
      
      This allows Matterhorn cores to operate at their optimal OPPs.
      Signed-off-by: default avatarUsama Arif <usama.arif@arm.com>
      Change-Id: I2e1b784da10154a1f1f65dd0e3a39213e7683116
      a97c390b
  5. 08 Feb, 2021 1 commit
  6. 05 Feb, 2021 5 commits
  7. 04 Feb, 2021 1 commit
  8. 03 Feb, 2021 8 commits
  9. 02 Feb, 2021 5 commits
    • Zelalem's avatar
      plat/arm:juno: fix parallel build issue for romlib config · 5e508f06
      Zelalem authored
      
      
      When building TF-A with USE_ROMLIB=1 and -j make options, the build fails with the following error:
      make[1]: *** No rule to make target '/build/juno/debug/romlib/romlib.bin', needed by 'bl1_romlib.bin'.
      This patch fixes that issue.
      Signed-off-by: default avatarZelalem <zelalem.aweke@arm.com>
      Change-Id: I0cca416f3f50f400759164e0735c2d6b520ebf84
      5e508f06
    • Madhukar Pappireddy's avatar
    • Manish Pandey's avatar
      Merge changes from topic "marvell-armada-docs" into integration · 477e28de
      Manish Pandey authored
      * changes:
        docs: marvell: Replace ESPRESSObin-Ultra TF-A build example by full example how to build production release of Marvell firmware image
        docs: marvell: Fix description of flash-image.bin image
        docs: marvell: Add information into CLOCKSPRESET option how to identify CPU frequency
        docs: marvell: Reformat DDR_TOPOLOGY option and mention EspressoBin-Ultra board
        docs: marvell: Move Supported Marvell platforms to PLAT build option
      477e28de
    • Manish Pandey's avatar
      Merge changes from topic "marvell-a3k-separate-flash-and-uart" into integration · 6803d989
      Manish Pandey authored
      * changes:
        plat: marvell: armada: a3k: Do not use 'echo -e' in Makefile
        docs: marvell: Update info about BOOTDEV=SATA
      6803d989
    • Manish Pandey's avatar
      Merge changes from topic "marvell-a3k-separate-flash-and-uart" into integration · 72645d5b
      Manish Pandey authored
      * changes:
        docs: marvell: Update info about WTMI_IMG option
        plat: marvell: armada: a3k: Remove unused variable WTMI_SYSINIT_IMG from Makefile
        plat: marvell: armada: Show informative build messages and blank lines
        plat: marvell: armada: Move definition of mrvl_flash target to common marvell_common.mk file
        plat: marvell: armada: a3k: Use $(Q) instead of @
        plat: marvell: armada: a3k: Add a new target mrvl_uart which builds UART image
        plat: marvell: armada: a3k: Build UART image files directly in $(BUILD_UART) subdirectory
        plat: marvell: armada: a3k: Build intermediate files in $(BUILD_PLAT) directory
        plat: marvell: armada: a3k: Correctly set DDR_TOPOLOGY and CLOCKSPRESET for WTMI
        plat: marvell: armada: a3k: Allow use of the system Crypto++ library
        docs: marvell: Update info about WTP and MV_DDR_PATH parameters
        plat: marvell: armada: a3k: Add checks that WTP, MV_DDR_PATH and CRYPTOPP_PATH are correctly defined
        docs: marvell: Update mv-ddr-marvell and A3700-utils-marvell branches
      72645d5b