The iMX lpuart driver added at 44e17aa60d47 ("xen/arm: Add i.MX lpuart driver")
is not enough to boot a Linux based dom0 when certain drivers, such as the
watchdog driver, are enabled.
We're also fixing compatibles in imx-lpuart to allow Xen to use the UART
on the QXP variant as well.
NOTE:
There's still an open point regarding the watchdog from v1, but I wanted
to post this series to show the filtering changes mostly because they also
clarify what exists and what we can definitely get away with blocking /
ignoring out of all the SMC SIP calls.
v2: (See each path for complete changelog)
- Added SIP call filtering (Julien Grall)
- Replace lpuart compatible instead (Julien Grall)
v1: https://lore.kernel.org/xen-devel/20240131114952.305805-1-john.ernberg@actia.se
John Ernberg (2):
xen/arm: Add imx8q{m,x} platform glue
xen/drivers: imx-lpuart: Replace iMX8QM compatible with iMX8QXP
xen/arch/arm/platforms/Makefile | 1 +
xen/arch/arm/platforms/imx8qm.c | 143 ++++++++++++++++++++++++++++++++
xen/drivers/char/imx-lpuart.c | 2 +-
3 files changed, 145 insertions(+), 1 deletion(-)
create mode 100644 xen/arch/arm/platforms/imx8qm.c
--
2.43.0