On 22/8/25 17:15, Luc Michel wrote:
Improve the IRQ index in the VersalMap structure to turn it into a
descriptor:
    - the lower 16 bits still represent the IRQ index
    - bit 18 is used to indicate a shared IRQ connected to a OR gate
    - bits 19 to 22 indicate the index on the OR gate.

This allows to share an IRQ among multiple devices. An OR gate is
created to connect the devices to the actual IRQ pin.

Signed-off-by: Luc Michel <luc.mic...@amd.com>
Reviewed-by: Francisco Iglesias <francisco.igles...@amd.com>
---
  hw/arm/xlnx-versal.c | 63 +++++++++++++++++++++++++++++++++++++++++++-
  1 file changed, 62 insertions(+), 1 deletion(-)

Nice.

Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org>


Reply via email to