[RFC PATCH 4/4] firmware: arm_ffa: check pkvm initailised when initailise ffa driver
Yeoreum Yun
yeoreum.yun at arm.com
Tue Apr 21 09:12:01 UTC 2026
> On Tue, Apr 21, 2026 at 07:57:43AM +0100, Yeoreum Yun wrote:
>
> [...]
>
> >
> > Also, the FF-A initialization is not driven by a device probe, but rather
> > happens as part of the bus registration itself,
> > so it does not fit well with a device_link or probe deferral based approach.
> >
> > Instead, perhaps we could go with the idea I mentioned previously:
> > either introduce a notifier, or create a pseudo ffa_device
> > once pKVM initialization has completed, and
> > then let the ffa driver perform the additional initialization from there.
> >
> > Am I missing something?
> >
>
> In order to handle/cleanup some ugliness in interrupt management in the
> FF-A driver, we may introduce DT node eventually. But it will take sometime.
Unfortunately, I think this DT node wouldn't be helpful to solve
this situation for dependency with the kvm misc device...
IMHO, current situation, the notifier seems to good option. unless
we make the initcall to recongise this dependency.
--
Sincerely,
Yeoreum Yun
More information about the Linux-security-module-archive
mailing list