On Wed, Oct 21, 2026 at 10:47:26AM -0700, Jonathan Cameron wrote:
> > diff --git a/arch/arm64/kernel/drtm.c b/arch/arm64/kernel/drtm.c
> > index 14493948a27f0d..6062980a5d9e53 100644
> > --- a/arch/arm64/kernel/drtm.c
> > +++ b/arch/arm64/kernel/drtm.c
> > @@ -3,8 +3,47 @@
> > *
> > * Support functions for ARM DEN 0113 "DRTM Architecture for Arm"
> > */
> > +#include <linux/bug.h>
> > #include <linux/efi.h>
> > +#include <linux/init.h>
> > +#include <linux/printk.h>
> >
> > #include <asm/drtm.h>
> >
> > struct arm64_drtm_handoff arm64_drtm_handoff __efi_data_handoff;
> > +
> > +static int __init arm64_drtm_unprotect_memory(void)
> > +{
> > + s64 status;
> > +
> > + if (!arm64_drtm_handoff.drtm_enabled)
> > + return 0;
> > +
> > + /*
> > + * Currently Linux can only fully support a DRTM implementation that
> > + * relies only the SMMU.
>
> That sentence doesn't parse. relies on maybe?
Yep
I'm also going to move this file to drivers/firmware/drtm/arm64.c
Thanks,
Jason