06 Mar, 2021

1 commit

  • After reduce the panel RM67191's pixel clock from 132MHz to
    121MHz by 'commit 4193a9c3254b ("MLK-3056-2 drm/panel: rm67191:
    change clock rate to 121MHz for default mod")', the disp_apb
    clock rate needs to be configured properly to avoid the issue
    described in LF-33886 ticket with currrent disp_apb clock config
    like below:

    sys1_pll_out 5 5 0 800000000 0 0 50000
    sys1_pll_800m 5 5 0 800000000 0 0 50000
    disp_apb 1 1 0 133333334 0 0 50000
    disp_apb_root_clk 2 2 0 133333334 0 0 50000

    And configure disp_apb rate to 25MHz like below can solve this
    issue:

    sys1_pll_out 5 5 0 800000000 0 0 50000
    sys1_pll_800m 5 5 0 800000000 0 0 50000
    disp_apb 1 1 0 25000000 0 0 50000
    disp_apb_root_clk 2 2 0 25000000 0 0 50000

    Signed-off-by: Fancy Fang
    Reviewed-by: Robby Cai
    Acked-by: Jason Liu

    Fancy Fang
     

04 Mar, 2021

1 commit


23 Feb, 2021

1 commit


03 Feb, 2021

1 commit


30 Jan, 2021

1 commit


28 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

25 commits

  • This is the 5.10.9 stable release

    * tag 'v5.10.9': (153 commits)
    Linux 5.10.9
    netfilter: nf_nat: Fix memleak in nf_nat_init
    netfilter: conntrack: fix reading nf_conntrack_buckets
    ...

    Signed-off-by: Jason Liu

    Jason Liu
     
  • This is the 5.10.8 stable release

    * tag 'v5.10.8': (104 commits)
    Linux 5.10.8
    tools headers UAPI: Sync linux/fscrypt.h with the kernel sources
    drm/panfrost: Remove unused variables in panfrost_job_close()
    ...

    Signed-off-by: Jason Liu

    Jason Liu
     
  • This is the 5.10.7 stable release

    * tag 'v5.10.7': (144 commits)
    Linux 5.10.7
    scsi: target: Fix XCOPY NAA identifier lookup
    rtlwifi: rise completion at the last step of firmware callback
    ...

    Signed-off-by: Jason Liu

    Jason Liu
     
  • This is the 5.10.5 stable release

    * tag 'v5.10.5': (63 commits)
    Linux 5.10.5
    device-dax: Fix range release
    ext4: avoid s_mb_prefetch to be zero in individual scenarios
    ...

    Signed-off-by: Jason Liu

    Jason Liu
     
  • add the gpio-scu node and enable on-board phy for
    enet0 by default.

    remove "enable-active-high" property from mii_select node to
    use the enet module.

    Signed-off-by: Shenwei Wang

    Shenwei Wang
     
  • commit 7cd1af107a92eb63b93a96dc07406dcbc5269436 upstream.

    We should call irq trace only if interrupt is going to be enabled during
    excecption handling. Otherwise, it results in following warning during
    boot with lock debugging enabled.

    [ 0.000000] ------------[ cut here ]------------
    [ 0.000000] DEBUG_LOCKS_WARN_ON(early_boot_irqs_disabled)
    [ 0.000000] WARNING: CPU: 0 PID: 0 at kernel/locking/lockdep.c:4085 lockdep_hardirqs_on_prepare+0x22a/0x22e
    [ 0.000000] Modules linked in:
    [ 0.000000] CPU: 0 PID: 0 Comm: swapper Not tainted 5.10.0-00022-ge20097fb37e2-dirty #548
    [ 0.000000] epc: c005d5d4 ra : c005d5d4 sp : c1c01e80
    [ 0.000000] gp : c1d456e0 tp : c1c0a980 t0 : 00000000
    [ 0.000000] t1 : ffffffff t2 : 00000000 s0 : c1c01ea0
    [ 0.000000] s1 : c100f360 a0 : 0000002d a1 : c00666ee
    [ 0.000000] a2 : 00000000 a3 : 00000000 a4 : 00000000
    [ 0.000000] a5 : 00000000 a6 : c1c6b390 a7 : 3ffff00e
    [ 0.000000] s2 : c2384fe8 s3 : 00000000 s4 : 00000001
    [ 0.000000] s5 : c1c0a980 s6 : c1d48000 s7 : c1613b4c
    [ 0.000000] s8 : 00000fff s9 : 80000200 s10: c1613b40
    [ 0.000000] s11: 00000000 t3 : 00000000 t4 : 00000000
    [ 0.000000] t5 : 00000001 t6 : 00000000

    Fixes: 3c4697982982 ("riscv:Enable LOCKDEP_SUPPORT & fixup TRACE_IRQFLAGS_SUPPORT")

    Signed-off-by: Atish Patra
    Signed-off-by: Palmer Dabbelt
    Signed-off-by: Greg Kroah-Hartman

    Atish Patra
     
  • [ Upstream commit a8f7e08a81708920a928664a865208fdf451c49f ]

    The IN and OUT instructions with port address as an immediate operand
    only use an 8-bit immediate (imm8). The current VC handler uses the
    entire 32-bit immediate value but these instructions only set the first
    bytes.

    Cast the operand to an u8 for that.

    [ bp: Massage commit message. ]

    Fixes: 25189d08e5168 ("x86/sev-es: Add support for handling IOIO exceptions")
    Signed-off-by: Peter Gonda
    Signed-off-by: Borislav Petkov
    Acked-by: David Rientjes
    Link: https://lkml.kernel.org/r/20210105163311.221490-1-pgonda@google.com
    Signed-off-by: Sasha Levin

    Peter Gonda
     
  • [ Upstream commit bac717171971176b78c72d15a8b6961764ab197f ]

    dtc points out that the interrupts for some devices are not parsable:

    picoxcell-pc3x2.dtsi:45.19-49.5: Warning (interrupts_property): /paxi/gem@30000: Missing interrupt-parent
    picoxcell-pc3x2.dtsi:51.21-55.5: Warning (interrupts_property): /paxi/dmac@40000: Missing interrupt-parent
    picoxcell-pc3x2.dtsi:57.21-61.5: Warning (interrupts_property): /paxi/dmac@50000: Missing interrupt-parent
    picoxcell-pc3x2.dtsi:233.21-237.5: Warning (interrupts_property): /rwid-axi/axi2pico@c0000000: Missing interrupt-parent

    There are two VIC instances, so it's not clear which one needs to be
    used. I found the BSP sources that reference VIC0, so use that:

    https://github.com/r1mikey/meta-picoxcell/blob/master/recipes-kernel/linux/linux-picochip-3.0/0001-picoxcell-support-for-Picochip-picoXcell-SoC.patch

    Acked-by: Jamie Iles
    Link: https://lore.kernel.org/r/20201230152010.3914962-1-arnd@kernel.org'
    Signed-off-by: Arnd Bergmann
    Signed-off-by: Sasha Levin

    Arnd Bergmann
     
  • [ Upstream commit 8a48c0a3360bf2bf4f40c980d0ec216e770e58ee ]

    fs/dax.c uses copy_user_page() but ARC does not provide that interface,
    resulting in a build error.

    Provide copy_user_page() in .

    ../fs/dax.c: In function 'copy_cow_page_dax':
    ../fs/dax.c:702:2: error: implicit declaration of function 'copy_user_page'; did you mean 'copy_to_user_page'? [-Werror=implicit-function-declaration]

    Reported-by: kernel test robot
    Signed-off-by: Randy Dunlap
    Cc: Vineet Gupta
    Cc: linux-snps-arc@lists.infradead.org
    Cc: Dan Williams
    #Acked-by: Vineet Gupta # v1
    Cc: Andrew Morton
    Cc: Matthew Wilcox
    Cc: Jan Kara
    Cc: linux-fsdevel@vger.kernel.org
    Cc: linux-nvdimm@lists.01.org
    #Reviewed-by: Ira Weiny # v2
    Signed-off-by: Vineet Gupta
    Signed-off-by: Sasha Levin

    Randy Dunlap
     
  • [ Upstream commit 7887cc89d5851cbdec49219e9614beec776af150 ]

    A too high brightness by default (default is max) makes the
    screen go blank. Set this to 15 as in the Vendor tree.

    Signed-off-by: Linus Walleij
    Cc: Stephan Gerhold
    Link: https://lore.kernel.org/r/20201214223413.253893-1-linus.walleij@linaro.org'
    Signed-off-by: Arnd Bergmann
    Signed-off-by: Sasha Levin

    Linus Walleij
     
  • [ Upstream commit c0bc969c176b10598b31d5d1a5edf9a5261f0a9f ]

    xt875 comes up with a iva voltage of 1375000 and android runs at this too. fix
    maximum voltage to be consistent with this.

    Signed-off-by: Carl Philipp Klemm
    Signed-off-by: Tony Lindgren
    Signed-off-by: Sasha Levin

    Carl Philipp Klemm
     
  • [ Upstream commit c5e6ae563c802c4d828d42e134af64004db2e58c ]

    If you run 'make uImage uImage.gz' with the parallel option, uImage.gz
    will be created by two threads simultaneously.

    This is because arch/arc/Makefile does not specify the dependency
    between uImage and uImage.gz. Hence, GNU Make assumes they can be
    built in parallel. One thread descends into arch/arc/boot/ to create
    uImage, and another to create uImage.gz.

    Please notice the same log is displayed twice in the following steps:

    $ export CROSS_COMPILE=
    $ make -s ARCH=arc defconfig
    $ make -j$(nproc) ARCH=arc uImage uImage.gz
    [ snip ]
    LD vmlinux
    SORTTAB vmlinux
    SYSMAP System.map
    OBJCOPY arch/arc/boot/vmlinux.bin
    OBJCOPY arch/arc/boot/vmlinux.bin
    GZIP arch/arc/boot/vmlinux.bin.gz
    GZIP arch/arc/boot/vmlinux.bin.gz
    UIMAGE arch/arc/boot/uImage.gz
    UIMAGE arch/arc/boot/uImage.gz
    Image Name: Linux-5.10.0-rc4-00003-g62f23044
    Created: Sun Nov 22 02:52:26 2020
    Image Type: ARC Linux Kernel Image (gzip compressed)
    Data Size: 2109376 Bytes = 2059.94 KiB = 2.01 MiB
    Load Address: 80000000
    Entry Point: 80004000
    Image arch/arc/boot/uImage is ready
    Image Name: Linux-5.10.0-rc4-00003-g62f23044
    Created: Sun Nov 22 02:52:26 2020
    Image Type: ARC Linux Kernel Image (gzip compressed)
    Data Size: 2815455 Bytes = 2749.47 KiB = 2.69 MiB
    Load Address: 80000000
    Entry Point: 80004000

    This is a race between the two threads trying to write to the same file
    arch/arc/boot/uImage.gz. This is a potential problem that can generate
    a broken file.

    I fixed a similar problem for ARM by commit 3939f3345050 ("ARM: 8418/1:
    add boot image dependencies to not generate invalid images").

    I highly recommend to avoid such build rules that cause a race condition.

    Move the uImage rule to arch/arc/Makefile.

    Another strangeness is that arch/arc/boot/Makefile compares the
    timestamps between $(obj)/uImage and $(obj)/uImage.*:

    $(obj)/uImage: $(obj)/uImage.$(suffix-y)
    @ln -sf $(notdir $
    Signed-off-by: Vineet Gupta
    Signed-off-by: Sasha Levin

    Masahiro Yamada
     
  • [ Upstream commit 0cfccb3c04934cdef42ae26042139f16e805b5f7 ]

    The top-level boot_targets (uImage and uImage.*) should be phony
    targets. They just let Kbuild descend into arch/arc/boot/ and create
    files there.

    If a file exists in the top directory with the same name, the boot
    image will not be created.

    You can confirm it by the following steps:

    $ export CROSS_COMPILE=
    $ make -s ARCH=arc defconfig all # vmlinux will be built
    $ touch uImage.gz
    $ make ARCH=arc uImage.gz
    CALL scripts/atomic/check-atomics.sh
    CALL scripts/checksyscalls.sh
    CHK include/generated/compile.h
    # arch/arc/boot/uImage.gz is not created

    Specify the targets as PHONY to fix this.

    Signed-off-by: Masahiro Yamada
    Signed-off-by: Vineet Gupta
    Signed-off-by: Sasha Levin

    Masahiro Yamada
     
  • [ Upstream commit f2712ec76a5433e5ec9def2bd52a95df1f96d050 ]

    arch/arc/boot/Makefile supports uImage.lzma, but you cannot do
    'make uImage.lzma' because the corresponding target is missing
    in arch/arc/Makefile. Add it.

    I also changed the assignment operator '+=' to ':=' since this is the
    only place where we expect this variable to be set.

    Signed-off-by: Masahiro Yamada
    Signed-off-by: Vineet Gupta
    Signed-off-by: Sasha Levin

    Masahiro Yamada
     
  • [ Upstream commit 9836720911cfec25d3fbdead1c438bf87e0f2841 ]

    The deb-pkg builds for ARCH=arc fail.

    $ export CROSS_COMPILE=
    $ make -s ARCH=arc defconfig
    $ make ARCH=arc bindeb-pkg
    SORTTAB vmlinux
    SYSMAP System.map
    MODPOST Module.symvers
    make KERNELRELEASE=5.10.0-rc4 ARCH=arc KBUILD_BUILD_VERSION=2 -f ./Makefile intdeb-pkg
    sh ./scripts/package/builddeb
    cp: cannot stat 'arch/arc/boot/bootpImage': No such file or directory
    make[4]: *** [scripts/Makefile.package:87: intdeb-pkg] Error 1
    make[3]: *** [Makefile:1527: intdeb-pkg] Error 2
    make[2]: *** [debian/rules:13: binary-arch] Error 2
    dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
    make[1]: *** [scripts/Makefile.package:83: bindeb-pkg] Error 2
    make: *** [Makefile:1527: bindeb-pkg] Error 2

    The reason is obvious; arch/arc/Makefile sets $(boot)/bootpImage as
    the default image, but there is no rule to build it.

    Remove the meaningless KBUILD_IMAGE assignment so it will fallback
    to the default vmlinux. With this change, you can build the deb package.

    I removed the 'bootpImage' target as well. At best, it provides
    'make bootpImage' as an alias of 'make vmlinux', but I do not see
    much sense in doing so.

    Signed-off-by: Masahiro Yamada
    Signed-off-by: Vineet Gupta
    Signed-off-by: Sasha Levin

    Masahiro Yamada
     
  • commit 69e976831cd53f9ba304fd20305b2025ecc78eab upstream.

    LLVM-built Linux triggered a boot hangup with KASLR enabled.

    arch/mips/kernel/relocate.c:get_random_boot() uses linux_banner,
    which is a string constant, as a random seed, but accesses it
    as an array of unsigned long (in rotate_xor()).
    When the address of linux_banner is not aligned to sizeof(long),
    such access emits unaligned access exception and hangs the kernel.

    Use PTR_ALIGN() to align input address to sizeof(long) and also
    align down the input length to prevent possible access-beyond-end.

    Fixes: 405bc8fd12f5 ("MIPS: Kernel: Implement KASLR using CONFIG_RELOCATABLE")
    Cc: stable@vger.kernel.org # 4.7+
    Signed-off-by: Alexander Lobakin
    Tested-by: Nathan Chancellor
    Reviewed-by: Kees Cook
    Signed-off-by: Thomas Bogendoerfer
    Signed-off-by: Greg Kroah-Hartman

    Alexander Lobakin
     
  • commit 698222457465ce343443be81c5512edda86e5914 upstream.

    Patches that introduced NT_FILE and NT_SIGINFO notes back in 2012
    had taken care of native (fs/binfmt_elf.c) and compat (fs/compat_binfmt_elf.c)
    coredumps; unfortunately, compat on mips (which does not go through the
    usual compat_binfmt_elf.c) had not been noticed.

    As the result, both N32 and O32 coredumps on 64bit mips kernels
    have those sections malformed enough to confuse the living hell out of
    all gdb and readelf versions (up to and including the tip of binutils-gdb.git).

    Longer term solution is to make both O32 and N32 compat use the
    regular compat_binfmt_elf.c, but that's too much for backports. The minimal
    solution is to do in arch/mips/kernel/binfmt_elf[on]32.c the same thing
    those patches have done in fs/compat_binfmt_elf.c

    Cc: stable@kernel.org # v3.7+
    Signed-off-by: Al Viro
    Signed-off-by: Thomas Bogendoerfer
    Signed-off-by: Greg Kroah-Hartman

    Al Viro
     
  • commit 4d4f9c1a17a3480f8fe523673f7232b254d724b7 upstream.

    The compressed payload is not necesarily 4-byte aligned, at least when
    compiling with Clang. In that case, the 4-byte value appended to the
    compressed payload that corresponds to the uncompressed kernel image
    size must be read using get_unaligned_le32().

    This fixes Clang-built kernels not booting on MIPS (tested on a Ingenic
    JZ4770 board).

    Fixes: b8f54f2cde78 ("MIPS: ZBOOT: copy appended dtb to the end of the kernel")
    Cc: # v4.7
    Signed-off-by: Paul Cercueil
    Reviewed-by: Nick Desaulniers
    Reviewed-by: Philippe Mathieu-Daudé
    Signed-off-by: Thomas Bogendoerfer
    Signed-off-by: Greg Kroah-Hartman

    Paul Cercueil
     
  • commit 5b058973d3205578aa6c9a71392e072a11ca44ef upstream.

    When building mips tinyconfig with clang the following warning show up:

    arch/mips/lib/uncached.c:45:6: warning: variable 'sp' is uninitialized when used here [-Wuninitialized]
    if (sp >= (long)CKSEG0 && sp < (long)CKSEG2)
    ^~
    arch/mips/lib/uncached.c:40:18: note: initialize the variable 'sp' to silence this warning
    register long sp __asm__("$sp");
    ^
    = 0
    1 warning generated.

    Rework to make an explicit inline move, instead of the non-standard use
    of specifying registers for local variables. This is what's written
    from the gcc-10 manual [1] about specifying registers for local
    variables:

    "6.47.5.2 Specifying Registers for Local Variables
    .................................................
    [...]

    "The only supported use for this feature is to specify registers for
    input and output operands when calling Extended 'asm' (*note Extended
    Asm::). [...]".

    [1] https://docs.w3cub.com/gcc~10/local-register-variables
    Signed-off-by: Anders Roxell
    Reported-by: Nathan Chancellor
    Reported-by: Naresh Kamboju
    Reviewed-by: Nick Desaulniers
    Signed-off-by: Thomas Bogendoerfer
    Signed-off-by: Greg Kroah-Hartman

    Anders Roxell
     
  • commit ad4fddef5f2345aa9214e979febe2f47639c10d9 upstream.

    When building mips tinyconfig with clang the following error show up:

    WARNING: modpost: vmlinux.o(.text+0x1940c): Section mismatch in reference from the function r4k_cache_init() to the function .init.text:loongson3_sc_init()
    The function r4k_cache_init() references
    the function __init loongson3_sc_init().
    This is often because r4k_cache_init lacks a __init
    annotation or the annotation of loongson3_sc_init is wrong.

    Remove marked __init from function loongson3_sc_init(),
    mips_sc_probe_cm3(), and mips_sc_probe().

    Signed-off-by: Anders Roxell
    Reviewed-by: Nick Desaulniers
    Signed-off-by: Thomas Bogendoerfer
    Signed-off-by: Greg Kroah-Hartman

    Anders Roxell
     
  • commit c25a053e15778f6b4d6553708673736e27a6c2cf upstream.

    Use virtual address instead of physical address when translating
    the address to shadow memory by kasan_mem_to_shadow().

    Signed-off-by: Nick Hu
    Signed-off-by: Nylon Chen
    Fixes: b10d6bca8720 ("arch, drivers: replace for_each_membock() with for_each_mem_range()")
    Cc: stable@vger.kernel.org
    Signed-off-by: Palmer Dabbelt
    Signed-off-by: Greg Kroah-Hartman

    Nick Hu
     
  • commit 0aa2ec8a475fb505fd98d93bbcf4e03beeeebcb6 upstream.

    The patch fix commit: ad5d112 ("riscv: use vDSO common flow to
    reduce the latency of the time-related functions").

    The GENERIC_TIME_VSYSCALL should be CONFIG_GENERIC_TIME_VSYSCALL
    or vgettimeofday won't work.

    Signed-off-by: Guo Ren
    Reviewed-by: Pekka Enberg
    Fixes: ad5d1122b82f ("riscv: use vDSO common flow to reduce the latency of the time-related functions")
    Cc: stable@vger.kernel.org
    Signed-off-by: Palmer Dabbelt
    Signed-off-by: Greg Kroah-Hartman

    Guo Ren
     
  • commit cf7b2ae4d70432fa94ebba3fbaab825481ae7189 upstream.

    Properly return -ENOSYS for syscall -1 instead of leaving the return value
    uninitialized. This fixes the strace teststuite.

    Fixes: 5340627e3fe0 ("riscv: add support for SECCOMP and SECCOMP_FILTER")
    Cc: stable@vger.kernel.org
    Signed-off-by: Andreas Schwab
    Reviewed-by: Tycho Andersen
    Signed-off-by: Palmer Dabbelt
    Signed-off-by: Greg Kroah-Hartman

    Andreas Schwab
     
  • commit 0ea02c73775277001c651ad4a0e83781a9acf406 upstream.

    commit b91540d52a08 ("RISC-V: Add EFI runtime services") add
    a duplicated PAGE_KERNEL_EXEC, kill it.

    Signed-off-by: Kefeng Wang
    Reviewed-by: Pekka Enberg
    Reviewed-by: Atish Patra
    Fixes: b91540d52a08 ("RISC-V: Add EFI runtime services")
    Cc: stable@vger.kernel.org
    Signed-off-by: Palmer Dabbelt
    Signed-off-by: Greg Kroah-Hartman

    Kefeng Wang
     
  • commit ad0a6bad44758afa3b440c254a24999a0c7e35d5 upstream.

    We've observed crashes due to an empty cpu mask in
    hyperv_flush_tlb_others. Obviously the cpu mask in question is changed
    between the cpumask_empty call at the beginning of the function and when
    it is actually used later.

    One theory is that an interrupt comes in between and a code path ends up
    changing the mask. Move the check after interrupt has been disabled to
    see if it fixes the issue.

    Signed-off-by: Wei Liu
    Cc: stable@kernel.org
    Link: https://lore.kernel.org/r/20210105175043.28325-1-wei.liu@kernel.org
    Reviewed-by: Michael Kelley
    Signed-off-by: Greg Kroah-Hartman

    Wei Liu
     

17 Jan, 2021

5 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
     
  • commit ec76c2eea903947202098090bbe07a739b5246e9 upstream.

    On the GTA04A5 od->_driver_status was not set to BUS_NOTIFY_BIND_DRIVER
    during probe of the second mmc used for wifi. Therefore
    omap_device_late_idle idled the device during probing causing oopses when
    accessing the registers.

    It was not set because od->_state was set to OMAP_DEVICE_STATE_IDLE
    in the notifier callback. Therefore set od->_driver_status also in that
    case.

    This came apparent after commit 21b2cec61c04 ("mmc: Set
    PROBE_PREFER_ASYNCHRONOUS for drivers that existed in v4.4") causing this
    oops:

    omap_hsmmc 480b4000.mmc: omap_device_late_idle: enabled but no driver. Idling
    8] (omap_hsmmc_set_ios+0x11c/0x258)
    (omap_hsmmc_set_ios) from [] (mmc_power_up.part.8+0x3c/0xd0)
    (mmc_power_up.part.8) from [] (mmc_start_host+0x88/0x9c)
    (mmc_start_host) from [] (mmc_add_host+0x58/0x84)
    (mmc_add_host) from [] (omap_hsmmc_probe+0x5fc/0x8c0)
    (omap_hsmmc_probe) from [] (platform_drv_probe+0x48/0x98)
    (platform_drv_probe) from [] (really_probe+0x1dc/0x3b4)

    Fixes: 04abaf07f6d5 ("ARM: OMAP2+: omap_device: Sync omap_device and pm_runtime after probe defer")
    Fixes: 21b2cec61c04 ("mmc: Set PROBE_PREFER_ASYNCHRONOUS for drivers that existed in v4.4")
    Acked-by: Ulf Hansson
    Signed-off-by: Andreas Kemnade
    [tony@atomide.com: left out extra parens, trimmed description stack trace]
    Signed-off-by: Tony Lindgren
    Signed-off-by: Greg Kroah-Hartman

    Andreas Kemnade
     
  • commit 2ca408d9c749c32288bc28725f9f12ba30299e8f upstream.

    Commit

    121b32a58a3a ("x86/entry/32: Use IA32-specific wrappers for syscalls taking 64-bit arguments")

    converted native x86-32 which take 64-bit arguments to use the
    compat handlers to allow conversion to passing args via pt_regs.
    sys_fanotify_mark() was however missed, as it has a general compat
    handler. Add a config option that will use the syscall wrapper that
    takes the split args for native 32-bit.

    [ bp: Fix typo in Kconfig help text. ]

    Fixes: 121b32a58a3a ("x86/entry/32: Use IA32-specific wrappers for syscalls taking 64-bit arguments")
    Reported-by: Paweł Jasiak
    Signed-off-by: Brian Gerst
    Signed-off-by: Borislav Petkov
    Acked-by: Jan Kara
    Acked-by: Andy Lutomirski
    Link: https://lkml.kernel.org/r/20201130223059.101286-1-brgerst@gmail.com
    Signed-off-by: Greg Kroah-Hartman

    Brian Gerst