All of lore.kernel.org
 help / color / mirror / Atom feed
From: Steven Newbury <steve@snewbury.org.uk>
To: Yinghai Lu <yinghai@kernel.org>
Cc: "Barnes, Jesse" <jesse.barnes@intel.com>,
	Dave Airlie <airlied@linux.ie>,
	Bjorn Helgaas <bhelgaas@google.com>,
	linux-pci@vger.kernel.org,
	DRI mailing list <dri-devel@lists.freedesktop.org>
Subject: Re: PCI resources above 4GB
Date: Sun, 15 Apr 2012 12:31:15 +0100	[thread overview]
Message-ID: <4F8AB183.6070205@snewbury.org.uk> (raw)
In-Reply-To: <CAE9FiQW_GWWg6GOjG5q4ufAX0-WX=kTpWjWNY3pUt_3v4ZVLYQ@mail.gmail.com>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 15/04/12 04:21, Yinghai Lu wrote:
> On Sat, Apr 14, 2012 at 10:37 AM, Steven Newbury
> <steve@snewbury.org.uk> wrote:
>> I've created a new quirk utilising an extra PCI resource flag to
>> force reallocation of the resource.  It's the first approach I've
>> had any success at.  It does work.  Only "Intel Page Flush" now
>> gets allocated @0xe0000000!
> 
> Maybe we can be more aggressive with pci=pref_bar to reassign all
> pref mem.
> 
> Please check attached patch.
Had the same effect as my patch in allocating the 256MB GMA BAR high.

00000000-0000ffff : reserved
00010000-0009efff : System RAM
0009f000-0009ffff : reserved
000c0000-000c7fff : Video ROM
000cf000-000cffff : Adapter ROM
000f0000-000fffff : System ROM
00100000-df65a7ff : System RAM
  01000000-0136df3d : Kernel code
  0136df3e-0169127f : Kernel data
  0172f000-01809fff : Kernel bss
df65a800-dfffffff : reserved
  df65a800-df6fffff : pnp 00:0d
  df700000-df7fffff : pnp 00:0d
f6900000-f69fffff : PCI Bus 0000:09
  f69f0000-f69fffff : 0000:09:00.0
    f69f0000-f69fffff : tg3
f6a00000-f6bfffff : PCI Bus 0000:0d
f6c00000-f6cfffff : PCI Bus 0000:0c
  f6cfe000-f6cfffff : 0000:0c:00.0
    f6cfe000-f6cfffff : iwl4965
f6dfb700-f6dfb7ff : 0000:00:1f.3
f6dfb800-f6dfbfff : 0000:00:1f.2
  f6dfb800-f6dfbfff : ahci
f6dfc000-f6dfffff : 0000:00:1b.0
  f6dfc000-f6dfffff : ICH HD audio
f6e00000-f6efffff : 0000:00:02.0
f6f00000-f6ffffff : 0000:00:02.1
f8000000-fbffffff : PCI MMCONFIG 0000 [bus 00-3f]
  f8000000-fbffffff : reserved
    f8000000-fbffffff : pnp 00:0d
fec00000-fec0ffff : reserved
  fec00000-fec003ff : IOAPIC 0
fed00000-fed003ff : HPET 0
  fed00000-fed003ff : pnp 00:08
fed18000-fed1bfff : reserved
  fed18000-fed1bfff : pnp 00:0d
fed1c000-fed1c3ff : 0000:00:1d.7
  fed1c000-fed1c3ff : ehci_hcd
fed1c400-fed1c7ff : 0000:00:1a.7
  fed1c400-fed1c7ff : ehci_hcd
fed1d000-fed1dfff : Intel Flush Page
fed20000-fed8ffff : reserved
  fed20000-fed3ffff : pnp 00:0d
  fed40000-fed44fff : pnp 00:0a
  fed45000-fed8ffff : pnp 00:0d
feda0000-feda5fff : reserved
  feda0000-feda3fff : pnp 00:0d
  feda4000-feda4fff : pnp 00:0d
  feda5000-feda5fff : pnp 00:0d
feda6000-feda6fff : pnp 00:0d
fee00000-fee0ffff : reserved
  fee00000-fee0ffff : pnp 00:0d
    fee00000-fee00fff : Local APIC
fef00000-feffffff : PCI Bus 0000:04
  fefbc000-fefbffff : 0000:04:00.1
    fefbc000-fefbffff : ICH HD audio
  fefc0000-fefdffff : 0000:04:00.0
  fefe0000-feffffff : 0000:04:00.0
ffa00000-ffbfffff : pnp 00:0d
ffc00000-ffdfffff : PCI Bus 0000:0b
ffe00000-ffffffff : reserved
  ffe00000-ffffffff : pnp 00:0d
100000000-11fffffff : System RAM
fef800000-fef9fffff : PCI Bus 0000:09
fefa00000-fefbfffff : PCI Bus 0000:0d
fefc00000-fefdfffff : PCI Bus 0000:0c
fefe00000-fefffffff : PCI Bus 0000:0b
ff0000000-fffffffff : 0000:00:02.0
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk+KsYMACgkQGcb56gMuC62iIQCfWJ7oLOrcL/88YzalEzIrWY/a
LbgAnjzqkflQKzJVDhs0qQ/gxQ1a9FXH
=/ae3
-----END PGP SIGNATURE-----

WARNING: multiple messages have this Message-ID (diff)
From: Steven Newbury <steve@snewbury.org.uk>
To: Yinghai Lu <yinghai@kernel.org>
Cc: "Barnes, Jesse" <jesse.barnes@intel.com>,
	Dave Airlie <airlied@linux.ie>,
	Bjorn Helgaas <bhelgaas@google.com>,
	linux-pci@vger.kernel.org,
	DRI mailing list <dri-devel@lists.freedesktop.org>
Subject: Re: PCI resources above 4GB
Date: Sun, 15 Apr 2012 12:31:15 +0100	[thread overview]
Message-ID: <4F8AB183.6070205@snewbury.org.uk> (raw)
In-Reply-To: <CAE9FiQW_GWWg6GOjG5q4ufAX0-WX=kTpWjWNY3pUt_3v4ZVLYQ@mail.gmail.com>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 15/04/12 04:21, Yinghai Lu wrote:
> On Sat, Apr 14, 2012 at 10:37 AM, Steven Newbury
> <steve@snewbury.org.uk> wrote:
>> I've created a new quirk utilising an extra PCI resource flag to
>> force reallocation of the resource.  It's the first approach I've
>> had any success at.  It does work.  Only "Intel Page Flush" now
>> gets allocated @0xe0000000!
> 
> Maybe we can be more aggressive with pci=pref_bar to reassign all
> pref mem.
> 
> Please check attached patch.
Had the same effect as my patch in allocating the 256MB GMA BAR high.

00000000-0000ffff : reserved
00010000-0009efff : System RAM
0009f000-0009ffff : reserved
000c0000-000c7fff : Video ROM
000cf000-000cffff : Adapter ROM
000f0000-000fffff : System ROM
00100000-df65a7ff : System RAM
  01000000-0136df3d : Kernel code
  0136df3e-0169127f : Kernel data
  0172f000-01809fff : Kernel bss
df65a800-dfffffff : reserved
  df65a800-df6fffff : pnp 00:0d
  df700000-df7fffff : pnp 00:0d
f6900000-f69fffff : PCI Bus 0000:09
  f69f0000-f69fffff : 0000:09:00.0
    f69f0000-f69fffff : tg3
f6a00000-f6bfffff : PCI Bus 0000:0d
f6c00000-f6cfffff : PCI Bus 0000:0c
  f6cfe000-f6cfffff : 0000:0c:00.0
    f6cfe000-f6cfffff : iwl4965
f6dfb700-f6dfb7ff : 0000:00:1f.3
f6dfb800-f6dfbfff : 0000:00:1f.2
  f6dfb800-f6dfbfff : ahci
f6dfc000-f6dfffff : 0000:00:1b.0
  f6dfc000-f6dfffff : ICH HD audio
f6e00000-f6efffff : 0000:00:02.0
f6f00000-f6ffffff : 0000:00:02.1
f8000000-fbffffff : PCI MMCONFIG 0000 [bus 00-3f]
  f8000000-fbffffff : reserved
    f8000000-fbffffff : pnp 00:0d
fec00000-fec0ffff : reserved
  fec00000-fec003ff : IOAPIC 0
fed00000-fed003ff : HPET 0
  fed00000-fed003ff : pnp 00:08
fed18000-fed1bfff : reserved
  fed18000-fed1bfff : pnp 00:0d
fed1c000-fed1c3ff : 0000:00:1d.7
  fed1c000-fed1c3ff : ehci_hcd
fed1c400-fed1c7ff : 0000:00:1a.7
  fed1c400-fed1c7ff : ehci_hcd
fed1d000-fed1dfff : Intel Flush Page
fed20000-fed8ffff : reserved
  fed20000-fed3ffff : pnp 00:0d
  fed40000-fed44fff : pnp 00:0a
  fed45000-fed8ffff : pnp 00:0d
feda0000-feda5fff : reserved
  feda0000-feda3fff : pnp 00:0d
  feda4000-feda4fff : pnp 00:0d
  feda5000-feda5fff : pnp 00:0d
feda6000-feda6fff : pnp 00:0d
fee00000-fee0ffff : reserved
  fee00000-fee0ffff : pnp 00:0d
    fee00000-fee00fff : Local APIC
fef00000-feffffff : PCI Bus 0000:04
  fefbc000-fefbffff : 0000:04:00.1
    fefbc000-fefbffff : ICH HD audio
  fefc0000-fefdffff : 0000:04:00.0
  fefe0000-feffffff : 0000:04:00.0
ffa00000-ffbfffff : pnp 00:0d
ffc00000-ffdfffff : PCI Bus 0000:0b
ffe00000-ffffffff : reserved
  ffe00000-ffffffff : pnp 00:0d
100000000-11fffffff : System RAM
fef800000-fef9fffff : PCI Bus 0000:09
fefa00000-fefbfffff : PCI Bus 0000:0d
fefc00000-fefdfffff : PCI Bus 0000:0c
fefe00000-fefffffff : PCI Bus 0000:0b
ff0000000-fffffffff : 0000:00:02.0
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk+KsYMACgkQGcb56gMuC62iIQCfWJ7oLOrcL/88YzalEzIrWY/a
LbgAnjzqkflQKzJVDhs0qQ/gxQ1a9FXH
=/ae3
-----END PGP SIGNATURE-----

  parent reply	other threads:[~2012-04-15 11:31 UTC|newest]

Thread overview: 94+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-09 10:49 PCI resources above 4GB Steven Newbury
2012-04-10  0:51 ` Bjorn Helgaas
2012-04-10 10:53   ` Steven Newbury
2012-04-10 15:16     ` Yinghai Lu
     [not found]       ` <4F8467AA.90305@snewbury.org.uk>
2012-04-10 17:29         ` Steven Newbury
2012-04-10 18:40         ` Yinghai Lu
2012-04-10 18:44           ` Steven Newbury
2012-04-10 19:00           ` Steven Newbury
2012-04-10 19:04             ` Steven Newbury
2012-04-10 19:16             ` Yinghai Lu
2012-04-10 19:46               ` Steven Newbury
2012-04-10 20:07                 ` Yinghai Lu
2012-04-10 20:26                   ` Steven Newbury
2012-04-10 20:45                     ` Yinghai Lu
2012-04-10 21:19                       ` Steven Newbury
2012-04-11  3:37                         ` Bjorn Helgaas
2012-04-11  5:33                           ` Steven Newbury
2012-04-11  9:03                             ` Steven Newbury
2012-04-11 14:33                           ` Steven Newbury
2012-04-11 23:59                             ` Bjorn Helgaas
2012-04-12 11:39                               ` Steven Newbury
2012-04-12  0:57                         ` Yinghai Lu
2012-04-12 11:22                           ` Steven Newbury
2012-04-12 16:07                             ` Yinghai Lu
2012-04-12 16:40                               ` Steven Newbury
2012-04-13  8:26                                 ` Yinghai Lu
2012-04-13  8:34                                   ` Steven Newbury
2012-04-13 11:45                                   ` Steven Newbury
2012-04-13 11:58                                     ` Steven Newbury
2012-04-13 11:58                                       ` Steven Newbury
2012-04-13 12:49                                       ` Steven Newbury
2012-04-13 12:49                                         ` Steven Newbury
2012-04-13 13:26                                         ` Steven Newbury
2012-04-13 13:26                                           ` Steven Newbury
2012-04-13 13:52                                           ` drm-next i915 regression? ( was: Re: PCI resources above 4GB) Steven Newbury
2012-04-13 14:08                                             ` Steven Newbury
2012-04-13 14:08                                               ` Steven Newbury
2012-04-13 14:13                                               ` Daniel Vetter
2012-04-13 14:19                                                 ` Steven Newbury
2012-04-13 15:23                                                   ` Steven Newbury
2012-04-13 15:23                                                     ` Steven Newbury
2012-04-13 15:49                                                     ` Steven Newbury
2012-04-13 16:17                                                       ` Yinghai Lu
2012-04-13 17:12                                                         ` btrfs oops [was Re: drm-next i915 regression? ( was: Re: PCI resources above 4GB)] Steven Newbury
2012-04-13 17:38                                                         ` drm-next i915 regression? ( was: Re: PCI resources above 4GB) Steven Newbury
2012-04-13 18:12                                                           ` Steven Newbury
2012-04-13 21:51                                                             ` Btrfs corruption Oops " Steven Newbury
2012-04-14 17:37                                 ` PCI resources above 4GB Steven Newbury
2012-04-14 17:37                                   ` Steven Newbury
2012-04-14 18:05                                   ` Steven Newbury
2012-04-14 18:05                                     ` Steven Newbury
2012-04-14 18:42                                     ` Steven Newbury
2012-04-14 18:42                                       ` Steven Newbury
2012-04-14 19:08                                       ` Steven Newbury
2012-04-14 19:08                                         ` Steven Newbury
2012-04-14 19:21                                         ` Steven Newbury
2012-04-14 19:21                                           ` Steven Newbury
2012-04-14 20:48                                           ` Yinghai Lu
2012-04-15 10:19                                             ` Steven Newbury
2012-04-15 10:19                                               ` Steven Newbury
2012-04-15 10:20                                             ` Steven Newbury
2012-04-15 10:20                                               ` Steven Newbury
2012-04-15 11:37                                               ` Steven Newbury
2012-04-15 11:37                                                 ` Steven Newbury
2012-04-15 17:25                                                 ` Steven Newbury
2012-04-15 17:25                                                   ` Steven Newbury
2012-04-15 17:31                                                   ` Steven Newbury
2012-04-15 17:31                                                     ` Steven Newbury
2012-04-15 20:05                                                     ` Yinghai Lu
2012-04-15 20:06                                                       ` Yinghai Lu
2012-04-16  6:54                                                         ` Yinghai Lu
2012-04-16  7:01                                                           ` Steven Newbury
2012-04-16  7:01                                                             ` Steven Newbury
2012-04-16 17:29                                                           ` Yinghai Lu
2012-04-18  7:21                                                             ` Steven Newbury
2012-04-18  7:21                                                               ` Steven Newbury
2012-04-24  9:49                                                             ` Steven Newbury
2012-04-24  9:49                                                               ` Steven Newbury
     [not found]                                                               ` <4FB227D3.7090002@snewbury.org.uk>
     [not found]                                                                 ` <CAE9FiQX48eCS85eWMFxm6fCWgu2zwxvSywtQhsf-35WEvBfJVQ@mail.gmail.com>
2012-05-17 12:27                                                                   ` Steven Newbury
2012-05-17 12:34                                                                     ` Steven Newbury
2012-05-17 16:36                                                                       ` Yinghai Lu
2012-05-18  7:45                                                                         ` Yinghai Lu
2012-05-18  9:08                                                                           ` Yinghai Lu
2012-05-21 17:27                                                                             ` Steven Newbury
2012-05-21 17:27                                                                               ` Steven Newbury
2012-05-29 23:19                                                                               ` Bjorn Helgaas
2012-06-01 23:06                                                                                 ` Bjorn Helgaas
2012-04-15  3:21                                   ` Yinghai Lu
2012-04-15 10:18                                     ` Steven Newbury
2012-04-15 10:18                                       ` Steven Newbury
2012-04-15 11:31                                     ` Steven Newbury [this message]
2012-04-15 11:31                                       ` Steven Newbury
2012-04-12 16:29                             ` Steven Newbury
2012-04-11 11:43                       ` Steven Newbury

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=4F8AB183.6070205@snewbury.org.uk \
    --to=steve@snewbury.org.uk \
    --cc=airlied@linux.ie \
    --cc=bhelgaas@google.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=jesse.barnes@intel.com \
    --cc=linux-pci@vger.kernel.org \
    --cc=yinghai@kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.