Re: [PATCH 3/4] irqchip/mbigen: add support for a MBIGEN generating SPIs

From: Hanjun Guo
Date: Thu Oct 18 2018 - 07:21:16 EST


Hi Marc,

>>>>
>>> Now, the biggest question of them all: how does it work with ACPI? Last
>>> time I checked, there was no DT support for platforms using the MBIGEN.
>> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/arch/arm64/boot/dts/hisilicon/hip07.dtsi
>> This DT describes how platform devices using the MBIGEN.
>
> That's not how my own D05 boots. It is ACPI only. How is that going to
> work on this platform?

D05 is ACPI only so it has no dtb in the firmware, that's why we can
boot D05 without acpi=on in the boot cmdline, but if you want to
boot D05 with dtb, you could try to specify the dtb in the grub
(seems centos based):

menuentry "example" --id example{
linux /Image-kernel root=... rdinit=...
initrd /example.img
devicetree /d05.dtb
}

Hope it helps.

Thanks
Hanjun