History log of /optee_os/core/arch/arm/ (Results 3351 – 3375 of 3635)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
7aa553e417-Jun-2016 Soren Brinkmann <soren.brinkmann@xilinx.com>

zynqmp: Map UART memory area as secure

Commit 1e00aeb97ffa ("core: non-linear mapping of secure world devices")
revealed a bug in the ZynqMP platform that mapped the UART non-secure
but looked up it

zynqmp: Map UART memory area as secure

Commit 1e00aeb97ffa ("core: non-linear mapping of secure world devices")
revealed a bug in the ZynqMP platform that mapped the UART non-secure
but looked up its VA as secure memory, resulting in an exception when
accessing the UART registers.
Fixing this by mapping the UART secure, making the mapping consistent
with the VA lookup.

Fixes: dc57f5a0e8f3 ("Add support for ZynqMP")
Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>

show more ...

8f46b8d016-Jun-2016 Jens Wiklander <jens.wiklander@linaro.org>

core: boot: make boot parameters unsigned long

Changes all boot parameters passed in registers to be of the type
unsigned long to match the register size and allow greater width on
64-bit systems.

core: boot: make boot parameters unsigned long

Changes all boot parameters passed in registers to be of the type
unsigned long to match the register size and allow greater width on
64-bit systems.

Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org>
Tested-by: Jens Wiklander <jens.wiklander@linaro.org> (QEMU v7 & v8)
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>

show more ...

834b346b26-May-2016 Jens Wiklander <jens.wiklander@linaro.org>

vexpress: CFG_DT=y for QEMU platforms

Enables Device Tree support for the two QEMU platforms.

Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org>
Signed-off-by: Jens Wiklander <jens.wikland

vexpress: CFG_DT=y for QEMU platforms

Enables Device Tree support for the two QEMU platforms.

Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org>
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>

show more ...

76358bec25-May-2016 Jens Wiklander <jens.wiklander@linaro.org>

core: arm: generic boot: edit device tree

If configured with CFG_DT configures supplied device tree to add a node
for OP-TEE and reservation of shared memory.

Reviewed-by: Jerome Forissier <jerome.

core: arm: generic boot: edit device tree

If configured with CFG_DT configures supplied device tree to add a node
for OP-TEE and reservation of shared memory.

Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org>
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>

show more ...

830a08e404-Mar-2016 Jerome Forissier <jerome.forissier@linaro.org>

arm: generic_boot: Add fdt parameter to entry point (register r2)

When CFG_DT=y, OP-TEE expects to find the address of the Flattened
Device Tree (FDT) binary in r2. The bootloader has to take care o

arm: generic_boot: Add fdt parameter to entry point (register r2)

When CFG_DT=y, OP-TEE expects to find the address of the Flattened
Device Tree (FDT) binary in r2. The bootloader has to take care of
this. r2 is not used when CFG_DT=n.

Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org>
Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org>
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>

show more ...

6d7ecad509-May-2016 Jens Wiklander <jens.wiklander@linaro.org>

plat-hikey: use register_phys_mem()

Uses register_phys_mem to define mapping of devices instead of
the old DEVICE* defines.

Reviewed-by: Joakim Bech <joakim.bech@linaro.org>
Tested-by: Jerome Foris

plat-hikey: use register_phys_mem()

Uses register_phys_mem to define mapping of devices instead of
the old DEVICE* defines.

Reviewed-by: Joakim Bech <joakim.bech@linaro.org>
Tested-by: Jerome Forissier <jerome.forissier@linaro.org> (HiKey)
Tested-by: Jens Wiklander <jens.wiklander@linaro.org> (QEMU, FVP)
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>

show more ...

e3b7383f09-May-2016 Jens Wiklander <jens.wiklander@linaro.org>

plat-vexpress: use register_phys_mem()

Uses register_phys_mem to define mapping of devices instead of
the old DEVICE* defines.

Reviewed-by: Joakim Bech <joakim.bech@linaro.org>
Signed-off-by: Jens

plat-vexpress: use register_phys_mem()

Uses register_phys_mem to define mapping of devices instead of
the old DEVICE* defines.

Reviewed-by: Joakim Bech <joakim.bech@linaro.org>
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>

show more ...

a226008b09-May-2016 Jens Wiklander <jens.wiklander@linaro.org>

core: add support for dynamic core memory mapping

Adds support for dynamic core memory mapping. Primary use case is
mapping of devices found in device tree.

Reviewed-by: Joakim Bech <joakim.bech@li

core: add support for dynamic core memory mapping

Adds support for dynamic core memory mapping. Primary use case is
mapping of devices found in device tree.

Reviewed-by: Joakim Bech <joakim.bech@linaro.org>
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>

show more ...

8c7a7b4308-May-2016 Jens Wiklander <jens.wiklander@linaro.org>

core: refactor memory map initialization

Refactors memory map initialization by replacing struct map_area with
struct tee_mmap_region to avoid one intermediate format of the memory
map.

Reviewed-by

core: refactor memory map initialization

Refactors memory map initialization by replacing struct map_area with
struct tee_mmap_region to avoid one intermediate format of the memory
map.

Reviewed-by: Joakim Bech <joakim.bech@linaro.org>
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>

show more ...

20bdde4408-May-2016 Jens Wiklander <jens.wiklander@linaro.org>

core: move generic_core_bootcfg.c into core_mmu.c

Moves core/arch/arm/kernel/generic_core_bootcfg.c into
core/arch/arm/mm/core_mmu.c as generic_core_bootcfg.c isn't optional
anymore.

Reviewed-by: J

core: move generic_core_bootcfg.c into core_mmu.c

Moves core/arch/arm/kernel/generic_core_bootcfg.c into
core/arch/arm/mm/core_mmu.c as generic_core_bootcfg.c isn't optional
anymore.

Reviewed-by: Joakim Bech <joakim.bech@linaro.org>
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>

show more ...

1e00aeb902-May-2016 Jens Wiklander <jens.wiklander@linaro.org>

core: non-linear mapping of secure world devices

This patch introduces non-linear mapping of secure world devices, that is,
physical and virtual address of a device can differ.

Reviewed-by: Joakim

core: non-linear mapping of secure world devices

This patch introduces non-linear mapping of secure world devices, that is,
physical and virtual address of a device can differ.

Reviewed-by: Joakim Bech <joakim.bech@linaro.org>
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>

show more ...

da234e6213-Jun-2016 Sumit Garg <sumit.garg@nxp.com>

plat-ls: Assign uart device type as MEM_AREA_IO_SEC

Assign uart device type as MEM_AREA_IO_SEC rather than
MEM_AREA_IO_NSEC.

Reviewed-by: Joakim Bech <joakim.bech@linaro.org>
Signed-off-by: Sumit G

plat-ls: Assign uart device type as MEM_AREA_IO_SEC

Assign uart device type as MEM_AREA_IO_SEC rather than
MEM_AREA_IO_NSEC.

Reviewed-by: Joakim Bech <joakim.bech@linaro.org>
Signed-off-by: Sumit Garg <sumit.garg@nxp.com>

show more ...

5240d91303-Jun-2016 Joakim Bech <joakim.bech@linaro.org>

Removing legacy pub_ddr init code

Secure side doesn't manage anything related to the public DDR any longer
and therefore the complete memory area as defined in TEE core shall be
available to the non

Removing legacy pub_ddr init code

Secure side doesn't manage anything related to the public DDR any longer
and therefore the complete memory area as defined in TEE core shall be
available to the non-secure side (i.e., Linux kernel).

Signed-off-by: Joakim Bech <joakim.bech@linaro.org>
Tested-by: Joakim Bech <joakim.bech@linaro.org>
Suggested-by: Sandeep Tripathy <sandeep.tripathy@broadcom.com>
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org>

show more ...

40c1fab807-Jun-2016 Jerome Forissier <jerome.forissier@linaro.org>

hikey: enable 8 threads by default

Set CFG_NUM_THREADS to 8 by default for HiKey since the board has
8 cores. By maximizing the concurrency level, we can better stress
test the secure code.

Signed-

hikey: enable 8 threads by default

Set CFG_NUM_THREADS to 8 by default for HiKey since the board has
8 cores. By maximizing the concurrency level, we can better stress
test the secure code.

Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org>
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>

show more ...

dc57f5a015-Nov-2015 Soren Brinkmann <soren.brinkmann@xilinx.com>

Add support for ZynqMP

Add support for Xilinx UltraScale+ Zynq MPSoC.

Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
Reviewed-by: Joakim Bech <joakim.bech@linaro.org>
Reviewed-by: Jero

Add support for ZynqMP

Add support for Xilinx UltraScale+ Zynq MPSoC.

Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
Reviewed-by: Joakim Bech <joakim.bech@linaro.org>
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org>
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>

show more ...

dbe4232930-May-2016 Jens Wiklander <jens.wiklander@linaro.org>

core: tee_svc_do_call fix unaligned sp

Fixes problem with unaligned sp when number of parameters to
a syscall is odd.

Reviewed-by: Joakim Bech <joakim.bech@linaro.org>
Signed-off-by: Jens Wiklander

core: tee_svc_do_call fix unaligned sp

Fixes problem with unaligned sp when number of parameters to
a syscall is odd.

Reviewed-by: Joakim Bech <joakim.bech@linaro.org>
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>

show more ...

9744b0a930-May-2016 Jens Wiklander <jens.wiklander@linaro.org>

core: thread: fix unaligned stack pointer

Fixes unaligned stack pointer in __thread_enter_user_mode. The
stack pointer must always be 8 byte aligned when entering a new
function.

Reviewed-by: Joaki

core: thread: fix unaligned stack pointer

Fixes unaligned stack pointer in __thread_enter_user_mode. The
stack pointer must always be 8 byte aligned when entering a new
function.

Reviewed-by: Joakim Bech <joakim.bech@linaro.org>
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>

show more ...

007a97a215-May-2016 Jens Wiklander <jens.wiklander@linaro.org>

core: fixes undefined behavior

Fixes undefined behavior detected with CFG_CORE_SANITIZE_UNDEFINED=y

Reviewed-by: Joakim Bech <joakim.bech@linaro.org>
Signed-off-by: Jens Wiklander <jens.wiklander@l

core: fixes undefined behavior

Fixes undefined behavior detected with CFG_CORE_SANITIZE_UNDEFINED=y

Reviewed-by: Joakim Bech <joakim.bech@linaro.org>
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>

show more ...

b50c6a0f01-Jun-2016 Jens Wiklander <jens.wiklander@linaro.org>

core: arm32: fix masking exceptions on exit

Before this patch FIQ and asynchronous abort wasn't masked on
all exit paths. This patch fixes that.

Reviewed-by: Joakim Bech <joakim.bech@linaro.org>
Te

core: arm32: fix masking exceptions on exit

Before this patch FIQ and asynchronous abort wasn't masked on
all exit paths. This patch fixes that.

Reviewed-by: Joakim Bech <joakim.bech@linaro.org>
Tested-by: Jens Wiklander <jens.wiklander@linaro.org> (QEMU)
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>

show more ...

b3f9a3ea21-May-2016 Jens Wiklander <jens.wiklander@linaro.org>

core: arm: invalidate i-cache inner shareable

When invalidating i-cache and branch predictor use inner shareable
(icialluis and bpiallis) versions of the operations to make it visible
to other cores

core: arm: invalidate i-cache inner shareable

When invalidating i-cache and branch predictor use inner shareable
(icialluis and bpiallis) versions of the operations to make it visible
to other cores.

Fixes occasional problem with pager with multiple active threads.

Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org>
Reviewed-by: Pascal Brand <pascal.brand@linaro.org>
Tested-by: Jens Wiklander <jens.wiklander@linaro.org> (HiKey)
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>

show more ...

2dac4a2d18-May-2016 Jens Wiklander <jens.wiklander@linaro.org>

core: fix fiq delivery in Aarch64

Prior to this patch reception of a FIQ while in secure user mode (secure
EL0) would be treated as if an IRQ was received instead. This resulted
in an exit to normal

core: fix fiq delivery in Aarch64

Prior to this patch reception of a FIQ while in secure user mode (secure
EL0) would be treated as if an IRQ was received instead. This resulted
in an exit to normal world and when FIQ was unmasked it would be
re-triggered but this time received as an FIQ received while in normal
world.

This patch fixes this and handles FIQ directly when received while in
secure user mode.

Reviewed-by: Pascal Brand <pascal.brand@linaro.org>
Tested-by: Jens Wiklander <jens.wiklander@linaro.org> (FVP)
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>

show more ...

a93984d708-May-2016 Jens Wiklander <jens.wiklander@linaro.org>

core: bugfix generic boot init_runtime()

Fixes confusion of virtual and physical addresses in init_runtime() in
core/arch/arm/kernel/generic_boot.c.

Tested-by: Pascal Brand <pascal.brand@linaro.org

core: bugfix generic boot init_runtime()

Fixes confusion of virtual and physical addresses in init_runtime() in
core/arch/arm/kernel/generic_boot.c.

Tested-by: Pascal Brand <pascal.brand@linaro.org> (STM)
Reviewed-by: Pascal Brand <pascal.brand@linaro.org>
Tested-by: Jerome Forissier <jerome.forissier@linaro.org> (HiKey)
Reviewed-by: Joakim Bech <joakim.bech@linaro.org>
Tested-by: Jens Wiklander <jens.wiklander@linaro.org> (QEMU)
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>

show more ...

c555a57c08-May-2016 Jens Wiklander <jens.wiklander@linaro.org>

core: add core_mmu_get_type_by_pa()

Adds core_mmu_get_type_by_pa() to find memory type based on physical
address.

Reviewed-by: Pascal Brand <pascal.brand@linaro.org>
Reviewed-by: Joakim Bech <joaki

core: add core_mmu_get_type_by_pa()

Adds core_mmu_get_type_by_pa() to find memory type based on physical
address.

Reviewed-by: Pascal Brand <pascal.brand@linaro.org>
Reviewed-by: Joakim Bech <joakim.bech@linaro.org>
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>

show more ...

aaf56f2811-May-2016 Jens Wiklander <jens.wiklander@linaro.org>

core: pl310 functions take a base address

Updates PL310 functions to take a base address of the PL310 device to be
able to handle non-linear mappings.

Reviewed-by: Pascal Brand <pascal.brand@linaro

core: pl310 functions take a base address

Updates PL310 functions to take a base address of the PL310 device to be
able to handle non-linear mappings.

Reviewed-by: Pascal Brand <pascal.brand@linaro.org>
Reviewed-by: Joakim Bech <joakim.bech@linaro.org>
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>

show more ...

c6c3cd9210-May-2016 Jens Wiklander <jens.wiklander@linaro.org>

plat-stm: translate uart base address before use

Translates physical addresses used for uart register base addresses
before use to be able to handle non-linear mapping of addresses.

Reviewed-by: Pa

plat-stm: translate uart base address before use

Translates physical addresses used for uart register base addresses
before use to be able to handle non-linear mapping of addresses.

Reviewed-by: Pascal Brand <pascal.brand@linaro.org>
Reviewed-by: Joakim Bech <joakim.bech@linaro.org>
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>

show more ...

1...<<131132133134135136137138139140>>...146