1. 22 Dec, 2020 1 commit
    • Graeme Gregory's avatar
      PSCI: fix limit of 256 CPUs caused by cast to unsigned char · a86865ac
      Graeme Gregory authored
      
      
      In psci_setup.c psci_init_pwr_domain_node() takes an unsigned
      char as node_idx which limits it to initialising only the first
      256 CPUs. As the calling function does not check for a limit of
      256 I think this is a bug so change the unsigned char to
      uint16_t and change the cast from the calling site in
      populate_power_domain_tree().
      
      Also update the non_cpu_pwr_domain_node structure lock_index
      to uint16_t and update the function signature for psci_lock_init()
      appropriately.
      
      Finally add a define PSCI_MAX_CPUS_INDEX to psci_private.h and add
      a CASSERT to psci_setup.c to make sure PLATFORM_CORE_COUNT cannot
      exceed the index value.
      Signed-off-by: default avatarGraeme Gregory <graeme@nuviainc.com>
      Change-Id: I9e26842277db7483fd698b46bbac62aa86e71b45
      a86865ac
  2. 21 Dec, 2020 1 commit
  3. 18 Dec, 2020 2 commits
  4. 16 Dec, 2020 2 commits
  5. 15 Dec, 2020 1 commit
  6. 14 Dec, 2020 5 commits
  7. 11 Dec, 2020 3 commits
    • Manish Pandey's avatar
    • Madhukar Pappireddy's avatar
      Merge changes from topic "rdevans" into integration · bd054fd6
      Madhukar Pappireddy authored
      * changes:
        doc: Update list of supported FVP platforms
        board/rdn2: add board support for rdn2 platform
        plat/arm/sgi: adapt to changes in memory map
        plat/arm/sgi: add platform id value for rdn2 platform
        plat/arm/sgi: platform definitions for upcoming platforms
        plat/arm/sgi: refactor header file inclusions
        plat/arm/sgi: refactor the inclusion of memory mapping
      bd054fd6
    • Javier Almansa Sobrino's avatar
      Add support for FEAT_MTPMU for Armv8.6 · 0063dd17
      Javier Almansa Sobrino authored
      
      
      If FEAT_PMUv3 is implemented and PMEVTYPER<n>(_EL0).MT bit is implemented
      as well, it is possible to control whether PMU counters take into account
      events happening on other threads.
      
      If FEAT_MTPMU is implemented, EL3 (or EL2) can override the MT bit
      leaving it to effective state of 0 regardless of any write to it.
      
      This patch introduces the DISABLE_MTPMU flag, which allows to diable
      multithread event count from EL3 (or EL2). The flag is disabled
      by default so the behavior is consistent with those architectures
      that do not implement FEAT_MTPMU.
      Signed-off-by: default avatarJavier Almansa Sobrino <javier.almansasobrino@arm.com>
      Change-Id: Iee3a8470ae8ba13316af1bd40c8d4aa86e0cb85e
      0063dd17
  8. 10 Dec, 2020 3 commits
  9. 09 Dec, 2020 11 commits
  10. 08 Dec, 2020 11 commits