#
201b9e8b |
| 03-Jul-2024 |
Andrew Jones <andrew.jones@linux.dev> |
Merge branch 'arm/queue' into 'master'
arm/arm64: LPA2 support and fpu/sve s/r test
See merge request kvm-unit-tests/kvm-unit-tests!61
|
#
cddb18bc |
| 12-Apr-2024 |
Alexandru Elisei <alexandru.elisei@arm.com> |
arm64: Expand SMCCC arguments and return values
PSCI uses the SMC Calling Convention (SMCCC) to communicate with the higher level software. PSCI uses at most 4 arguments and expend only one return v
arm64: Expand SMCCC arguments and return values
PSCI uses the SMC Calling Convention (SMCCC) to communicate with the higher level software. PSCI uses at most 4 arguments and expend only one return value. However, SMCCC has provisions for more arguments (upto 17 depending on the SMCCC version) and upto 10 distinct return values.
We are going to be adding tests that make use of it, so add support for the extended number of arguments and return values.
Also rename the SMCCC functions to generic, non-PSCI names, so they can be used for Realm services.
Signed-off-by: Alexandru Elisei <alexandru.elisei@arm.com> Co-developed-by: Joey Gouly <joey.gouly@arm.com> Signed-off-by: Joey Gouly <joey.gouly@arm.com> Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com> [Fixed EFI compile error.] Signed-off-by: Andrew Jones <andrew.jones@linux.dev>
show more ...
|
#
74ff0e96 |
| 18-May-2021 |
Paolo Bonzini <bonzini@gnu.org> |
Merge branch 'arm/queue' into 'master'
arm/arm64: target-efi prep
This series mostly prepares kvm-unit-tests/arm for targeting EFI platforms. The actually EFI support will come in another series, b
Merge branch 'arm/queue' into 'master'
arm/arm64: target-efi prep
This series mostly prepares kvm-unit-tests/arm for targeting EFI platforms. The actually EFI support will come in another series, but these patches are good for removing assumptions from our memory maps and about our PSCI conduit, even if we never merge EFI support.
See merge request kvm-unit-tests/kvm-unit-tests!8
show more ...
|
#
bd5bd157 |
| 06-Apr-2021 |
Andrew Jones <drjones@redhat.com> |
arm/arm64: psci: Don't assume method is hvc
The method can be smc in addition to hvc, and it will be when running on bare metal. Additionally, we move the invocations to assembly so we don't have to
arm/arm64: psci: Don't assume method is hvc
The method can be smc in addition to hvc, and it will be when running on bare metal. Additionally, we move the invocations to assembly so we don't have to rely on compiler assumptions. We also fix the prototype of psci_invoke. function_id should be an unsigned int, not an unsigned long.
Reviewed-by: Alexandru Elisei <alexandru.elisei@arm.com> Tested-by: Alexandru Elisei <alexandru.elisei@arm.com> Signed-off-by: Andrew Jones <drjones@redhat.com>
show more ...
|
#
c81d5352 |
| 05-Apr-2019 |
Paolo Bonzini <pbonzini@redhat.com> |
Merge branch 'support-kvmtool' of https://github.com/rhdrjones/kvm-unit-tests into HEAD
|
#
7c12e7ca |
| 04-Feb-2019 |
Alexandru Elisei <alexandru.elisei@arm.com> |
lib: arm: Implement PSCI SYSTEM_OFF in psci_system_off()
A new function, psci_system_off(), is added which implements the PSCI SYSTEM_OFF function. A call causes the hypervisor to terminate the virt
lib: arm: Implement PSCI SYSTEM_OFF in psci_system_off()
A new function, psci_system_off(), is added which implements the PSCI SYSTEM_OFF function. A call causes the hypervisor to terminate the virtual machine.
We take this opportunity to rename psci_sys_reset() to psci_system_reset() to match the name of the PSCI function SYSTEM_RESET that it implements.
Consumers for the function will be added in a later patch.
Signed-off-by: Alexandru Elisei <alexandru.elisei@arm.com> Reviewed-by: Andrew Jones <drjones@redhat.com>
show more ...
|
#
d556c4a8 |
| 29-May-2017 |
Andrew Jones <drjones@redhat.com> |
arm/arm64: psci: cpu_psci_cpu_die operates on itself
Signed-off-by: Andrew Jones <drjones@redhat.com> Message-Id: <20170529135804.22891-3-drjones@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@r
arm/arm64: psci: cpu_psci_cpu_die operates on itself
Signed-off-by: Andrew Jones <drjones@redhat.com> Message-Id: <20170529135804.22891-3-drjones@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
show more ...
|
#
c535b2f8 |
| 25-May-2017 |
Andrew Jones <drjones@redhat.com> |
lib/arm/psci: make psci less ugly
Signed-off-by: Andrew Jones <drjones@redhat.com> Message-Id: <20170525102849.22754-3-drjones@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
|
#
f3bd1e05 |
| 18-Jan-2016 |
Andrew Jones <drjones@redhat.com> |
lib: add linux dir for kernel uapi headers
We needed to import some uapi headers, e.g. lib/arm/asm/uapi-psci.h, and will need some others, e.g. pci_regs.h, in the future. Create a linux directory fo
lib: add linux dir for kernel uapi headers
We needed to import some uapi headers, e.g. lib/arm/asm/uapi-psci.h, and will need some others, e.g. pci_regs.h, in the future. Create a linux directory for them in lib so that they can be included with the familiar <linux/header.h> reference.
(Note, x86 has been cheating. lib/x86/pci.c already includes <linux/pci_regs.h>, which it's been getting away with as its include paths are less strict than arm's, i.e. it *does* look in /usr/include)
Signed-off-by: Andrew Jones <drjones@redhat.com> Reviewed-by: Radim KrÄmář <rkrcmar@redhat.com> Message-Id: <1453140064-9040-2-git-send-email-drjones@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
show more ...
|
#
68ea0e0b |
| 02-Feb-2015 |
Andrew Jones <drjones@redhat.com> |
arm/arm64: add smp_boot_secondary
Add a common entry point, present/online cpu masks, and smp_boot_secondary() to support booting secondary cpus. Adds a bit more PSCI API that we need too. We also a
arm/arm64: add smp_boot_secondary
Add a common entry point, present/online cpu masks, and smp_boot_secondary() to support booting secondary cpus. Adds a bit more PSCI API that we need too. We also adjust THREAD_START_SP for arm to make some room for exception stacks.
Signed-off-by: Andrew Jones <drjones@redhat.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
show more ...
|
#
f0705d4c |
| 01-Feb-2015 |
Andrew Jones <drjones@redhat.com> |
arm/arm64: add some PSCI API
Signed-off-by: Andrew Jones <drjones@redhat.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
|