From patchwork Sat Feb 8 20:22:07 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Bolle X-Patchwork-Id: 3611361 Return-Path: X-Original-To: patchwork-intel-gfx@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 2EBE09F2D6 for ; Sat, 8 Feb 2014 20:35:21 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 27D9B2012F for ; Sat, 8 Feb 2014 20:35:20 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 15BC920125 for ; Sat, 8 Feb 2014 20:35:19 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 43E04F9CEB; Sat, 8 Feb 2014 12:35:17 -0800 (PST) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org X-Greylist: delayed 783 seconds by postgrey-1.32 at gabe; Sat, 08 Feb 2014 12:35:14 PST Received: from cpsmtpb-ews02.kpnxchange.com (cpsmtpb-ews02.kpnxchange.com [213.75.39.5]) by gabe.freedesktop.org (Postfix) with ESMTP id E09ECF9CEB for ; Sat, 8 Feb 2014 12:35:14 -0800 (PST) Received: from cpsps-ews12.kpnxchange.com ([10.94.84.179]) by cpsmtpb-ews02.kpnxchange.com with Microsoft SMTPSVC(7.5.7601.17514); Sat, 8 Feb 2014 21:22:08 +0100 Received: from CPSMTPM-TLF104.kpnxchange.com ([195.121.3.7]) by cpsps-ews12.kpnxchange.com with Microsoft SMTPSVC(7.5.7601.17514); Sat, 8 Feb 2014 21:22:08 +0100 Received: from [192.168.1.102] ([82.169.24.127]) by CPSMTPM-TLF104.kpnxchange.com with Microsoft SMTPSVC(7.5.7601.17514); Sat, 8 Feb 2014 21:22:07 +0100 Message-ID: <1391890927.1882.5.camel@x41> From: Paul Bolle To: Daniel Vetter Date: Sat, 08 Feb 2014 21:22:07 +0100 In-Reply-To: References: <1391886379.2669.11.camel@x41> X-Mailer: Evolution 3.10.3 (3.10.3-1.fc20) Mime-Version: 1.0 X-OriginalArrivalTime: 08 Feb 2014 20:22:07.0775 (UTC) FILETIME=[7067C2F0:01CF250B] X-RcptDomain: lists.freedesktop.org Cc: David Airlie , intel-gfx , Linux Kernel Mailing List , Bjorn Helgaas , Yinghai Lu Subject: Re: [Intel-gfx] agp/intel: can't ioremap flush page - no chipset flushing X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces@lists.freedesktop.org Errors-To: intel-gfx-bounces@lists.freedesktop.org X-Spam-Status: No, score=-4.7 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Daniel Vetter schreef op za 08-02-2014 om 20:59 [+0100]: > Hm, if this is really a regression between 3.13 and 3.14-rc1 then I > don't see any quick candidates - relevant functions in intel-gtt.c > seem unchanged. > > So probably a bisect is what we need here. Note that this could also > be due to resource handling changes in the driver/pci core, so you > can't restrict the bisect really. The last bisect on this machine took over 20 builds to pinpoint the offending commit. So that's bad news ... > But before going down this route it > would be worth to check out the resource allocations of both kernels. > Can you please attach /proc/iomem for both 3.13 and 3.14-rc1 The diff between /proc/iomem on v3.13.2 and v3.14-rc1 is: /proc/iomem for v3.13.2: 00000000-00000fff : reserved 00001000-0009efff : System RAM 0009f000-0009ffff : reserved 000a0000-000bffff : Video RAM area 000c0000-000c7fff : Video ROM 000c8000-000cbfff : pnp 00:00 000cf800-000d3fff : reserved 000cf800-000d0dff : Adapter ROM 000d1000-000d1fff : Adapter ROM 000dc000-000fffff : reserved 000e0000-000effff : Extension ROM 000f0000-000fffff : System ROM 00100000-7f6dffff : System RAM 00400000-009af63a : Kernel code 009af63b-00c932ff : Kernel data 00d4f000-00e4dfff : Kernel bss 7f6e0000-7f6f4fff : ACPI Tables 7f6f5000-7f6fffff : ACPI Non-volatile Storage 7f700000-7fffffff : reserved 7f800000-7fffffff : Graphics Stolen Memory 80000000-801fffff : PCI Bus 0000:02 80200000-8027ffff : 0000:00:02.1 80280000-80280fff : Intel Flush Page a0000000-a003ffff : 0000:00:02.0 a0040000-a00403ff : 0000:00:1d.7 a0040000-a00403ff : ehci_hcd a0040400-a00404ff : 0000:00:1e.2 a0040400-a00404ff : Intel ICH6 a0040800-a00409ff : 0000:00:1e.2 a0040800-a00409ff : Intel ICH6 a0080000-a00fffff : 0000:00:02.0 a0100000-a01fffff : PCI Bus 0000:02 a0100000-a010ffff : 0000:02:00.0 a0100000-a010ffff : tg3 a0200000-afffffff : PCI Bus 0000:04 a0200000-a0200fff : 0000:04:00.0 a0200000-a0200fff : yenta_socket a0201000-a02010ff : 0000:04:00.1 a0201000-a02010ff : mmc0 a0202000-a0202fff : 0000:04:02.0 a0202000-a0202fff : ipw2200 a4000000-a7ffffff : PCI CardBus 0000:05 c0000000-cfffffff : 0000:00:02.0 d0000000-d7ffffff : PCI Bus 0000:04 d0000000-d3ffffff : PCI CardBus 0000:05 e0000000-efffffff : PCI MMCONFIG 0000 [bus 00-ff] e0000000-efffffff : reserved e0000000-efffffff : pnp 00:01 f0008000-f000bfff : reserved f0008000-f000bfff : pnp 00:01 f000b410-f000b414 : iTCO_wdt f000b410-f000b414 : iTCO_wdt fec00000-fec0ffff : reserved fec00000-fec003ff : IOAPIC 0 fed14000-fed19fff : reserved fed14000-fed17fff : pnp 00:01 fed18000-fed18fff : pnp 00:01 fed19000-fed19fff : pnp 00:01 fed20000-fed8ffff : reserved fee00000-fee00fff : Local APIC fee00000-fee00fff : reserved ff000000-ffffffff : reserved /proc/iomem for v3.14-rc1: 00000000-00000fff : reserved 00001000-0009efff : System RAM 0009f000-0009ffff : reserved 000a0000-000bffff : Video RAM area 000c0000-000c7fff : Video ROM 000c8000-000cbfff : pnp 00:00 000cf800-000d3fff : reserved 000cf800-000d0dff : Adapter ROM 000d1000-000d1fff : Adapter ROM 000dc000-000fffff : reserved 000e0000-000effff : Extension ROM 000f0000-000fffff : System ROM 00100000-7f6dffff : System RAM 00400000-009c57bf : Kernel code 009c57c0-00cb6aff : Kernel data 00d78000-00e74fff : Kernel bss 7f6e0000-7f6f4fff : ACPI Tables 7f6f5000-7f6fffff : ACPI Non-volatile Storage 7f700000-7fffffff : reserved 7f800000-7fffffff : Graphics Stolen Memory a0000000-a003ffff : 0000:00:02.0 a0040000-a00403ff : 0000:00:1d.7 a0040000-a00403ff : ehci_hcd a0040400-a00404ff : 0000:00:1e.2 a0040400-a00404ff : Intel ICH6 a0040800-a00409ff : 0000:00:1e.2 a0040800-a00409ff : Intel ICH6 a0080000-a00fffff : 0000:00:02.0 a0100000-a01fffff : PCI Bus 0000:02 a0100000-a010ffff : 0000:02:00.0 a0100000-a010ffff : tg3 a0200000-afffffff : PCI Bus 0000:04 a0200000-a0200fff : 0000:04:00.0 a0200000-a0200fff : yenta_socket a0201000-a02010ff : 0000:04:00.1 a0201000-a02010ff : mmc0 a0202000-a0202fff : 0000:04:02.0 a0202000-a0202fff : ipw2200 a4000000-a7ffffff : PCI CardBus 0000:05 c0000000-cfffffff : 0000:00:02.0 d0000000-d7ffffff : PCI Bus 0000:04 d0000000-d3ffffff : PCI CardBus 0000:05 e0000000-efffffff : PCI MMCONFIG 0000 [bus 00-ff] e0000000-efffffff : reserved e0000000-efffffff : pnp 00:01 f0008000-f000bfff : reserved f0008000-f000bfff : pnp 00:01 f000b410-f000b414 : iTCO_wdt f000b410-f000b414 : iTCO_wdt fec00000-fec0ffff : reserved fec00000-fec003ff : IOAPIC 0 fed14000-fed19fff : reserved fed14000-fed17fff : pnp 00:01 fed18000-fed18fff : pnp 00:01 fed19000-fed19fff : pnp 00:01 fed20000-fed8ffff : reserved fee00000-fee00fff : Local APIC fee00000-fee00fff : reserved ff000000-ffffffff : reserved Thanks, Paul Bolle --- iomem-3.13.2 2014-02-08 21:14:30.214030591 +0100 +++ iomem-3.14-rc1 2014-02-08 21:07:22.041189158 +0100 @@ -11,16 +11,13 @@ 000e0000-000effff : Extension ROM 000f0000-000fffff : System ROM 00100000-7f6dffff : System RAM - 00400000-009af63a : Kernel code - 009af63b-00c932ff : Kernel data - 00d4f000-00e4dfff : Kernel bss + 00400000-009c57bf : Kernel code + 009c57c0-00cb6aff : Kernel data + 00d78000-00e74fff : Kernel bss 7f6e0000-7f6f4fff : ACPI Tables 7f6f5000-7f6fffff : ACPI Non-volatile Storage 7f700000-7fffffff : reserved 7f800000-7fffffff : Graphics Stolen Memory -80000000-801fffff : PCI Bus 0000:02 -80200000-8027ffff : 0000:00:02.1 -80280000-80280fff : Intel Flush Page a0000000-a003ffff : 0000:00:02.0 a0040000-a00403ff : 0000:00:1d.7 a0040000-a00403ff : ehci_hcd