Searched hist:"13 f4a25251cc6ce0230e999f39a4668cff25dcd0" (Results 1 – 2 of 2) sorted by relevance
| /rk3399_ARM-atf/lib/extensions/trbe/ |
| H A D | trbe.c | 13f4a25251cc6ce0230e999f39a4668cff25dcd0 Fri Jan 10 12:04:50 UTC 2025 Boyan Karatotev <boyan.karatotev@arm.com> fix(cm): change back owning security state when a feature is disabled
Patch fc7dca72ba656e5f147487b20f9f0fb6eb39e116 changed the owning security states of the TRBE and SPE buffers to NS. The thinking was that this would assist SMCCC feature availability to more easily determine if the feature is enabled or disabled. However, that only changed bit 0 while the SMCCC feature only looks at bit 1 so this change is redundant.
It was also meant to tighten security but that was done by 73d98e37593f4a4044dd28f52127cdc890911c0c instead.
Annoyingly, FEAT_TRBE has TRBIDR_EL1 which reports that programming is allowed when the current security state owns the buffer even when the MDCR_EL3 setting disallows this in practice.
So revert the functional aspect of the patch as it causes linux panics with ERRATA_A520_2938996. Keep the defines as they are used elsewhere.
Change-Id: I39463d585df89aee44d1996137616da85d678f41 Signed-off-by: Boyan Karatotev <boyan.karatotev@arm.com>
|
| /rk3399_ARM-atf/lib/extensions/spe/ |
| H A D | spe.c | 13f4a25251cc6ce0230e999f39a4668cff25dcd0 Fri Jan 10 12:04:50 UTC 2025 Boyan Karatotev <boyan.karatotev@arm.com> fix(cm): change back owning security state when a feature is disabled
Patch fc7dca72ba656e5f147487b20f9f0fb6eb39e116 changed the owning security states of the TRBE and SPE buffers to NS. The thinking was that this would assist SMCCC feature availability to more easily determine if the feature is enabled or disabled. However, that only changed bit 0 while the SMCCC feature only looks at bit 1 so this change is redundant.
It was also meant to tighten security but that was done by 73d98e37593f4a4044dd28f52127cdc890911c0c instead.
Annoyingly, FEAT_TRBE has TRBIDR_EL1 which reports that programming is allowed when the current security state owns the buffer even when the MDCR_EL3 setting disallows this in practice.
So revert the functional aspect of the patch as it causes linux panics with ERRATA_A520_2938996. Keep the defines as they are used elsewhere.
Change-Id: I39463d585df89aee44d1996137616da85d678f41 Signed-off-by: Boyan Karatotev <boyan.karatotev@arm.com>
|