提交 fcb29bbc 编写于 作者: T Thomas Gleixner 提交者: Rafael J. Wysocki

ACPI: Add prefetch decoding to the address space parser

Add support of PREFETCH attributre to ACPI address space and extended
address space parser.
Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
Signed-off-by: NJiang Liu <jiang.liu@linux.intel.com>
Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
上级 72e26b0d
......@@ -200,6 +200,9 @@ static bool acpi_decode_space(struct resource *res,
if (addr->producer_consumer == ACPI_PRODUCER)
res->flags |= IORESOURCE_WINDOW;
if (addr->info.mem.caching == ACPI_PREFETCHABLE_MEMORY)
res->flags |= IORESOURCE_PREFETCH;
return !(res->flags & IORESOURCE_DISABLED);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册