| 2be491b1 | 16-Oct-2020 |
Andre Przywara <andre.przywara@arm.com> |
aarch64/arm: Add compiler barrier to barrier instructions
When issuing barrier instructions like DSB or DMB, we must make sure that the compiler does not undermine out efforts to fence off instructi
aarch64/arm: Add compiler barrier to barrier instructions
When issuing barrier instructions like DSB or DMB, we must make sure that the compiler does not undermine out efforts to fence off instructions. Currently the compiler is free to move the barrier instruction around, in respect to former or later memory access statements, which is not what we want.
Add a compiler barrier to the inline assembly statement in our DEFINE_SYSOP_TYPE_FUNC macro, to make sure memory accesses are not reordered by the compiler. This is in line with Linux' definition: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/arch/arm64/include/asm/barrier.h
Since those instructions share a definition, apart from DSB and DMB this now also covers some TLBI instructions. Having a compiler barrier there also is useful, although we probably have stronger barriers in place already.
Change-Id: If6fe97b13a562643a643efc507cb4aad29daa5b6 Reported-by: Alexandru Elisei <alexandru.elisei@arm.com> Signed-off-by: Andre Przywara <andre.przywara@arm.com>
show more ...
|
| c0365705 | 27-Oct-2020 |
Manish Pandey <manish.pandey2@arm.com> |
Merge "plat: marvell: armada: Fix dependences for target fip" into integration |
| d57318b7 | 15-Oct-2020 |
Abdul Halim, Muhammad Hadi Asyrafi <muhammad.hadi.asyrafi.abdul.halim@intel.com> |
intel: common: Fix non-MISRA compliant code v2
This patch is used to fix remaining non compliant code for Intel SoCFPGA's mailbox and sip driver. These changes include: - Change non-interface requir
intel: common: Fix non-MISRA compliant code v2
This patch is used to fix remaining non compliant code for Intel SoCFPGA's mailbox and sip driver. These changes include: - Change non-interface required uint32_t into unsigned int - Change non-negative variable to unsigned int - Remove obsolete variable initialization to 0
Signed-off-by: Abdul Halim, Muhammad Hadi Asyrafi <muhammad.hadi.asyrafi.abdul.halim@intel.com> Change-Id: I3a16c7621a5fc75eb614d97d72e44c86e7d53bf5
show more ...
|
| 9e285909 | 01-Sep-2020 |
Abdul Halim, Muhammad Hadi Asyrafi <muhammad.hadi.asyrafi.abdul.halim@intel.com> |
intel: mailbox: Fix non-MISRA compliant code
This patch is used to fix remaining non compliant code for Intel SocFPGA's mailbox driver. These changes include: - adding integer literal for unsigned c
intel: mailbox: Fix non-MISRA compliant code
This patch is used to fix remaining non compliant code for Intel SocFPGA's mailbox driver. These changes include: - adding integer literal for unsigned constant - fix non-boolean controlling expression - add braces even on conditional single statement bodies
Signed-off-by: Abdul Halim, Muhammad Hadi Asyrafi <muhammad.hadi.asyrafi.abdul.halim@intel.com> Change-Id: I0f8fd96a3540f35ee102fd2f2369b76fa73e39e1
show more ...
|
| 99756047 | 11-May-2020 |
Chee Hong Ang <chee.hong.ang@intel.com> |
intel: mailbox: Mailbox error recovery handling
Attempt to restart the mailbox if the mailbox driver not able to write any data into the mailbox command buffer.
Signed-off-by: Chee Hong Ang <chee.h
intel: mailbox: Mailbox error recovery handling
Attempt to restart the mailbox if the mailbox driver not able to write any data into the mailbox command buffer.
Signed-off-by: Chee Hong Ang <chee.hong.ang@intel.com> Change-Id: Ia45291c985844dec9da82839cac701347534d32b
show more ...
|
| d14e965c | 01-Jun-2020 |
Abdul Halim, Muhammad Hadi Asyrafi <muhammad.hadi.asyrafi.abdul.halim@intel.com> |
intel: mailbox: Enable sending large mailbox command
Allow mailbox command that is larger than mailbox command FIFO buffer size to be sent to SDM in multiple chunks.
Signed-off-by: Abdul Halim, Muh
intel: mailbox: Enable sending large mailbox command
Allow mailbox command that is larger than mailbox command FIFO buffer size to be sent to SDM in multiple chunks.
Signed-off-by: Abdul Halim, Muhammad Hadi Asyrafi <muhammad.hadi.asyrafi.abdul.halim@intel.com> Change-Id: I683d5f1d04c4fdf57d11ecae6232b7ed3fc49e26
show more ...
|
| 4978bc28 | 01-Jun-2020 |
Abdul Halim, Muhammad Hadi Asyrafi <muhammad.hadi.asyrafi.abdul.halim@intel.com> |
intel: mailbox: Use retry count in mailbox poll
Change the main loop inside mailbox poll function from while(1) to a retry counter named sdm_loop. This is to limit the maximum possible looping of th
intel: mailbox: Use retry count in mailbox poll
Change the main loop inside mailbox poll function from while(1) to a retry counter named sdm_loop. This is to limit the maximum possible looping of the function and prevent unexpected behaviour.
Signed-off-by: Abdul Halim, Muhammad Hadi Asyrafi <muhammad.hadi.asyrafi.abdul.halim@intel.com> Change-Id: I63afad958fe5f656f6333b60d5a8b4c0ada3b23d
show more ...
|
| d96e7cda | 10-May-2020 |
Chee Hong Ang <chee.hong.ang@intel.com> |
intel: mailbox: Ensure time out duration is predictive
For each count down of time out counter, wait for number of miliseconds to ensure the time out duration is predictive.
Signed-off-by: Chee Hon
intel: mailbox: Ensure time out duration is predictive
For each count down of time out counter, wait for number of miliseconds to ensure the time out duration is predictive.
Signed-off-by: Chee Hong Ang <chee.hong.ang@intel.com> Change-Id: I0e92dd1ef1da0ef504ec86472cf0d3c88528930b
show more ...
|
| 6d9f9f5e | 10-May-2020 |
Chee Hong Ang <chee.hong.ang@intel.com> |
intel: mailbox: Read mailbox response even there is an error
Mailbox driver should read the response data if the response length in the response header is non-zero even the response header indicates
intel: mailbox: Read mailbox response even there is an error
Mailbox driver should read the response data if the response length in the response header is non-zero even the response header indicates error (non-zero).
Signed-off-by: Chee Hong Ang <chee.hong.ang@intel.com> Change-Id: I928f705f43c0f46ac74b84428b830276cc4c9640
show more ...
|
| 39aebd35 | 29-Apr-2020 |
Abdul Halim, Muhammad Hadi Asyrafi <muhammad.hadi.asyrafi.abdul.halim@intel.com> |
intel: mailbox: Driver now handles larger response
This patch factorizes mailbox read response from SDM into a function. Also fix the logic to support reading larger than 16 words response from SDM.
intel: mailbox: Driver now handles larger response
This patch factorizes mailbox read response from SDM into a function. Also fix the logic to support reading larger than 16 words response from SDM.
Signed-off-by: Abdul Halim, Muhammad Hadi Asyrafi <muhammad.hadi.asyrafi.abdul.halim@intel.com> Change-Id: Ie035ecffbbc42e12dd68061c403904c28c3b70e5
show more ...
|
| aad868b4 | 18-May-2020 |
Abdul Halim, Muhammad Hadi Asyrafi <muhammad.hadi.asyrafi.abdul.halim@intel.com> |
intel: common: Change how mailbox handles job id & buffer
This patch modifies several basic mailbox driver features to prepare for FCS enablement: - Job id management for asynchronous response - SDM
intel: common: Change how mailbox handles job id & buffer
This patch modifies several basic mailbox driver features to prepare for FCS enablement: - Job id management for asynchronous response - SDM command buffer full
Signed-off-by: Abdul Halim, Muhammad Hadi Asyrafi <muhammad.hadi.asyrafi.abdul.halim@intel.com> Change-Id: I78168dfb6c521d70d9cba187356b7a3c8e9b62d2
show more ...
|
| 00ad74c7 | 26-Oct-2020 |
Olivier Deprez <olivier.deprez@arm.com> |
Merge "SPMC: adjust device region for first secure partition" into integration |
| 054af8f2 | 18-Sep-2020 |
Po Xu <jg_poxu@mediatek.com> |
mediatek: mt8192: add GPIO driver support
add GPIO driver
Change-Id: I67a9abef078e7a62b34dfbd366b45c03892800cd Signed-off-by: Po Xu <jg_poxu@mediatek.com> |
| 516f3221 | 14-May-2020 |
Abdul Halim, Muhammad Hadi Asyrafi <muhammad.hadi.asyrafi.abdul.halim@intel.com> |
intel: common: Clean up mailbox and sip header
Sort and rearrange definitions in both mailbox and sip header to increase readability and maintainability.
Signed-off-by: Abdul Halim, Muhammad Hadi A
intel: common: Clean up mailbox and sip header
Sort and rearrange definitions in both mailbox and sip header to increase readability and maintainability.
Signed-off-by: Abdul Halim, Muhammad Hadi Asyrafi <muhammad.hadi.asyrafi.abdul.halim@intel.com> Change-Id: I5544c2f17efdf3174757c55afd8cc1062fbae856
show more ...
|
| 941fc5c0 | 12-Feb-2020 |
Abdul Halim, Muhammad Hadi Asyrafi <muhammad.hadi.asyrafi.abdul.halim@intel.com> |
intel: common: Improve readability of mailbox read response
Rename variables to improve readability of mailbox read response and mailbox poll response flow.
Signed-off-by: Abdul Halim, Muhammad Had
intel: common: Improve readability of mailbox read response
Rename variables to improve readability of mailbox read response and mailbox poll response flow.
Signed-off-by: Abdul Halim, Muhammad Hadi Asyrafi <muhammad.hadi.asyrafi.abdul.halim@intel.com> Change-Id: Icd33ff1d2abb28eeead15e4eb9c7f9629f8cb402
show more ...
|
| 7f56f240 | 24-Apr-2020 |
Chee Hong Ang <chee.hong.ang@intel.com> |
intel: clear 'PLAT_SEC_ENTRY' in early platform setup
Ensure 'PLAT_SEC_ENTRY' is cleared during early platform setup. This is to prevent the slave CPU cores jump to the stale entry point after warm
intel: clear 'PLAT_SEC_ENTRY' in early platform setup
Ensure 'PLAT_SEC_ENTRY' is cleared during early platform setup. This is to prevent the slave CPU cores jump to the stale entry point after warm reset when using U-Boot SPL as first stage boot loader.
Signed-off-by: Chee Hong Ang <chee.hong.ang@intel.com> Change-Id: I3294ce2f74aa691d0cf311fa30f27f9d4fb8800a
show more ...
|
| 1ae7b6f6 | 13-Apr-2020 |
Richard Gong <richard.gong@intel.com> |
intel: SIP: increase FPGA_CONFIG_SIZE to 32 MB
Increase INTEL_SIP_SMC_FPGA_CONFIG_SIZE from 16 to 32MB. We need higher pre-reserved memory size between Intel service layer and secure monitor softwar
intel: SIP: increase FPGA_CONFIG_SIZE to 32 MB
Increase INTEL_SIP_SMC_FPGA_CONFIG_SIZE from 16 to 32MB. We need higher pre-reserved memory size between Intel service layer and secure monitor software so we can handle JIC file authorization.
Signed-off-by: Richard Gong <richard.gong@intel.com> Change-Id: Ibab4e42e4b7b93a4cf741e60ec9439359ba0a64c
show more ...
|
| d191eb24 | 18-May-2020 |
Abdul Halim, Muhammad Hadi Asyrafi <muhammad.hadi.asyrafi.abdul.halim@intel.com> |
intel: common: Remove urgent from mailbox async
Remove urgent argument from asynchrounous mailbox command as any urgent command should always be synchronous
Signed-off-by: Abdul Halim, Muhammad Had
intel: common: Remove urgent from mailbox async
Remove urgent argument from asynchrounous mailbox command as any urgent command should always be synchronous
Signed-off-by: Abdul Halim, Muhammad Hadi Asyrafi <muhammad.hadi.asyrafi.abdul.halim@intel.com> Change-Id: Iaa64335db24df3a562470d0d1c3d6a3a71493319
show more ...
|
| f8e6a09c | 14-May-2020 |
Abdul Halim, Muhammad Hadi Asyrafi <muhammad.hadi.asyrafi.abdul.halim@intel.com> |
intel: common: Improve mailbox driver readability
Use pre-defined macros for return values and common mailbox arguments
Signed-off-by: Abdul Halim, Muhammad Hadi Asyrafi <muhammad.hadi.asyrafi.abdu
intel: common: Improve mailbox driver readability
Use pre-defined macros for return values and common mailbox arguments
Signed-off-by: Abdul Halim, Muhammad Hadi Asyrafi <muhammad.hadi.asyrafi.abdul.halim@intel.com> Change-Id: I5d549ee5358aebadf909f79fda55e83ee9844a0e
show more ...
|
| 95fca110 | 24-Oct-2020 |
Varun Wadekar <vwadekar@nvidia.com> |
Merge "docs: marvell: update ddr3 build instructions" into integration |
| 9c28689a | 24-Oct-2020 |
Varun Wadekar <vwadekar@nvidia.com> |
Merge changes I5ae9d08b,I5cbbd7eb,Idb389223 into integration
* changes: plat: marvell: armada: Building ${DOIMAGETOOL} is only for a8k plat: marvell: armada: Fix including plat/marvell/marvell.m
Merge changes I5ae9d08b,I5cbbd7eb,Idb389223 into integration
* changes: plat: marvell: armada: Building ${DOIMAGETOOL} is only for a8k plat: marvell: armada: Fix including plat/marvell/marvell.mk file plat: marvell: armada: a3k: When WTP is empty do not define variables and targets which depends on it
show more ...
|
| 083dbb67 | 22-Oct-2020 |
Manish Pandey <manish.pandey2@arm.com> |
Merge "plat/qemu_sbsa: Remove cortex_a53 and aem_generic" into integration |
| d0d63afe | 08-Oct-2020 |
Olivier Deprez <olivier.deprez@arm.com> |
SPMC: adjust device region for first secure partition
For the first partition, mark first 2GB as device memory excluding the Trusted DRAM region reserved for the SPMC.
Signed-off-by: Olivier Deprez
SPMC: adjust device region for first secure partition
For the first partition, mark first 2GB as device memory excluding the Trusted DRAM region reserved for the SPMC.
Signed-off-by: Olivier Deprez <olivier.deprez@arm.com> Change-Id: I3ff110b3facf5b6d41ac2519ff6ca5e30a0a502b
show more ...
|
| bc98a2ec | 21-Oct-2020 |
Manish Pandey <manish.pandey2@arm.com> |
Merge changes from topic "tc0_sel2_spmc" into integration
* changes: plat: tc0: Configure TZC with secure world regions plat: tc0: Enable SPMC execution at S-EL2 plat: tc0: Add TZC DRAM1 regio
Merge changes from topic "tc0_sel2_spmc" into integration
* changes: plat: tc0: Configure TZC with secure world regions plat: tc0: Enable SPMC execution at S-EL2 plat: tc0: Add TZC DRAM1 region for SPMC and trusted OS plat: arm: Make BL32_BASE platform dependent when SPD_spmd is enabled plat: tc0: Disable SPE
show more ...
|
| c4d919ee | 21-Oct-2020 |
Manish Pandey <manish.pandey2@arm.com> |
Merge changes from topic "tc0_sel2_spmc" into integration
* changes: lib: el3_runtime: Fix SPE system registers in el2_sysregs_context lib: el3_runtime: Conditionally save/restore EL2 NEVE regis
Merge changes from topic "tc0_sel2_spmc" into integration
* changes: lib: el3_runtime: Fix SPE system registers in el2_sysregs_context lib: el3_runtime: Conditionally save/restore EL2 NEVE registers lib: el3_runtime: Fix aarch32 system registers in el2_sysregs_context
show more ...
|