Re: [patch 4/4] acpi: ioapic: Respect the resource flags

From: Thomas Gleixner
Date: Fri Dec 12 2014 - 06:39:43 EST


On Thu, 11 Dec 2014, Yinghai Lu wrote:
> On Thu, Dec 11, 2014 at 11:48 AM, Thomas Gleixner <tglx@xxxxxxxxxxxxx> wrote:
>
> Also please check attached following patch that will move code to acpi core.

Fun. I came up with more or less the same patch (properly split into
seperate patches) yesterday morning, but decided to keep it out of the
series because it looked ugly.

We really should have something like this:

struct translated_rescource {
struct resource res;
u64 offset;
};

and a proper acpi function for it. Adding the offset could be done
there as well. That will simplify the magic in x86/pci/acpi as you
only have to deal with a single storage place.

Thanks,

tglx




--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/