OpenDICE can also used on x86 platforms for attestation, one of the
usecase is Android's protected VM.
The OpenDICE device driver only supports device tree, adding ACPI
support so it can also be used on x86 environments easily.
The first two commits are refactor to the current code, to make the
third commit as simple as possible.
The full patch set is verified using crosvm, with --acpi-table and
--file-backed-mapping arguments set. See commit 3 for details.
---
Changes in v2:
- split the patch into three commits (check of_node, use separate
variables, and add ACPI support)
v1: https://lore.kernel.org/lkml/20260715081821.3932123-1-songguo@google.com/T/#u
Song Guo (3):
misc: open-dice: do not assume dev->of_node is valid
misc: open-dice: save mem_base and mem_size in drvdata
misc: open-dice: add ACPI device discovery support
drivers/misc/open-dice.c | 51 +++++++++++++++++++++++++++++-----------
1 file changed, 37 insertions(+), 14 deletions(-)
--
2.55.0.141.g00534a21ce-goog