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