mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "tip-bot for Ville Syrjälä" <tipbot@zytor.com>
To: linux-tip-commits@vger.kernel.org
Cc: linux-kernel@vger.kernel.org, hpa@zytor.com, mingo@kernel.org,
	bhelgaas@google.com, ville.syrjala@linux.intel.com,
	tglx@linutronix.de
Subject: [tip:x86/platform] x86/gpu: Print the Intel graphics stolen memory range
Date: Mon, 10 Feb 2014 05:31:02 -0800	[thread overview]
Message-ID: <tip-c71ef7b3c3be3337deaf1eb28dd26e0d5d4b4aa7@git.kernel.org> (raw)
In-Reply-To: <1391628540-23072-4-git-send-email-ville.syrjala@linux.intel.com>

Commit-ID:  c71ef7b3c3be3337deaf1eb28dd26e0d5d4b4aa7
Gitweb:     http://git.kernel.org/tip/c71ef7b3c3be3337deaf1eb28dd26e0d5d4b4aa7
Author:     Ville Syrjälä <ville.syrjala@linux.intel.com>
AuthorDate: Wed, 5 Feb 2014 21:29:00 +0200
Committer:  Ingo Molnar <mingo@kernel.org>
CommitDate: Sun, 9 Feb 2014 15:11:31 +0100

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>
---
 arch/x86/kernel/early-quirks.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/x86/kernel/early-quirks.c b/arch/x86/kernel/early-quirks.c
index 5218dd2..52f36e6 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,

      reply	other threads:[~2014-02-10 13:31 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-05 19:28 [PATCH 0/3] x86: Intel gen2 graphics stolen memory quirks ville.syrjala
2014-02-05 19:28 ` [PATCH 1/3] x86: Add vfunc for Intel graphics stolen memory base address ville.syrjala
2014-02-10 13:30   ` [tip:x86/platform] x86/gpu: " tip-bot for Ville Syrjälä
2014-02-05 19:28 ` [PATCH v3 2/3] x86: Add Intel graphics stolen memory quirk for gen2 platforms ville.syrjala
2014-02-10 13:30   ` [tip:x86/platform] x86/gpu: " tip-bot for Ville Syrjälä
2014-02-05 19:29 ` [PATCH 3/3] x86: Print the Intel graphics stolen memory range ville.syrjala
2014-02-10 13:31   ` tip-bot for Ville Syrjälä [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=tip-c71ef7b3c3be3337deaf1eb28dd26e0d5d4b4aa7@git.kernel.org \
    --to=tipbot@zytor.com \
    --cc=bhelgaas@google.com \
    --cc=hpa@zytor.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-tip-commits@vger.kernel.org \
    --cc=mingo@kernel.org \
    --cc=tglx@linutronix.de \
    --cc=ville.syrjala@linux.intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome