03 Feb, 2021

1 commit


30 Jan, 2021

1 commit


26 Jan, 2021

1 commit


25 Jan, 2021

2 commits

  • This reverts commit d367e7d3351edc526133e4bd258dac2dd0b4ef4f.

    As designed, the default dtb imx8mq-evk can only support one
    display: DCSS + native HDMI, and dtb imx8mq-evk-dual-display
    is dedicated for multiple dislay.

    And current multiple displays is implemented by two different
    DRM devices with two DRI cards generated. But Weston UI cannot
    make sure to choose DCSS for UI display device, so revert this
    patch to solve this kind of problem.

    Signed-off-by: Fancy Fang

    Fancy Fang
     
  • Add phy tuning result for USB certification, mainly for pass
    eye pattern test, details please check its dt binding doc:
    Documentation/devicetree/bindings/phy/fsl,imx8mq-usb-phy.txt

    Reviewed-by: Haibo Chen
    Reviewed-by: Peter Chen
    Signed-off-by: Li Jun

    Li Jun
     

22 Jan, 2021

1 commit


20 Jan, 2021

3 commits


17 Jan, 2021

3 commits

  • commit 2a5f1b67ec577fb1544b563086e0377f095f88e2 upstream.

    We reset the guest's view of PMCR_EL0 unconditionally, based on
    the host's view of this register. It is however legal for an
    implementation not to provide any PMU, resulting in an UNDEF.

    The obvious fix is to skip the reset of this shadow register
    when no PMU is available, sidestepping the issue entirely.
    If no PMU is available, the guest is not able to request
    a virtual PMU anyway, so not doing nothing is the right thing
    to do!

    It is unlikely that this bug can hit any HW implementation
    though, as they all provide a PMU. It has been found using nested
    virt with the host KVM not implementing the PMU itself.

    Fixes: ab9468340d2bc ("arm64: KVM: Add access handler for PMCR register")
    Reviewed-by: Alexandru Elisei
    Signed-off-by: Marc Zyngier
    Link: https://lore.kernel.org/r/20201210083059.1277162-1-maz@kernel.org
    Signed-off-by: Greg Kroah-Hartman

    Marc Zyngier
     
  • commit 45ba7b195a369f35cb39094fdb32efe5908b34ad upstream.

    Commit d82755b2e781 ("KVM: arm64: Kill off CONFIG_KVM_ARM_HOST") deletes
    CONFIG_KVM_ARM_HOST option, it should use CONFIG_KVM instead.

    Just remove CONFIG_KVM_ARM_HOST here.

    Fixes: d82755b2e781 ("KVM: arm64: Kill off CONFIG_KVM_ARM_HOST")
    Signed-off-by: Shannon Zhao
    Acked-by: Catalin Marinas
    Signed-off-by: Marc Zyngier
    Link: https://lore.kernel.org/r/1609760324-92271-1-git-send-email-shannon.zhao@linux.alibaba.com
    Signed-off-by: Greg Kroah-Hartman

    Shannon Zhao
     
  • commit 095507dc1350b3a2b8b39fdc05edba0c10859eca upstream.

    Systems configured with CONFIG_ZONE_DMA32, CONFIG_ZONE_NORMAL and
    !CONFIG_ZONE_DMA will fail to properly setup ARCH_LOW_ADDRESS_LIMIT. The
    limit will default to ~0ULL, effectively spanning the whole memory,
    which is too high for a configuration that expects low memory to be
    capped at 4GB.

    Fix ARCH_LOW_ADDRESS_LIMIT by falling back to arm64_dma32_phys_limit
    when arm64_dma_phys_limit isn't set. arm64_dma32_phys_limit will honour
    CONFIG_ZONE_DMA32, or span the entire memory when not enabled.

    Fixes: 1a8e1cef7603 ("arm64: use both ZONE_DMA and ZONE_DMA32")
    Signed-off-by: Nicolas Saenz Julienne
    Link: https://lore.kernel.org/r/20201218163307.10150-1-nsaenzjulienne@suse.de
    Signed-off-by: Catalin Marinas
    Signed-off-by: Greg Kroah-Hartman

    Nicolas Saenz Julienne
     

13 Jan, 2021

7 commits

  • simple-card uses 'Headphones' instead of 'Headphone Jack'
    for gpio pin name,

    Without the current patch we get this error:
    asoc-simple-card sof-sound-wm8960: ASoC: DAPM unknown pin Headphones

    Reviewed-by: Viorel Suman
    Signed-off-by: Daniel Baluta

    Daniel Baluta
     
  • There is no mic-det-gpio so remove it. Fix hp-det-gpio flags
    to match non-sof usecase.

    Reviewed-by: Viorel Suman
    Signed-off-by: Daniel Baluta

    Daniel Baluta
     
  • According to 8MPLUSS-BB schematic:
    - HP_MIC1P -> LINPUT3 / JD2
    - X -> LINPUT2
    - HP_MIC1N -> LINPUT1
    - HP_JD -> RINPUT3 / JD3
    - X -> RINPUT2
    - X -> RINPUT1

    Fix the routing map according to schematic.

    Reviewed-by: Viorel Suman
    Signed-off-by: Daniel Baluta

    Daniel Baluta
     
  • Add MICB -> Mic Jack connection in order to power up Microphone.

    Reviewed-by: Viorel Suman
    Signed-off-by: Daniel Baluta

    Daniel Baluta
     
  • Property name for routing used by simple card is 'routing' not
    'audio-routing'.

    Reviewed-by: Viorel Suman
    Signed-off-by: Daniel Baluta

    Daniel Baluta
     
  • commit 311bea3cb9ee20ef150ca76fc60a592bf6b159f5 upstream.

    With GNU binutils 2.35+, linking with BFD produces warnings for vmlinux:
    aarch64-linux-gnu-ld: warning: -z norelro ignored

    BFD can produce this warning when the target emulation mode does not
    support RELRO program headers, and -z relro or -z norelro is passed.

    Alan Modra clarifies:
    The default linker emulation for an aarch64-linux ld.bfd is
    -maarch64linux, the default for an aarch64-elf linker is
    -maarch64elf. They are not equivalent. If you choose -maarch64elf
    you get an emulation that doesn't support -z relro.

    The ARCH=arm64 kernel prefers -maarch64elf, but may fall back to
    -maarch64linux based on the toolchain configuration.

    LLD will always create RELRO program header regardless of target
    emulation.

    To avoid the above warning when linking with BFD, pass -z norelro only
    when linking with LLD or with -maarch64linux.

    Fixes: 3b92fa7485eb ("arm64: link with -z norelro regardless of CONFIG_RELOCATABLE")
    Fixes: 3bbd3db86470 ("arm64: relocatable: fix inconsistencies in linker script and options")
    Cc: # 5.0.x-
    Reported-by: kernelci.org bot
    Reported-by: Quentin Perret
    Signed-off-by: Nick Desaulniers
    Reviewed-by: Nathan Chancellor
    Acked-by: Ard Biesheuvel
    Cc: Alan Modra
    Cc: Fāng-ruì Sòng
    Link: https://lore.kernel.org/r/20201218002432.788499-1-ndesaulniers@google.com
    Signed-off-by: Catalin Marinas
    Signed-off-by: Greg Kroah-Hartman

    Nick Desaulniers
     
  • [ Upstream commit 87dbc209ea04645fd2351981f09eff5d23f8e2e9 ]

    Make mandatory in include/asm-generic/Kbuild and
    remove all arch/*/include/asm/local64.h arch-specific files since they
    only #include .

    This fixes build errors on arch/c6x/ and arch/nios2/ for
    block/blk-iocost.c.

    Build-tested on 21 of 25 arch-es. (tools problems on the others)

    Yes, we could even rename to
    and change all #includes to use
    instead.

    Link: https://lkml.kernel.org/r/20201227024446.17018-1-rdunlap@infradead.org
    Signed-off-by: Randy Dunlap
    Suggested-by: Christoph Hellwig
    Reviewed-by: Masahiro Yamada
    Cc: Jens Axboe
    Cc: Ley Foon Tan
    Cc: Mark Salter
    Cc: Aurelien Jacquiot
    Cc: Peter Zijlstra
    Cc: Arnd Bergmann
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds
    Signed-off-by: Sasha Levin

    Randy Dunlap
     

12 Jan, 2021

1 commit


08 Jan, 2021

1 commit


07 Jan, 2021

1 commit

  • This patch adds the V2X subsystem in which the different
    MUs to access the V2X are listed. Without this patch the DXL
    fails to enter KS1 as V2X resource is left ON and suspend
    power is very high.

    Signed-off-by: Stéphane Dion
    Signed-off-by: Nitin Garg
    Reviewed-by: Dong Aisheng

    Stéphane Dion
     

05 Jan, 2021

5 commits


04 Jan, 2021

1 commit

  • This is the 5.10.4 stable release

    * tag 'v5.10.4': (717 commits)
    Linux 5.10.4
    x86/CPU/AMD: Save AMD NodeId as cpu_die_id
    drm/edid: fix objtool warning in drm_cvt_modes()
    ...

    Signed-off-by: Jason Liu

    Conflicts:
    drivers/gpu/drm/imx/dcss/dcss-plane.c
    drivers/media/i2c/ov5640.c

    Jason Liu
     

30 Dec, 2020

12 commits

  • commit ca4e514774930f30b66375a974b5edcbebaf0e7e upstream.

    ARMv8.2 introduced TTBCR2, which shares TCR_EL1 with TTBCR.
    Gracefully handle traps to this register when HCR_EL2.TVM is set.

    Cc: stable@vger.kernel.org
    Reported-by: James Morse
    Signed-off-by: Marc Zyngier
    Signed-off-by: Greg Kroah-Hartman

    Marc Zyngier
     
  • commit f43cadef2df260101497a6aace05e24201f00202 upstream.

    FW has to configure devices' StreamIDs so that SMMU is able to lookup
    context and do proper translation later on. For Armada 7040 & 8040 and
    publicly available FW, most of the devices are configured properly,
    but some like ap_sdhci0, PCIe, NIC still remain unassigned which
    results in SMMU faults about unmatched StreamID (assuming
    ARM_SMMU_DISABLE_BYPASS_BY_DEFAUL=y).

    Since there is dependency on custom FW let SMMU be disabled by default.
    People who still willing to use SMMU need to enable manually and
    use ARM_SMMU_DISABLE_BYPASS_BY_DEFAUL=n (or via kernel command line)
    with extra caution.

    Fixes: 83a3545d9c37 ("arm64: dts: marvell: add SMMU support")
    Cc: # 5.9+
    Signed-off-by: Tomasz Nowicki
    Signed-off-by: Gregory CLEMENT
    Signed-off-by: Greg Kroah-Hartman

    Tomasz Nowicki
     
  • commit 50301e8815c681bc5de8ca7050c4b426923d4e19 upstream.

    DSS is IO coherent on AM65, so we should mark it as such with
    'dma-coherent' property in the DT file.

    Fixes: fc539b90eda2 ("arm64: dts: ti: am654: Add DSS node")
    Signed-off-by: Tomi Valkeinen
    Signed-off-by: Nishanth Menon
    Acked-by: Nikhil Devshatwar
    Cc: stable@vger.kernel.org # v5.8+
    Link: https://lore.kernel.org/r/20201102134650.55321-1-tomi.valkeinen@ti.com
    Signed-off-by: Greg Kroah-Hartman

    Tomi Valkeinen
     
  • [ Upstream commit 9e454e37dc7c0ee9e108d70b983e7a71332aedff ]

    According to the datasheet (Rev. 1.9) the RTL8211F requires at least
    72ms "for internal circuits settling time" before accessing the PHY
    egisters. On similar boards with the same PHY this fixes an issue where
    Ethernet link would not come up when using ip link set down/up.

    Fixes: 2cd2310fca4c ("arm64: dts: meson-g12b-ugoos-am6: add initial device-tree")
    Reviewed-by: Martin Blumenstingl
    Signed-off-by: Stefan Agner
    Signed-off-by: Kevin Hilman
    Link: https://lore.kernel.org/r/46298e66572784c44f873f1b71cc4ab3d8fc5aa6.1607363522.git.stefan@agner.ch
    Signed-off-by: Sasha Levin

    Stefan Agner
     
  • [ Upstream commit 3d07c3b3a886fefd583c1b485b5e4e3c4e2da493 ]

    According to the datasheet (Rev. 1.9) the RTL8211F requires at least
    72ms "for internal circuits settling time" before accessing the PHY
    registers. On similar boards with the same PHY this fixes an issue where
    Ethernet link would not come up when using ip link set down/up.

    Fixes: ed5e8f689154 ("arm64: dts: meson: g12a: x96-max: fix the Ethernet PHY reset line")
    Reviewed-by: Martin Blumenstingl
    Signed-off-by: Stefan Agner
    Signed-off-by: Kevin Hilman
    Link: https://lore.kernel.org/r/12506964ca5d5f936579a280ad0a7e7f9a0a2d4c.1607363522.git.stefan@agner.ch
    Signed-off-by: Sasha Levin

    Stefan Agner
     
  • [ Upstream commit c183c406c4321002fe85b345b51bc1a3a04b6d33 ]

    According to the datasheet (Rev. 1.9) the RTL8211F requires at least
    72ms "for internal circuits settling time" before accessing the PHY
    registers. This fixes an issue seen on ODROID-C2 where the Ethernet
    link doesn't come up when using ip link set down/up:
    [ 6630.714855] meson8b-dwmac c9410000.ethernet eth0: Link is Down
    [ 6630.785775] meson8b-dwmac c9410000.ethernet eth0: PHY [stmmac-0:00] driver [RTL8211F Gigabit Ethernet] (irq=36)
    [ 6630.893071] meson8b-dwmac c9410000.ethernet: Failed to reset the dma
    [ 6630.893800] meson8b-dwmac c9410000.ethernet eth0: stmmac_hw_setup: DMA engine initialization failed
    [ 6630.902835] meson8b-dwmac c9410000.ethernet eth0: stmmac_open: Hw setup failed

    Fixes: f29cabf240ed ("arm64: dts: meson: use the generic Ethernet PHY reset GPIO bindings")
    Reviewed-by: Martin Blumenstingl
    Signed-off-by: Stefan Agner
    Signed-off-by: Kevin Hilman
    Link: https://lore.kernel.org/r/4a322c198b86e4c8b3dda015560a683babea4d63.1607363522.git.stefan@agner.ch
    Signed-off-by: Sasha Levin

    Stefan Agner
     
  • [ Upstream commit 1c7412530d5d0e0a0b27f1642f5c13c8b9f36f05 ]

    According to the datasheet (Rev. 1.9) the RTL8211F requires at least
    72ms "for internal circuits settling time" before accessing the PHY
    registers. This fixes an issue where the Ethernet link doesn't come up
    when using ip link set down/up:
    [ 29.360965] meson8b-dwmac ff3f0000.ethernet eth0: Link is Down
    [ 34.569012] meson8b-dwmac ff3f0000.ethernet eth0: PHY [0.0:00] driver [RTL8211F Gigabit Ethernet] (irq=31)
    [ 34.676732] meson8b-dwmac ff3f0000.ethernet: Failed to reset the dma
    [ 34.678874] meson8b-dwmac ff3f0000.ethernet eth0: stmmac_hw_setup: DMA engine initialization failed
    [ 34.687850] meson8b-dwmac ff3f0000.ethernet eth0: stmmac_open: Hw setup failed

    Fixes: 658e4129bb81 ("arm64: dts: meson: g12b: odroid-n2: add the Ethernet PHY reset line")
    Reviewed-by: Martin Blumenstingl
    Signed-off-by: Stefan Agner
    Signed-off-by: Kevin Hilman
    Link: https://lore.kernel.org/r/df3f5c4fc6e43c55429fd3662a636036a21eed49.1607363522.git.stefan@agner.ch
    Signed-off-by: Sasha Levin

    Stefan Agner
     
  • [ Upstream commit 94dad6bed3c86c00050bf7c2b2ad6b630facae31 ]

    For UARTs, the local pull-ups should be on the RX pin, not the TX pin.
    UARTs transmit active-low, so a disconnected RX pin should be pulled
    high instead of left floating to prevent noise being interpreted as
    transmissions.

    This gets rid of bogus sysrq events when the UART console is not
    connected.

    Fixes: 52e02d377a72 ("arm64: dts: rockchip: add core dtsi file for RK3328 SoCs")
    Signed-off-by: Chen-Yu Tsai
    Link: https://lore.kernel.org/r/20201204064805.6480-1-wens@kernel.org
    Signed-off-by: Heiko Stuebner
    Signed-off-by: Sasha Levin

    Chen-Yu Tsai
     
  • [ Upstream commit 929c1f3384d7e5cd319d03242cb925c3f91236f7 ]

    Previously we were always returning a tag inclusion mask of zero via
    PR_GET_TAGGED_ADDR_CTRL if TCF0 was set to NONE. Fix it by making
    the code for the NONE case match the others.

    Signed-off-by: Peter Collingbourne
    Link: https://linux-review.googlesource.com/id/Iefbea66cf7d2b4c80b82f9639b9ea7f33f7fac53
    Fixes: af5ce95282dc ("arm64: mte: Allow user control of the generated random tags via prctl()")
    Reviewed-by: Catalin Marinas
    Link: https://lore.kernel.org/r/20201203075110.2781021-1-pcc@google.com
    Signed-off-by: Will Deacon
    Signed-off-by: Sasha Levin

    Peter Collingbourne
     
  • [ Upstream commit b6a1c8a1eaa73b1e2ae251399308e9445d74cef7 ]

    The freqency 1512000000 should be 1500000000.

    Signed-off-by: Dongjin Kim
    Fixes: 3d9e76483049 ("arm64: dts: meson-sm1-sei610: enable DVFS")
    Reviewed-by: Neil Armstrong
    Signed-off-by: Kevin Hilman
    Link: https://lore.kernel.org/r/20201130060320.GA30098@anyang-linuxfactory-or-kr
    Signed-off-by: Sasha Levin

    Dongjin Kim
     
  • [ Upstream commit b6c605e00ce8910d7ec3d9a54725d78b14db49b9 ]

    The max frequency for the w25q32 (VIM v1.2) and w25q128 (VIM v1.4) spifc
    chip should be 104Mhz not 30MHz.

    Fixes: b8b74dda3908 ("ARM64: dts: meson-gxm: Add support for Khadas VIM2")
    Signed-off-by: Artem Lapkin
    Reviewed-by: Neil Armstrong
    Signed-off-by: Kevin Hilman
    Link: https://lore.kernel.org/r/20201125024001.19036-1-christianshewitt@gmail.com
    Signed-off-by: Sasha Levin

    Artem Lapkin
     
  • [ Upstream commit f55d373f7953909160cb4c1398f62123cdbe7650 ]

    The "pins" property takes an array of pin _names_, not pin numbers. Fix
    this.

    Tested-by: Steev Klimaszewski
    Fixes: 44acee207844 ("arm64: dts: qcom: Add Lenovo Yoga C630")
    Link: https://lore.kernel.org/r/20201130170028.319798-1-bjorn.andersson@linaro.org
    Signed-off-by: Bjorn Andersson
    Signed-off-by: Sasha Levin

    Bjorn Andersson