[linux-yocto] [PATCH 00/48] Intel Axxia updates to linux-yocto-4.9

Daniel Dragomir daniel.dragomir at windriver.com
Mon Dec 11 05:13:30 PST 2017


Hello Bruce!

Please review and merge this series of patches in Axxia branches from
linux-yocto-4.9.

If all the patches are ok, please pull them from
https://github.com/axxia/axxia_yocto_linux_4.9_pull.git
into
git://git.yoctoproject.org/linux-yocto-4.9
Pull
standard/axxia/base-1.15 -> standard/axxia/base
standard/preempt-rt/axxia/base-1.15 -> standard/preempt-rt/axxia/base

NOTE: Preempt-rt branch has 4 patches in addition to the standard one.

If you add more patches to standard/(preempt-rt)/axxia/base beforehand
please notify me. I will rebase our changes so you can do a clean,
fast-forward pull.

Changes included in this series (axxia tag 1.7 to 1.15):

Linux 4.9, Axxia 1.15 Changes
    Support the Axxia reset driver and, optionally, DDR retention resets.
    Backport the commits necessary to boot reliably with the Preempt-RT 
        patches and debug configuration.

Linux 4.9, Axxia 1.14 Changes
    Update the PCI LOS work around to make sure the configuration gets put 
        back to normal when the speed changes from gen1 to gen2/gen3.
    Support additional SPI flash devices (Winbond W25Q128JVSIM and Cypress S25FL128L).
    EDAC updates:
        - Change default log settings -- nothing on the console.
        - Add 6700 support.
        - Fix issue with DDR retention reset and the use of the scratch register.
    Only update coresight on 6700 hardware, not simulation.
    Create a custom gpio driver for Axxia as the interrupt structure is different.
    Include a device tree for the axm5612.
    Fix compile errors when CONFIG_PCI_MSI is not defined.
    Axxia network interface cleanup:
        - Remove unused reference, CONFIG_NET_VENDOR_LSI.
        - Include dependecy on Axxia MDIO.

Linux 4.9, Axxia 1.13 Changes
    Update from 4.9.49 to 4.9.61.

Linux 4.9, Axxia 1.12 Changes
    Update coresight hardware tracing support to include all clusters on 6700.
    Only include coresight in the hardware device trees, not simulation.
    Update the GPIO driver for 4.9.
    Include a 12 core device tree for 5600.
    Fix compile errors when MSI is not enabled.
    Remove unused reference to CONFIG_NET_VENDOR_LSI.
    Include dependency on Axxia MDIO when enabling Axxia NEMAC.

Linux 4.9, Axxia 1.11 Changes
    Enable EDAC CMEM support when CMEM gets initialized.
    Reduce the PCIe LOS work around timeout to 1 second.
    Update the debug configuration for 5600.

Linux 4.9, Axxia 1.10 Changes
    Rebase from Linux 4.9.36 to 4.9.49.

Linux 4.9, Axxia 1.9 Changes
    Support hardware tracing using coresight and tools/perf (cluster 0 only, 6700 only).
    Add CCN504 interrupt driven EDAC driver.

Linux 4.9, Axxia 1.8 Changes
    Remove NOSMP configurations.
    Add support for MSI interruts on 5600 and 6700.
    APC3000 support.

Linux 4.9, Axxia 1.7 Changes
    Rebase to the latest Yocto (4.9.21 to 4.9.36).
    Update USB to use the original reset sequence instead of asserting HCRST:
        - The HCRST reset breaks USB2 and USB3 in some cases.
    Fixes for PEI configuration 5.
    Fix a boot problem on 5500. In the new Axxia fault code, exceptions need to be masked 
        on 5500 by default.
    The final change to the PCI work around (If the link is not established at the requested 
        number of lanes...) was not included. As the hardware does not have the correct default 
        class code, software needs to set it. With the width change work around, the class code 
        needs to be set to the correct value each time the width is changed.
    Update the default configurations to get rid of some warnings when using systemd instead of 
        sysv init.
    Add tracing of NCR, PEI, and PCI accesses. Tracing can be enabled using the bootargs or after 
        booting using /sys:
        - For NCR, use trace for all accesses, and trace_value_read to display the value read 
          after a read.
        - For PEI and PCI, use trace.
    PCI Updates:
        - Add a work around for a hardware problem. If the link is not established at the requested 
          number of lanes, reduce and try again. If there is no link at x1, fail.
        - Update the LOS work around to work the the lane reduction work around mentioned above.
        - Add a new configuration for 5600, unsupported on the Axxia development board, configuration 5.
        - In configuration 2, 5600, set sw_port_1 to 0x2 instead of 0x4.
        - Always set the number of phys to 4 for 5600 and 1 for 6700.
        - Always set the link width speed change register to x1 and use the link control register to 
          set the desired width.
    USB Updates and USB support for 5600 B* parts:
        - Use HCRST for soft resets in the driver and don't reset the PHY seperately sinc HCRST resets 
          the PHY.
        - Move all changes to constant values to the early init code (SPL) instead of the driver.
    Support undocumented PEI configurations.
    Include a fault handler that allows system errors caused by accessing non-existent sRIO registers 
        to be masked.
    Enable CGROUPS and FHANDLE as required by systemd.
    If the secure monitor changes required by EDAC L3 support are not available, disable it.
    EDAC changes:
        - Remove irq_default_primary_handler use in kernel API for SM and CM.
        - Fix memory leaks.
        - Add private work queues for events and alerts.
    Support undocumented PEI configurations.
    Include a fault handler that allows system errors caused by accessing non-existent sRIO registers 
         to be masked.
    If the secure monitor changes required by EDAC L3 support are not available, disable it.

Thank you,
Daniel Dragomir

Charlie Paul (2):
  drivers/hwmon: adt75 removed for redundency
  kernel/sched: Revert compile fixes

Daniel Bristot de Oliveira (3):
  Revert "sched: fixup migrate disable (all tasks were bound to CPU0)"
  Revert "kernel: softirq: unlock with irqs on"
  Revert "kernel: migrate_disable() do fastpath in atomic & irqs-off"

Daniel Dragomir (1):
  tools/perf: Correct the hexa value 0x1ULL from opencsd

John Jacques (37):
  drivers/gpio: Create a Custom Driver for Axxia SoCs
  drivers/misc: Update PEI Setup Code for Axxia
  drivers/misc: Update the Axxia PEI Driver
  drivers/pci: Updates to the Axxia (X9, XLF) PCIe host driver
  drivers/misc: Update the Axxia PEI Driver
  drivers/misc: Add Fault Handling for Axxia
  drivers/pci: Axxia Hardware Work Around
  drivers/misc: Update Axxia PEI Configuration
  drivers/pci: Work Around an Axxia Hardware Problem
  drivers/misc: Add a New Axxia Configuration
  drivers/pci: Work Around a Hardware Defect on Axxia
  drivers/pci: Update the Axxia PCIe LOS Work Around
  drivers/misc: Update NCR Tracing on Axxia
  drivers/misc: Update PEI Logging on Axxia
  drivers/pci: Update Tracing in the Axxia PCI Driver
  drivers/usb/dwc3: Support for Axxia USB-B0 added
  drivers/misc: Update the Axxia Fault Handler
  drivers/pci: Axxia Hardware Work Around
  drivers/misc: Update the Axxia PEI Driver
  drivers/usb: Updated Axxia DWC3 Driver
  drivers/pci: MSI/MSIx support for Axxia (X9, XLF) PCIe host
  drivers/gpio: Fix Compile Errors
  drivers/hwtracing/coresight: Set ETM_CYC_THRESHOLD_DEFAULT
  tools/perf: Changes for Axxia CoreSight Support
  arch/arm64: Update the Axxia Device Trees for CoreSight
  drivers/pci: Reduce the Axxia LOS Timeout
  drivers/tty: Fix a Compile Warning in the AMBA PL011
  drivers/net: Include Dependency for Axxia NEMAC
  drivers/net: Remove Reference to CONFIG_NET_VENDOR_LSI
  drivers/pci/host: Fix Axxia Compile Errors
  arch/arm64: Update the Axxia Device Trees
  drivers/gpio: Create a Custom Driver for Axxia SoCs
  axxia: Only Update Coresight for AXC6700 Hardware
  axxia: Add Support for Coresight on 6700 with 32 Cores
  drivers/mtd/spi-nor: Add Support for Additional Devices
  drivers/pci: Update the Axxia PCI LOS Work Around
  drivers/power: Support Axxia Resets

Marek Majtyka (5):
  drivers/edac: Added ccn504 Interrupt Driven Driver
  drivers/edac: CMEM EDAC support on config load.
  drivers/power/reset: Fix Axxia Retention Reset Issue
  drivers/edac: Added EDAC drivers for XLF board
  drivers/edac: Changed default EDAC CE log settings

 .../devicetree/bindings/arm/axxia/edac_l1.txt      |   15 +
 .../devicetree/bindings/arm/axxia/edac_l2.txt      |    5 +-
 .../devicetree/bindings/arm/axxia/edac_l3.txt      |   26 +
 arch/arm/mach-axxia/Makefile                       |    2 +-
 arch/arm/mach-axxia/axxia.c                        |    4 -
 arch/arm64/boot/dts/intel/Makefile                 |    2 +-
 arch/arm64/boot/dts/intel/axc6704-coresight.dtsi   |  314 +++++
 arch/arm64/boot/dts/intel/axc6704-cpus.dtsi        |    8 +-
 arch/arm64/boot/dts/intel/axc6704-waco.dts         |  260 ++++
 arch/arm64/boot/dts/intel/axc6732-coresight.dtsi   | 1366 ++++++++++++++++++++
 arch/arm64/boot/dts/intel/axc6732-cpus.dtsi        |   64 +-
 arch/arm64/boot/dts/intel/axc6732-waco.dts         |   33 +
 arch/arm64/boot/dts/intel/axc67xx.dtsi             |  147 ++-
 arch/arm64/boot/dts/intel/axm5612-cpus.dtsi        |  101 ++
 arch/arm64/boot/dts/intel/axm5616-victoria.dts     |    5 +
 arch/arm64/boot/dts/intel/axm56xx.dtsi             |   55 +-
 arch/arm64/kernel/entry.S                          |   48 +
 drivers/edac/Kconfig                               |   55 +-
 drivers/edac/Makefile                              |    7 +-
 drivers/edac/axxia_edac-cmc_56xx.c                 |  911 ++++++++++---
 drivers/edac/axxia_edac-l2_cpu_56xx.c              |   99 +-
 drivers/edac/axxia_edac-l3_56xx.c                  |  549 ++++++++
 drivers/edac/axxia_edac-mc_56xx.c                  |  265 ++--
 drivers/edac/edac_core.h                           |    7 +
 drivers/edac/edac_device.c                         |   97 +-
 drivers/gpio/Kconfig                               |    8 +
 drivers/gpio/Makefile                              |    1 +
 drivers/gpio/gpio-axxia.c                          |  467 +++++++
 drivers/hwmon/adt75.c                              |  214 ---
 drivers/hwtracing/coresight/coresight-etm4x.c      |    8 +-
 drivers/hwtracing/coresight/coresight-etm4x.h      |    1 +
 drivers/misc/Kconfig                               |    6 +
 drivers/misc/Makefile                              |    1 +
 drivers/misc/axxia-fault.c                         |  178 +++
 drivers/misc/axxia-pei.c                           |  737 +++++++++--
 drivers/misc/lsi-ncr.c                             |  107 +-
 drivers/mtd/spi-nor/spi-nor.c                      |    5 +
 drivers/net/ethernet/Makefile                      |    1 -
 drivers/net/ethernet/intel/Kconfig                 |    1 +
 drivers/pci/host/pcie-axxia.c                      | 1113 +++++++++++++---
 drivers/pci/host/pcie-axxia.h                      |   14 +-
 drivers/power/reset/Kconfig                        |    8 +
 drivers/power/reset/axxia-reset.c                  |    2 +-
 drivers/tty/serial/amba-pl011.c                    |    2 +-
 drivers/usb/dwc3/Makefile                          |    3 +-
 drivers/usb/dwc3/core.c                            |   10 -
 drivers/usb/dwc3/core.h                            |    6 -
 include/linux/arm-smccc.h                          |    2 +
 include/linux/axxia-fault.h                        |   23 +
 include/linux/axxia-pei.h                          |    1 +
 include/linux/sched.h                              |   11 +-
 include/trace/events/edac.h                        |   77 ++
 include/trace/events/edacl3.h                      |  109 ++
 kernel/sched/core.c                                |  840 +++++++-----
 kernel/sched/cpudeadline.c                         |    4 +-
 kernel/sched/cpupri.c                              |    4 +-
 kernel/sched/deadline.c                            |   30 +-
 kernel/sched/rt.c                                  |   24 +-
 kernel/softirq.c                                   |    4 +-
 tools/build/Makefile                               |    4 +-
 tools/build/Makefile.include                       |    3 +
 tools/perf/Makefile.config                         |    2 +-
 tools/perf/Makefile.perf                           |    4 +-
 tools/perf/util/auxtrace.c                         |    4 +-
 tools/perf/util/cs-etm.c                           |   13 +-
 tools/perf/util/probe-event.c                      |   45 +-
 tools/perf/util/probe-finder.c                     |   15 +-
 tools/perf/util/probe-finder.h                     |    3 -
 68 files changed, 7168 insertions(+), 1392 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/arm/axxia/edac_l1.txt
 create mode 100644 Documentation/devicetree/bindings/arm/axxia/edac_l3.txt
 create mode 100644 arch/arm64/boot/dts/intel/axc6704-coresight.dtsi
 create mode 100644 arch/arm64/boot/dts/intel/axc6704-waco.dts
 create mode 100644 arch/arm64/boot/dts/intel/axc6732-coresight.dtsi
 create mode 100644 arch/arm64/boot/dts/intel/axm5612-cpus.dtsi
 create mode 100644 drivers/edac/axxia_edac-l3_56xx.c
 create mode 100644 drivers/gpio/gpio-axxia.c
 delete mode 100644 drivers/hwmon/adt75.c
 create mode 100644 drivers/misc/axxia-fault.c
 create mode 100644 include/linux/axxia-fault.h
 create mode 100644 include/trace/events/edac.h
 create mode 100644 include/trace/events/edacl3.h

-- 
2.7.4



More information about the linux-yocto mailing list