Hi Bruce, This pull (v3) is to enable support for board Microchip Polarfire SoC ICICLE kit. Both standard and rt kernel are well tested against 6.1, these images boots well and no error observed.
Request you to create two branches in linux-yocto as below, and merge those kernel patches to them? v6.1/standard/microchip-polarfire-soc/ v6.1/standard/preempt-rt/microchip-polarfire-soc/ Please note this pull request patches apply to both standard and rt cleanly and hence sending one single pull request. Request you to merge these patches in the above mentioned standard and rt kernel branches. V3 Changes: * Removed mpfs_defconfig file from linux-yocto and created it in yocto-kernel-cache * In the commit message, corrected microchip reference branch name as mchp+fpga * Fixed author name issue in 3 commits * Fixed typo in one of the commit. * Corrected overwriting of original commit "0a1b80ff4f72" ------------------------------------------------------------------------------------------------------------------------------------------------- The following changes since commit 780d811bb97bf34f2be6cab28d5a8b099154c40d: Merge tag 'v6.1.60' into v6.1/standard/base (2023-10-27 15:46:14 -0400) are available in the Git repository at: [email protected]:SaravananWR/v6.1-std-base.git microchip-polarfire-soc for you to fetch changes up to cb4611a3861cda4f3a8d7954f96ea8e0eb7265f5: riscv: dts: microchip: add the pac1934 to the icicle kit (2023-11-08 08:32:44 +0000) ---------------------------------------------------------------- Andrew Jones (4): riscv: Don't duplicate __ALTERNATIVE_CFG in __ALTERNATIVE_CFG_2 riscv: alternatives: Don't name unused macro parameters riscv: alternatives: Drop the underscores from the assembly macro names riscv: Don't duplicate _ALTERNATIVE_CFG* macros Atish Patra (2): of: Move of_dma_get_range to of_address.h dma-mapping: Enable global non-coherent pool support for RISC-V laudiu Beznea (2): net: macb: fix ethernet after resume net: phylink: add helper to initialize phylink's phydev Conor Dooley (50): soc: microchip: add generic service driver soc: microchip: generic-service: warn if used spi: microchip-core-qspi: add mpfs-qspi compatible dt-bindings: dma: document the microchip fpga soft dma controller pwm: add microchip soft ip corePWM driver mailbox: mpfs: fix an incorrect mask width mailbox: mpfs: ditch a useless busy check mailbox: mpfs: check the service status in .tx_done() fpga: add PolarFire SoC Auto Update support soc: microchip: mpfs: fix some horrible alignment soc: microchip: mpfs: use a consistent completion timeout soc: microchip: mpfs: simplify error handling in mpfs_blocking_transaction() soc: microchip: mpfs: handle timeouts and failed services differently soc: microchip: mpfs: add a prefix to rx_callback() dt-bindings: soc: microchip: add a property for system controller flash soc: microchip: mpfs: enable access to the system controller's flash soc: microchip: mpfs: add auto-update subdev to system controller dt-bindings: dma: sf-pdma: fix formatting issues soc: sifive: select RISCV_DMA_NONCOHERENT dt-bindings: usb: musb: microchip,mpfs-musb: allow dma-noncoherent dt-bindings: PCI: microchip,pcie-host: allow dma-noncoherent dt-bindings: mmc: cdns,sdhci: allow dma-noncoherent soc: sifive: use an arch, not device initcall riscv: dts: microchip: mask off some mmode interrupts riscv: dts: microchip: add ccc clock controller to mpfs riscv: dts: microchip: add specific compatible for mpfs' pdma riscv: dts: microchip: add a missing space to the mpfs musb entry riscv: dts: microchip: fix the mpfs' mailbox regs riscv: dts: microchip: add the icicle's system controller qspi riscv: dts: microchip: update the icicle's fabric content riscv: dts: microchip: add top level address/size cells to icicle riscv: dts: microchip: add overlaid memory to icicle kit riscv: dts: microchip: switch the icicle's usb to otg mode riscv: dts: microchip: add a dts for amp on icicle kit riscv: dts: microchip: add a tysom dts riscv: dts: microchip: annotate icicle peripherals with dma-noncoherent dt-bindings: net: cdns,macb: allow dma-noncoherent RISC-V: set memblock allocation direction to bottom-up riscv: dts: microchip: add mpfs specific macb reset support riscv: dts: microchip: add the sevkit's system controller spi flash fpga: auto-update: refuse auto-update if no golden image riscv: dts: microchip: fix system controller qspi clock parentage fpga: auto-update: rename user-visible uses of upgrade to update pwm: microchip-core: fix build after stable merge fpga: auto-update: prevent conflicting prints uio: add microchip uio can driver uio: add microchip uio fpga dma driver iio: adc: update pac193x driver to v0.0.2 iio: adc: get the pac193x revision id correctly iio: adc: pac193x: fixup compilation issues with v6.1 Daire McNamara (13): usb: musb: mpfs: pass dma_range_map to musb from mpfs PCI: microchip: Remove cast warning for devm_add_action_or_reset() arg PCI: microchip: Align register, offset, and mask names with hw docs PCI: microchip: Enable event handlers to access bridge and ctrl ptrs PCI: microchip: Clean up initialisation of interrupts PCI: microchip: Gather MSI information from hardware config registers PCI: microchip: Re-partition code between probe() and init() PCI: microchip: Partition outbound address translation PCI: microchip: Partition inbound address translation soc: sifive: l2cache: enable adding SiFive L2 controller driver to MPFS soc: sifive: ccache: add cache flushing operations net: macb: Shorten max_tx_len to 4KiB - 56 on mpfs dma: allow dma_reserved_default_memory to be updated Durai Manickam KR (2): net: macb: Add PTP support to EMAC net: macb: Add PTP support to GEM Geert Uytterhoeven (1): gpio: mpfs: Make the irqchip immutable Guillaume Socquet (1): mtd: spi-nor: sst: Unlock addition for sst26vf016 Heiko Stuebner (13): RISC-V: fix funct4 definition for c.jalr in parse_asm.h RISC-V: add prefix to all constants/macros in parse_asm.h RISC-V: detach funct-values from their offset RISC-V: add ebreak instructions to definitions RISC-V: add auipc elements to parse_asm header RISC-V: Move riscv_insn_is_* macros into a common header RISC-V: rename parse_asm.h to insn.h RISC-V: kprobes: use central defined funct3 constants RISC-V: add U-type imm parsing to insn.h header RISC-V: add rd reg parsing to insn.h header RISC-V: add helpers for handling immediates in U-type and I-type pairs RISC-V: fix compile error from deduplicated __ALTERNATIVE_CFG_2 RISC-V: fix auipc-jalr addresses in patched alternatives Horatiu Vultur (4): net: micrel: Add support for lan8841 PHY net: micrel: Cable Diagnostics feature for lan8841 PHY net: micrel: Add PHC support for lan8841 net: phy: micrel: Add support for PTP_PF_PEROUT for lan8841 Jamie Gibbons (2): riscv: dts: microchip: mpfs: update gpio interrupt cells dt-bindings: gpio: update microchip int cells Lad Prabhakar (1): riscv: mm: dma-noncoherent: Switch using function pointers for cache management Lewis Hanly (2): gpio: mpfs: add polarfire soc gpio support iio: adc: add microchip pac193x driver Nicolas Ferre (1): net: macb: add support for gmac to sam9x7 Robert Hancock (1): net: macb: simplify TX timestamp handling Roman Gushchin (1): net: macb: implement live mac addr change Shravan Chippa (4): dt-bindings: dma: sf-pdma: add new compatible name dma: sf-pdma: add mpfs-pdma compatible name dt-bindings: misc: microchip,mpfs-dma-proxy misc: add mchp dma proxy driver Tudor Ambarus (8): mtd: spi-nor: core: Introduce SPI_NOR_SOFT_RESET flash_info fixup_flag mtd: spi-nor: macronix: Add support for mx66lm1g45g spi: spi-mem: Allow specifying the byte order in DTR mode mtd: spi-nor: core: Allow specifying the byte order in DTR mode mtd: spi-nor: sfdp: Get the 8D-8D-8D byte order from BFPT mtd: spi-nor: core: Introduce SPI_NOR_DTR_BSWAP16 no_sfdp_flag mtd: spi-nor: macronix: Set SPI_NOR_DTR_BSWAP16 on mx66lm1g45g mtd: spi-nor: macronix: Fix readid protocol at octal dtr disable Valentina Fernandez (7): dt-bindings: include: mailbox: add defines for miv-ihc dt-bindings: mailbox: add binding for miv-ihc mbox: add mi-v ihc support dt-bindings: PCI: microchip: update number of items in ranges property dt-bindings: remoteproc: add binding for miv-remoteproc remoteproc: add support for Microchip Mi-V remoteproc platform driver riscv: dts: microchip: add the pac1934 to the icicle kit Vattipalli Praveen (1): dt-bindings: riscv: microchip: add mpfs video kit shravan kumar (1): dmaengine: sf-pdma: Support of_dma_controller_register() Documentation/devicetree/bindings/dma/microchip,mpfs-fpga-dma.yaml | 49 ++ Documentation/devicetree/bindings/dma/sifive,fu540-c000-pdma.yaml | 12 +- Documentation/devicetree/bindings/gpio/microchip,mpfs-gpio.yaml | 2 +- Documentation/devicetree/bindings/mailbox/microchip,miv-ihc.yaml | 59 ++ Documentation/devicetree/bindings/misc/microchip,mpfs-dma-proxy.yaml | 45 ++ Documentation/devicetree/bindings/mmc/cdns,sdhci.yaml | 2 + Documentation/devicetree/bindings/net/cdns,macb.yaml | 2 + Documentation/devicetree/bindings/pci/microchip,pcie-host.yaml | 5 +- Documentation/devicetree/bindings/remoteproc/microchip,miv-remoteproc.yaml | 72 ++ Documentation/devicetree/bindings/riscv/microchip.yaml | 1 + Documentation/devicetree/bindings/soc/microchip/microchip,mpfs-sys-controller.yaml | 10 + Documentation/devicetree/bindings/usb/microchip,mpfs-musb.yaml | 2 + arch/riscv/Kconfig | 1 + arch/riscv/boot/dts/microchip/Makefile | 2 + arch/riscv/boot/dts/microchip/mpfs-icicle-kit-context-a.dts | 379 +++++++++ arch/riscv/boot/dts/microchip/mpfs-icicle-kit-fabric.dtsi | 166 ++-- arch/riscv/boot/dts/microchip/mpfs-icicle-kit.dts | 179 ++++- arch/riscv/boot/dts/microchip/mpfs-sev-kit.dts | 14 + arch/riscv/boot/dts/microchip/mpfs-tysom-m-fabric.dtsi | 18 + arch/riscv/boot/dts/microchip/mpfs-tysom-m.dts | 165 ++++ arch/riscv/boot/dts/microchip/mpfs.dtsi | 82 +- arch/riscv/errata/thead/errata.c | 70 ++ arch/riscv/include/asm/alternative-macros.h | 99 +-- arch/riscv/include/asm/alternative.h | 3 + arch/riscv/include/asm/dma-noncoherent.h | 74 ++ arch/riscv/include/asm/errata_list.h | 53 -- arch/riscv/include/asm/insn.h | 345 ++++++++ arch/riscv/include/asm/parse_asm.h | 224 ------ arch/riscv/kernel/alternative.c | 56 ++ arch/riscv/kernel/cpufeature.c | 4 + arch/riscv/kernel/kgdb.c | 63 +- arch/riscv/kernel/probes/simulate-insn.c | 19 +- arch/riscv/kernel/probes/simulate-insn.h | 26 +- arch/riscv/mm/dma-noncoherent.c | 70 +- arch/riscv/mm/init.c | 1 + drivers/dma/sf-pdma/sf-pdma.c | 68 +- drivers/dma/sf-pdma/sf-pdma.h | 6 + drivers/fpga/Kconfig | 9 + drivers/fpga/Makefile | 1 + drivers/fpga/microchip-auto-update.c | 502 ++++++++++++ drivers/gpio/Kconfig | 7 + drivers/gpio/Makefile | 1 + drivers/gpio/gpio-mpfs.c | 320 ++++++++ drivers/iio/adc/Kconfig | 12 + drivers/iio/adc/Makefile | 1 + drivers/iio/adc/pac193x.c | 1688 +++++++++++++++++++++++++++++++++++++++ drivers/mailbox/Kconfig | 13 + drivers/mailbox/Makefile | 2 + drivers/mailbox/mailbox-miv-ihc.c | 233 ++++++ drivers/mailbox/mailbox-mpfs.c | 45 +- drivers/misc/Kconfig | 8 + drivers/misc/Makefile | 1 + drivers/misc/mpfs-dma-proxy.c | 417 ++++++++++ drivers/mtd/spi-nor/core.c | 37 +- drivers/mtd/spi-nor/core.h | 9 +- drivers/mtd/spi-nor/macronix.c | 132 +++ drivers/mtd/spi-nor/sfdp.c | 3 + drivers/mtd/spi-nor/sfdp.h | 1 + drivers/mtd/spi-nor/sst.c | 4 +- drivers/net/ethernet/cadence/macb.h | 30 +- drivers/net/ethernet/cadence/macb_main.c | 55 +- drivers/net/ethernet/cadence/macb_ptp.c | 83 +- drivers/net/phy/micrel.c | 1618 +++++++++++++++++++++++++++++++------ drivers/net/phy/phylink.c | 10 + drivers/of/of_private.h | 8 - drivers/pci/controller/pcie-microchip-host.c | 680 +++++++++++----- drivers/pwm/Kconfig | 10 + drivers/pwm/Makefile | 1 + drivers/pwm/pwm-microchip-core.c | 441 ++++++++++ drivers/remoteproc/Kconfig | 14 + drivers/remoteproc/Makefile | 1 + drivers/remoteproc/miv_remoteproc.c | 509 ++++++++++++ drivers/soc/Makefile | 2 +- drivers/soc/microchip/Kconfig | 17 + drivers/soc/microchip/Makefile | 1 + drivers/soc/microchip/mpfs-generic-service.c | 211 +++++ drivers/soc/microchip/mpfs-sys-controller.c | 85 +- drivers/soc/sifive/Kconfig | 3 +- drivers/soc/sifive/sifive_ccache.c | 37 +- drivers/spi/spi-microchip-core-qspi.c | 1 + drivers/uio/Kconfig | 14 + drivers/uio/Makefile | 2 + drivers/uio/uio-microchip-can.c | 203 +++++ drivers/uio/uio-microchip-dma.c | 167 ++++ drivers/usb/musb/mpfs.c | 2 +- include/dt-bindings/mailbox/miv-ihc.h | 17 + include/linux/mailbox/miv_ihc.h | 39 + include/linux/micrel_phy.h | 1 + include/linux/mtd/spi-nor.h | 17 + include/linux/of_address.h | 12 + include/linux/phylink.h | 1 + include/linux/spi/spi-mem.h | 3 + include/soc/microchip/mpfs.h | 2 + include/uapi/misc/mpfs-dma-proxy.h | 42 + kernel/dma/coherent.c | 52 +- 95 files changed, 9173 insertions(+), 1112 deletions(-) create mode 100644 Documentation/devicetree/bindings/dma/microchip,mpfs-fpga-dma.yaml create mode 100644 Documentation/devicetree/bindings/mailbox/microchip,miv-ihc.yaml create mode 100644 Documentation/devicetree/bindings/misc/microchip,mpfs-dma-proxy.yaml create mode 100644 Documentation/devicetree/bindings/remoteproc/microchip,miv-remoteproc.yaml create mode 100644 arch/riscv/boot/dts/microchip/mpfs-icicle-kit-context-a.dts create mode 100644 arch/riscv/boot/dts/microchip/mpfs-tysom-m-fabric.dtsi create mode 100644 arch/riscv/boot/dts/microchip/mpfs-tysom-m.dts create mode 100644 arch/riscv/include/asm/dma-noncoherent.h create mode 100644 arch/riscv/include/asm/insn.h delete mode 100644 arch/riscv/include/asm/parse_asm.h create mode 100644 drivers/fpga/microchip-auto-update.c create mode 100644 drivers/gpio/gpio-mpfs.c create mode 100644 drivers/iio/adc/pac193x.c create mode 100644 drivers/mailbox/mailbox-miv-ihc.c create mode 100644 drivers/misc/mpfs-dma-proxy.c create mode 100644 drivers/pwm/pwm-microchip-core.c create mode 100644 drivers/remoteproc/miv_remoteproc.c create mode 100644 drivers/soc/microchip/mpfs-generic-service.c create mode 100644 drivers/uio/uio-microchip-can.c create mode 100644 drivers/uio/uio-microchip-dma.c create mode 100644 include/dt-bindings/mailbox/miv-ihc.h create mode 100644 include/linux/mailbox/miv_ihc.h create mode 100644 include/uapi/misc/mpfs-dma-proxy.h
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#13298): https://lists.yoctoproject.org/g/linux-yocto/message/13298 Mute This Topic: https://lists.yoctoproject.org/mt/102646915/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
