| e0baae73 | 14-Oct-2021 |
Andre Przywara <andre.przywara@arm.com> |
fix(scmi): mention "SCMI" in driver initialisation message
Currently the SCMI driver reports: INFO: Initializing driver on Channel 0 on the console, which is not very specific (which driver?).
A
fix(scmi): mention "SCMI" in driver initialisation message
Currently the SCMI driver reports: INFO: Initializing driver on Channel 0 on the console, which is not very specific (which driver?).
Add "SCMI" to the message so the user knows what the firmware is trying to initialise.
Change-Id: Id8202655d07b8e12fe07670d462c6202e6eae2f0 Signed-off-by: Andre Przywara <andre.przywara@arm.com>
show more ...
|
| a06f2f43 | 18-Oct-2021 |
Manish Pandey <manish.pandey2@arm.com> |
Merge changes from topic "ufs_patches" into integration
* changes: fix(ufs): add reset before DME_LINKSTARTUP refactor(ufs): add retry logic to ufshc_reset refactor(ufs): reuse ufshc_send_uic_
Merge changes from topic "ufs_patches" into integration
* changes: fix(ufs): add reset before DME_LINKSTARTUP refactor(ufs): add retry logic to ufshc_reset refactor(ufs): reuse ufshc_send_uic_cmd
show more ...
|
| bf63dc56 | 18-Oct-2021 |
Joanna Farley <joanna.farley@arm.com> |
Merge changes I684d54a7,I61339fc5,Ic0dabf3e,Ief09a841 into integration
* changes: feat(plat/rcar): change process for Suspend To RAM fix(plat/rcar): change process that copy code to system ram
Merge changes I684d54a7,I61339fc5,Ic0dabf3e,Ief09a841 into integration
* changes: feat(plat/rcar): change process for Suspend To RAM fix(plat/rcar): change process that copy code to system ram fix(plat/rcar): fix cache maintenance process of reading cert header fix(plat/rcar): fix to load image when option BL2_DCACHE_ENABLE is enabled
show more ...
|
| 381d6850 | 18-Oct-2021 |
Joanna Farley <joanna.farley@arm.com> |
Merge changes Id7d4f5df,If82542cc,I0ba80057,I75a443db,Ifa18b4fc, ... into integration
* changes: feat(nxp/common/ocram): add driver for OCRAM initialization feat(plat/nxp/common): add EESR regis
Merge changes Id7d4f5df,If82542cc,I0ba80057,I75a443db,Ifa18b4fc, ... into integration
* changes: feat(nxp/common/ocram): add driver for OCRAM initialization feat(plat/nxp/common): add EESR register definition fix(plat/nxp/ls1028a): fix compile error when enable fuse provision fix(drivers/nxp/sfp): fix compile warning fix(plat/nxp/ls1028a): define endianness of scfg and gpio fix(nxp/scfg): fix endianness checking
show more ...
|
| 49593cc1 | 12-Jul-2021 |
Toshiyuki Ogasahara <toshiyuki.ogasahara.bo@hitachi.com> |
fix(plat/rcar): change process that copy code to system ram
Change processing of invalidate instruction cache to after changing the RAM attribute.
Signed-off-by: Koichi Yamaguchi <koichi.yamaguchi.
fix(plat/rcar): change process that copy code to system ram
Change processing of invalidate instruction cache to after changing the RAM attribute.
Signed-off-by: Koichi Yamaguchi <koichi.yamaguchi.zb@hitachi.com> Signed-off-by: Toshiyuki Ogasahara <toshiyuki.ogasahara.bo@hitachi.com> Signed-off-by: Yoshifumi Hosoya <yoshifumi.hosoya.wj@renesas.com> Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> # squash with rcar_gen3: drivers: Disable data cache while Suspend To RAM Change-Id: I61339fc5415b26074b1e0753da4c4a432e8f83d9
show more ...
|
| c77ab18e | 13-Jul-2021 |
Toshiyuki Ogasahara <toshiyuki.ogasahara.bo@hitachi.com> |
fix(plat/rcar): fix cache maintenance process of reading cert header
Move calling inv_dcache_range from before io_read to after that.
Signed-off-by: Hideyuki Nitta <hideyuki.nitta.jf@hitachi.com> S
fix(plat/rcar): fix cache maintenance process of reading cert header
Move calling inv_dcache_range from before io_read to after that.
Signed-off-by: Hideyuki Nitta <hideyuki.nitta.jf@hitachi.com> Signed-off-by: Toshiyuki Ogasahara <toshiyuki.ogasahara.bo@hitachi.com> Signed-off-by: Yoshifumi Hosoya <yoshifumi.hosoya.wj@renesas.com> Change-Id: Ic0dabf3eb94eeeb04099ed5127cdfda79bbac9b3
show more ...
|
| d2ece8db | 12-Jul-2021 |
Toshiyuki Ogasahara <toshiyuki.ogasahara.bo@hitachi.com> |
fix(plat/rcar): fix to load image when option BL2_DCACHE_ENABLE is enabled
- Modify load destination variable of the Cert Header to static. - Modify the return value to error (IO_FAIL) when failed t
fix(plat/rcar): fix to load image when option BL2_DCACHE_ENABLE is enabled
- Modify load destination variable of the Cert Header to static. - Modify the return value to error (IO_FAIL) when failed to check the Cert Header.
Signed-off-by: Koichi Yamaguchi <koichi.yamaguchi.zb@hitachi.com> Signed-off-by: Toshiyuki Ogasahara <toshiyuki.ogasahara.bo@hitachi.com> Signed-off-by: Yoshifumi Hosoya <yoshifumi.hosoya.wj@renesas.com> Change-Id: Ief09a841ec8d2ae236de82d04855e6a47cfb43f0
show more ...
|
| 905635d5 | 06-Oct-2021 |
Jorge Troncoso <jatron@google.com> |
fix(ufs): add reset before DME_LINKSTARTUP
This change aims to make the UFS code more robust by performing a controller reset if linkstartup fails. This idea was borrowed from Linux's ufshcd_link_st
fix(ufs): add reset before DME_LINKSTARTUP
This change aims to make the UFS code more robust by performing a controller reset if linkstartup fails. This idea was borrowed from Linux's ufshcd_link_startup function.
Signed-off-by: Jorge Troncoso <jatron@google.com> Change-Id: I6b52148d1bf155b11198dc82a39b1120057adaaf
show more ...
|
| 99ff1a35 | 30-Sep-2021 |
Jorge Troncoso <jatron@google.com> |
refactor(ufs): add retry logic to ufshc_reset
This change aims to make the UFS code more robust by adding retry logic and timeouts to ufshc_reset. We also define a new function ufshc_hce_enable for
refactor(ufs): add retry logic to ufshc_reset
This change aims to make the UFS code more robust by adding retry logic and timeouts to ufshc_reset. We also define a new function ufshc_hce_enable for Host Controller Enable (HCE). The inner and outer retry pattern is based on Linux's ufshcd_hba_execute_hce function.
Signed-off-by: Jorge Troncoso <jatron@google.com> Change-Id: I9403a5a25d3ca50af5f2f9a65b774f6a2d7a9626
show more ...
|
| d68d163d | 24-Sep-2021 |
Jorge Troncoso <jatron@google.com> |
refactor(ufs): reuse ufshc_send_uic_cmd
This change aims to make the UFS code more robust by removing asserts and adding retry logic. We also reduce repetition by reusing ufshc_send_uic_cmd for DME_
refactor(ufs): reuse ufshc_send_uic_cmd
This change aims to make the UFS code more robust by removing asserts and adding retry logic. We also reduce repetition by reusing ufshc_send_uic_cmd for DME_GET and DME_SET commands.
Signed-off-by: Jorge Troncoso <jatron@google.com> Change-Id: Id70aa1687d5ca78dc7d47234372255ac5a04a612
show more ...
|
| 3deb0600 | 15-Oct-2021 |
Mark Dykes <mark.dykes@arm.com> |
Merge changes from topic "st_dt_match_instance" into integration
* changes: refactor(stm32_sdmmc2): use DT helpers feat(plat/st): create new helper for DT access |
| e5fbee50 | 11-Oct-2021 |
Manish V Badarkhe <Manish.Badarkhe@arm.com> |
fix(cc-713): fix a build failure with CC-713 library
Fixed a below build failure with CC-713 library error: implicit declaration of function ‘mbedtls_x509_get_rsassa_pss_params’ [-Werror=implicit-fu
fix(cc-713): fix a build failure with CC-713 library
Fixed a below build failure with CC-713 library error: implicit declaration of function ‘mbedtls_x509_get_rsassa_pss_params’ [-Werror=implicit-function-declaration]
Signed-off-by: Manish V Badarkhe <Manish.Badarkhe@arm.com> Change-Id: If298ec16d133cf54413c299327b2c007ec4117b2
show more ...
|
| 7b97cf37 | 14-Oct-2021 |
Mark Dykes <mark.dykes@arm.com> |
Merge changes from topic "st_fixes" into integration
* changes: fix(stpmic1): fix power switches activation fix(stpmic1): update error cases return refactor(stpmic1): use BIT and GENMASK helpe
Merge changes from topic "st_fixes" into integration
* changes: fix(stpmic1): fix power switches activation fix(stpmic1): update error cases return refactor(stpmic1): use BIT and GENMASK helpers fix(stm32mp1_clk): keep RTC clock always on fix(stm32mp1_clk): set other clocks as always on
show more ...
|
| 115901bc | 14-Oct-2021 |
Mark Dykes <mark.dykes@arm.com> |
Merge "fix(stm32mp1_clk): fix MPU clock rate" into integration |
| d20d5002 | 14-Oct-2021 |
Mark Dykes <mark.dykes@arm.com> |
Merge "fix(stm32mp1_clk): fix MCU/AXI parent clock" into integration |
| 34ddd83b | 14-Oct-2021 |
Mark Dykes <mark.dykes@arm.com> |
Merge "refactor(stm32mp_clk): keep RCC node offset" into integration |
| 68d8d3e7 | 14-Oct-2021 |
Manish Pandey <manish.pandey2@arm.com> |
Merge "fix(drivers/marvell/comphy-3700): configure phy selector also for PCIe" into integration |
| 48ba0345 | 14-Sep-2021 |
Manish V Badarkhe <Manish.Badarkhe@arm.com> |
feat(measured_boot): image hash measurement and recording in BL1
It looks safer and cleaner approach to record the measurement taken by BL1 straightaway in TCG Event Log instead of deferring these r
feat(measured_boot): image hash measurement and recording in BL1
It looks safer and cleaner approach to record the measurement taken by BL1 straightaway in TCG Event Log instead of deferring these recordings to BL2. Hence pull in the full-fledged measured boot driver into BL1 that replaces the former ad-hoc platform interfaces i.e. bl1_plat_set_bl2_hash, bl2_plat_get_hash.
As a result of this change the BL1 of Arm FVP platform now do the measurements and recordings of below images: 1. FW_CONFIG 2. TB_FW_CONFIG 3. BL2
Change-Id: I798c20336308b5e91b547da4f8ed57c24d490731 Signed-off-by: Manish V Badarkhe <Manish.Badarkhe@arm.com>
show more ...
|
| efa65218 | 14-Sep-2021 |
Manish V Badarkhe <Manish.Badarkhe@arm.com> |
refactor(measured boot): remove platform calls from Event Log driver
Currently, the Event Log driver does platform layer work by invoking a few platform functions in the 'event_log_finalise' call. D
refactor(measured boot): remove platform calls from Event Log driver
Currently, the Event Log driver does platform layer work by invoking a few platform functions in the 'event_log_finalise' call. Doing platform work does not seem to be the driver's responsibility, hence moved 'event_log_finalise' function's implementation to the platform layer.
Alongside, introduced few Event Log driver functions and done some cosmetic changes.
Change-Id: I486160e17e5b0677c734fd202af7ccd85476a551 Signed-off-by: Manish V Badarkhe <Manish.Badarkhe@arm.com>
show more ...
|
| 8cd09cfc | 17-Jun-2021 |
Sandrine Bailleux <sandrine.bailleux@arm.com> |
refactor(measured boot): move BL2 measurement to platform layer
Right now, event_log_init() does 2 things: 1) It writes all the necessary TCG data structures in the event log buffer. 2) It writes th
refactor(measured boot): move BL2 measurement to platform layer
Right now, event_log_init() does 2 things: 1) It writes all the necessary TCG data structures in the event log buffer. 2) It writes the first measurement (BL2's).
Step 2) introduces in the TCG event log driver an assumption on what is getting measured and in what order. Ideally, the driver should only be concerned about generic operations, such as initializing the event log or recording a measurement in it. As much as possible, we should design the driver such that it could be reused in another project that has a different measure boot flow.
For these reasons, move step 2) up to the caller, plat_mboot_init() in this case. Make event_log_record() a public function for this purpose.
This refactoring will also help when we make BL1 record BL2's measurement into the event log (instead of BL2). Both BL1 and BL2 will need to call the driver's init function but only BL1 will need recording BL2's measurement. We can handle this through different implementations of plat_mboot_init() for BL1 and BL2, leaving the TCG event log driver unchanged.
Change-Id: I358e097c1eedb54f82b866548dfc6bcade83d519 Signed-off-by: Sandrine Bailleux <sandrine.bailleux@arm.com>
show more ...
|
| 9b0b3444 | 17-Jun-2021 |
Sandrine Bailleux <sandrine.bailleux@arm.com> |
refactor(measured boot): rename add_event2()
To a layman in TCG linguo, add_event2() is not straight forward to understand. Rename the function into event_log_record().
Change-Id: I75d53a656425cd78
refactor(measured boot): rename add_event2()
To a layman in TCG linguo, add_event2() is not straight forward to understand. Rename the function into event_log_record().
Change-Id: I75d53a656425cd78a41ebf2c4c4e4e57687adc0d Signed-off-by: Sandrine Bailleux <sandrine.bailleux@arm.com>
show more ...
|
| d89bec83 | 07-Jul-2021 |
Sandrine Bailleux <sandrine.bailleux@arm.com> |
build(measured boot): rename measured boot makefile
With the removal of the generic functions measured_boot_init()/finish(), measured_boot.mk becomes specific to the TCG event log backend. Change it
build(measured boot): rename measured boot makefile
With the removal of the generic functions measured_boot_init()/finish(), measured_boot.mk becomes specific to the TCG event log backend. Change its file name to event_log.mk. Also, the Event Log driver is one of the backend of measured boot hence created a separate folder for it under the measured_boot directory.
Alongside done some cosmetic changes (adding a comment and fixing identation).
Change-Id: I4ce3300e6958728dc15ca5cced09eaa01510606c Signed-off-by: Sandrine Bailleux <sandrine.bailleux@arm.com>
show more ...
|
| 47bf3ac3 | 06-Aug-2021 |
Manish V Badarkhe <Manish.Badarkhe@arm.com> |
feat(measured boot): move init and teardown functions to platform layer
Right now, the measured boot driver is strongly coupled with the TCG event log driver. It would not be possible to push the me
feat(measured boot): move init and teardown functions to platform layer
Right now, the measured boot driver is strongly coupled with the TCG event log driver. It would not be possible to push the measurements somewhere else, for instance to a physical TPM.
To enable this latter use case, turn the driver's init and teardown functions into platform hooks. Call them bl2_plat_mboot_init()/finish(). This allows each platform to implement them appropriately, depending on the type of measured boot backend they use. For example, on a platform with a physical TPM, the plat_mboot_init() hook would startup the TPM and setup it underlying bus (e.g. SPI).
Move the current implementation of the init and teardown function to the FVP platform layer.
Finally move the conditional compilation logic (#if MEASURED_BOOT) out of bl2_main() to improve its readability. Provide a dummy implementation in the case measured boot is not included in the build.
Change-Id: Ib6474cb5a9c1e3d4a30c7f228431b22d1a6e85e3 Signed-off-by: Sandrine Bailleux <sandrine.bailleux@arm.com> Signed-off-by: Manish V Badarkhe <Manish.Badarkhe@arm.com>
show more ...
|
| 4a24707f | 01-Jul-2021 |
Sandrine Bailleux <sandrine.bailleux@arm.com> |
refactor(measured boot): rename tpm_record_measurement()
tpm_record_measurement() function name suggests that:
- It only records a measurement but does not compute it. This is not the case, the
refactor(measured boot): rename tpm_record_measurement()
tpm_record_measurement() function name suggests that:
- It only records a measurement but does not compute it. This is not the case, the function does both.
- It stores this measurement into a TPM (discrete chip or fTPM). This is not the case either, the measurement is just stored into the event log, which is a data structure hold in memory, there is no TPM involvement here.
To better convey the intent of the function, rename it into event_log_measure_and_record().
Change-Id: I0102eeda477d6c6761151ac96759b31b6997e9fb Signed-off-by: Sandrine Bailleux <sandrine.bailleux@arm.com>
show more ...
|
| 0f3a1221 | 12-Oct-2021 |
Pali Rohár <pali@kernel.org> |
fix(drivers/marvell/comphy-3700): configure phy selector also for PCIe
The mvebu_a3700_comphy_pcie_power_on() function does not configure the PHY selector explicitly, it relies on the register defau
fix(drivers/marvell/comphy-3700): configure phy selector also for PCIe
The mvebu_a3700_comphy_pcie_power_on() function does not configure the PHY selector explicitly, it relies on the register default value.
Configure the PHY selector just in case someone changed the default value.
Signed-off-by: Pali Rohár <pali@kernel.org> Change-Id: I54048b4bb7a5eced36f7fe6592ebe108f978fff0
show more ...
|