29 May, 2020

1 commit


15 May, 2020

1 commit


13 May, 2020

2 commits


11 May, 2020

1 commit


20 Apr, 2020

1 commit


09 Apr, 2020

5 commits


26 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
     

05 Mar, 2020

1 commit


27 Feb, 2020

1 commit


26 Feb, 2020

4 commits


24 Feb, 2020

12 commits

  • [ Upstream commit 76950f7162cad51d2200ebd22c620c14af38f718 ]

    To perform the reserve_crashkernel() operation kexec uses SECTION_SIZE to
    find a memblock in a range.
    SECTION_SIZE is not defined for nommu systems. Trying to compile kexec in
    these conditions results in a build error:

    linux/arch/arm/kernel/setup.c: In function ‘reserve_crashkernel’:
    linux/arch/arm/kernel/setup.c:1016:25: error: ‘SECTION_SIZE’ undeclared
    (first use in this function); did you mean ‘SECTIONS_WIDTH’?
    crash_size, SECTION_SIZE);
    ^~~~~~~~~~~~
    SECTIONS_WIDTH
    linux/arch/arm/kernel/setup.c:1016:25: note: each undeclared identifier
    is reported only once for each function it appears in
    linux/scripts/Makefile.build:265: recipe for target 'arch/arm/kernel/setup.o'
    failed

    Make KEXEC depend on MMU to fix the compilation issue.

    Signed-off-by: Vincenzo Frascino
    Signed-off-by: Russell King
    Signed-off-by: Sasha Levin

    Vincenzo Frascino
     
  • [ Upstream commit cf206bca178cd5b5a436494b2e0cea75295944f4 ]

    An experimental test with the command below gives this error:
    rk3188-bqedison2qc.dt.yaml: dwmmc@10218000: wifi@1:
    'reg' is a required property

    So fix this by adding a reg property to the brcmf sub node.
    Also add #address-cells and #size-cells to prevent more warnings.

    make ARCH=arm dtbs_check
    DT_SCHEMA_FILES=Documentation/devicetree/bindings/mmc/rockchip-dw-mshc.yaml

    Signed-off-by: Johan Jonker
    Link: https://lore.kernel.org/r/20200110134420.11280-1-jbx6244@gmail.com
    Signed-off-by: Heiko Stuebner
    Signed-off-by: Sasha Levin

    Johan Jonker
     
  • [ Upstream commit 0ff15a86d0c5a3f004fee2e92d65b88e56a3bc58 ]

    Add a fixed regulator and use it as power supply for DSI panel.

    Fixes: 18c8866266 ("ARM: dts: stm32: Add display support on stm32f469-disco")

    Signed-off-by: Benjamin Gaignard
    Signed-off-by: Alexandre Torgue
    Signed-off-by: Sasha Levin

    Benjamin Gaignard
     
  • [ Upstream commit 8443ffd1bbd5be74e9b12db234746d12e8ea93e2 ]

    Add a device node for the global timer, which is part of the Cortex-A9
    MPCore.

    The global timer can serve as an accurate (4 ns) clock source for
    scheduling and delay loops.

    Signed-off-by: Geert Uytterhoeven
    Link: https://lore.kernel.org/r/20191211135222.26770-4-geert+renesas@glider.be
    Signed-off-by: Sasha Levin

    Geert Uytterhoeven
     
  • [ Upstream commit 6bb1e09c4c375db29770444f689f35f5cbe696bc ]

    Cabling used to connect devices to USBH1 on RDU2 does not meet USB
    spec cable quality and cable length requirements to operate at High
    Speed, so limit the port to Full Speed only.

    Reported-by: Chris Healy
    Reviewed-by: Chris Healy
    Reviewed-by: Lucas Stach
    Signed-off-by: Andrey Smirnov
    Cc: Shawn Guo
    Cc: Fabio Estevam
    Cc: Lucas Stach
    Cc: linux-arm-kernel@lists.infradead.org
    Cc: linux-kernel@vger.kernel.org
    Signed-off-by: Shawn Guo
    Signed-off-by: Sasha Levin

    Andrey Smirnov
     
  • [ Upstream commit cd58a174e58649426fb43d7456e5f7d7eab58af1 ]

    RDU2 production units come with resistor connecting WP pin to
    correpsonding GPIO DNPed for both SD card slots. Drop any WP related
    configuration and mark both slots with "disable-wp".

    Reported-by: Chris Healy
    Reviewed-by: Chris Healy
    Reviewed-by: Lucas Stach
    Signed-off-by: Andrey Smirnov
    Cc: Shawn Guo
    Cc: Fabio Estevam
    Cc: Lucas Stach
    Cc: linux-arm-kernel@lists.infradead.org
    Cc: linux-kernel@vger.kernel.org
    Signed-off-by: Shawn Guo
    Signed-off-by: Sasha Levin

    Andrey Smirnov
     
  • [ Upstream commit 9f9e2df2e64df197ff6548ef494f76be5b35d08a ]

    Few options KALLSYMS_ALL, SCSI, PM_DEVFREQ and mutex/spinlock debugging
    were removed with savedefconfig because they were selected by other
    options. However these are user-visible options and they might not be
    selected in the future. Exactly this happened with commit 0e4a459f56c3
    ("tracing: Remove unnecessary DEBUG_FS dependency") removing the
    dependency between DEBUG_FS and TRACING.

    To avoid losing these options in the future, explicitly mention them in
    defconfig.

    Reported-by: Marek Szyprowski
    Signed-off-by: Krzysztof Kozlowski
    Signed-off-by: Sasha Levin

    Krzysztof Kozlowski
     
  • [ Upstream commit 0388a110747bec0c9d9de995842bb2a03a26aae1 ]

    Add the Performance Monitoring Unit (PMU) device tree node to the H3
    .dtsi, which tells DT users which interrupts are triggered by PMU
    overflow events on each core. The numbers come from the manual and have
    been checked in U-Boot and with perf in Linux.

    Tested with perf record and taskset on an OrangePi Zero.

    Signed-off-by: Andre Przywara
    Signed-off-by: Maxime Ripard
    Signed-off-by: Sasha Levin

    Andre Przywara
     
  • [ Upstream commit bc420c6ceefbb86cbbc8c00061bd779c17fa6997 ]

    Kmemleak relies on specific symbols to register the read only data
    during init (e.g. __start_ro_after_init).
    Trying to build an XIP kernel on arm results in the linking error
    reported below because when this option is selected read only data
    after init are not allowed since .data is read only (.rodata).

    arm-linux-gnueabihf-ld: mm/kmemleak.o: in function `kmemleak_init':
    kmemleak.c:(.init.text+0x148): undefined reference to `__end_ro_after_init'
    arm-linux-gnueabihf-ld: kmemleak.c:(.init.text+0x14c):
    undefined reference to `__end_ro_after_init'
    arm-linux-gnueabihf-ld: kmemleak.c:(.init.text+0x150):
    undefined reference to `__start_ro_after_init'
    arm-linux-gnueabihf-ld: kmemleak.c:(.init.text+0x156):
    undefined reference to `__start_ro_after_init'
    arm-linux-gnueabihf-ld: kmemleak.c:(.init.text+0x162):
    undefined reference to `__start_ro_after_init'
    arm-linux-gnueabihf-ld: kmemleak.c:(.init.text+0x16a):
    undefined reference to `__start_ro_after_init'
    linux/Makefile:1078: recipe for target 'vmlinux' failed

    Fix the issue enabling kmemleak only on non XIP kernels.

    Signed-off-by: Vincenzo Frascino
    Signed-off-by: Russell King
    Signed-off-by: Sasha Levin

    Vincenzo Frascino
     
  • Add uart2 DTE pin group for DTE test.

    Reviewed-by: Richard Zhu
    Signed-off-by: Fugang Duan

    Fugang Duan
     
  • Add INTEL E1000E to defconfig.

    Signed-off-by: Richard Zhu

    Richard Zhu
     
  • miss to enable the on flash bbt for all 6qdl platforms

    Signed-off-by: Han Xu

    Reviewed-by: Frank Li

    Han Xu
     

20 Feb, 2020

2 commits

  • Commit 6d4cd041f0af ("net: phy: at803x: disable delay only for RGMII mode")
    exposed an issue on imx DTS files using AR8031/AR8035 PHYs.

    To fix this problem, the phy-mode property needs to be "rgmii-id", which
    enables PHY RX and TX delays.

    Tested-by: Lina Jin
    Reviewed-by: Dong Aisheng
    Signed-off-by: Fugang Duan

    Fugang Duan
     
  • commit e383e871ab54f073c2a798a9e0bde7f1d0528de8 upstream.

    The CONFIG_ARCH_REQUIRE_GPIOLIB is gone since commit 65053e1a7743
    ("gpio: delete ARCH_[WANTS_OPTIONAL|REQUIRE]_GPIOLIB") and all platforms
    should explicitly select GPIOLIB to have it.

    Link: https://lore.kernel.org/r/20200130195525.4525-1-krzk@kernel.org
    Cc:
    Fixes: 65053e1a7743 ("gpio: delete ARCH_[WANTS_OPTIONAL|REQUIRE]_GPIOLIB")
    Signed-off-by: Krzysztof Kozlowski
    Signed-off-by: Olof Johansson
    Signed-off-by: Greg Kroah-Hartman

    Krzysztof Kozlowski
     

18 Feb, 2020

2 commits


16 Feb, 2020

3 commits


15 Feb, 2020

1 commit

  • commit 31f3010e60522ede237fb145a63b4af5a41718c2 upstream.

    As of commit ac7c3e4ff401 ("compiler: enable CONFIG_OPTIMIZE_INLINING
    forcibly"), free_memmap() might not always be inlined, and thus is
    triggering a section warning:

    WARNING: vmlinux.o(.text.unlikely+0x904): Section mismatch in reference from the function free_memmap() to the function .meminit.text:memblock_free()

    Mark it as __init, since the faller (free_unused_memmap) already is.

    Fixes: ac7c3e4ff401 ("compiler: enable CONFIG_OPTIMIZE_INLINING forcibly")
    Signed-off-by: Olof Johansson
    Signed-off-by: Russell King
    Signed-off-by: Greg Kroah-Hartman

    Olof Johansson