History log of /netbsd-src/sys/arch/arm/fdt/psci_fdt.c (Results 1 – 21 of 21)
Revision Date Author Comments
# 81be3b13 06-Aug-2021 jmcneill <jmcneill@NetBSD.org>

Arm: Add support for SMC Calling Convention

Arm DEN0028 defines a calling mechanism used with Secure Monitor Call (SMC)
and Hypervisor Call (HVC) instructions. To discover SMCCC, we must:

1) Find

Arm: Add support for SMC Calling Convention

Arm DEN0028 defines a calling mechanism used with Secure Monitor Call (SMC)
and Hypervisor Call (HVC) instructions. To discover SMCCC, we must:

1) Find the PSCI conduit (either via ACPI FADT, or Device Tree)
2) Use PSCI_VERSION to determine whether PSCI_FEATURES is supported
3) Call PSCI_FEATURES with SMCCC_VERSION to determine the implementation
version.

show more ...


# 6e54367a 27-Jan-2021 thorpej <thorpej@NetBSD.org>

Rename of_match_compat_data() to of_compatible_match(). Similarly,
rename of_search_compatible() to of_compatible_lookup().

Standardize on of_compatible_match() for driver matching, and adapt
all c

Rename of_match_compat_data() to of_compatible_match(). Similarly,
rename of_search_compatible() to of_compatible_lookup().

Standardize on of_compatible_match() for driver matching, and adapt
all call sites.

show more ...


# a063a49a 17-Oct-2018 skrll <skrll@NetBSD.org>

KNF


# 66d31a2d 10-Sep-2018 ryo <ryo@NetBSD.org>

cleanup aarch64 mpstart and fdt bootstrap
* arm_cpu_hatch_arg is a bad idea. avoid serializing CPU startup, and eliminate arm_cpu_hatch_arg.
in mpstart, resolve own cpu index using array of cpu_m

cleanup aarch64 mpstart and fdt bootstrap
* arm_cpu_hatch_arg is a bad idea. avoid serializing CPU startup, and eliminate arm_cpu_hatch_arg.
in mpstart, resolve own cpu index using array of cpu_mpidr[] (aarch64)
* add support fdt enable-method "spin-table"
* add support fdt enable-method "brcm,bcm2836-smp" (for 32bit RaspberryPi)
* use arm_fdt_cpu_bootstrap() instead of psci_fdt_bootstrap()
* rename "arm/fdt/psci_fdt.h" to "arm/fdt/psci_fdtvar.h" because of conflict of include file for needs-flag
* add devmap for cpu spin-table of raspberrypi3/aarch64
* no need to force hatch APs for raspberrypi3/arm32 ifndef MULTIPROCESSOR.
* fix to work pmap_extract(kerneltext/data/bss) even if before calling pmap_bootstrap

idea to use cpu_mpidr[] by jmcneill@. reviewd by skrll@. thanks.

show more ...


# 7d8191af 09-Sep-2018 jmcneill <jmcneill@NetBSD.org>

Boot APs with status "disabled" if they have an enable-method property


# 6c7b9edf 09-Sep-2018 jmcneill <jmcneill@NetBSD.org>

Fix previous; PSCI_CPU_ON requires an MPIDR!


# ff55a830 26-Aug-2018 ryo <ryo@NetBSD.org>

add support multiple cpu clusters.
* pass cpu index as an argument to secondary processors when hatching.
* keep cpu cache confituration per cpu clusters.

Hello big.LITTLE!


# decc510d 24-Aug-2018 ryo <ryo@NetBSD.org>

/cpus node may have any nodes except cpu. count only nodes of device_type "cpu"


# e5beaef7 13-Aug-2018 skrll <skrll@NetBSD.org>

Need to use fdtbus_get_reg64 for mpidr


# 1bfb364c 12-Aug-2018 skrll <skrll@NetBSD.org>

Provide and use cpu_mpidr_aff_read in psci_fdt_bootstrap


# b3ad13f2 10-Aug-2018 jmcneill <jmcneill@NetBSD.org>

Pass full mpidr (instead of just aff0) to psci_cpu_on


# 2c613b24 16-Jul-2018 christos <christos@NetBSD.org>

Add missing pointer <-> integer casts
Use PRI?64 to print uint64_t instead 'll?'


# 02ce4d79 14-Jul-2018 jmcneill <jmcneill@NetBSD.org>

Fix non-MULTIPROCESSOR build


# b71f9795 09-Jul-2018 jmcneill <jmcneill@NetBSD.org>

Fix arm32 build


# 919ae47a 09-Jul-2018 jmcneill <jmcneill@NetBSD.org>

Add aarch64 support.


# b6b3ceff 07-Jul-2018 jmcneill <jmcneill@NetBSD.org>

Switch to PSCI 0.1 mode only if the first compatible string listed on /psci is "arm,psci"


# c68d846f 15-Jun-2018 jakllsch <jakllsch@NetBSD.org>

Fix PSCI 0.1 detection.


# f0c65f7a 26-May-2018 jmcneill <jmcneill@NetBSD.org>

Export a psci_fdt_reset function, usable from FDT platform code.


# b0802b6a 11-Sep-2017 jmcneill <jmcneill@NetBSD.org>

Use PSCI for reset and poweroff when available.


# aec8c8c9 05-Aug-2017 jmcneill <jmcneill@NetBSD.org>

Wrap MP-specific code in ifdef MULTIPROCESSOR


# 16ab2903 28-Jun-2017 jmcneill <jmcneill@NetBSD.org>

Add support for ARM Power State Coordination Interface (PSCI).