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

From: Marc Zyngier
Date: Thu Oct 18 2018 - 07:56:41 EST


Hi Hanjun,

On 18/10/18 12:20, Hanjun Guo wrote:
> 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
> }

Sure. But what I'm asking here is how this change in the MBIGEN driver
can be beneficial to people who need ACPI, for better or worse? For
example, you cannot get the PCIe SMMU without ACPI. Good-bye VFIO.

If it is DT only, I seriously doubt anyone will be able to use it.

Thanks,

M.
--
Jazz is not dead. It just smells funny...