LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: dmeyer@gigaio.com
To: logang@deltatee.com, kurt.schwemmer@microsemi.com,
linux-pci@vger.kernel.org, linux-ntb@googlegroups.com
Cc: bhelgaas@google.com, jdmason@kudzu.us, dave.jiang@intel.com,
allenbh@gmail.com, linux-kernel@vger.kernel.org,
Doug Meyer <dmeyer@gigaio.com>
Subject: [PATCH 0/2] PCI Quirk Patchset for Microsemi Switchtec NTB
Date: Thu, 17 May 2018 05:00:11 -0700 [thread overview]
Message-ID: <1526558413-23113-1-git-send-email-dmeyer@gigaio.com> (raw)
From: Doug Meyer <dmeyer@gigaio.com>
This patch series addresses the need to be able to run Microsemi
Switchtec NTB configurations with the IOMMU in the hosts turned on.
Because of the nature PCI Quirk implementation, it was preferable
to migrate the Microsemi PCI vendor and device definitions to the
Linux canonical location. Logan Gunthorpe requested that this
migration be done as a separate patch in a set, and so this patch
series was created as shown here.
The first patch encapsulates the movement of constants from
switchtec.h to pci_ids.h, with commensurate changes to the source
files. This patch is not dependent on any other work.
The second patch is the PCI quirk implementation itself, and is
completely dependent upon the first patch in this series.
Testing of the quirk was done on with a 2-host x86-64 system
with all combinations of IOMMU off/on. The ntb_perf module was
used as test stimulus.
Doug Meyer (2):
NTB: Migrate PCI Constants to Cannonical PCI Header
NTB: PCI Quirk to Enable Switchtec NT Functionality with IOMMU On
drivers/ntb/hw/mscc/ntb_hw_switchtec.c | 3 +-
drivers/pci/quirks.c | 196 +++++++++++++++++++++++++++++++++
drivers/pci/switch/switchtec.c | 15 ++-
include/linux/pci_ids.h | 32 ++++++
include/linux/switchtec.h | 4 -
5 files changed, 237 insertions(+), 13 deletions(-)
--
1.8.3.1
next reply other threads:[~2018-05-17 12:00 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-17 12:00 dmeyer [this message]
2018-05-17 12:00 ` [PATCH 1/2] NTB: Migrate PCI Constants to Cannonical PCI Header dmeyer
2018-05-17 13:25 ` Bjorn Helgaas
2018-05-17 12:00 ` [PATCH 2/2] NTB: PCI Quirk to Enable Switchtec NT Functionality with IOMMU On dmeyer
2018-05-17 13:45 ` Bjorn Helgaas
2018-05-17 16:06 ` Logan Gunthorpe
[not found] ` <CA+GK6en+g+T9H0sOMdVXv-_aD3rRcuzZ1JdfK0moEoTuuJnrqQ@mail.gmail.com>
2018-05-22 21:51 ` Bjorn Helgaas
2018-05-22 22:13 ` Alex Williamson
2018-05-22 22:23 ` Logan Gunthorpe
2018-05-23 13:33 ` Bjorn Helgaas
2018-05-23 20:21 ` Logan Gunthorpe
2018-05-17 15:48 ` Logan Gunthorpe
2018-05-22 21:08 ` Doug Meyer
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=1526558413-23113-1-git-send-email-dmeyer@gigaio.com \
--to=dmeyer@gigaio.com \
--cc=allenbh@gmail.com \
--cc=bhelgaas@google.com \
--cc=dave.jiang@intel.com \
--cc=jdmason@kudzu.us \
--cc=kurt.schwemmer@microsemi.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-ntb@googlegroups.com \
--cc=linux-pci@vger.kernel.org \
--cc=logang@deltatee.com \
--subject='Re: [PATCH 0/2] PCI Quirk Patchset for Microsemi Switchtec NTB' \
/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
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).