Re: [PATCH RFC 0/3] firmware: arm_firme: introduce FIRME support for host attestation

From: Jason Gunthorpe

Date: Mon Oct 19 2026 - 19:37:26 EST


On Mon, Oct 19, 2026 at 03:14:32PM +0100, Yeoreum Yun wrote:
> The Arm Confidential Compute Architecture (CCA) introduces the
> Realm Management Extension (FEAT_RME), which enables the creation and
> management of dynamically allocated, attestable trusted execution
> environments known as Realms.

Same remark as the other one, this is an attestation subsystem
driver.. Stuff like this is *exactly* why we are building that.

Also this is weirdly structured, it should just be one driver under
drivers/attestation/ that does the measurement register part of firme,
it shouldn't have two components and some weird firme_get_instance()
thing to link them together. That isn't how to build HW drivers in
Linux..

Since ARM has bundled different concepts together into one SMCC FID
range, it probably make sense for the smccc_devices to somehow spawn
multiple smccc_devices for the various internal software aspects
rather than have one driver spawn aux devices to split it ..

Jason