| ae19fef3 | 05-Aug-2020 |
Abdul Halim, Muhammad Hadi Asyrafi <muhammad.hadi.asyrafi.abdul.halim@intel.com> |
feat(intel): enable firewall for OCRAM in BL31
Set OCRAM as secure region and required privileged access in BL31 to prevent software running in normal world (non-secure) accessing memory region in O
feat(intel): enable firewall for OCRAM in BL31
Set OCRAM as secure region and required privileged access in BL31 to prevent software running in normal world (non-secure) accessing memory region in OCRAM which may contain sensitive information (e.g. FSBL, handoff data)
Signed-off-by: Abdul Halim, Muhammad Hadi Asyrafi <muhammad.hadi.asyrafi.abdul.halim@intel.com> Change-Id: Ib6b24efd69f49cd3f9aa4ef2ea9f1af5ce582bd6 Signed-off-by: Jit Loon Lim <jit.loon.lim@intel.com>
show more ...
|
| afa0b1a8 | 06-Aug-2020 |
Abdul Halim, Muhammad Hadi Asyrafi <muhammad.hadi.asyrafi.abdul.halim@intel.com> |
feat(intel): create source file for firewall configuration
Move codes that previously were part of system_manager driver into firewall driver which are more appropriate based on their functionalitie
feat(intel): create source file for firewall configuration
Move codes that previously were part of system_manager driver into firewall driver which are more appropriate based on their functionalities.
Signed-off-by: Abdul Halim, Muhammad Hadi Asyrafi <muhammad.hadi.asyrafi.abdul.halim@intel.com> Change-Id: I35e9d792f35ee7491c2f306781417a0c8faae3fd Signed-off-by: Jit Loon Lim <jit.loon.lim@intel.com>
show more ...
|
| 1f1c0206 | 29-Jun-2020 |
Abdul Halim, Muhammad Hadi Asyrafi <muhammad.hadi.asyrafi.abdul.halim@intel.com> |
build(intel): define a macro for SIMICS build
SIMICS builds have different UART configurations compared to hardware build. Hence, this patch defines a macro to differentiate between both.
Signed-of
build(intel): define a macro for SIMICS build
SIMICS builds have different UART configurations compared to hardware build. Hence, this patch defines a macro to differentiate between both.
Signed-off-by: Abdul Halim, Muhammad Hadi Asyrafi <muhammad.hadi.asyrafi.abdul.halim@intel.com> Signed-off-by: Sieu Mun Tang <sieu.mun.tang@intel.com> Change-Id: Iadecd5445e06611486ac3c6a214a6d0dc8ccd27b
show more ...
|
| 325eb35d | 07-Mar-2022 |
Sieu Mun Tang <sieu.mun.tang@intel.com> |
build(intel): add N5X as a new Intel platform
This commit adds a new Intel platform called N5X. This preliminary patch only have Bl31 support.
Signed-off-by: Abdul Halim, Muhammad Hadi Asyrafi <muh
build(intel): add N5X as a new Intel platform
This commit adds a new Intel platform called N5X. This preliminary patch only have Bl31 support.
Signed-off-by: Abdul Halim, Muhammad Hadi Asyrafi <muhammad.hadi.asyrafi.abdul.halim@intel.com> Signed-off-by: Sieu Mun Tang <sieu.mun.tang@intel.com> Change-Id: Ib31f9c4a5a0dabdce81c1d5b0d4776188add7195
show more ...
|
| a250c04b | 19-Feb-2022 |
Sieu Mun Tang <sieu.mun.tang@intel.com> |
fix(intel): null pointer handling for resp_len
Previous changes from commit #6a659448 updates resp_len from an integer type to unsigned integer pointer type. This patch adds proper handling in case
fix(intel): null pointer handling for resp_len
Previous changes from commit #6a659448 updates resp_len from an integer type to unsigned integer pointer type. This patch adds proper handling in case resp_len is a null pointer. Resp_len with value 0 are also changed to NULL to match the type change.
Signed-off-by: Abdul Halim, Muhammad Hadi Asyrafi <muhammad.hadi.asyrafi.abdul.halim@intel.com> Change-Id: I75b3e3bfbb188d8e7b329ba3b948c23e31dec490
show more ...
|
| 7db1895f | 05-Jun-2020 |
Abdul Halim, Muhammad Hadi Asyrafi <muhammad.hadi.asyrafi.abdul.halim@intel.com> |
fix(intel): define macros to handle buffer entries
This patch defines a macro to handle Secure Device Manager's (SDM) pointer to command & response buffer entries and convert them to the correct phy
fix(intel): define macros to handle buffer entries
This patch defines a macro to handle Secure Device Manager's (SDM) pointer to command & response buffer entries and convert them to the correct physical address.
Signed-off-by: Abdul Halim, Muhammad Hadi Asyrafi <muhammad.hadi.asyrafi.abdul.halim@intel.com> Change-Id: I4cf9f1d90e0d5ae4e1a2ce84165864b48c2862e7
show more ...
|
| 108514ff | 19-Feb-2022 |
Sieu Mun Tang <sieu.mun.tang@intel.com> |
fix(intel): change SMC return arguments for INTEL_SIP_SMC_MBOX_SEND_CMD
'INTEL_SIP_SMC_MBOX_SEND_CMD' SMC runtime service will only return mailbox status and the argument's length back to the caller
fix(intel): change SMC return arguments for INTEL_SIP_SMC_MBOX_SEND_CMD
'INTEL_SIP_SMC_MBOX_SEND_CMD' SMC runtime service will only return mailbox status and the argument's length back to the caller
Signed-off-by: Chee Hong Ang <chee.hong.ang@intel.com> Change-Id: I50d2ae74845794cab7bf0858e742b5a70e0ea868
show more ...
|
| e93551bb | 29-Jul-2021 |
Siew Chin Lim <elly.siew.chin.lim@intel.com> |
fix(intel): always set doorbell to SDM after sending command
This patch fixes the mailbox stall issue when sending mailbox command that is larger than mailbox command FIFO size.
Large mailbox comma
fix(intel): always set doorbell to SDM after sending command
This patch fixes the mailbox stall issue when sending mailbox command that is larger than mailbox command FIFO size.
Large mailbox command will be sent to SDM in multiple chunks. HPS will set doorbell to SDM when command FIFO full (is_doorbell_triggered will be set to 1) to notify SDM to read the command data from FIFO, so that HPS can continue to send the next chunk of command data.
However, HPS will not set the doorbell to SDM at the end if the doorbell have been set earlier due to FIFO full. This will cause SDM mailbox service stall because it is still waiting for last chunk of command data.
This patch fixes the code to always set the doorbell to SDM at the end to get rid of stall issue.
Signed-off-by: Siew Chin Lim <elly.siew.chin.lim@intel.com> Change-Id: Idbe62410a00d92a30c7aeaa26d53d79a910cac0a
show more ...
|
| c9c07099 | 09-Jul-2021 |
Siew Chin Lim <elly.siew.chin.lim@intel.com> |
fix(intel): fix bit masking issue in intel_secure_reg_update
intel_secure_reg_update function should apply mask to the value before write into register.
Signed-off-by: Siew Chin Lim <elly.siew.chin
fix(intel): fix bit masking issue in intel_secure_reg_update
intel_secure_reg_update function should apply mask to the value before write into register.
Signed-off-by: Siew Chin Lim <elly.siew.chin.lim@intel.com> Change-Id: I84bbd06e24b8666528b53030e8359743d438eb5b
show more ...
|
| 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 ...
|