12 Nov, 2020

1 commit


08 Oct, 2020

1 commit

  • * tag 'v5.4.70': (3051 commits)
    Linux 5.4.70
    netfilter: ctnetlink: add a range check for l3/l4 protonum
    ep_create_wakeup_source(): dentry name can change under you...
    ...

    Conflicts:
    arch/arm/mach-imx/pm-imx6.c
    arch/arm64/boot/dts/freescale/imx8mm-evk.dts
    arch/arm64/boot/dts/freescale/imx8mn-ddr4-evk.dts
    drivers/crypto/caam/caamalg.c
    drivers/gpu/drm/imx/dw_hdmi-imx.c
    drivers/gpu/drm/imx/imx-ldb.c
    drivers/gpu/drm/imx/ipuv3/ipuv3-crtc.c
    drivers/mmc/host/sdhci-esdhc-imx.c
    drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c
    drivers/net/ethernet/freescale/enetc/enetc.c
    drivers/net/ethernet/freescale/enetc/enetc_pf.c
    drivers/thermal/imx_thermal.c
    drivers/usb/cdns3/ep0.c
    drivers/xen/swiotlb-xen.c
    sound/soc/fsl/fsl_esai.c
    sound/soc/fsl/fsl_sai.c

    Signed-off-by: Jason Liu

    Jason Liu
     

07 Oct, 2020

1 commit

  • [ Upstream commit ac67b07e268d46eba675a60c37051bb3e59fd201 ]

    Currently, the aspeed-sgpio driver exposes up to 80 GPIO lines,
    corresponding to the 80 status bits available in hardware. Each of these
    lines can be configured as either an input or an output.

    However, each of these GPIOs is actually an input *and* an output; we
    actually have 80 inputs plus 80 outputs.

    This change expands the maximum number of GPIOs to 160; the lower half
    of this range are the input-only GPIOs, the upper half are the outputs.
    We fix the GPIO directions to correspond to this mapping.

    This also fixes a bug when setting GPIOs - we were reading from the
    input register, making it impossible to set more than one output GPIO.

    Signed-off-by: Jeremy Kerr
    Fixes: 7db47faae79b ("gpio: aspeed: Add SGPIO driver")
    Reviewed-by: Joel Stanley
    Reviewed-by: Andrew Jeffery
    Acked-by: Rob Herring
    Signed-off-by: Bartosz Golaszewski
    Signed-off-by: Sasha Levin

    Jeremy Kerr
     

01 Oct, 2020

1 commit

  • [ Upstream commit 8c149b7d75e53be47648742f40fc90d9fc6fa63a ]

    The required supplies in bindings were actually not matching
    implementation making the bindings incorrect and misleading. The Linux
    kernel driver requires all supplies to be present. Also for wlf,wm8994
    uses just DBVDD-supply instead of DBVDDn-supply (n: ).

    Reported-by: Jonathan Bakker
    Signed-off-by: Krzysztof Kozlowski
    Link: https://lore.kernel.org/r/20200501133534.6706-1-krzk@kernel.org
    Signed-off-by: Mark Brown
    Signed-off-by: Sasha Levin

    Krzysztof Kozlowski
     

22 Sep, 2020

1 commit


10 Sep, 2020

1 commit

  • commit 65557383191de46611dd3d6b639cbcfbade43c4a upstream.

    Add description for resets/reset-names.

    Cc: # v5.4+
    Fixes: 966580ad236e ("mmc: mediatek: add support for MT7622 SoC")
    Signed-off-by: Wenbin Mei
    Tested-by: Frank Wunderlich
    Link: https://lore.kernel.org/r/20200814014346.6496-2-wenbin.mei@mediatek.com
    Signed-off-by: Ulf Hansson
    Signed-off-by: Greg Kroah-Hartman

    Wenbin Mei
     

05 Sep, 2020

1 commit

  • commit f7f86e8ac0ad7cd6792a80137f5a550924966916 upstream.

    commit b5a84ecf025a ("mmc: tegra: Add Tegra210 support")

    Tegra210 and later uses separate SDMMC_LEGACY_TM clock for data
    timeout.

    So, this patch adds "tmclk" to Tegra sdhci clock property in the
    device tree binding.

    Fixes: b5a84ecf025a ("mmc: tegra: Add Tegra210 support")
    Cc: stable # 5.4
    Reviewed-by: Jon Hunter
    Signed-off-by: Sowjanya Komatineni
    Link: https://lore.kernel.org/r/1598548861-32373-4-git-send-email-skomatineni@nvidia.com
    Signed-off-by: Ulf Hansson
    Signed-off-by: Greg Kroah-Hartman

    Sowjanya Komatineni
     

21 Aug, 2020

2 commits


20 Aug, 2020

1 commit


22 Jul, 2020

2 commits

  • [ Upstream commit 3d157c28d2289edf0439e8308e8de3a06acaaf0e ]

    This patch updates the documentation with the information related
    to the quirks that needs to be added for disabling all SuperSpeed XHCI
    instances in park mode.

    Cc: Dongjin Kim
    Cc: Jianxin Pan
    Cc: Thinh Nguyen
    Cc: Jun Li
    Reported-by: Tim
    Signed-off-by: Neil Armstrong
    Acked-by: Rob Herring
    Signed-off-by: Felipe Balbi
    Signed-off-by: Sasha Levin

    Neil Armstrong
     
  • [ Upstream commit 35b9c0fdb9f666628ecda02b1fc44306933a2d97 ]

    Fix unit address to match the first address specified in the reg
    property of the node in example.

    Signed-off-by: Kangmin Park
    Link: https://lore.kernel.org/r/20200625135158.5861-1-l4stpr0gr4m@gmail.com
    Signed-off-by: Rob Herring
    Signed-off-by: Sasha Levin

    Kangmin Park
     

10 Jul, 2020

1 commit

  • The DTS is for i.MX8MP DSP offload audio playback. DSP only use OCRAM
    and OCRAM_A when audio playback, so DRAM can enter retention mode to
    save Power. As the size limitation of OCRAM and OCRAM_A and the size
    audio decoder library, the LPA playback only can support MP3 and AAC.
    OCRAM address is 0x900000-0x990000. ATF will use 0x960000-0x980000.
    DSP LPA will use ocram(0x900000-0x960000) and ocram_e(0x980000-
    0x990000)

    Signed-off-by: Bing Song

    Bing Song
     

24 Jun, 2020

1 commit


22 Jun, 2020

1 commit


19 Jun, 2020

1 commit

  • * tag 'v5.4.47': (2193 commits)
    Linux 5.4.47
    KVM: arm64: Save the host's PtrAuth keys in non-preemptible context
    KVM: arm64: Synchronize sysreg state on injecting an AArch32 exception
    ...

    Conflicts:
    arch/arm/boot/dts/imx6qdl.dtsi
    arch/arm/mach-imx/Kconfig
    arch/arm/mach-imx/common.h
    arch/arm/mach-imx/suspend-imx6.S
    arch/arm64/boot/dts/freescale/imx8qxp-mek.dts
    arch/powerpc/include/asm/cacheflush.h
    drivers/cpufreq/imx6q-cpufreq.c
    drivers/dma/imx-sdma.c
    drivers/edac/synopsys_edac.c
    drivers/firmware/imx/imx-scu.c
    drivers/net/ethernet/freescale/fec.h
    drivers/net/ethernet/freescale/fec_main.c
    drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c
    drivers/net/phy/phy_device.c
    drivers/perf/fsl_imx8_ddr_perf.c
    drivers/usb/cdns3/gadget.c
    drivers/usb/dwc3/gadget.c
    include/uapi/linux/dma-buf.h

    Signed-off-by: Jason Liu

    Jason Liu
     

11 Jun, 2020

1 commit


10 Jun, 2020

1 commit


27 May, 2020

1 commit


22 May, 2020

1 commit


23 Apr, 2020

1 commit

  • [ Upstream commit f9f711efd441ad0d22874be49986d92121862335 ]

    If the kernel configuration option CONFIG_PCIE_DW_PLAT_HOST is enabled
    then this can cause the kernel to incorrectly probe the generic
    designware PCIe platform driver instead of the Tegra194 designware PCIe
    driver. This causes a boot failure on Tegra194 because the necessary
    configuration to access the hardware is not performed.

    The order in which the compatible strings are populated in Device-Tree
    is not relevant in this case, because the kernel will attempt to probe
    the device as soon as a driver is loaded and if the generic designware
    PCIe driver is loaded first, then this driver will be probed first.
    Therefore, to fix this problem, remove the "snps,dw-pcie" string from
    the compatible string as we never want this driver to be probe on
    Tegra194.

    Fixes: 2602c32f15e7 ("arm64: tegra: Add P2U and PCIe controller nodes to Tegra194 DT")
    Signed-off-by: Jon Hunter
    Signed-off-by: Thierry Reding
    Signed-off-by: Sasha Levin

    Jon Hunter
     

22 Apr, 2020

1 commit


10 Apr, 2020

1 commit


09 Apr, 2020

2 commits


01 Apr, 2020

1 commit

  • [ Upstream commit 26d5bb9e4c4b541c475751e015072eb2cbf70d15 ]

    FMAN DMA read or writes under heavy traffic load may cause FMAN
    internal resource leak; thus stopping further packet processing.

    The FMAN internal queue can overflow when FMAN splits single
    read or write transactions into multiple smaller transactions
    such that more than 17 AXI transactions are in flight from FMAN
    to interconnect. When the FMAN internal queue overflows, it can
    stall further packet processing. The issue can occur with any one
    of the following three conditions:

    1. FMAN AXI transaction crosses 4K address boundary (Errata
    A010022)
    2. FMAN DMA address for an AXI transaction is not 16 byte
    aligned, i.e. the last 4 bits of an address are non-zero
    3. Scatter Gather (SG) frames have more than one SG buffer in
    the SG list and any one of the buffers, except the last
    buffer in the SG list has data size that is not a multiple
    of 16 bytes, i.e., other than 16, 32, 48, 64, etc.

    With any one of the above three conditions present, there is
    likelihood of stalled FMAN packet processing, especially under
    stress with multiple ports injecting line-rate traffic.

    To avoid situations that stall FMAN packet processing, all of the
    above three conditions must be avoided; therefore, configure the
    system with the following rules:

    1. Frame buffers must not span a 4KB address boundary, unless
    the frame start address is 256 byte aligned
    2. All FMAN DMA start addresses (for example, BMAN buffer
    address, FD[address] + FD[offset]) are 16B aligned
    3. SG table and buffer addresses are 16B aligned and the size
    of SG buffers are multiple of 16 bytes, except for the last
    SG buffer that can be of any size.

    Additional workaround notes:
    - Address alignment of 64 bytes is recommended for maximally
    efficient system bus transactions (although 16 byte alignment is
    sufficient to avoid the stall condition)
    - To support frame sizes that are larger than 4K bytes, there are
    two options:
    1. Large single buffer frames that span a 4KB page boundary can
    be converted into SG frames to avoid transaction splits at
    the 4KB boundary,
    2. Align the large single buffer to 256B address boundaries,
    ensure that the frame address plus offset is 256B aligned.
    - If software generated SG frames have buffers that are unaligned
    and with random non-multiple of 16 byte lengths, before
    transmitting such frames via FMAN, frames will need to be copied
    into a new single buffer or multiple buffer SG frame that is
    compliant with the three rules listed above.

    Signed-off-by: Madalin Bucur
    Signed-off-by: David S. Miller
    Signed-off-by: Sasha Levin

    Madalin Bucur
     

31 Mar, 2020

2 commits


26 Mar, 2020

1 commit


18 Mar, 2020

2 commits


14 Mar, 2020

1 commit


12 Mar, 2020

2 commits


08 Mar, 2020

1 commit

  • Merge Linux stable release v5.4.24 into imx_5.4.y

    * tag 'v5.4.24': (3306 commits)
    Linux 5.4.24
    blktrace: Protect q->blk_trace with RCU
    kvm: nVMX: VMWRITE checks unsupported field before read-only field
    ...

    Signed-off-by: Jason Liu

    Conflicts:
    arch/arm/boot/dts/imx6sll-evk.dts
    arch/arm/boot/dts/imx7ulp.dtsi
    arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi
    drivers/clk/imx/clk-composite-8m.c
    drivers/gpio/gpio-mxc.c
    drivers/irqchip/Kconfig
    drivers/mmc/host/sdhci-of-esdhc.c
    drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c
    drivers/net/can/flexcan.c
    drivers/net/ethernet/freescale/dpaa/dpaa_eth.c
    drivers/net/ethernet/mscc/ocelot.c
    drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
    drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c
    drivers/net/phy/realtek.c
    drivers/pci/controller/mobiveil/pcie-mobiveil-host.c
    drivers/perf/fsl_imx8_ddr_perf.c
    drivers/tee/optee/shm_pool.c
    drivers/usb/cdns3/gadget.c
    kernel/sched/cpufreq.c
    net/core/xdp.c
    sound/soc/fsl/fsl_esai.c
    sound/soc/fsl/fsl_sai.c
    sound/soc/sof/core.c
    sound/soc/sof/imx/Kconfig
    sound/soc/sof/loader.c

    Jason Liu
     

04 Mar, 2020

2 commits


26 Feb, 2020

2 commits

  • Add documentation for a new clock 'phy_parent'. This clock is optional
    and is used to re-parent the PHY related clocks (phy_ref, tx_esc and
    rx_esc) to a valid parent. This clock is needed, in order to make the
    re-parenting in driver, since the default re-parenting in dts node
    (using assigned-clock-parents) may break the LVDS block, which has it's
    PHY shared with MIPI-DSI.

    Signed-off-by: Robert Chiras
    Signed-off-by: Dong Aisheng
    (cherry picked from commit 7ed3b8738e3103396a5f3a9268c66f11f78cab03)

    Robert Chiras
     
  • QORIQ LS1028A soc used fsl,vf610-edma, but it has a little bit different
    from others, so add new compatible to distinguish them.

    Signed-off-by: Peng Ma
    Link: https://lore.kernel.org/r/20191212033714.4090-3-peng.ma@nxp.com
    Signed-off-by: Vinod Koul
    (cherry picked from commit f8dd1f395d1fbba049900ed48c09d76df49be712)

    Peng Ma
     

21 Feb, 2020

1 commit