Messages in this thread | | | Date | Fri, 12 Dec 2014 12:39:32 +0100 (CET) | From | Thomas Gleixner <> | Subject | Re: [patch 4/4] acpi: ioapic: Respect the resource flags |
| |
On Thu, 11 Dec 2014, Yinghai Lu wrote: > On Thu, Dec 11, 2014 at 11:48 AM, Thomas Gleixner <tglx@linutronix.de> 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
| |