Re: [PATCH 0/2] arch: arm: gic-v3-its: stop abusing the device tree

Michael Walle
2021-10-28T11:22:09Z

Am 2021-10-28 11:20, schrieb Bharat Gooty:
> On Thu, Oct 28, 2021 at 2:33 PM Marc Zyngier <maz@kernel.org> wrote:

> For GIC V3, once the LPI tables are programmed, we can not update it,
> unless we do a reset.
> For the kexec kernel, where the reboot does not happen, in this case,
> during the new kernel boot, the new LPI tables address will not be
> updated.

kexec.. this should have really gone into both the commit message _and_
the kconfig menu. In fact, it is really just a workaround for the kexec
case. If I understand it correctly, the kernel is able to communicate
the reserved memory area, but only if you have EFI support. So, as a
workaround, the bootloader can pre-allocate the memory and put it in
the device tree, which is then passed from the old to the new kernel
and the reservation is preserved. Correct, Marc?

But all of this doesn't need any new device tree node.

-michael