Re: [PATCH v2 1/6] irq: make irq_domain_reset_irq_data() available even for non-V2 users

From: Bartosz Golaszewski
Date: Fri Feb 14 2020 - 04:31:45 EST


pt., 14 lut 2020 o 10:02 Thomas Gleixner <tglx@xxxxxxxxxxxxx> napisaÅ(a):
>
> Bartosz Golaszewski <brgl@xxxxxxxx> writes:
> > From: Bartosz Golaszewski <bgolaszewski@xxxxxxxxxxxx>
> >
> > irq_domain_reset_irq_data() doesn't modify the parent data, so it can be
> > made available even if irq domain hierarchy is not being built.
>
> Yes, it can be made available, but WHY?
>
> Thanks,
>
> tglx

Duh, I forgot to clarify this. After my previous submission, Marc
suggested I use irq_domain_reset_irq_data() in the unmap() callback
for the simulator domain. I noticed I can't do this because I don't
select the V2 irq domain API, so I added this patch.

Bartosz