History log of /optee_os/core/ (Results 5851 – 5875 of 6456)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
5a27629f09-May-2016 Jens Wiklander <jens.wiklander@linaro.org>

core: use register_phys_mem() in pcsc driver

Uses register_phys_mem() in pcsc driver to make sure the required
physical addresses are mapped.

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

core: use register_phys_mem() in pcsc driver

Uses register_phys_mem() in pcsc driver to make sure the required
physical addresses are mapped.

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

show more ...

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

core: pl011: add define for register size

Adds define for PL011 register size.

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

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

core: gic: add define for register size

Adds defines for GIC register size.

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

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 ...

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

tee_obj_attr_to_binary: fix short buffer check

Fixes short buffer check at end of tee_obj_attr_to_binary().

Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org>
Tested-by: Jens Wiklander <je

tee_obj_attr_to_binary: fix short buffer check

Fixes short buffer check at end of tee_obj_attr_to_binary().

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

show more ...

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

tee_obj_attr_to_binary: fix undefined behavior with data == NULL

To query the size needed for some attribute, one may set data to NULL
and pass the address of an uninitialized buffer as data_len.
In

tee_obj_attr_to_binary: fix undefined behavior with data == NULL

To query the size needed for some attribute, one may set data to NULL
and pass the address of an uninitialized buffer as data_len.
In this case, *data_len should not be read but only written to.

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

show more ...

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

RPMB: rpmb_fs_read: return 0 if position is after end of file

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

621524c908-Jun-2016 Jerome Forissier <jerome.forissier@linaro.org>

RPMB: rpmb_fs_read: don't forget to increment file position

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

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

core: fix tee object attribute management

Prior to the patch the attribute management of tee objects occasionally
assumed that the attribute data didn't contain any addresses. This
assumption is inc

core: fix tee object attribute management

Prior to the patch the attribute management of tee objects occasionally
assumed that the attribute data didn't contain any addresses. This
assumption is incorrect for asymmetric key objects. This patch fixes
that by introducing an operation struct for each basic attribute type.

Tested-by: Jens Wiklander <jens.wiklander@linaro.org> (QEMU)
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>

show more ...

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

core: generate ta_pub_key.c with new build facility

Generates ta_pub_key.c using the new build facility for generated
source files.

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

core: generate ta_pub_key.c with new build facility

Generates ta_pub_key.c using the new build facility for generated
source files.

Reviewed-by: Joakim Bech <joakim.bech@linaro.org>
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org>
Signed-off-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 ...

3481d2f629-Mar-2016 Soren Brinkmann <soren.brinkmann@xilinx.com>

Add Cadence UART driver

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>
Revi

Add Cadence UART driver

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 ...

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

core: fix undef behavior in tee_time_ta_set_offs()

Fixes undefined behavior in tee_time_ta_set_offs() when
tee_time_offs is initially NULL.

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

core: fix undef behavior in tee_time_ta_set_offs()

Fixes undefined behavior in tee_time_ta_set_offs() when
tee_time_offs is initially NULL.

Reviewed-by: Joakim Bech <joakim.bech@linaro.org>
Tested-by: Jens Wiklander <jens.wiklander@linaro.org> (QEMU, FVP)
Signed-off-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 ...

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

core: add CFG_CORE_SANITIZE_UNDEFINED

Adds CFG_CORE_SANITIZE_UNDEFINED to enabled undefined behavior
santizer with -fsanitize=undefined as option to compiler with
supporting routines in core/kernel/

core: add CFG_CORE_SANITIZE_UNDEFINED

Adds CFG_CORE_SANITIZE_UNDEFINED to enabled undefined behavior
santizer with -fsanitize=undefined as option to compiler with
supporting routines in core/kernel/ubsan.c.

This option consumes a lot of memory, expect link problems unless pager
and debug is disabled.

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 ...

3af633eb30-May-2016 Victor Chong <victor.chong@linaro.org>

drivers: gpio: fix write8 function argument order

Signed-off-by: Victor Chong <victor.chong@linaro.org>
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org>

1...<<231232233234235236237238239240>>...259