OSDN Git Service

Merge branch 'remotes/lorenzo/pci/rcar'
authorBjorn Helgaas <bhelgaas@google.com>
Mon, 13 May 2019 23:34:42 +0000 (18:34 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 13 May 2019 23:34:42 +0000 (18:34 -0500)
  - Use BIT() when appropriate in rcar (Marek Vasut)

  - Use u32 to match rcar hardware register widths (Marek Vasut)

  - Use BITS_PER_BYTE when appropriate in rcar (Marek Vasut)

  - Remove unnecessary casts in rcar (Marek Vasut)

  - Fix 64-bit MSI target addresses in rcar (Marek Vasut)

  - Check for __get_free_pages() failure in rcar (Kangjie Lu)

  - Fix shadowed rcar "irq" variable (Wolfram Sang)

* remotes/lorenzo/pci/rcar:
  PCI: rcar: Do not shadow the 'irq' variable
  PCI: rcar: Fix a potential NULL pointer dereference
  PCI: rcar: Fix 64bit MSI message address handling
  PCI: rcar: Clean up debug messages
  PCI: rcar: Replace (8 * n) with (BITS_PER_BYTE * n)
  PCI: rcar: Replace various variable types with unsigned ones for register values
  PCI: rcar: Replace unsigned long with u32/unsigned int in register accessors
  PCI: rcar: Clean up remaining macros defining bits

# Conflicts:
# drivers/pci/controller/pcie-rcar.c

1  2 
drivers/pci/controller/pcie-rcar.c

  
  /* Transfer control */
  #define PCIETCTLR             0x02000
- #define  CFINIT                       1
 +#define  DL_DOWN              BIT(3)
+ #define  CFINIT                       BIT(0)
  #define PCIETSTR              0x02004
- #define  DATA_LINK_ACTIVE     1
+ #define  DATA_LINK_ACTIVE     BIT(0)
  #define PCIEERRFR             0x02020
  #define  UNSUPPORTED_REQUEST  BIT(4)
  #define PCIEMSIFR             0x02044