Linux PCI subsystem development
 help / color / mirror / Atom feed
From: John <john.fadel@gmail.com>
To: linux-pci@vger.kernel.org
Subject: PCIe IOMEM Resource Allocation
Date: Thu, 24 Jul 2014 06:35:46 +0000 (UTC)	[thread overview]
Message-ID: <loom.20140724T083447-909@post.gmane.org> (raw)

Hi
I am trying to write a PCIe linux device driver to handle PCIe switches and
endpoints that show up after the Redhat 6.4 linux is already up and running.

If I try to allocate the resources of the PCIe switches & endpoints between
0xF4000000 and 0xF47FFFFF everything works fine .. But this range is quite
full with other devices, so I tried to extend this range to start from
0xF0000000, or from 0xD0000000 the allocation works fine, but I am unable to
access devices in the extended range

Anybody has idea why I am unable to use the complete 3G - 4G address range ?
Is it related to some ACPI boot configuration that need to be changed, I can
see in my dmesg

pci_root PNP0A08:00: host bridge window [mem 0xf4000000-0xf7ffffff]
pci_root PNP0A08:00: host bridge window [io 0x1000-0x7fff]
pci_root PNP0A08:00: host bridge window [io 0x0000-0x03af]
pci_root PNP0A08:00: host bridge window [io 0x03e0-0x0cf7]
pci_root PNP0A08:00: host bridge window [io 0x0d00-0x0fff]
pci_root PNP0A08:00: host bridge window [mem 0xfed00000-0xfed03fff]
pci_root PNP0A08:00: host bridge window [mem 0xfed40000-0xfed44fff]
pci_root PNP0A08:00: host bridge window [io 0x03b0-0x03bb]
pci_root PNP0A08:00: host bridge window [io 0x03c0-0x03df]
pci_root PNP0A08:00: host bridge window [mem 0x000a0000-0x000bffff]
pci_root PNP0A08:01: host bridge window [mem 0xf8000000-0xfbffffff]
pci_root PNP0A08:01: host bridge window [io 0x8000-0xffff]

Is there a reason for this limited range ? Is it processor dependant ?

Thanks 


             reply	other threads:[~2014-07-24  6:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-24  6:35 John [this message]
2014-07-24  7:14 ` PCIe IOMEM Resource Allocation Yijing Wang
     [not found]   ` <CAEYyDAt-PHsB9wrfCiNnd1_RFq3xUQNXWeh5QR9nJVZKho_0JQ@mail.gmail.com>
2014-07-24  8:03     ` Yijing Wang

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=loom.20140724T083447-909@post.gmane.org \
    --to=john.fadel@gmail.com \
    --cc=linux-pci@vger.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox