linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Ard Biesheuvel <ard.biesheuvel@linaro.org>
To: linux-arm-kernel@lists.infradead.org, linux-pci@vger.kernel.org
Cc: lorenzo.pieralisi@arm.com, graeme.gregory@linaro.org,
	Ard Biesheuvel <ard.biesheuvel@linaro.org>,
	catalin.marinas@arm.com, will.deacon@arm.com,
	leif.lindholm@linaro.org, okaya@codeaurora.org, tn@semihalf.com,
	bhelgaas@google.com
Subject: [PATCH 0/2] arm64: acpi/pci: allow the firmware BAR configuration to be preserved
Date: Tue, 11 Apr 2017 17:33:11 +0100	[thread overview]
Message-ID: <20170411163313.18577-1-ard.biesheuvel@linaro.org> (raw)

This is a followup to the discussion regarding whether ACPI/arm64 systems
should preserve the PCI configuration performed by the firmware, or always
reconfigure it from scratch.

This series proposes to put it under the control of the firmware, by invoking
the _DSM method, and preserving the firmware configuration only when it
returns 0.

Patch #1 is a preparatory bugfix that solves the issue that I/O bridge
windows starting at 0x0 are dismissed when looking for parent resources.

Patch #2 adds the logic to invoke the _DSM and claim the existing
configuration rather than reallocate it from scratch if it returns '0'

Ard Biesheuvel (2):
  drivers: pci: do not disregard parent resources starting at 0x0
  arm64: acpi/pci: invoke _DSM whether to preserve firmware PCI setup

 arch/arm64/kernel/pci.c  | 20 ++++++++++++++++++--
 drivers/pci/pci.c        |  2 +-
 include/linux/pci-acpi.h |  7 ++++---
 3 files changed, 23 insertions(+), 6 deletions(-)

-- 
2.9.3


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

             reply	other threads:[~2017-04-11 16:33 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-11 16:33 Ard Biesheuvel [this message]
2017-04-11 16:33 ` [PATCH 1/2] drivers: pci: do not disregard parent resources starting at 0x0 Ard Biesheuvel
2017-04-11 18:30   ` Ard Biesheuvel
2017-04-12 13:24   ` Lorenzo Pieralisi
2017-04-13  7:39     ` Ard Biesheuvel
2017-04-13  9:42       ` Lorenzo Pieralisi
2017-04-11 16:33 ` [PATCH 2/2] arm64: acpi/pci: invoke _DSM whether to preserve firmware PCI setup Ard Biesheuvel
2017-04-12 17:26   ` Lorenzo Pieralisi
2017-04-12 18:03     ` Sinan Kaya
2017-05-17 21:53       ` Bjorn Helgaas
2017-05-17 21:56 ` [PATCH 0/2] arm64: acpi/pci: allow the firmware BAR configuration to be preserved Bjorn Helgaas
2017-05-18 10:59   ` Ard Biesheuvel
2017-05-18 14:05     ` Bjorn Helgaas
2017-05-18 15:10       ` Ard Biesheuvel
2017-05-18 15:47         ` Lorenzo Pieralisi
2017-05-18 16:51           ` Ard Biesheuvel
2017-05-18 17:46             ` Lorenzo Pieralisi
2017-06-01 15:04               ` Ard Biesheuvel
2017-06-01 16:15                 ` Lorenzo Pieralisi
2017-06-01 16:18                   ` Ard Biesheuvel
2017-06-01 17:38                     ` Lorenzo Pieralisi
2017-06-06  8:59                     ` Lorenzo Pieralisi
2017-06-06  9:14                       ` Ard Biesheuvel
2017-06-06 10:02                         ` Lorenzo Pieralisi
2017-06-07 13:45                           ` Ard Biesheuvel
2017-06-12 16:55                             ` Lorenzo Pieralisi
2017-06-12 17:00                               ` Ard Biesheuvel

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=20170411163313.18577-1-ard.biesheuvel@linaro.org \
    --to=ard.biesheuvel@linaro.org \
    --cc=bhelgaas@google.com \
    --cc=catalin.marinas@arm.com \
    --cc=graeme.gregory@linaro.org \
    --cc=leif.lindholm@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-pci@vger.kernel.org \
    --cc=lorenzo.pieralisi@arm.com \
    --cc=okaya@codeaurora.org \
    --cc=tn@semihalf.com \
    --cc=will.deacon@arm.com \
    /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).