fix(dice): prevent compiler warningsLTO builds make the compiler observe possible unitialised accesses.That's not the case, but calm it down with a 0. It also doesn't like thedeclaration mismatch
fix(dice): prevent compiler warningsLTO builds make the compiler observe possible unitialised accesses.That's not the case, but calm it down with a 0. It also doesn't like thedeclaration mismatch in tc so bring it in line.Change-Id: I0276257d05d1cb1d4f7e1e0d914c48c8ab3d308dSigned-off-by: Boyan Karatotev <boyan.karatotev@arm.com>
show more ...
feat(tc): provide target_locality info of AP FW componentsThe target_locality attribute is meant to specify thata certain SW component is expected to run and therebysend DPE commands from a given
feat(tc): provide target_locality info of AP FW componentsThe target_locality attribute is meant to specify thata certain SW component is expected to run and therebysend DPE commands from a given security domain. The DPEservice must be capable of determining the locality ofa client on his own. RSE determines the client's localitybased on the MHU channel used for communication.If the expected locality (specified by the parent component)is not matching with the determined locality by DPEservice then command fails.The goal is to protect against spoofing when acontext_handle is stolen and used by a componentthat should not have access.Signed-off-by: Tamas Ban <tamas.ban@arm.com>Change-Id: I96d255de231611cfed10eef4335a47b91c2c94de
refactor(dice): save parent context handleImprove the restart handling of DPE. In the case of a restartscenario where only that core is restarted which executesthe DPE client, but the core execut
refactor(dice): save parent context handleImprove the restart handling of DPE. In the case of a restartscenario where only that core is restarted which executesthe DPE client, but the core executes the DPE serviceremains up and running. In this case, client needs to savea valid context handle to be able to send commands againto the DPE service during the new boot sequence.BL1 saves a valid parent context handle to SDSbefore passing the execution to BL2. This handlecan be used in case of a restart scenario when APis restarted but RSE is not. Because in that caseRSE does not save an initial context handle to SDS,which meant to be used by AP during the boot process.By then the very first initial context handle isinvalidated because it was already used in theprevious boot cycle by BL1.BL2 does not need to do this, because the coldboot starts with BL1.Signed-off-by: Tamas Ban <tamas.ban@arm.com>Change-Id: Id14eefd2ec758f89f672af176e4f5386a397fa35
refactor(measured-boot): change all occurrences of RSS to RSEChanges all occurrences of "RSS" and "rss" in the code and build filesto "RSE" and "rse".Signed-off-by: Tamas Ban <tamas.ban@arm.com>
refactor(measured-boot): change all occurrences of RSS to RSEChanges all occurrences of "RSS" and "rss" in the code and build filesto "RSE" and "rse".Signed-off-by: Tamas Ban <tamas.ban@arm.com>Change-Id: I8c2fcbdf1de1c75f9969d28bc15e0b3500071404
refactor(measured-boot): rename all 'rss' files to 'rse'Signed-off-by: Tamas Ban <tamas.ban@arm.com>Change-Id: I3bd987456ad0f5c7a003960dd543efad2ce668a8