1. 13 Oct, 2021 1 commit
  2. 12 Oct, 2021 5 commits
    • Linus Torvalds's avatar
      Merge tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux · f4d0cc42
      Linus Torvalds authored
      Pull arm64 fixes from Catalin Marinas:
      
       - Fix CMA gigantic page order for 16K/64K page sizes
      
       - Fix section mismatch error in drivers/acpi/arm64/gtdt.c
      
      * tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux:
        acpi/arm64: fix next_platform_timer() section mismatch error
        arm64/hugetlb: fix CMA gigantic page order for non-4K PAGE_SIZE
      f4d0cc42
    • Linus Torvalds's avatar
      Merge tag 'platform-drivers-x86-v5.15-3' of... · ed472919
      Linus Torvalds authored
      Merge tag 'platform-drivers-x86-v5.15-3' of git://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86
      
      Pull x86 platform driver fixes from Hans de Goede:
       "A second (small) set of pdx86 bug-fixes and new hardware ids for 5.15"
      
      * tag 'platform-drivers-x86-v5.15-3' of git://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86:
        platform/x86: int1092: Fix non sequential device mode handling
        platform/x86: intel_skl_int3472: Correct null check
        platform/x86: gigabyte-wmi: add support for B550 AORUS ELITE AX V2
        platform/x86: amd-pmc: Add alternative acpi id for PMC controller
        platform/x86: intel_scu_ipc: Update timeout value in comment
        platform/x86: intel_scu_ipc: Increase virtual timeout to 10s
        platform/x86: intel_scu_ipc: Fix busy loop expiry time
        platform/x86: dell: Make DELL_WMI_PRIVACY depend on DELL_WMI
        platform/mellanox: mlxreg-io: Fix read access of n-bytes size attributes
        platform/mellanox: mlxreg-io: Fix argument base in kstrtou32() call
      ed472919
    • Jackie Liu's avatar
      acpi/arm64: fix next_platform_timer() section mismatch error · 596143e3
      Jackie Liu authored
      Fix modpost Section mismatch error in next_platform_timer().
      
        [...]
        WARNING: modpost: vmlinux.o(.text.unlikely+0x26e60): Section mismatch in reference from the function next_platform_timer() to the variable .init.data:acpi_gtdt_desc
        The function next_platform_timer() references
        the variable __initdata acpi_gtdt_desc.
        This is often because next_platform_timer lacks a __initdata
        annotation or the annotation of acpi_gtdt_desc is wrong.
      
        WARNING: modpost: vmlinux.o(.text.unlikely+0x26e64): Section mismatch in reference from the function next_platform_timer() to the variable .init.data:acpi_gtdt_desc
        The function next_platform_timer() references
        the variable __initdata acpi_gtdt_desc.
        This is often because next_platform_timer lacks a __initdata
        annotation or the annotation of acpi_gtdt_desc is wrong.
      
        ERROR: modpost: Section mismatches detected.
        Set CONFIG_SECTION_MISMATCH_WARN_ONLY=y to allow them.
        make[1]: *** [scripts/Makefile.modpost:59: vmlinux.symvers] Error 1
        make[1]: *** Deleting file 'vmlinux.symvers'
        make: *** [Makefile:1176: vmlinux] Error 2
        [...]
      
      Fixes: a712c3ed ("acpi/arm64: Add memory-mapped timer support in GTDT driver")
      Signed-off-by: default avatarJackie Liu <liuyun01@kylinos.cn>
      Acked-by: default avatarHanjun Guo <guohanjun@huawei.com>
      Link: https://lore.kernel.org/r/20210823092526.2407526-1-liu.yun@linux.devSigned-off-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
      596143e3
    • Linus Torvalds's avatar
      Merge tag 'linux-kselftest-kunit-fixes-5.15-rc6' of... · fa587876
      Linus Torvalds authored
      Merge tag 'linux-kselftest-kunit-fixes-5.15-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest
      
      Pull Kunit fixes from Shuah Khan:
      
       - Fixes to address the structleak plugin causing the stack frame size
         to grow immensely when used with KUnit. Fixes include adding a new
         makefile to disable structleak and using it from KUnit iio, device
         property, thunderbolt, and bitfield tests to disable it.
      
       - KUnit framework reference count leak in kfree_at_end
      
       - KUnit tool fix to resolve conflict between --json and --raw_output
         and generate correct test output in either case.
      
       - kernel-doc warnings due to mismatched arg names
      
      * tag 'linux-kselftest-kunit-fixes-5.15-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest:
        kunit: fix kernel-doc warnings due to mismatched arg names
        bitfield: build kunit tests without structleak plugin
        thunderbolt: build kunit tests without structleak plugin
        device property: build kunit tests without structleak plugin
        iio/test-format: build kunit tests without structleak plugin
        gcc-plugins/structleak: add makefile var for disabling structleak
        kunit: fix reference count leak in kfree_at_end
        kunit: tool: better handling of quasi-bool args (--json, --raw_output)
      fa587876
    • Linus Torvalds's avatar
      Merge branch 'for-5.15-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup · 459ea72c
      Linus Torvalds authored
      Pull cgroup fixes from Tejun Heo:
       "All documentation / comment updates"
      
      * 'for-5.15-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup:
        cgroupv2, docs: fix misinformation in "device controller" section
        cgroup/cpuset: Change references of cpuset_mutex to cpuset_rwsem
        docs/cgroup: remove some duplicate words
      459ea72c
  3. 11 Oct, 2021 15 commits
  4. 10 Oct, 2021 3 commits
    • Linus Torvalds's avatar
      Merge tag 'powerpc-5.15-3' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux · efb52a7d
      Linus Torvalds authored
      Pull powerpc fixes from Michael Ellerman:
       "A bit of a big batch, partly because I didn't send any last week, and
        also just because the BPF fixes happened to land this week.
      
        Summary:
      
         - Fix a regression hit by the IPR SCSI driver, introduced by the
           recent addition of MSI domains on pseries.
      
         - A big series including 8 BPF fixes, some with potential security
           impact and the rest various code generation issues.
      
         - Fix our program check assembler entry path, which was accidentally
           jumping into a gas macro and generating strange stack frames, which
           could confuse find_bug().
      
         - A couple of fixes, and related changes, to fix corner cases in our
           machine check handling.
      
         - Fix our DMA IOMMU ops, which were not always returning the optimal
           DMA mask, leading to at least one device falling back to 32-bit DMA
           when it shouldn't.
      
         - A fix for KUAP handling on 32-bit Book3S.
      
         - Fix crashes seen when kdumping on some pseries systems.
      
        Thanks to Naveen N. Rao, Nicholas Piggin, Alexey Kardashevskiy, Cédric
        Le Goater, Christophe Leroy, Mahesh Salgaonkar, Abdul Haleem,
        Christoph Hellwig, Johan Almbladh, Stan Johnson"
      
      * tag 'powerpc-5.15-3' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux:
        pseries/eeh: Fix the kdump kernel crash during eeh_pseries_init
        powerpc/32s: Fix kuap_kernel_restore()
        powerpc/pseries/msi: Add an empty irq_write_msi_msg() handler
        powerpc/64s: Fix unrecoverable MCE calling async handler from NMI
        powerpc/64/interrupt: Reconcile soft-mask state in NMI and fix false BUG
        powerpc/64: warn if local irqs are enabled in NMI or hardirq context
        powerpc/traps: do not enable irqs in _exception
        powerpc/64s: fix program check interrupt emergency stack path
        powerpc/bpf ppc32: Fix BPF_SUB when imm == 0x80000000
        powerpc/bpf ppc32: Do not emit zero extend instruction for 64-bit BPF_END
        powerpc/bpf ppc32: Fix JMP32_JSET_K
        powerpc/bpf ppc32: Fix ALU32 BPF_ARSH operation
        powerpc/bpf: Emit stf barrier instruction sequences for BPF_NOSPEC
        powerpc/security: Add a helper to query stf_barrier type
        powerpc/bpf: Fix BPF_SUB when imm == 0x80000000
        powerpc/bpf: Fix BPF_MOD when imm == 1
        powerpc/bpf: Validate branch ranges
        powerpc/lib: Add helper to check if offset is within conditional branch range
        powerpc/iommu: Report the correct most efficient DMA mask for PCI devices
      efb52a7d
    • Linus Torvalds's avatar
      Merge tag 'objtool_urgent_for_v5.15_rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 75cd9b01
      Linus Torvalds authored
      Pull objtool fixes from Borislav Petkov:
      
       - Remove an extra section.len member in favour of section.sh_size
      
       - Align .altinstructions section creation with the kernel's by creating
         them with entry size of 0
      
       - Fix objtool to convert a reloc symbol to a section offset and not to
         not warn about not knowing how
      
      * tag 'objtool_urgent_for_v5.15_rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        objtool: Remove redundant 'len' field from struct section
        objtool: Make .altinstructions section entry size consistent
        objtool: Remove reloc symbol type checks in get_alt_entry()
      75cd9b01
    • Linus Torvalds's avatar
      Merge tag 'x86_urgent_for_v5.15_rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · c22ccc4a
      Linus Torvalds authored
      Pull x86 fixes from Borislav Petkov:
      
       - A FPU fix to properly handle invalid MXCSR values: 32-bit masks them
         out due to historical reasons and 64-bit kernels reject them
      
       - A fix to clear X86_FEATURE_SMAP when support for is not
         config-enabled
      
       - Three fixes correcting misspelled Kconfig symbols used in code
      
       - Two resctrl object cleanup fixes
      
       - Yet another attempt at fixing the neverending saga of botched x86
         timers, this time because some incredibly smart hardware decides to
         turn off the HPET timer in a low power state - who cares if the OS is
         relying on it...
      
       - Check the full return value range of an SEV VMGEXIT call to determine
         whether it returned an error
      
      * tag 'x86_urgent_for_v5.15_rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86/fpu: Restore the masking out of reserved MXCSR bits
        x86/Kconfig: Correct reference to MWINCHIP3D
        x86/platform/olpc: Correct ifdef symbol to intended CONFIG_OLPC_XO15_SCI
        x86/entry: Clear X86_FEATURE_SMAP when CONFIG_X86_SMAP=n
        x86/entry: Correct reference to intended CONFIG_64_BIT
        x86/resctrl: Fix kfree() of the wrong type in domain_add_cpu()
        x86/resctrl: Free the ctrlval arrays when domain_setup_mon_state() fails
        x86/hpet: Use another crystalball to evaluate HPET usability
        x86/sev: Return an error on a returned non-zero SW_EXITINFO1[31:0]
      c22ccc4a
  5. 09 Oct, 2021 5 commits
  6. 08 Oct, 2021 11 commits
    • Linus Torvalds's avatar
      Merge tag 's390-5.15-5' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux · f84fc4e3
      Linus Torvalds authored
      Pull s390 fixes from Vasily Gorbik:
      
       - Fix potential memory leak on a error path in eBPF
      
       - Fix handling of zpci device on reserve
      
      * tag 's390-5.15-5' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux:
        s390/pci: fix zpci_zdev_put() on reserve
        bpf, s390: Fix potential memory leak about jit_data
      f84fc4e3
    • Linus Torvalds's avatar
      Merge tag 'xtensa-20211008' of git://github.com/jcmvbkbc/linux-xtensa · 5d6ab0bb
      Linus Torvalds authored
      Pull xtensa fixes from Max Filippov:
      
       - fix build/boot issues caused by CONFIG_OF vs CONFIC_USE_OF usage
      
       - fix reset handler for xtfpga boards
      
      * tag 'xtensa-20211008' of git://github.com/jcmvbkbc/linux-xtensa:
        xtensa: xtfpga: Try software restart before simulating CPU reset
        xtensa: xtfpga: use CONFIG_USE_OF instead of CONFIG_OF
        xtensa: call irqchip_init only when CONFIG_USE_OF is selected
        xtensa: use CONFIG_USE_OF instead of CONFIG_OF
      5d6ab0bb
    • Linus Torvalds's avatar
      Merge tag 'for-linus-5.15b-rc5-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip · 3946b46c
      Linus Torvalds authored
      Pull xen fixes from Juergen Gross:
      
       - fix two minor issues in the Xen privcmd driver plus a cleanup patch
         for that driver
      
       - fix multiple issues related to running as PVH guest and some related
         earlyprintk fixes for other Xen guest types
      
       - fix an issue introduced in 5.15 the Xen balloon driver
      
      * tag 'for-linus-5.15b-rc5-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip:
        xen/balloon: fix cancelled balloon action
        xen/x86: adjust data placement
        x86/PVH: adjust function/data placement
        xen/x86: hook up xen_banner() also for PVH
        xen/x86: generalize preferred console model from PV to PVH Dom0
        xen/x86: make "earlyprintk=xen" work for HVM/PVH DomU
        xen/x86: allow "earlyprintk=xen" to work for PV Dom0
        xen/x86: make "earlyprintk=xen" work better for PVH Dom0
        xen/x86: allow PVH Dom0 without XEN_PV=y
        xen/x86: prevent PVH type from getting clobbered
        xen/privcmd: drop "pages" parameter from xen_remap_pfn()
        xen/privcmd: fix error handling in mmap-resource processing
        xen/privcmd: replace kcalloc() by kvcalloc() when allocating empty pages
      3946b46c
    • Linus Torvalds's avatar
      Merge tag 'asm-generic-fixes-5.15' of... · 0dcf60d0
      Linus Torvalds authored
      Merge tag 'asm-generic-fixes-5.15' of git://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic
      
      Pull asm-generic fixes from Arnd Bergmann:
       "There is one build fix for Arm platforms that ended up impacting most
        architectures because of the way the drivers/firmware Kconfig file is
        wired up:
      
        The CONFIG_QCOM_SCM dependency have caused a number of randconfig
        regressions over time, and some still remain in v5.15-rc4. The fix we
        agreed on in the end is to make this symbol selected by any driver
        using it, and then building it even for non-Arm platforms with
        CONFIG_COMPILE_TEST.
      
        To make this work on all architectures, the drivers/firmware/Kconfig
        file needs to be included for all architectures to make the symbol
        itself visible.
      
        In a separate discussion, we found that a sound driver patch that is
        pending for v5.16 needs the same change to include this Kconfig file,
        so the easiest solution seems to have my Kconfig rework included in
        v5.15.
      
        Finally, the branch also includes a small unrelated build fix for
        NOMMU architectures"
      
      Link: https://lore.kernel.org/all/20210928153508.101208f8@canb.auug.org.au/
      Link: https://lore.kernel.org/all/20210928075216.4193128-1-arnd@kernel.org/
      Link: https://lore.kernel.org/all/20211007151010.333516-1-arnd@kernel.org/
      
      * tag 'asm-generic-fixes-5.15' of git://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic:
        asm-generic/io.h: give stub iounmap() on !MMU same prototype as elsewhere
        qcom_scm: hide Kconfig symbol
        firmware: include drivers/firmware/Kconfig unconditionally
      0dcf60d0
    • Linus Torvalds's avatar
      Merge tag 'acpi-5.15-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm · cdc726fb
      Linus Torvalds authored
      Pull ACPI fix from Rafael Wysocki:
       "Fix a recent ACPI-related regression in the PCI subsystem that
        introduced a NULL pointer dereference possible to trigger from
        user space via sysfs on some systems"
      
      * tag 'acpi-5.15-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
        PCI: ACPI: Check parent pointer in acpi_pci_find_companion()
      cdc726fb
    • Linus Torvalds's avatar
      Merge tag 'usb-5.15-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb · 741668ef
      Linus Torvalds authored
      Pull USB fixes from Greg KH:
       "Here are some small USB fixes for 5.15-rc5 that resolve a number of
        reported issues:
      
         - gadget driver fixes
      
         - xhci build warning fixes
      
         - build configuration fix
      
         - cdc-acm tty handling fixes
      
         - cdc-wdm fix
      
         - typec fixes
      
        All of these have been in linux-next for a while with no reported
        issues"
      
      * tag 'usb-5.15-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb:
        USB: cdc-acm: fix break reporting
        USB: cdc-acm: fix racy tty buffer accesses
        usb: gadget: f_uac2: fixed EP-IN wMaxPacketSize
        usb: cdc-wdm: Fix check for WWAN
        usb: chipidea: ci_hdrc_imx: Also search for 'phys' phandle
        usb: typec: tcpm: handle SRC_STARTUP state if cc changes
        usb: typec: tcpci: don't handle vSafe0V event if it's not enabled
        usb: typec: tipd: Remove dependency on "connector" child fwnode
        Partially revert "usb: Kconfig: using select for USB_COMMON dependency"
        usb: dwc3: gadget: Revert "set gadgets parent to the right controller"
        usb: xhci: tegra: mark PM functions as __maybe_unused
      741668ef
    • Linus Torvalds's avatar
      Merge tag 'mmc-v5.15-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc · 9c7e7050
      Linus Torvalds authored
      Pull MMC fixes from Ulf Hansson:
       "A couple of MMC host fixes:
      
         - meson-gx: Fix read/write access for dram-access-quirk
      
         - sdhci-of-at91: Fix calibration sequence"
      
      * tag 'mmc-v5.15-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc:
        mmc: meson-gx: do not use memcpy_to/fromio for dram-access-quirk
        mmc: sdhci-of-at91: replace while loop with read_poll_timeout
        mmc: sdhci-of-at91: wait for calibration done before proceed
      9c7e7050
    • Linus Torvalds's avatar
      Merge tag 'drm-fixes-2021-10-08' of git://anongit.freedesktop.org/drm/drm · 0068dc8c
      Linus Torvalds authored
      Pull drm fixes from Dave Airlie:
       "I've returned from my tropical island retreat, even managed to bring
        one of my kids on a dive with some turtles. Thanks to Daniel for doing
        last week's work.
      
        Otherwise this is the weekly fixes pull, it's a bit bigger because the
        vc4 reverts in your tree caused some problems with fixes in the
        drm-misc tree so it got left out last week, so this week has the misc
        fixes rebased without the vc4 pieces.
      
        Otherwise it's i915, amdgpu with the usual fixes and a scattering over
        other drivers.
      
        I expect things should calm down a bit more next week.
      
        core:
         - Kconfig fix for fb_simple vs simpledrm.
      
        i915:
         - Fix RKL HDMI audio
         - Fix runtime pm imbalance on i915_gem_shrink() error path
         - Fix Type-C port access before hw/sw state sync
         - Fix VBT backlight struct version/size check
         - Fix VT-d async flip on SKL/BXT with plane stretch workaround
      
        amdgpu:
         - DCN 3.1 DP alt mode fixes
         - S0ix gfxoff fix
         - Fix DRM_AMD_DC_SI dependencies
         - PCIe DPC handling fix
         - DCN 3.1 scaling fix
         - Documentation fix
      
        amdkfd:
         - Fix potential memory leak
         - IOMMUv2 init fixes
      
        vc4 (there were some hdmi fixes but things got reverted, sort it out
             later):
         - compiler fix
      
        nouveau:
         - Cursor fix
         - Fix ttm buffer moves for ampere gpu's by adding minimal
           acceleration support.
         - memory leak fixes
      
        rockchip:
         - crtc/clk fixup
      
        panel:
         - ili9341 Fix DT bindings indent
         - y030xx067a - yellow tint init seq fix
      
        gbefb:
         - Fix gbefb when built with COMPILE_TEST"
      
      * tag 'drm-fixes-2021-10-08' of git://anongit.freedesktop.org/drm/drm: (33 commits)
        drm/amd/display: Fix detection of 4 lane for DPALT
        drm/amd/display: Limit display scaling to up to 4k for DCN 3.1
        drm/amd/display: Skip override for preferred link settings during link training
        drm/nouveau/debugfs: fix file release memory leak
        drm/nouveau/kms/nv50-: fix file release memory leak
        drm/nouveau: avoid a use-after-free when BO init fails
        DRM: delete DRM IRQ legacy midlayer docs
        video: fbdev: gbefb: Only instantiate device when built for IP32
        fbdev: simplefb: fix Kconfig dependencies
        drm/panel: abt-y030xx067a: yellow tint fix
        dt-bindings: panel: ili9341: correct indentation
        drm/nouveau/fifo/ga102: initialise chid on return from channel creation
        drm/rockchip: Update crtc fixup to account for fractional clk change
        drm/nouveau/ga102-: support ttm buffer moves via copy engine
        drm/nouveau/kms/tu102-: delay enabling cursor until after assign_windows
        drm/sun4i: dw-hdmi: Fix HDMI PHY clock setup
        drm/vc4: hdmi: Remove unused struct
        drm/kmb: Enable alpha blended second plane
        drm/amdgpu: handle the case of pci_channel_io_frozen only in amdgpu_pci_resume
        drm/amdgpu: init iommu after amdkfd device init
        ...
      0068dc8c
    • Adam Borowski's avatar
      asm-generic/io.h: give stub iounmap() on !MMU same prototype as elsewhere · 2fbc3499
      Adam Borowski authored
      It made -Werror sad.
      Signed-off-by: default avatarAdam Borowski <kilobyte@angband.pl>
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      2fbc3499
    • Borislav Petkov's avatar
      x86/fpu: Restore the masking out of reserved MXCSR bits · d298b035
      Borislav Petkov authored
      Ser Olmy reported a boot failure:
      
        init[1] bad frame in sigreturn frame:(ptrval) ip:b7c9fbe6 sp:bf933310 orax:ffffffff \
      	  in libc-2.33.so[b7bed000+156000]
        Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
        CPU: 0 PID: 1 Comm: init Tainted: G        W         5.14.9 #1
        Hardware name: Hewlett-Packard HP PC/HP Board, BIOS  JD.00.06 12/06/2001
        Call Trace:
         dump_stack_lvl
         dump_stack
         panic
         do_exit.cold
         do_group_exit
         get_signal
         arch_do_signal_or_restart
         ? force_sig_info_to_task
         ? force_sig
         exit_to_user_mode_prepare
         syscall_exit_to_user_mode
         do_int80_syscall_32
         entry_INT80_32
      
      on an old 32-bit Intel CPU:
      
        vendor_id       : GenuineIntel
        cpu family      : 6
        model           : 6
        model name      : Celeron (Mendocino)
        stepping        : 5
        microcode       : 0x3
      
      Ser bisected the problem to the commit in Fixes.
      
      tglx suggested reverting the rejection of invalid MXCSR values which
      this commit introduced and replacing it with what the old code did -
      simply masking them out to zero.
      
      Further debugging confirmed his suggestion:
      
        fpu->state.fxsave.mxcsr: 0xb7be13b4, mxcsr_feature_mask: 0xffbf
        WARNING: CPU: 0 PID: 1 at arch/x86/kernel/fpu/signal.c:384 __fpu_restore_sig+0x51f/0x540
      
      so restore the original behavior only for 32-bit kernels where you have
      ancient machines with buggy hardware. For 32-bit programs on 64-bit
      kernels, user space which supplies wrong MXCSR values is considered
      malicious so fail the sigframe restoration there.
      
      Fixes: 6f9866a1 ("x86/fpu/signal: Let xrstor handle the features to init")
      Reported-by: default avatarSer Olmy <ser.olmy@protonmail.com>
      Signed-off-by: default avatarBorislav Petkov <bp@suse.de>
      Tested-by: default avatarSer Olmy <ser.olmy@protonmail.com>
      Cc: <stable@vger.kernel.org>
      Link: https://lkml.kernel.org/r/YVtA67jImg3KlBTw@zn.tnic
      d298b035
    • Dave Airlie's avatar
      Merge tag 'amd-drm-fixes-5.15-2021-10-06' of... · bf79045e
      Dave Airlie authored
      Merge tag 'amd-drm-fixes-5.15-2021-10-06' of https://gitlab.freedesktop.org/agd5f/linux into drm-fixes
      
      amd-drm-fixes-5.15-2021-10-06:
      
      amdgpu:
      - DCN 3.1 DP alt mode fixes
      - S0ix gfxoff fix
      - Fix DRM_AMD_DC_SI dependencies
      - PCIe DPC handling fix
      - DCN 3.1 scaling fix
      - Documentation fix
      
      amdkfd:
      - Fix potential memory leak
      - IOMMUv2 init fixes
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      From: Alex Deucher <alexander.deucher@amd.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20211006203828.4818-1-alexander.deucher@amd.com
      bf79045e