Branch: refs/heads/next
  Home:   https://github.com/siemens/jailhouse
  Commit: cd549752baa8969516d006647a5f284810e6a5a4
      
https://github.com/siemens/jailhouse/commit/cd549752baa8969516d006647a5f284810e6a5a4
  Author: Jan Kiszka <[email protected]>
  Date:   2018-05-11 (Fri, 11 May 2018)

  Changed paths:
    M hypervisor/setup.c

  Log Message:
  -----------
  core: wait for all expected CPUs to leave arch_entry

Wait for all expected CPUs to leave arch_entry. This allows to
collect CPU-specific information in arch_entry, such as parange
on ARM64, which will be needed early.

Signed-off-by: Jan Kiszka <[email protected]>
Signed-off-by: Peng Fan <[email protected]>


  Commit: 542c75ebc34d4698b9215b936a4fb8cb84e8a289
      
https://github.com/siemens/jailhouse/commit/542c75ebc34d4698b9215b936a4fb8cb84e8a289
  Author: Peng Fan <[email protected]>
  Date:   2018-05-11 (Fri, 11 May 2018)

  Changed paths:
    M hypervisor/arch/arm64/Kbuild
    M hypervisor/arch/arm64/asm-defines.c
    M hypervisor/arch/arm64/entry.S
    M hypervisor/arch/arm64/include/asm/paging.h
    M hypervisor/arch/arm64/include/asm/percpu.h
    A hypervisor/arch/arm64/paging.c

  Log Message:
  -----------
  arm64: restructure get_cpu_parange

On ARM64 Big/Little Platform, such as i.MX8QM,
there are two types of Cortex-A CPUs, Cortex-A53 and Cortex-A72.
A53 ID_AA64MMFR0_EL1 shows its physical address range supported is 40bits.
A72 ID_AA64MMFR0_EL1 shows its physical address range supported is 44bits.

The minimal value 40 needs to be used as cpu parange, if using 44,
A53 will be broken. So need to iterate the cpu parange of all the
CPUs to find out the smallest one.

Add a new percpu entry id_aa64mmfr0 whose low 4 bits holds parange.
Fill id_aa64mmfr0 before runs into entry
Move arm64 get_cpu_parange out to a new file
Use percpu id_aa64mmfr0 in get_cpu_parange and choose the smallest value

Then each time using get_cpu_parange, the smallest one will
be chosen.

Signed-off-by: Peng Fan <[email protected]>
[Jan: made loop in get_cpu_parange() more compact]
Signed-off-by: Jan Kiszka <[email protected]>


Compare: 
https://github.com/siemens/jailhouse/compare/162a55303658...542c75ebc34d
      **NOTE:** This service been marked for deprecation: 
https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.

-- 
You received this message because you are subscribed to the Google Groups 
"Jailhouse" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to