<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - [SKL] System boots with [drm:i915_stolen_to_physical] *ERROR* conflict detected with stolen region: [0xc6000000 - 0xc8000000] on dmesg"
href="https://bugs.freedesktop.org/show_bug.cgi?id=97621#c5">Comment # 5</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - [SKL] System boots with [drm:i915_stolen_to_physical] *ERROR* conflict detected with stolen region: [0xc6000000 - 0xc8000000] on dmesg"
href="https://bugs.freedesktop.org/show_bug.cgi?id=97621">bug 97621</a>
from <span class="vcard"><a class="email" href="mailto:jari.tahvanainen@intel.com" title="Jari Tahvanainen <jari.tahvanainen@intel.com>"> <span class="fn">Jari Tahvanainen</span></a>
</span></b>
<pre>(In reply to Chris Wilson from <a href="show_bug.cgi?id=97621#c4">comment #4</a>)
<span class="quote">> Try:
>
> diff --git a/arch/x86/include/uapi/asm/e820.h
> b/arch/x86/include/uapi/asm/e820.h
> index 9dafe59cf6e2..5b40b4abef35 100644
> --- a/arch/x86/include/uapi/asm/e820.h
> +++ b/arch/x86/include/uapi/asm/e820.h
> @@ -45,6 +45,8 @@
> */
> #define E820_PRAM 12
>
> +#define E820_RESERVED_GFX 64
> +
> /*
> * reserved RAM used by kernel itself
> * if CONFIG_INTEL_TXT is enabled, memory of this type will be
> diff --git a/arch/x86/kernel/early-quirks.c b/arch/x86/kernel/early-quirks.c
> index f306698a4cb4..e84f6afbb578 100644
> --- a/arch/x86/kernel/early-quirks.c
> +++ b/arch/x86/kernel/early-quirks.c
> @@ -546,7 +546,7 @@ intel_graphics_stolen(int num, int slot, int func,
> &base, &end);
>
> /* Mark this space as reserved */
> - e820_add_region(base, size, E820_RESERVED);
> + e820_add_region(base, size, E820_RESERVED_GFX);
> sanitize_e820_map(e820.map, ARRAY_SIZE(e820.map), &e820.nr_map);
> }</span >
Did the changes, compiled and rebooted SKL. Outcome is still the same
(~conflict still causes *ERROR*) in dmesg:
[ 0.000000] Reserving Intel graphics memory at
0x00000000c6000000-0x00000000c7ffffff
...
[ 1.861126] [drm:i915_stolen_to_physical] *ERROR* conflict detected with
stolen region: [0xc6000000 - 0xc8000000]
BTW: the latest code in drm-intel-nightly has the intel_graphics_stolen
modified compared your example:
commit ee0629cfd3c16c716801c84e939ff5db5e23f54d
Author: Joonas Lahtinen <<a href="mailto:joonas.lahtinen@linux.intel.com">joonas.lahtinen@linux.intel.com</a>>
Date: Fri Apr 22 13:45:49 2016 +0300
...
-static void __init intel_graphics_stolen(int num, int slot, int func)
+static void __init
+intel_graphics_stolen(int num, int slot, int func,
+ const struct intel_early_ops *early_ops)
...</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are on the CC list for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>