On Thu, Jan 26, 2017 at 12:15 PM, Lorenzo Pieralisi <lorenzo.pieralisi@xxxxxxx> wrote: > On Thu, Jan 26, 2017 at 03:01:18AM +0200, Andy Shevchenko wrote: >> On Fri, Jan 20, 2017 at 4:34 AM, Agustin Vega-Frias >> <agustinv@xxxxxxxxxxxxxx> wrote: >> > ACPI extended IRQ resources may contain a ResourceSource to specify >> > an alternate interrupt controller. Introduce acpi_irq_get and use it >> > to implement ResourceSource/IRQ domain mapping. >> > >> > The new API is similar to of_irq_get and allows re-initialization >> > of a platform resource from the ACPI extended IRQ resource, and >> > provides proper behavior for probe deferral when the domain is not >> > yet present when called. >> > + list_for_each_entry(hwid, &device->pnp.ids, list) { >> >> > + for (devid = &__dsdt_irqchip_acpi_probe_table; >> > + devid < &__dsdt_irqchip_acpi_probe_table_end; devid++) { >> > + if (devid->id && !strcmp(devid->id, hwid->id)) { >> > + result = &device->fwnode; >> > + break; >> > + } >> > + } >> >> Looks like a candidate for linker table API. (I recommend to Cc Luis >> for this part) > > This linker table entry scheme is just an optimization and should > not gate the series. That's correct. Though Luis might give some advice regarding to this piece of code. >> > +#ifdef CONFIG_ACPI_GENERIC_GSI >> >> #if IS_ENABLED() >> > +int acpi_irq_get(acpi_handle handle, unsigned int index, struct resource *res); >> > +#else >> > +static inline int acpi_irq_get(acpi_handle handle, unsigned int index, >> > + struct resource *res) >> >> Perhaps >> >> static inline >> int ... > > It is late -rc5 and notwithstanding cosmetics changes, can we make > progress with this patch series or not please ? I agree for the second case from what's left above, first one might be useful to amend. At the end it's a Rafael's word, I'm not insisting on cosmetic changes. So, what about the rest? -- With Best Regards, Andy Shevchenko -- To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html