[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 3/7] s390x/pci: create a header dedicated to PCI CLP
From: |
Cornelia Huck |
Subject: |
Re: [PATCH 3/7] s390x/pci: create a header dedicated to PCI CLP |
Date: |
Fri, 25 Sep 2020 17:03:00 +0200 |
On Fri, 25 Sep 2020 10:10:12 -0400
Matthew Rosato <mjrosato@linux.ibm.com> wrote:
> On 9/25/20 5:17 AM, Cornelia Huck wrote:
> > On Sat, 19 Sep 2020 11:34:28 -0400
> > Matthew Rosato <mjrosato@linux.ibm.com> wrote:
> >
> >> From: Pierre Morel <pmorel@linux.ibm.com>
> >>
> >> To have a clean separation between s390-pci-bus.h and s390-pci-inst.h
> >> headers we export the PCI CLP instructions in a dedicated header.
> >>
> >> Signed-off-by: Pierre Morel <pmorel@linux.ibm.com>
> >> Signed-off-by: Matthew Rosato <mjrosato@linux.ibm.com>
> >> ---
> >> hw/s390x/s390-pci-bus.h | 1 +
> >> hw/s390x/s390-pci-clp.h | 211
> >> +++++++++++++++++++++++++++++++++++++++++++++++
> >> hw/s390x/s390-pci-inst.h | 196
> >> -------------------------------------------
> >> 3 files changed, 212 insertions(+), 196 deletions(-)
> >> create mode 100644 hw/s390x/s390-pci-clp.h
> >
> > Looks sane; but I wonder whether we should move the stuff under
> > include/hw/s390x/.
> >
>
> Probably. I'd be fine with creating this file under include, but if
> we're going to do that we should plan to move the other s390-pci* ones
> too. For this patchset, I can change this patch to put the new header
> in include/hw/s390x, easy enough.
>
> I'll plan to do a separate cleanup patchset to move s390-pci-bus.h and
> s390-pci-inst.h.
>
> How would you like me to handle s390-pci-vfio.h (this is a new file
> added by both this patch set and 's390x/pci: Accomodate vfio DMA
> limiting') -- It seems likely that the latter patch set will merge
> first, so my thought would be to avoid a cleanup on this one and just
> re-send 's390x/pci: Accomodate vfio DMA limiting' once the kernel part
> hits mainline (it's currently in linux-next via Alex) with
> s390-pci-vfio.h also created in include/hw/s390x (and I guess the
> MAINTAINERS hit for it too). Sound OK?
Yes, I guess that would be best.
- [PATCH 0/7] Retrieve zPCI hardware information from VFIO, Matthew Rosato, 2020/09/19
- [PATCH 1/7] update-linux-headers: Add vfio_zdev.h, Matthew Rosato, 2020/09/19
- [PATCH 2/7] linux-headers: update against 5.9-rc5, Matthew Rosato, 2020/09/19
- [PATCH 4/7] s390x/pci: use a PCI Group structure, Matthew Rosato, 2020/09/19
- [PATCH 5/7] s390x/pci: clean up s390 PCI groups, Matthew Rosato, 2020/09/19
- [PATCH 3/7] s390x/pci: create a header dedicated to PCI CLP, Matthew Rosato, 2020/09/19
- [PATCH 6/7] s390x/pci: use a PCI Function structure, Matthew Rosato, 2020/09/19
- [PATCH 7/7] s390x/pci: get zPCI function info from host, Matthew Rosato, 2020/09/19