History log of /optee_os/core/arch/arm/ (Results 2926 – 2950 of 3635)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
45a2d56612-Jul-2017 Victor Chong <victor.chong@linaro.org>

hikey: Flavorize hikey

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

77714cbd12-Jul-2017 Victor Chong <victor.chong@linaro.org>

hikey: use defines for pl011 uart base addresses

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

d824159f12-Jul-2017 Jens Wiklander <jens.wiklander@linaro.org>

core: arm32: fix native_intr_handler()

Prior to this patch when a native interrupt was received in IRQ mode
r12 wasn't saved on the stack. There's two problems with that:
1. r12 isn't a callee prese

core: arm32: fix native_intr_handler()

Prior to this patch when a native interrupt was received in IRQ mode
r12 wasn't saved on the stack. There's two problems with that:
1. r12 isn't a callee preserved register, but must be preserved
in an exception handler
2. Without r12 an odd number of registers was saved breaking the
8 byte alignment of the stack pointer

This patch fixes this by also saving r12 on the stack when handling a
native interrupt in IRQ mode.

Reviewed-by: Peng Fan <peng.fan@nxp.com>
Tested-by: Jens Wiklander <jens.wiklander@linaro.org> (Hikey)
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>

show more ...

23381c1014-Jul-2017 Jens Wiklander <jens.wiklander@linaro.org>

core: gcc 7 ready

Remove the armv7 compiler option -mno-apcs-float as it's not supported
by gcc 7. -apcs-float has be default disabled since at least gcc 4.8.

Reviewed-by: Igor Opaniuk <igor.opaniu

core: gcc 7 ready

Remove the armv7 compiler option -mno-apcs-float as it's not supported
by gcc 7. -apcs-float has be default disabled since at least gcc 4.8.

Reviewed-by: Igor Opaniuk <igor.opaniuk@linaro.org>
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>

show more ...

87d9618514-Jul-2017 Jens Wiklander <jens.wiklander@linaro.org>

core: pager: avoid page faults with pager lock held

When a normal thread takes the pager lock there must be no page faults
while the lock is held. This is has so far been ensured by feeding the
func

core: pager: avoid page faults with pager lock held

When a normal thread takes the pager lock there must be no page faults
while the lock is held. This is has so far been ensured by feeding the
function to the KEEP_PAGER() macro, but this will only take care of the
actual code not stack usage. This patch introduces a new pager lock
function, pager_lock_check_stack() which will make sure that the
estimated needed stack is mapped before the lock is acquired.

Reviewed-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>

show more ...

6289239c07-Jul-2017 Jens Wiklander <jens.wiklander@linaro.org>

core: assert only normal thread takes a mutex

Adds thread_is_in_normal_mode() which returns true if the current thread
is in normal mode. Adds an assert(thread_is_in_normal_mode()) in
__mutex_lock()

core: assert only normal thread takes a mutex

Adds thread_is_in_normal_mode() which returns true if the current thread
is in normal mode. Adds an assert(thread_is_in_normal_mode()) in
__mutex_lock().

Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org>
Tested-by: Jens Wiklander <jens.wiklander@linaro.org> (QEMU)
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>

show more ...

4c6699fc17-Jul-2017 Peng Fan <peng.fan@nxp.com>

core: arm: mutex: simplify code with xsave/xrestore spin lock

cpu_spin_lock_xsave/cpu_spin_unlock_xrestore could be used
to simplify the code.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by

core: arm: mutex: simplify code with xsave/xrestore spin lock

cpu_spin_lock_xsave/cpu_spin_unlock_xrestore could be used
to simplify the code.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>

show more ...

afd74d5d14-Jul-2017 Peng Fan <peng.fan@nxp.com>

core: arm: imx: fix imx6solo boot

i.MX6SOLO is almost same with i.MX6DualLite, with difference that
6S has one cpu core, but DualLite has two cpu cores.
i.MX6Solo also needs a9_plat_init.S and imx6.

core: arm: imx: fix imx6solo boot

i.MX6SOLO is almost same with i.MX6DualLite, with difference that
6S has one cpu core, but DualLite has two cpu cores.
i.MX6Solo also needs a9_plat_init.S and imx6.c for basic initialization.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Acked-by: Jens Wiklander <jens.wiklander@linaro.org>

show more ...

78182cff12-Jul-2017 Victor Chong <victor.chong@linaro.org>

hikey: use core_mmu_get_va() whenever possible

The ability to get the va of a pa is now available as a core function,
i.e. core_mmu_get_va() so the platform specific nsec_periph_base() is
not requir

hikey: use core_mmu_get_va() whenever possible

The ability to get the va of a pa is now available as a core function,
i.e. core_mmu_get_va() so the platform specific nsec_periph_base() is
not required anymore.

Signed-off-by: Victor Chong <victor.chong@linaro.org>
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>

show more ...

d8bc799d10-Jul-2017 Zeng Tao <prime.zeng@hisilicon.com>

core: fix the size of dynamic shared memory buffers

Prior to this patch MEM_AREA_SHM_VASPACE was initialized with
RES_VASPACE_SIZE which is wrong. With this patch MEM_AREA_SHM_VASPACE is
initialized

core: fix the size of dynamic shared memory buffers

Prior to this patch MEM_AREA_SHM_VASPACE was initialized with
RES_VASPACE_SIZE which is wrong. With this patch MEM_AREA_SHM_VASPACE is
initialized with SHM_VASPACE_SIZE instead.

Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
Signed-off-by: Zeng Tao <prime.zeng@hisilicon.com>

show more ...

d1125d5510-Jul-2017 Zeng Tao <prime.zeng@hisilicon.com>

core: remove the useless mem_map_inited

Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
Signed-off-by: Zeng Tao <prime.zeng@hisilicon.com>

3078da8307-Jul-2017 Jens Wiklander <jens.wiklander@linaro.org>

core: pager: more details in deadlock report

Adds more details to deadlock report inside pager.

Reviewed-by: Igor Opaniuk <igor.opaniuk@linaro.org>
Tested-by: Jens Wiklander <jens.wiklander@linaro.

core: pager: more details in deadlock report

Adds more details to deadlock report inside pager.

Reviewed-by: Igor Opaniuk <igor.opaniuk@linaro.org>
Tested-by: Jens Wiklander <jens.wiklander@linaro.org>
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>

show more ...

4288f14407-Jul-2017 Jens Wiklander <jens.wiklander@linaro.org>

core: attempt to detect deadlock on spin locks

Attempts to detect and report deadlock on spin locks..

Reviewed-by: Igor Opaniuk <igor.opaniuk@linaro.org>
Signed-off-by: Jens Wiklander <jens.wikland

core: attempt to detect deadlock on spin locks

Attempts to detect and report deadlock on spin locks..

Reviewed-by: Igor Opaniuk <igor.opaniuk@linaro.org>
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>

show more ...

0b8e6e7805-Jul-2017 Jens Wiklander <jens.wiklander@linaro.org>

core: abort: fix get_fault_type()

Fixes get_fault_type() to accurately report abort in abort handler also
in AArch64.

Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org>
Tested-by: Jens Wik

core: abort: fix get_fault_type()

Fixes get_fault_type() to accurately report abort in abort handler also
in AArch64.

Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org>
Tested-by: Jens Wiklander <jens.wiklander@linaro.org> (QEMU v8)
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>

show more ...

76d95ca229-Jun-2017 Etienne Carriere <etienne.carriere@st.com>

core: deprecate platform stm-orly2

Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
Acked-by: Jerome Forissier <jerome.forissier@linaro.org>

e4c86a0705-Jul-2017 Jens Wiklander <jens.wiklander@linaro.org>

core: fix print_kernel_stack()

Previously was print_kernel_stack() supplying zeroes instead of real
values for start and size of exidx tables needed for unwind. With this
patch are correct values f

core: fix print_kernel_stack()

Previously was print_kernel_stack() supplying zeroes instead of real
values for start and size of exidx tables needed for unwind. With this
patch are correct values for exidx and exidx_sz supplied.

Tested-by: Etienne Carriere <etienne.carriere@linaro.org> (b2260)
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org>
Fixes: 31a2964 ("core: dump call stack of user TAs on abort")
Tested-by: Jens Wiklander <jens.wiklander@linaro.org> (QEMU)
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>

show more ...

05348de004-Jul-2017 Jens Wiklander <jens.wiklander@linaro.org>

core: pager: fix tee_pager_set_uta_area_attr()

Adds missing synchronization, dsb_ishst(), required to make sure that
translation table update is visible after the final update of the
attributes of a

core: pager: fix tee_pager_set_uta_area_attr()

Adds missing synchronization, dsb_ishst(), required to make sure that
translation table update is visible after the final update of the
attributes of a page.

Reviewed-by: Joakim Bech <joakim.bech@linaro.org>
Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org>
Tested-by: Jens Wiklander <jens.wiklander@linaro.org> (Hikey)
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>

show more ...

ac3cc6cf18-Apr-2017 Summer Qin <summer.qin@arm.com>

Generate binaries for loaders supporting separate binary loading

Generate three binaries tee-header_v2.bin, tee-pager_v2.bin and
tee-pageable_v2.bin for loaders supporting separate binary loading.
T

Generate binaries for loaders supporting separate binary loading

Generate three binaries tee-header_v2.bin, tee-pager_v2.bin and
tee-pageable_v2.bin for loaders supporting separate binary loading.
This kind of loader loads and parses header binary first and then
loads rest two binaries under specified manners header information
implies. Generic loaders who don't support separate binary loading
just ignore these binaries; and this change will not affect all
existing design.

Signed-off-by: Summer Qin <summer.qin@arm.com>
Acked-by: Etienne Carriere <etienne.carriere@linaro.org>
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org>
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>

show more ...

3520324d28-Jun-2017 Jerome Forissier <jerome.forissier@linaro.org>

core: demote a couple of messages from IMSG() to DMSG()

The first and and fourth lines in the boot sequence below are debug
messages that should not be printed when the log level is INFO:

INFO:

core: demote a couple of messages from IMSG() to DMSG()

The first and and fourth lines in the boot sequence below are debug
messages that should not be printed when the log level is INFO:

INFO: TEE-CORE: No NSEC DDR memory area defined
INFO: TEE-CORE:
INFO: TEE-CORE: OP-TEE version: 2.5.0-rc1 #1 Wed Jun 28 15:11:06 UTC 2017 aarch64
INFO: TEE-CORE: Shared memory address range: 3dc00000, 3f000000
INFO: TEE-CORE: Initialized

Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org>
Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org>

show more ...

ad81714228-Jun-2017 Peng Fan <peng.fan@nxp.com>

arm: imx: add i.MX7D support

Add i.MX7D support.
- Add register definition
- Add gpcv2 to powerup and powerdown cpu
- Introduce soc runtime detection, the final goal is to support i.MX
family

arm: imx: add i.MX7D support

Add i.MX7D support.
- Add register definition
- Add gpcv2 to powerup and powerdown cpu
- Introduce soc runtime detection, the final goal is to support i.MX
family using one image, but still far from it. Now using the runtime
detection, we could remove the CFG_MX[6,7][x] to simplify the code,
such as in imx psci cpu on/off using one function to support 6Q/7D
without CFG_[X].
- Add PSCI cpu/off/affinity

The scripts to build 7dsdb image.
make PLATFORM=imx-mx7dsabresd \
mkimage -A arm -O linux -C none -a 0xbdffffe4 -e 0xbe000000 \
-d out/arm-plat-imx/core/tee.bin uTee-7d

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Acked-by: Jerome Forissier <jerome.forissier@linaro.org>
Acked-by: Jens Wiklander <jens.wiklander@linaro.org>

show more ...

b3615c8206-Jun-2017 Zeng Tao <prime.zeng@hisilicon.com>

core: add compile check for CFG_TEE_RAM_VA_SIZE

Signed-off-by: Zeng Tao <prime.zeng@hisilicon.com>
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org>
[jf: add comment, modify error message]

core: add compile check for CFG_TEE_RAM_VA_SIZE

Signed-off-by: Zeng Tao <prime.zeng@hisilicon.com>
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org>
[jf: add comment, modify error message]
Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org>
Acked-by: Jens Wiklander <jens.wiklander@linaro.org>

show more ...

7cbe2cfa26-Jun-2017 Jens Wiklander <jens.wiklander@linaro.org>

core: relax verify_special_mem_areas()

Relaxes verify_special_mem_areas() with regards to MEM_AREA_RAM_NSEC and
MEM_AREA_NSEC_SHM. Those two regions are from now on allowed to overlap
as any overlap

core: relax verify_special_mem_areas()

Relaxes verify_special_mem_areas() with regards to MEM_AREA_RAM_NSEC and
MEM_AREA_NSEC_SHM. Those two regions are from now on allowed to overlap
as any overlap there is harmless and more trouble than it's worth to
avoid.

Fixes problem with panic() when booting on FVP.

Acked-by: Jerome Forissier <jerome.forissier@linaro.org>
Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org>
Reviewed-by: Volodymyr Babchuk <vlad.babchuk@gmail.com>
Fixes: 70cdca357de9 ("plat-vexpress: use register_nsec_ddr()")
Tested-by: Jens Wiklander <jens.wiklander@linaro.org> (FVP)
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>

show more ...

0fe4149e26-Jun-2017 Etienne Carriere <etienne.carriere@st.com>

core: arm: rename TLB maintenance files

ssvce_aXX.S and tz_ssvce.h now only provide TLB maintenance support.
This change renames the source and header files accordingly.

Signed-off-by: Etienne Carr

core: arm: rename TLB maintenance files

ssvce_aXX.S and tz_ssvce.h now only provide TLB maintenance support.
This change renames the source and header files accordingly.

Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org>
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>

show more ...

09ca5df726-Jun-2017 Etienne Carriere <etienne.carriere@st.com>

core: arm: ssvce_a32.S, ssvce_a64.S: remove useless includes/comments

Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org>
Reviewed-b

core: arm: ssvce_a32.S, ssvce_a64.S: remove useless includes/comments

Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org>
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>

show more ...

961d5bb226-Jun-2017 Etienne Carriere <etienne.carriere@st.com>

core: arm: tz_ssvce.h: remove deprecated declarations

Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org>
Reviewed-by: Jens Wiklande

core: arm: tz_ssvce.h: remove deprecated declarations

Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org>
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>

show more ...

1...<<111112113114115116117118119120>>...146