devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Pavel Fedin <p.fedin@samsung.com>
To: linux-pci@vger.kernel.org, devicetree@vger.kernel.org
Cc: Rob Herring <robh+dt@kernel.org>,
	Frank Rowand <frowand.list@gmail.com>,
	Grant Likely <grant.likely@linaro.org>,
	Peter Maydell <peter.maydell@linaro.org>
Subject: [PATCH 0/2] PCI: of: Fix handling 64-bit PCI resources on non-LPAE kernels
Date: Wed, 07 Oct 2015 13:49:19 +0300	[thread overview]
Message-ID: <cover.1444214119.git.p.fedin@samsung.com> (raw)

The initial aim of this series is to fix long-standing problem with generic
PCI host controller, triggered by ARM "virt" machine in the recent qemu.
Since v2.4.50 qemu adds support for the second, large PCI MMIO window,
which resides in 64-bit address space. This series addresses problems,
which are triggered on non-LPAE kernels by this configuration.

These patches do not depend on each other and can be applied individually.
The first adds missing recognition of 64-bit resources (which is actually
a bug). The second one changes the code to ignore unaccessible resources
instead of completely bailing out. Since it touches generic of_pci code,
the fix is expected to be applied to all drivers which use
of_pci_get_host_bridge_resources().

Pavel Fedin (2):
  PCI: of: Add 64-bit address recognition without LPAE support
  PCI: of: Ignore resources with failed translation

 drivers/of/address.c | 6 ++++++
 drivers/of/of_pci.c  | 6 ++++--
 2 files changed, 10 insertions(+), 2 deletions(-)

-- 
2.4.4

             reply	other threads:[~2015-10-07 10:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-07 10:49 Pavel Fedin [this message]
2015-10-07 10:49 ` [PATCH 1/2] PCI: of: Add 64-bit address recognition without LPAE support Pavel Fedin
2015-10-08  1:42   ` Rob Herring
2015-10-07 10:49 ` [PATCH 2/2] PCI: of: Ignore resources with failed translation Pavel Fedin

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=cover.1444214119.git.p.fedin@samsung.com \
    --to=p.fedin@samsung.com \
    --cc=devicetree@vger.kernel.org \
    --cc=frowand.list@gmail.com \
    --cc=grant.likely@linaro.org \
    --cc=linux-pci@vger.kernel.org \
    --cc=peter.maydell@linaro.org \
    --cc=robh+dt@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;
as well as URLs for NNTP newsgroup(s).