i915_stolen_to_physical() broken in 3.11+

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Problem:
=======

Your changes to i915_stolen_to_physical() (commit: eaba1b8f3379b5d100bd146b9a41d28348bdfd09) expose the following problem

[    2.272218] [drm:i915_stolen_to_physical] *ERROR* conflict detected with stolen region: [0x7f800000 - 0x80000000]



Related bug reports:
================

https://bugs.freedesktop.org/show_bug.cgi?id=66726
https://bugs.freedesktop.org/show_bug.cgi?id=67520

Hardware
========

AOpen i915GMm-hfs mobo, Pentium-M


dmesg | grep e820:
===============

[    0.000000] e820: BIOS-provided physical RAM map:
[    0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009f7ff] usable
[    0.000000] BIOS-e820: [mem 0x000000000009f800-0x000000000009ffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000000f0000-0x00000000000fffff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000000100000-0x000000007f7effff] usable
[    0.000000] BIOS-e820: [mem 0x000000007f7f0000-0x000000007f7f2fff] ACPI NVS
[    0.000000] BIOS-e820: [mem 0x000000007f7f3000-0x000000007f7fffff] ACPI data
[    0.000000] BIOS-e820: [mem 0x00000000e0000000-0x00000000efffffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fec00000-0x00000000fec00fff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fee00000-0x00000000fee00fff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000ffb00000-0x00000000ffffffff] reserved
[    0.000000] e820: update [mem 0x00000000-0x00000fff] usable ==> reserved
[    0.000000] e820: remove [mem 0x000a0000-0x000fffff] usable
[    0.000000] e820: last_pfn = 0x7f7f0 max_arch_pfn = 0x1000000
[    0.000000] e820: [mem 0x7f800000-0xdfffffff] available for PCI devices
[    0.089777] PCI: MMCONFIG at [mem 0xe0000000-0xefffffff] reserved in E820
[    0.199322] e820: reserve RAM buffer [mem 0x0009f800-0x0009ffff]
[    0.199347] e820: reserve RAM buffer [mem 0x7f7f0000-0x7fffffff]


/proc/iomem:
==========
00000000-00000fff : reserved
00001000-0009f7ff : System RAM
0009f800-0009ffff : reserved
000a0000-000bffff : Video RAM area
000c0000-000c7fff : Video ROM
000d0000-000d3fff : pnp 00:0b
000d8000-000d97ff : Adapter ROM
000da000-000db7ff : Adapter ROM
000db800-000dbfff : pnp 00:0b
000e0000-000effff : pnp 00:0b
000f0000-000fffff : reserved
  000f0000-000fffff : System ROM
00100000-7f7effff : System RAM
  00100000-005492b1 : Kernel code
  005492b2-007d2fbf : Kernel data
  0084d000-00dabfff : Kernel bss
7f7f0000-7f7f2fff : ACPI Non-volatile Storage
7f7f3000-7f7fffff : ACPI Tables
7f800000-7fffffff : RAM buffer
80000000-801fffff : PCI Bus 0000:01
80200000-803fffff : PCI Bus 0000:01
80400000-806fffff : PCI Bus 0000:02
  80400000-8041ffff : 0000:02:00.0
80700000-809fffff : PCI Bus 0000:03
  80700000-8071ffff : 0000:03:00.0
80a00000-80bfffff : PCI Bus 0000:04
80c00000-80dfffff : PCI Bus 0000:04
c0000000-cfffffff : 0000:00:02.0
d0000000-d1ffffff : PCI Bus 0000:05
  d0000000-d0ffffff : 0000:05:04.0
    d0000000-d0ffffff : RME96
  d1000000-d1000fff : 0000:05:03.0
d2000000-d20fffff : PCI Bus 0000:03
  d2020000-d2023fff : 0000:03:00.0
    d2020000-d2023fff : sky2
d2100000-d21fffff : PCI Bus 0000:02
  d2120000-d2123fff : 0000:02:00.0
    d2120000-d2123fff : sky2
d2200000-d227ffff : 0000:00:02.1
d2280000-d22fffff : 0000:00:02.0
d2300000-d233ffff : 0000:00:02.0
d2340000-d2343fff : 0000:00:1b.0
d2344000-d23443ff : 0000:00:1d.7
  d2344000-d23443ff : ehci_hcd
d2345000-d23453ff : 0000:00:1f.2
e0000000-efffffff : PCI MMCONFIG 0000 [bus 00-ff]
  e0000000-efffffff : reserved
    e0000000-efffffff : pnp 00:0a
fec00000-fec00fff : reserved
  fec00000-fec003ff : IOAPIC 0
fed13000-fed1dfff : pnp 00:0b
fed1f410-fed1f414 : iTCO_wdt
  fed1f410-fed1f414 : iTCO_wdt
fed20000-fed8ffff : pnp 00:0b
fee00000-fee00fff : Local APIC
  fee00000-fee00fff : reserved
    fee00000-fee00fff : pnp 00:0b
ffb00000-ffffffff : reserved
  ffb00000-ffb7ffff : pnp 00:0b
  fff00000-ffffffff : pnp 00:0b

lspci  info:
========

00:00.0 Host bridge: Intel Corporation Mobile 915GM/PM/GMS/910GML Express Processor to DRAM Controller (rev 04)
00: 86 80 90 25 06 00 90 20 04 00 00 06 00 00 00 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 a0 a0 80 25
30: 00 00 00 00 e0 00 00 00 00 00 00 00 00 00 00 00
40: 00 90 d1 fe 00 40 d1 fe 00 00 00 e0 00 80 d1 fe
50: 00 00 30 00 19 00 00 b8 00 00 00 00 00 00 00 00
60: 01 30 d1 fe 00 00 00 00 00 00 00 00 00 00 00 00
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
90: 10 11 11 33 01 00 00 00 00 00 00 00 80 0a 38 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 92 01 00 00
e0: 09 00 09 21 02 a2 8b 90 0a 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 00 00 05 00 00 00 00 00

00:02.0 VGA compatible controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 04)
00: 86 80 92 25 07 00 90 00 04 00 00 03 00 00 80 00
10: 00 00 28 d2 01 e0 00 00 08 00 00 c0 00 00 30 d2
20: 00 00 00 00 00 00 00 00 00 00 00 00 a0 a0 54 05
30: 00 00 00 00 d0 00 00 00 00 00 00 00 05 01 00 00
40: 00 00 00 00 e0 00 00 00 09 00 09 21 02 a2 8b 90
50: 0a 00 30 00 19 00 00 b8 00 00 00 00 00 00 80 7f
60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 01 00 22 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 2a 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 64 34 00 00 00 00 00 00 05 00 00 00 00 00

00:02.1 Display controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 04)
00: 86 80 92 27 07 00 90 00 04 00 80 03 00 00 80 00
10: 00 00 20 d2 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 a0 a0 54 05
30: 00 00 00 00 d0 00 00 00 00 00 00 00 00 00 00 00
40: 00 00 00 00 e0 00 00 00 09 00 09 21 02 a2 8b 90
50: 0a 00 30 00 19 00 00 b8 00 00 00 00 00 00 80 7f
60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 01 00 22 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 2a 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 64 34 00 00 00 00 00 00 05 00 00 00 00 00

00:00.0 Host bridge: Intel Corporation Mobile 915GM/PM/GMS/910GML Express Processor to DRAM Controller (rev 04)
        Subsystem: AOPEN Inc. Device 2580
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ >SERR- <PERR- INTx-
        Latency: 0
        Capabilities: [e0] Vendor Specific Information: Len=09 <?>
        Kernel driver in use: agpgart-intel

00:02.0 VGA compatible controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 04) (prog-if 00 [VGA controller])
        Subsystem: AOPEN Inc. Device 0554
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0
        Interrupt: pin A routed to IRQ 16
        Region 0: Memory at d2280000 (32-bit, non-prefetchable) [size=512K]
        Region 1: I/O ports at e000 [size=8]
        Region 2: Memory at c0000000 (32-bit, prefetchable) [size=256M]
        Region 3: Memory at d2300000 (32-bit, non-prefetchable) [size=256K]
        Expansion ROM at <unassigned> [disabled]
        Capabilities: [d0] Power Management version 2
                Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
        Kernel driver in use: i915

00:02.1 Display controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 04)
        Subsystem: AOPEN Inc. Device 0554
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0
        Region 0: Memory at d2200000 (32-bit, non-prefetchable) [size=512K]
        Capabilities: [d0] Power Management version 2
                Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-



cu,
 Knut
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux