summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2014-02-05 20:29:00 +0100
committerIngo Molnar <mingo@kernel.org>2014-02-09 15:11:31 +0100
commitc71ef7b3c3be3337deaf1eb28dd26e0d5d4b4aa7 (patch)
treea92d9abe71a568c1caf0a9b977b97092f2e34803 /arch
parentx86/gpu: Add Intel graphics stolen memory quirk for gen2 platforms (diff)
downloadlinux-c71ef7b3c3be3337deaf1eb28dd26e0d5d4b4aa7.tar.xz
linux-c71ef7b3c3be3337deaf1eb28dd26e0d5d4b4aa7.zip
x86/gpu: Print the Intel graphics stolen memory range
Print an informative message when reserving the graphics stolen memory region in the early quirk. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Cc: Bjorn Helgaas <bhelgaas@google.com> Link: http://lkml.kernel.org/r/1391628540-23072-4-git-send-email-ville.syrjala@linux.intel.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/kernel/early-quirks.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/kernel/early-quirks.c b/arch/x86/kernel/early-quirks.c
index 5218dd209ede..52f36e660625 100644
--- a/arch/x86/kernel/early-quirks.c
+++ b/arch/x86/kernel/early-quirks.c
@@ -520,6 +520,8 @@ static void __init intel_graphics_stolen(int num, int slot, int func)
size = stolen_funcs->size(num, slot, func);
start = stolen_funcs->base(num, slot, func, size);
if (size && start) {
+ printk(KERN_INFO "Reserving Intel graphics stolen memory at 0x%x-0x%x\n",
+ start, start + (u32)size - 1);
/* Mark this space as reserved */
e820_add_region(start, size, E820_RESERVED);
sanitize_e820_map(e820.map,