Skip to contentSkip to conversation

arm/linux-yocto: enable /dev/mem for Trusted Services tests

PATCH Applied Anusmita Dutta Mazumder 2 participants 2 messages Oct 22

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm/linux-yocto: enable /dev/mem for Trusted Services tests

The Trusted Services uefi-test uses /dev/mem to map its MM communication buffer. The no-strict-devmem.cfg fragment relaxes the mapping restrictions, while CONFIG_DEVMEM controls whether /dev/mem is available.

Enable CONFIG_DEVMEM in the same fragment so the test can open /dev/mem and map the communication buffer.

---
 meta-arm/recipes-kernel/linux/files/no-strict-devmem.cfg | 1 +
 1 file changed, 1 insertion(+)
meta-arm/recipes-kernel/linux/files/no-strict-devmem.cfg +1 -0
index d372acae..78a5f92f 100644
@@ -1 +1,2 @@
+CONFIG_DEVMEM=y
 CONFIG_STRICT_DEVMEM=n
Applied
#1 lore raw
Quoted 9 lines · Anusmita Dutta Mazumder

The Trusted Services uefi-test uses /dev/mem to map its MM communication buffer. The no-strict-devmem.cfg fragment relaxes the mapping restrictions, while CONFIG_DEVMEM controls whether /dev/mem is available.

Enable CONFIG_DEVMEM in the same fragment so the test can open /dev/mem and map the communication buffer.

[...]

Applied, thanks!

[1/1] arm/linux-yocto: enable /dev/mem for Trusted Services tests

      commit: a19f2dba816a211c699cb1318b7dbb818da4e32c

Best regards,

Signature · 1 line
Jon Mason <[email protected]>