mbox series

[v2,00/11] PCI: Small improvements for pci-bridge-emul and mvebu

Message ID 20220104153529.31647-1-pali@kernel.org (mailing list archive)
Headers show
Series PCI: Small improvements for pci-bridge-emul and mvebu | expand

Message

Pali Rohár Jan. 4, 2022, 3:35 p.m. UTC
This patch series contains small improvements for pci-bridge-emul and
mvebu drivers. This patch series is based on top of the patches:
https://lore.kernel.org/linux-pci/20211125124605.25915-1-pali@kernel.org/
(which are now in pci/mvebu branch)

In V2 was added comment into code explaining PCI_BRIDGE_EMUL_NO_PREFMEM_FORWARD
and PCI_BRIDGE_EMUL_NO_IO_FORWARD flags.

Pali Rohár (11):
  MAINTAINERS: Add Pali Rohár as pci-mvebu.c maintainer
  PCI: pci-bridge-emul: Make struct pci_bridge_emul_ops as const
  PCI: pci-bridge-emul: Rename PCI_BRIDGE_EMUL_NO_PREFETCHABLE_BAR to
    PCI_BRIDGE_EMUL_NO_PREFMEM_FORWARD
  PCI: pci-bridge-emul: Add support for new flag
    PCI_BRIDGE_EMUL_NO_IO_FORWARD
  PCI: mvebu: Add help string for CONFIG_PCI_MVEBU option
  PCI: mvebu: Remove duplicate nports assignment
  PCI: mvebu: Set PCI_BRIDGE_EMUL_NO_IO_FORWARD when IO is unsupported
  PCI: mvebu: Properly initialize vendor, device and revision of
    emulated bridge
  PCI: mvebu: Update comment for PCI_EXP_LNKCAP register on emulated
    bridge
  PCI: mvebu: Update comment for PCI_EXP_LNKCTL register on emulated
    bridge
  PCI: mvebu: Fix reporting Data Link Layer Link Active on emulated
    bridge

 MAINTAINERS                           |  1 +
 drivers/pci/controller/Kconfig        |  4 ++
 drivers/pci/controller/pci-aardvark.c |  2 +-
 drivers/pci/controller/pci-mvebu.c    | 64 ++++++++++++---------------
 drivers/pci/pci-bridge-emul.c         | 11 ++++-
 drivers/pci/pci-bridge-emul.h         | 14 +++++-
 6 files changed, 57 insertions(+), 39 deletions(-)

Comments

Pali Rohár Jan. 20, 2022, 9:01 a.m. UTC | #1
Hello Lorenzo, could you please review these patches? There are here
without any new comments for month.

On Tuesday 04 January 2022 16:35:18 Pali Rohár wrote:
> This patch series contains small improvements for pci-bridge-emul and
> mvebu drivers. This patch series is based on top of the patches:
> https://lore.kernel.org/linux-pci/20211125124605.25915-1-pali@kernel.org/
> (which are now in pci/mvebu branch)
> 
> In V2 was added comment into code explaining PCI_BRIDGE_EMUL_NO_PREFMEM_FORWARD
> and PCI_BRIDGE_EMUL_NO_IO_FORWARD flags.
> 
> Pali Rohár (11):
>   MAINTAINERS: Add Pali Rohár as pci-mvebu.c maintainer
>   PCI: pci-bridge-emul: Make struct pci_bridge_emul_ops as const
>   PCI: pci-bridge-emul: Rename PCI_BRIDGE_EMUL_NO_PREFETCHABLE_BAR to
>     PCI_BRIDGE_EMUL_NO_PREFMEM_FORWARD
>   PCI: pci-bridge-emul: Add support for new flag
>     PCI_BRIDGE_EMUL_NO_IO_FORWARD
>   PCI: mvebu: Add help string for CONFIG_PCI_MVEBU option
>   PCI: mvebu: Remove duplicate nports assignment
>   PCI: mvebu: Set PCI_BRIDGE_EMUL_NO_IO_FORWARD when IO is unsupported
>   PCI: mvebu: Properly initialize vendor, device and revision of
>     emulated bridge
>   PCI: mvebu: Update comment for PCI_EXP_LNKCAP register on emulated
>     bridge
>   PCI: mvebu: Update comment for PCI_EXP_LNKCTL register on emulated
>     bridge
>   PCI: mvebu: Fix reporting Data Link Layer Link Active on emulated
>     bridge
> 
>  MAINTAINERS                           |  1 +
>  drivers/pci/controller/Kconfig        |  4 ++
>  drivers/pci/controller/pci-aardvark.c |  2 +-
>  drivers/pci/controller/pci-mvebu.c    | 64 ++++++++++++---------------
>  drivers/pci/pci-bridge-emul.c         | 11 ++++-
>  drivers/pci/pci-bridge-emul.h         | 14 +++++-
>  6 files changed, 57 insertions(+), 39 deletions(-)
> 
> -- 
> 2.20.1
>
Rob Herring (Arm) Jan. 20, 2022, 4:31 p.m. UTC | #2
On Tue, Jan 04, 2022 at 04:35:18PM +0100, Pali Rohár wrote:
> This patch series contains small improvements for pci-bridge-emul and
> mvebu drivers. This patch series is based on top of the patches:
> https://lore.kernel.org/linux-pci/20211125124605.25915-1-pali@kernel.org/
> (which are now in pci/mvebu branch)
> 
> In V2 was added comment into code explaining PCI_BRIDGE_EMUL_NO_PREFMEM_FORWARD
> and PCI_BRIDGE_EMUL_NO_IO_FORWARD flags.
> 
> Pali Rohár (11):
>   MAINTAINERS: Add Pali Rohár as pci-mvebu.c maintainer
>   PCI: pci-bridge-emul: Make struct pci_bridge_emul_ops as const
>   PCI: pci-bridge-emul: Rename PCI_BRIDGE_EMUL_NO_PREFETCHABLE_BAR to
>     PCI_BRIDGE_EMUL_NO_PREFMEM_FORWARD
>   PCI: pci-bridge-emul: Add support for new flag
>     PCI_BRIDGE_EMUL_NO_IO_FORWARD
>   PCI: mvebu: Add help string for CONFIG_PCI_MVEBU option
>   PCI: mvebu: Remove duplicate nports assignment
>   PCI: mvebu: Set PCI_BRIDGE_EMUL_NO_IO_FORWARD when IO is unsupported
>   PCI: mvebu: Properly initialize vendor, device and revision of
>     emulated bridge
>   PCI: mvebu: Update comment for PCI_EXP_LNKCAP register on emulated
>     bridge
>   PCI: mvebu: Update comment for PCI_EXP_LNKCTL register on emulated
>     bridge
>   PCI: mvebu: Fix reporting Data Link Layer Link Active on emulated
>     bridge

For the series,

Reviewed-by: Rob Herring <robh@kernel.org>

In the future, please do not thread new versions with the old version 
of the series.

Rob
Lorenzo Pieralisi Feb. 3, 2022, 10:56 a.m. UTC | #3
On Tue, 4 Jan 2022 16:35:18 +0100, Pali Rohár wrote:
> This patch series contains small improvements for pci-bridge-emul and
> mvebu drivers. This patch series is based on top of the patches:
> https://lore.kernel.org/linux-pci/20211125124605.25915-1-pali@kernel.org/
> (which are now in pci/mvebu branch)
> 
> In V2 was added comment into code explaining PCI_BRIDGE_EMUL_NO_PREFMEM_FORWARD
> and PCI_BRIDGE_EMUL_NO_IO_FORWARD flags.
> 
> [...]

Applied to pci/mvebu, thanks!

[01/11] MAINTAINERS: Add Pali Rohár as pci-mvebu.c maintainer
        https://git.kernel.org/lpieralisi/pci/c/e621e106a1
[02/11] PCI: pci-bridge-emul: Make struct pci_bridge_emul_ops as const
        https://git.kernel.org/lpieralisi/pci/c/64a70f521e
[03/11] PCI: pci-bridge-emul: Rename PCI_BRIDGE_EMUL_NO_PREFETCHABLE_BAR to PCI_BRIDGE_EMUL_NO_PREFMEM_FORWARD
        https://git.kernel.org/lpieralisi/pci/c/d3f332b568
[04/11] PCI: pci-bridge-emul: Add support for new flag PCI_BRIDGE_EMUL_NO_IO_FORWARD
        https://git.kernel.org/lpieralisi/pci/c/05241c1365
[05/11] PCI: mvebu: Add help string for CONFIG_PCI_MVEBU option
        https://git.kernel.org/lpieralisi/pci/c/7f09a4b195
[06/11] PCI: mvebu: Remove duplicate nports assignment
        https://git.kernel.org/lpieralisi/pci/c/7a02acdb5d
[07/11] PCI: mvebu: Set PCI_BRIDGE_EMUL_NO_IO_FORWARD when IO is unsupported
        https://git.kernel.org/lpieralisi/pci/c/5c88ed7985
[08/11] PCI: mvebu: Properly initialize vendor, device and revision of emulated bridge
        https://git.kernel.org/lpieralisi/pci/c/16038ebb0f
[09/11] PCI: mvebu: Update comment for PCI_EXP_LNKCAP register on emulated bridge
        https://git.kernel.org/lpieralisi/pci/c/d76a6ed096
[10/11] PCI: mvebu: Update comment for PCI_EXP_LNKCTL register on emulated bridge
        https://git.kernel.org/lpieralisi/pci/c/c94ea32c0d
[11/11] PCI: mvebu: Fix reporting Data Link Layer Link Active on emulated bridge
        https://git.kernel.org/lpieralisi/pci/c/c3bd7dc553

Thanks,
Lorenzo