mbox series

[GIT/RFC,PULL,LTSI-4.14] SoCFPGA, NIOS2 SoC and Driver to v4.18, version 2

Message ID 1535003545-26958-1-git-send-email-dinguyen@kernel.org (mailing list archive)
State New, archived
Headers show
Series [GIT/RFC,PULL,LTSI-4.14] SoCFPGA, NIOS2 SoC and Driver to v4.18, version 2 | expand

Pull-request

git://git.kernel.org/pub/scm/linux/kernel/git/dinguyen/linux.git tags/socfpga_for_v4.14_ltsi_v2

Message

Dinh Nguyen Aug. 23, 2018, 5:52 a.m. UTC
Hi,

This is version 2 of the initial submission of updates for v4.14-ltsi.

This version 2 uses 'git cherry-pick -x' for traceability of all upstream patches.

Thanks,
Dinh

The following changes since commit 4cea13b66144903ae7310331b43e08f7b2d6aadb:

  Linux 4.14.65 (2018-08-18 10:48:00 +0200)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/dinguyen/linux.git tags/socfpga_for_v4.14_ltsi_v2

for you to fetch changes up to c773385cb8661a397d87a3db14e743e361538896:

  reset: socfpga: build the reset-socfpga for Stratix10 SOC (2018-08-23 00:30:17 -0500)

----------------------------------------------------------------
LTSI-v4.14 Preparation for SoCFPGA SoCs (v4.18)

Base:
* v4.14.65

Backports of the following components to v4.18

* Stratix10 enablement(clock driver)
* NIOS2 updates
* FPGA manager updates
* FPGA Documentation updates
* MAINTAINERS file updates for FPGA manager

Version 2 - Each cherry-picked commit contains the hash ID from linux-next.

----------------------------------------------------------------
Alan Tull (38):
      arm64: dts: stratix10: add gpio header
      arm64: dts: stratix10: enable gpio and leds
      arm64: dts: stratix10: enable i2c, add i2c periperals
      MAINTAINERS: add backup FPGA maintainer
      fpga: bridge: support getting bridge from device
      fpga: mgr: API change to replace fpga load functions with single function
      fpga: mgr: separate getting/locking FPGA manager
      fpga: region: use dev_err instead of pr_err
      fpga: region: remove unneeded of_node_get and put
      fpga: region: get mgr early on
      fpga: region: check for child regions before allocing image info
      fpga: region: fix slow warning with more than one overlay
      fpga: region: use image info as parameter for programming region
      fpga: region: separate out code that parses the overlay
      fpga: region: add fpga-region.h header
      fpga: region: rename some functions prior to moving
      fpga: region: add register/unregister functions
      fpga: region: add fpga_region_class_find
      fpga: region: move device tree support to of-fpga-region.c
      fpga: of-fpga-region: accept overlays that don't program FPGA
      fpga: clean up fpga Kconfig
      fpga: add attribute groups
      fpga: fpga-region: comment on fpga_region_program_fpga locking
      fpga: region: don't use drvdata in common fpga code
      fpga: manager: change api, don't use drvdata
      fpga: bridge: change api, don't use drvdata
      fpga: region: change api, add fpga_region_create/free
      fpga: use SPDX
      fpga: mgr: kernel-doc fixes
      fpga: bridge: kernel-doc fixes
      fpga: region: kernel-doc fixes
      Documentation: fpga: move fpga overview to driver-api
      documentation: fpga: move fpga-mgr.txt to driver-api
      documentation: fpga: add bridge document to driver-api
      documentation: fpga: move fpga-region.txt to driver-api
      fpga: clarify that unregister functions also free
      MAINTAINERS: Add driver-api/fpga path
      Documentation: fpga: cleanup

Alexey Khoroshilov (1):
      fpga: socfpga-a10: disable clk on error in socfpga_a10_fpga_probe()

Arnd Bergmann (1):
      arm64: dts: socfpga: add missing interrupt-parent

Baolin Wang (1):
      nios2: Use read_persistent_clock64() instead of read_persistent_clock()

Bhumika Goyal (1):
      fpga: make xlnx_pr_decoupler_br_ops const

Christophe Jaillet (1):
      fpga: altera-cvp: Fix an error handling path in 'altera_cvp_probe()'

Dinh Nguyen (22):
      clk: socfpga: stratix10: add clock driver for Stratix10 platform
      clk: socfpga: stratix10: use platform driver APIs
      clk: socfpga: stratix10: suppress unbinding platform's clock driver
      clk: socfpga: stratix10: fix the parents of mpu_free_clk
      clk: socfpga: stratix10: fix the sdmmc_free_clk mux
      arm64: dts: stratix10: fix up the gic register for the Stratix10 platform
      arm64: dts: stratix10: add ethernet/sdmmc support to the S10 devkit
      arm64: dts: stratix10: include the reset manager bindings
      arm64: dts: stratix10: add the 'altr,modrst-off' property
      arm64: dts: stratix10: add reset property for various peripherals
      arm64: dts: stratix10: fix interrupt number for gpio1
      arm64: dts: stratix10: enable USB on the devkit
      arm64: dts: stratix10: add USB ECC reset bit
      arm64: dts: stratix10: enable watchdog timer on the S10 devkit
      arm64: dts: stratix10: disable false USB overcurrent on devkit
      arm64: dts: stratix10: use clock bindings for the Stratix10 platform
      arm64: dts: stratix10: fill in clocks field for usb and watchdog
      arm64: dts: stratix10: add OCP reset property for ethernet
      net: stmmac: socfpga: add additional ocp reset line for Stratix10
      dt-bindings: documentation: add clock bindings information for Stratix10
      usb: dwc2: add optional usb ecc reset bit
      reset: socfpga: build the reset-socfpga for Stratix10 SOC

Geert Uytterhoeven (1):
      fpga: Remove depends on HAS_DMA in case of platform dependency

Graham Moore (1):
      arm64: dts: stratix10: Add PL330 DMAC to Stratix10 dts

Greentime Hu (1):
      nios2: add ioremap_nocache declaration before include asm-generic/io.h.

Gustavo A. R. Silva (2):
      fpga: fpga-mgr: remove unnecessary code in __fpga_mgr_get
      fpga: fpga-bridge: remove unnecessary null check in of_fpga_bridge_get

Ian Abbott (1):
      fpga: region: release of_parse_phandle nodes after use

Jaehoon Chung (1):
      arm64: dts: stratix10: remove 'num-slots' property for dwmmc

Johannes Thumshirn (1):
      PCI: Add Altera vendor ID

Kang Luwei (3):
      fpga: dfl: add FPGA Management Engine driver basic framework
      fpga: dfl: fme: add header sub feature support
      fpga: dfl: fme: add partial reconfiguration sub feature support

Krzysztof Kozlowski (1):
      nios2: defconfig: Cleanup from old Kconfig options

Mathieu Malaterre (1):
      nios2: dts: Remove leading 0x and 0s from bindings notation

Ooi, Joyce (1):
      arm64: dts: stratix10: Change pad skew values for EMAC0 PHY driver

Paolo Pisati (2):
      fpga: lattice machxo2: Add Lattice MachXO2 support
      dt: bindings: fpga: add lattice machxo2 slave spi binding description

Thor Thayer (5):
      arm64: dts: stratix10: fix SPI settings
      arm64: dts: stratix10: add sdram ecc
      arm64: dts: stratix10: Fix SPI nodes for Stratix10
      arm64: dts: stratix10: Add QSPI support for Stratix10
      arm64: dts: stratix10: Add SPI node clocks for Stratix10

Ulf Magnusson (1):
      nios2: kconfig: Remove blank help text

Wu Hao (22):
      fpga: mgr: add region_id to fpga_image_info
      fpga: mgr: add status for fpga-manager
      fpga: mgr: add compat_id support
      fpga: region: add compat_id support
      fpga: add device feature list support
      fpga: dfl: add chardev support for feature devices
      fpga: dfl: add dfl_fpga_cdev_find_port
      fpga: dfl: add dfl_fpga_port_ops support.
      fpga: dfl: add dfl_fpga_check_port_id function.
      fpga: dfl-pci: add enumeration for feature devices
      fpga: dfl: fme: add DFL_FPGA_GET_API_VERSION/CHECK_EXTENSION ioctls support
      fpga: dfl: add fpga manager platform driver for FME
      fpga: dfl: fme-mgr: add compat_id support
      fpga: dfl: add fpga bridge platform driver for FME
      fpga: dfl: add fpga region platform driver for FME
      fpga: dfl: fme-region: add support for compat_id
      fpga: dfl: add FPGA Accelerated Function Unit driver basic framework
      fpga: dfl: afu: add port ops support
      fpga: dfl: afu: add header sub feature support
      fpga: dfl: afu: add DFL_FPGA_GET_API_VERSION/CHECK_EXTENSION ioctls support
      fpga: dfl: afu: add DFL_FPGA_PORT_DMA_MAP/UNMAP ioctls support
      MAINTAINERS: add entry for FPGA DFL drivers

Xiao Guangrong (2):
      fpga: dfl: add feature device infrastructure
      fpga: dfl: afu: add afu sub feature support

Zhang Yi (1):
      fpga: add FPGA DFL PCIe device driver

 Documentation/ABI/testing/sysfs-class-fpga-manager |   24 +
 Documentation/ABI/testing/sysfs-class-fpga-region  |    9 +
 Documentation/ABI/testing/sysfs-platform-dfl-fme   |   23 +
 Documentation/ABI/testing/sysfs-platform-dfl-port  |   16 +
 .../devicetree/bindings/clock/intc_stratix10.txt   |   20 +
 .../bindings/fpga/lattice-machxo2-spi.txt          |   29 +
 Documentation/driver-api/fpga/fpga-bridge.rst      |   49 +
 Documentation/driver-api/fpga/fpga-mgr.rst         |  220 +++++
 Documentation/driver-api/fpga/fpga-region.rst      |  102 ++
 Documentation/driver-api/fpga/index.rst            |   13 +
 Documentation/driver-api/fpga/intro.rst            |   54 +
 Documentation/driver-api/index.rst                 |    1 +
 Documentation/fpga/fpga-mgr.txt                    |  199 ----
 Documentation/ioctl/ioctl-number.txt               |    1 +
 MAINTAINERS                                        |   11 +-
 arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi  |  165 +++-
 .../boot/dts/altera/socfpga_stratix10_socdk.dts    |  147 ++-
 arch/nios2/Kconfig                                 |    1 -
 arch/nios2/boot/dts/3c120_devboard.dts             |   16 +-
 arch/nios2/configs/10m50_defconfig                 |    1 -
 arch/nios2/configs/3c120_defconfig                 |    1 -
 arch/nios2/include/asm/io.h                        |    1 +
 arch/nios2/kernel/time.c                           |    4 +-
 drivers/char/xillybus/xillybus_pcie.c              |    1 -
 drivers/clk/Makefile                               |    1 +
 drivers/clk/socfpga/Makefile                       |    9 +-
 drivers/clk/socfpga/clk-gate-s10.c                 |  125 +++
 drivers/clk/socfpga/clk-periph-s10.c               |  149 +++
 drivers/clk/socfpga/clk-pll-s10.c                  |  146 +++
 drivers/clk/socfpga/clk-s10.c                      |  346 +++++++
 drivers/clk/socfpga/clk.h                          |    4 +
 drivers/clk/socfpga/stratix10-clk.h                |   80 ++
 drivers/fpga/Kconfig                               |  177 +++-
 drivers/fpga/Makefile                              |   16 +
 drivers/fpga/altera-cvp.c                          |   23 +-
 drivers/fpga/altera-fpga2sdram.c                   |   34 +-
 drivers/fpga/altera-freeze-bridge.c                |   35 +-
 drivers/fpga/altera-hps2fpga.c                     |   37 +-
 drivers/fpga/altera-pr-ip-core-plat.c              |   13 +-
 drivers/fpga/altera-pr-ip-core.c                   |   31 +-
 drivers/fpga/altera-ps-spi.c                       |   20 +-
 drivers/fpga/dfl-afu-dma-region.c                  |  463 +++++++++
 drivers/fpga/dfl-afu-main.c                        |  636 ++++++++++++
 drivers/fpga/dfl-afu-region.c                      |  166 ++++
 drivers/fpga/dfl-afu.h                             |  100 ++
 drivers/fpga/dfl-fme-br.c                          |  114 +++
 drivers/fpga/dfl-fme-main.c                        |  279 ++++++
 drivers/fpga/dfl-fme-mgr.c                         |  349 +++++++
 drivers/fpga/dfl-fme-pr.c                          |  479 +++++++++
 drivers/fpga/dfl-fme-pr.h                          |   84 ++
 drivers/fpga/dfl-fme-region.c                      |   89 ++
 drivers/fpga/dfl-fme.h                             |   38 +
 drivers/fpga/dfl-pci.c                             |  243 +++++
 drivers/fpga/dfl.c                                 | 1044 ++++++++++++++++++++
 drivers/fpga/dfl.h                                 |  410 ++++++++
 drivers/fpga/fpga-bridge.c                         |  199 ++--
 drivers/fpga/fpga-mgr.c                            |  268 +++--
 drivers/fpga/fpga-region.c                         |  534 ++--------
 drivers/fpga/ice40-spi.c                           |   21 +-
 drivers/fpga/machxo2-spi.c                         |  415 ++++++++
 drivers/fpga/of-fpga-region.c                      |  490 +++++++++
 drivers/fpga/socfpga-a10.c                         |   34 +-
 drivers/fpga/socfpga.c                             |   32 +-
 drivers/fpga/ts73xx-fpga.c                         |   20 +-
 drivers/fpga/xilinx-pr-decoupler.c                 |   24 +-
 drivers/fpga/xilinx-spi.c                          |   20 +-
 drivers/fpga/zynq-fpga.c                           |   14 +-
 drivers/net/ethernet/stmicro/stmmac/Kconfig        |    2 +-
 .../net/ethernet/stmicro/stmmac/dwmac-socfpga.c    |   18 +-
 drivers/reset/Kconfig                              |    2 +-
 drivers/usb/dwc2/core.h                            |    1 +
 drivers/usb/dwc2/platform.c                        |   10 +
 include/dt-bindings/clock/stratix10-clock.h        |   84 ++
 include/linux/fpga/altera-pr-ip-core.h             |   13 +-
 include/linux/fpga/fpga-bridge.h                   |   23 +-
 include/linux/fpga/fpga-mgr.h                      |   86 +-
 include/linux/fpga/fpga-region.h                   |   47 +
 include/linux/pci_ids.h                            |    2 +
 include/uapi/linux/fpga-dfl.h                      |  179 ++++
 79 files changed, 8360 insertions(+), 1026 deletions(-)
 create mode 100644 Documentation/ABI/testing/sysfs-class-fpga-region
 create mode 100644 Documentation/ABI/testing/sysfs-platform-dfl-fme
 create mode 100644 Documentation/ABI/testing/sysfs-platform-dfl-port
 create mode 100644 Documentation/devicetree/bindings/clock/intc_stratix10.txt
 create mode 100644 Documentation/devicetree/bindings/fpga/lattice-machxo2-spi.txt
 create mode 100644 Documentation/driver-api/fpga/fpga-bridge.rst
 create mode 100644 Documentation/driver-api/fpga/fpga-mgr.rst
 create mode 100644 Documentation/driver-api/fpga/fpga-region.rst
 create mode 100644 Documentation/driver-api/fpga/index.rst
 create mode 100644 Documentation/driver-api/fpga/intro.rst
 delete mode 100644 Documentation/fpga/fpga-mgr.txt
 create mode 100644 drivers/clk/socfpga/clk-gate-s10.c
 create mode 100644 drivers/clk/socfpga/clk-periph-s10.c
 create mode 100644 drivers/clk/socfpga/clk-pll-s10.c
 create mode 100644 drivers/clk/socfpga/clk-s10.c
 create mode 100644 drivers/clk/socfpga/stratix10-clk.h
 create mode 100644 drivers/fpga/dfl-afu-dma-region.c
 create mode 100644 drivers/fpga/dfl-afu-main.c
 create mode 100644 drivers/fpga/dfl-afu-region.c
 create mode 100644 drivers/fpga/dfl-afu.h
 create mode 100644 drivers/fpga/dfl-fme-br.c
 create mode 100644 drivers/fpga/dfl-fme-main.c
 create mode 100644 drivers/fpga/dfl-fme-mgr.c
 create mode 100644 drivers/fpga/dfl-fme-pr.c
 create mode 100644 drivers/fpga/dfl-fme-pr.h
 create mode 100644 drivers/fpga/dfl-fme-region.c
 create mode 100644 drivers/fpga/dfl-fme.h
 create mode 100644 drivers/fpga/dfl-pci.c
 create mode 100644 drivers/fpga/dfl.c
 create mode 100644 drivers/fpga/dfl.h
 create mode 100644 drivers/fpga/machxo2-spi.c
 create mode 100644 drivers/fpga/of-fpga-region.c
 create mode 100644 include/dt-bindings/clock/stratix10-clock.h
 create mode 100644 include/linux/fpga/fpga-region.h
 create mode 100644 include/uapi/linux/fpga-dfl.h

Comments

Geert Uytterhoeven Aug. 23, 2018, 9:44 a.m. UTC | #1
Hi Dinh,

On Thu, Aug 23, 2018 at 7:52 AM Dinh Nguyen <dinguyen@kernel.org> wrote:
> This is version 2 of the initial submission of updates for v4.14-ltsi.
>
> This version 2 uses 'git cherry-pick -x' for traceability of all upstream patches.
>
> Thanks,
> Dinh
>
> The following changes since commit 4cea13b66144903ae7310331b43e08f7b2d6aadb:
>
>   Linux 4.14.65 (2018-08-18 10:48:00 +0200)
>
> are available in the git repository at:
>
>   git://git.kernel.org/pub/scm/linux/kernel/git/dinguyen/linux.git tags/socfpga_for_v4.14_ltsi_v2
>
> for you to fetch changes up to c773385cb8661a397d87a3db14e743e361538896:
>
>   reset: socfpga: build the reset-socfpga for Stratix10 SOC (2018-08-23 00:30:17 -0500)
>
> ----------------------------------------------------------------
> LTSI-v4.14 Preparation for SoCFPGA SoCs (v4.18)
>
> Base:
> * v4.14.65
>
> Backports of the following components to v4.18
>
> * Stratix10 enablement(clock driver)
> * NIOS2 updates
> * FPGA manager updates
> * FPGA Documentation updates
> * MAINTAINERS file updates for FPGA manager
>
> Version 2 - Each cherry-picked commit contains the hash ID from linux-next.

Thanks for the update!

All of the above looks fairly low-risk and self-contained to me.

I can confirm all backported commits have proper references to commits in
upstream or linux-next.

Gr{oetje,eeting}s,

                        Geert