1. 10 Jul, 2020 11 commits
    • Linus Torvalds's avatar
      Merge tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux · f4c8824c
      Linus Torvalds authored
      Pull arm64 fixes from Will Deacon:
       "An unfortunately large collection of arm64 fixes for -rc5.
      
        Some of this is absolutely trivial, but the alternatives, vDSO and CPU
        errata workaround fixes are significant. At least people are finding
        and fixing these things, I suppose.
      
         - Fix workaround for CPU erratum #1418040 to disable the compat vDSO
      
         - Fix Oops when single-stepping with KGDB
      
         - Fix memory attributes for hypervisor device mappings at EL2
      
         - Fix memory leak in PSCI and remove useless variable assignment
      
         - Fix up some comments and asm labels in our entry code
      
         - Fix broken register table formatting in our generated html docs
      
         - Fix missing NULL sentinel in CPU errata workaround list
      
         - Fix patching of branches in alternative instruction sections"
      
      * tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux:
        arm64/alternatives: don't patch up internal branches
        arm64: Add missing sentinel to erratum_1463225
        arm64: Documentation: Fix broken table in generated HTML
        arm64: kgdb: Fix single-step exception handling oops
        arm64: entry: Tidy up block comments and label numbers
        arm64: Rework ARM_ERRATUM_1414080 handling
        arm64: arch_timer: Disable the compat vdso for cores affected by ARM64_WORKAROUND_1418040
        arm64: arch_timer: Allow an workaround descriptor to disable compat vdso
        arm64: Introduce a way to disable the 32bit vdso
        arm64: entry: Fix the typo in the comment of el1_dbg()
        drivers/firmware/psci: Assign @err directly in hotplug_tests()
        drivers/firmware/psci: Fix memory leakage in alloc_init_cpu_groups()
        KVM: arm64: Fix definition of PAGE_HYP_DEVICE
      f4c8824c
    • Linus Torvalds's avatar
      Merge tag 's390-5.8-5' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux · e8749d06
      Linus Torvalds authored
      Pull s390 fixes from Heiko Carstens:
       "This is mainly due to the fact that Gerald Schaefer's and also my old
        email addresses currently do not work any longer. Therefore we decided
        to switch to new email addresses and reflect that in the MAINTAINERS
        file.
      
         - Update email addresses in MAINTAINERS file and add .mailmap entries
           for Gerald Schaefer and Heiko Carstens.
      
         - Fix huge pte soft dirty copying"
      
      * tag 's390-5.8-5' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux:
        MAINTAINERS: update email address for Gerald Schaefer
        MAINTAINERS: update email address for Heiko Carstens
        s390/mm: fix huge pte soft dirty copying
      e8749d06
    • Linus Torvalds's avatar
      Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm · cb24c61b
      Linus Torvalds authored
      Pull vkm fixes from Paolo Bonzini:
       "Two simple but important bugfixes"
      
      * tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm:
        KVM: MIPS: Fix build errors for 32bit kernel
        KVM: nVMX: fixes for preemption timer migration
      cb24c61b
    • Linus Torvalds's avatar
      Merge tag 'mmc-v5.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc · d45f47a4
      Linus Torvalds authored
      Pull MMC fixes from Ulf Hansson:
      
       - Override DLL_CONFIG only with valid values in sdhci-msm
      
       - Get rid of of_match_ptr() macro to fix warning in owl-mmc
      
       - Limit segments to 1 to fix meson-gx G12A/G12B SoCs
      
      * tag 'mmc-v5.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc:
        mmc: sdhci-msm: Override DLL_CONFIG only if the valid value is supplied
        mmc: owl-mmc: Get rid of of_match_ptr() macro
        mmc: meson-gx: limit segments to 1 when dram-access-quirk is needed
      d45f47a4
    • Gerald Schaefer's avatar
    • Heiko Carstens's avatar
      2c08f65f
    • Huacai Chen's avatar
      KVM: MIPS: Fix build errors for 32bit kernel · 3d9fdc25
      Huacai Chen authored
      Commit dc6d95b1 ("KVM: MIPS: Add more MMIO load/store
      instructions emulation") introduced some 64bit load/store instructions
      emulation which are unavailable on 32bit platform, and it causes build
      errors:
      
      arch/mips/kvm/emulate.c: In function 'kvm_mips_emulate_store':
      arch/mips/kvm/emulate.c:1734:6: error: right shift count >= width of type [-Werror]
            ((vcpu->arch.gprs[rt] >> 56) & 0xff);
            ^
      arch/mips/kvm/emulate.c:1738:6: error: right shift count >= width of type [-Werror]
            ((vcpu->arch.gprs[rt] >> 48) & 0xffff);
            ^
      arch/mips/kvm/emulate.c:1742:6: error: right shift count >= width of type [-Werror]
            ((vcpu->arch.gprs[rt] >> 40) & 0xffffff);
            ^
      arch/mips/kvm/emulate.c:1746:6: error: right shift count >= width of type [-Werror]
            ((vcpu->arch.gprs[rt] >> 32) & 0xffffffff);
            ^
      arch/mips/kvm/emulate.c:1796:6: error: left shift count >= width of type [-Werror]
            (vcpu->arch.gprs[rt] << 32);
            ^
      arch/mips/kvm/emulate.c:1800:6: error: left shift count >= width of type [-Werror]
            (vcpu->arch.gprs[rt] << 40);
            ^
      arch/mips/kvm/emulate.c:1804:6: error: left shift count >= width of type [-Werror]
            (vcpu->arch.gprs[rt] << 48);
            ^
      arch/mips/kvm/emulate.c:1808:6: error: left shift count >= width of type [-Werror]
            (vcpu->arch.gprs[rt] << 56);
            ^
      cc1: all warnings being treated as errors
      make[3]: *** [arch/mips/kvm/emulate.o] Error 1
      
      So, use #if defined(CONFIG_64BIT) && defined(CONFIG_KVM_MIPS_VZ) to
      guard the 64bit load/store instructions emulation.
      Reported-by: default avatarkernel test robot <lkp@intel.com>
      Fixes: dc6d95b1 ("KVM: MIPS: Add more MMIO load/store instructions emulation")
      Signed-off-by: default avatarHuacai Chen <chenhc@lemote.com>
      Message-Id: <1594365797-536-1-git-send-email-chenhc@lemote.com>
      Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      3d9fdc25
    • Paolo Bonzini's avatar
      KVM: nVMX: fixes for preemption timer migration · 83d31e52
      Paolo Bonzini authored
      Commit 850448f3 ("KVM: nVMX: Fix VMX preemption timer migration",
      2020-06-01) accidentally broke nVMX live migration from older version
      by changing the userspace ABI.  Restore it and, while at it, ensure
      that vmx->nested.has_preemption_timer_deadline is always initialized
      according to the KVM_STATE_VMX_PREEMPTION_TIMER_DEADLINE flag.
      
      Cc: Makarand Sonare <makarandsonare@google.com>
      Fixes: 850448f3 ("KVM: nVMX: Fix VMX preemption timer migration")
      Reviewed-by: default avatarJim Mattson <jmattson@google.com>
      Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      83d31e52
    • Linus Torvalds's avatar
      Merge tag 'drm-fixes-2020-07-10' of git://anongit.freedesktop.org/drm/drm · 42f82040
      Linus Torvalds authored
      Pull drm fixes from Dave Airlie:
       "I've been off most of the week, but some fixes have piled up. Seems a
        bit busier than last week, but they are pretty spread out across a
        bunch of drivers, none of them seem that big or worried me too much.
      
        amdgpu:
         - Fix a suspend/resume issue with PSP
         - Backlight fix for Renoir
         - Fix for gpu recovery debugging
      
        radeon:
         - Fix a double free in error path
      
        i915:
         - fbc fencing fix
         - debugfs panic fix
         - gem vma constuction fix
         - gem pin under vm->nutex fix
      
        nouveau:
         - SVM fixes
         - display fixes
      
        meson:
         - OSD burst length fixes
      
        hibmc:
         - runtime warning fix
      
        mediatek:
         - cmdq, mmsys fixes
         - visibility check fixes"
      
      * tag 'drm-fixes-2020-07-10' of git://anongit.freedesktop.org/drm/drm: (24 commits)
        drm/amdgpu: don't do soft recovery if gpu_recovery=0
        drm/radeon: fix double free
        drm/amd/display: add dmcub check on RENOIR
        drm/amdgpu: add TMR destory function for psp
        drm/amdgpu: asd function needs to be unloaded in suspend phase
        drm/hisilicon/hibmc: Move drm_fbdev_generic_setup() down to avoid the splat
        drm/nouveau/nouveau: fix page fault on device private memory
        drm/nouveau/svm: fix migrate page regression
        drm/nouveau/i2c/g94-: increase NV_PMGR_DP_AUXCTL_TRANSACTREQ timeout
        drm/nouveau/kms/nv50-: bail from nv50_audio_disable() early if audio not enabled
        drm/i915/gt: Pin the rings before marking active
        drm/i915: Also drop vm.ref along error paths for vma construction
        drm/i915: Drop vm.ref for duplicate vma on construction
        drm/i915/fbc: Fix fence_y_offset handling
        drm/i915: Skip stale object handle for debugfs per-file-stats
        drm/mediatek: mtk_hdmi: Remove debug messages for function calls
        drm/mediatek: mtk_mt8173_hdmi_phy: Remove unnused const variables
        drm/mediatek: Delete not used of_device_get_match_data
        drm/mediatek: Remove unnecessary conversion to bool
        drm/meson: viu: fix setting the OSD burst length in VIU_OSD1_FIFO_CTRL_STAT
        ...
      42f82040
    • Cesar Eduardo Barros's avatar
      Restore gcc check in mips asm/unroll.h · d4e60453
      Cesar Eduardo Barros authored
      While raising the gcc version requirement to 4.9, the compile-time check
      in the unroll macro was accidentally changed from being used on gcc and
      clang to being used on clang only.
      
      Restore the gcc check, changing it from "gcc >= 4.7" to "all gcc".
      
      [ We should probably remove this all entirely: if we remove the check
        for CLANG, then the check for GCC can go away. Older versions of clang
        are not really appropriate or supported for kernel builds - Linus ]
      
      Fixes: 6ec4476a ("Raise gcc version requirement to 4.9")
      Signed-off-by: default avatarCesar Eduardo Barros <cesarb@cesarb.eti.br>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      d4e60453
    • Rikard Falkeborn's avatar
      kbuild: Move -Wtype-limits to W=2 · 355a3587
      Rikard Falkeborn authored
      -Wtype-limits is included in -Wextra which is added at W=1. It warns
      (among other things) that 'comparison of an unsigned variable `< 0` is
      always false. This causes noisy warnings, especially when used in
      macros, hence it is more suitable for W=2.
      
      Link: https://lore.kernel.org/lkml/CAHk-=wiKCXEWKJ9dWUimGbrVRo_N2RosESUw8E7m9AEtyZcu=w@mail.gmail.com/Signed-off-by: default avatarRikard Falkeborn <rikard.falkeborn@gmail.com>
      Suggested-by: default avatarArnd Bergmann <arnd@arndb.de>
      Acked-by: default avatarAndy Shevchenko <andy.shevchenko@gmail.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      355a3587
  2. 09 Jul, 2020 15 commits
  3. 08 Jul, 2020 14 commits