From: Bjorn Helgaas <helgaas@kernel.org>
To: dmeyer@gigaio.com
Cc: logang@deltatee.com, kurt.schwemmer@microsemi.com,
linux-pci@vger.kernel.org, linux-ntb@googlegroups.com,
bhelgaas@google.com, jdmason@kudzu.us, dave.jiang@intel.com,
allenbh@gmail.com, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2 0/2] PCI Quirk Patchset for Microsemi Switchtec NTB
Date: Fri, 29 Jun 2018 20:50:02 -0500 [thread overview]
Message-ID: <20180630015002.GL40928@bhelgaas-glaptop.roam.corp.google.com> (raw)
In-Reply-To: <1527106686-18852-1-git-send-email-dmeyer@gigaio.com>
On Wed, May 23, 2018 at 01:18:04PM -0700, dmeyer@gigaio.com wrote:
> From: Doug Meyer <dmeyer@gigaio.com>
>
> This is a resend of the patch series to enable Microsemi Switchtec
> NTB configurations to run 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.
>
> Blessings,
> Doug Meyer
>
> Changes since v1:
> - Call pci_device_disable() at return points to clean up properly.
> - Changed all dev_* print macros to pci_* macros.
> - Removed superfluous variable initializations.
>
> 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 | 197 +++++++++++++++++++++++++++++++++
> drivers/pci/switch/switchtec.c | 15 ++-
> include/linux/pci_ids.h | 32 ++++++
> include/linux/switchtec.h | 4 -
> 5 files changed, 238 insertions(+), 13 deletions(-)
I applied these with Logan's reviewed-by to my pci/switchtec branch for
v4.19 with the following updates:
- You removed the SPDX tag from drivers/pci/switch/switchtec.c. I assume
that was a mistake, so I restored it.
- I moved the PCI_VENDOR_ID_MICROSEMI definition to keep the file sorted.
- I dropped the Device ID definitions per the policy at the top of the
file (which I mentioned on your v1 posting).
- I converted all the Device ID definition uses to raw hex constants. I
noticed that the following were defined by your patch, but not used:
PCI_DEVICE_ID_MICROSEMI_PSX24XG3
PCI_DEVICE_ID_MICROSEMI_PSX32XG3
I can't tell whether the quirk is supposed to apply to them or not.
Please review and holler if I broke something.
This touches drivers/ntb/hw/..., which isn't my area. Let me know if you'd
rather take these through a different tree.
Bjorn
next prev parent reply other threads:[~2018-06-30 1:50 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-23 20:18 dmeyer
2018-05-23 20:18 ` [PATCH v2 1/2] NTB: Migrate PCI Constants to Cannonical PCI Header dmeyer
2018-05-23 20:26 ` Logan Gunthorpe
2018-05-23 20:39 ` Doug Meyer
2018-05-23 20:18 ` [PATCH v2 2/2] NTB: PCI Quirk to Enable Switchtec NT Functionality with IOMMU On dmeyer
2018-05-23 20:32 ` Logan Gunthorpe
2018-06-30 1:50 ` Bjorn Helgaas [this message]
2018-06-30 18:57 ` [PATCH v2 0/2] PCI Quirk Patchset for Microsemi Switchtec NTB Bjorn Helgaas
2018-07-05 16:56 ` Logan Gunthorpe
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=20180630015002.GL40928@bhelgaas-glaptop.roam.corp.google.com \
--to=helgaas@kernel.org \
--cc=allenbh@gmail.com \
--cc=bhelgaas@google.com \
--cc=dave.jiang@intel.com \
--cc=dmeyer@gigaio.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 \
/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
all inboxes | Powered by JetHome®