1. 15 Oct, 2022 6 commits
    • Linus Torvalds's avatar
      Merge tag 'pci-v6.1-fixes-1' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci · 41410965
      Linus Torvalds authored
      Pull pci fix from Bjorn Helgaas:
       "Revert the attempt to distribute spare resources to unconfigured
        hotplug bridges at boot time.
      
        This fixed some dock hot-add scenarios, but Jonathan Cameron reported
        that it broke a topology with a multi-function device where one
        function was a Switch Upstream Port and the other was an Endpoint"
      
      * tag 'pci-v6.1-fixes-1' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci:
        Revert "PCI: Distribute available resources for root buses, too"
      41410965
    • Linus Torvalds's avatar
      Merge tag 'libnvdimm-for-6.1' of git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm · 19d17ab7
      Linus Torvalds authored
      Pull nvdimm updates from Dan Williams:
       "Some small cleanups and fixes in and around the nvdimm subsystem. The
        most significant change is a regression fix for nvdimm namespace
        (volume) creation when the namespace size is smaller than 2MB/
      
        Summary:
      
         - Fix nvdimm namespace creation on platforms that do not publish
           associated 'DIMM' metadata for a persistent memory region.
      
         - Miscellaneous fixes and cleanups"
      
      * tag 'libnvdimm-for-6.1' of git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm:
        ACPI: HMAT: Release platform device in case of platform_device_add_data() fails
        dax: Remove usage of the deprecated ida_simple_xxx API
        libnvdimm/region: Allow setting align attribute on regions without mappings
        nvdimm/namespace: Fix comment typo
        nvdimm: make __nvdimm_security_overwrite_query static
        nvdimm/region: Fix kernel-doc
        nvdimm/namespace: drop unneeded temporary variable in size_store()
        nvdimm/namespace: return uuid_null only once in nd_dev_to_uuid()
      19d17ab7
    • Linus Torvalds's avatar
      Merge tag 'rtc-6.1' of git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux · b7270c69
      Linus Torvalds authored
      Pull RTC updates from Alexandre Belloni:
       "A great rework of the isl12022 driver makes up the bulk of the
        changes. There is also an important fix for CMOS and then the usual
        small fixes:
      
         - switch to devm_clk_get_enabled() where relevant
      
         - cmos: event handler registration fix
      
         - isl12022: code improvements"
      
      * tag 'rtc-6.1' of git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux:
        rtc: rv3028: Fix codestyle errors
        rtc: cmos: Fix event handler registration ordering issue
        rtc: k3: Use devm_clk_get_enabled() helper
        rtc: jz4740: Use devm_clk_get_enabled() helper
        rtc: mpfs: Use devm_clk_get_enabled() helper
        rtc: ds1685: Fix spelling of function name in comment block
        rtc: isl12022: switch to using regmap API
        rtc: isl12022: drop redundant write to HR register
        rtc: isl12022: use dev_set_drvdata() instead of i2c_set_clientdata()
        rtc: isl12022: use %ptR
        rtc: isl12022: simplify some expressions
        rtc: isl12022: drop a dev_info()
        rtc: isl12022: specify range_min and range_max
        rtc: isl12022: stop using deprecated devm_rtc_device_register()
        rtc: stmp3xxx: Add failure handling for stmp3xxx_wdt_register()
        rtc: mxc: Use devm_clk_get_enabled() helper
        rtc: gamecube: Always reset HW_SRNPROT after read
        rtc: k3: detect SoC to determine erratum fix
        rtc: k3: wait until the unlock field is not zero
        rtc: mpfs: Remove printing of stray CR
      b7270c69
    • Linus Torvalds's avatar
      Merge tag 'i3c/for-6.1' of git://git.kernel.org/pub/scm/linux/kernel/git/i3c/linux · 4ce1b979
      Linus Torvalds authored
      Pull i3c updates from Alexandre Belloni:
       "Not much this cycle, only two fixes for a rare event"
      
         - fix device reattach issues"
      
      * tag 'i3c/for-6.1' of git://git.kernel.org/pub/scm/linux/kernel/git/i3c/linux:
        i3c: master: Remove the wrong place of reattach.
        i3c: master: Free the old_dyn_addr when reattach.
      4ce1b979
    • Linus Torvalds's avatar
      Merge tag 'for-linus-6.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rw/ubifs · b7cef0d2
      Linus Torvalds authored
      Pull UBI and UBIFS updates from Richard Weinberger:
       "UBI:
         - Use bitmap API to allocate bitmaps
         - New attach mode, disable_fm, to attach without fastmap
         - Fixes for various typos in comments
      
        UBIFS:
         - Fix for a deadlock when setting xattrs for encrypted file
         - Fix for an assertion failures when truncating encrypted files
         - Fixes for various typos in comments"
      
      * tag 'for-linus-6.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rw/ubifs:
        ubi: fastmap: Add fastmap control support for 'UBI_IOCATT' ioctl
        ubi: fastmap: Use the bitmap API to allocate bitmaps
        ubifs: Fix AA deadlock when setting xattr for encrypted file
        ubifs: Fix UBIFS ro fail due to truncate in the encrypted directory
        mtd: ubi: drop unexpected word 'a' in comments
        ubi: block: Fix typos in comments
        ubi: fastmap: Fix typo in comments
        ubi: Fix repeated words in comments
        ubi: ubi-media.h: Fix comment typo
        ubi: block: Remove in vain semicolon
        ubifs: Fix ubifs_check_dir_empty() kernel-doc comment
      b7cef0d2
    • Linus Torvalds's avatar
      Merge tag 'for-linus-6.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/uml/linux · 91080ab3
      Linus Torvalds authored
      Pull UML updates from Richard Weinberger:
      
       - Move to strscpy()
      
       - Improve panic notifiers
      
       - Fix NR_CPUS usage
      
       - Fixes for various comments
      
       - Fixes for virtio driver
      
      * tag 'for-linus-6.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/uml/linux:
        uml: Remove the initialization of statics to 0
        um: Do not initialise statics to 0.
        um: Fix comment typo
        um: Improve panic notifiers consistency and ordering
        um: remove unused reactivate_chan() declaration
        um: mmaper: add __exit annotations to module exit funcs
        um: virt-pci: add __init/__exit annotations to module init/exit funcs
        hostfs: move from strlcpy with unused retval to strscpy
        um: move from strlcpy with unused retval to strscpy
        um: increase default virtual physical memory to 64 MiB
        UM: cpuinfo: Fix a warning for CONFIG_CPUMASK_OFFSTACK
        um: read multiple msg from virtio slave request fd
      91080ab3
  2. 14 Oct, 2022 19 commits
    • Linus Torvalds's avatar
      Merge tag 'asm-generic-fixes-6.1-1' of... · 73344a3f
      Linus Torvalds authored
      Merge tag 'asm-generic-fixes-6.1-1' of git://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic
      
      Pull asm-generic fix from Arnd Bergmann:
       "A last-minute arch/alpha regression fix: the previous asm-generic
        branch contained a new regression from a typo"
      
      * tag 'asm-generic-fixes-6.1-1' of git://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic:
        alpha: fix marvel_ioread8 build regression
      73344a3f
    • Linus Torvalds's avatar
      Merge tag 'arm-fixes-6.1-1' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc · ca1aaf99
      Linus Torvalds authored
      Pull ARM SoC fixes from Arnd Bergmann:
       "These are three fixes for build warnings that came in during the merge
        window"
      
      * tag 'arm-fixes-6.1-1' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc:
        ARM: mmp: Make some symbols static
        ARM: spear6xx: Staticize few definitions
        clk: spear: Move prototype to accessible header
      ca1aaf99
    • Linus Torvalds's avatar
      Merge tag 'sound-fix-6.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound · dca45efb
      Linus Torvalds authored
      Pull sound fixes from Takashi Iwai:
       "Here are a few remaining patches for 6.1-rc1.
      
        The major changes are the hibernation fixes for HD-audio CS35L41 codec
        and the USB-audio small fixes against the last change. In addition, a
        couple of HD-audio regression fixes and a couple of potential
        mutex-deadlock fixes with OSS emulation in ALSA core side are seen"
      
      * tag 'sound-fix-6.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound:
        ALSA: hda: cs35l41: Support System Suspend
        ALSA: hda: cs35l41: Remove suspend/resume hda hooks
        ALSA: hda/cs_dsp_ctl: Fix mutex inversion when creating controls
        ALSA: hda: hda_cs_dsp_ctl: Ensure pwr_lock is held before reading/writing controls
        ALSA: hda: hda_cs_dsp_ctl: Minor clean and redundant code removal
        ALSA: oss: Fix potential deadlock at unregistration
        ALSA: rawmidi: Drop register_mutex in snd_rawmidi_free()
        ALSA: hda/realtek: Add Intel Reference SSID to support headset keys
        ALSA: hda/realtek: Add quirk for ASUS GV601R laptop
        ALSA: hda/realtek: Correct pin configs for ASUS G533Z
        ALSA: usb-audio: Avoid superfluous endpoint setup
        ALSA: usb-audio: Correct the return code from snd_usb_endpoint_set_params()
        ALSA: usb-audio: Apply mutex around snd_usb_endpoint_set_params()
        ALSA: usb-audio: Avoid unnecessary interface change at EP close
        ALSA: hda: Update register polling macros
        ALSA: hda/realtek: remove ALC289_FIXUP_DUAL_SPK for Dell 5530
      dca45efb
    • Linus Torvalds's avatar
      Merge tag 'leds-6.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/pavel/linux-leds · 5964c927
      Linus Torvalds authored
      Pull LED updates from Pavel Machek:
       "This is very quiet release for LEDs, pca963 got blinking support and
        that's pretty much it"
      
      * tag 'leds-6.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/pavel/linux-leds:
        leds: pca963: fix misleading indentation
        dt-bindings: leds: Document mmc trigger
        leds: pca963x: fix blink with hw acceleration
      5964c927
    • Linus Torvalds's avatar
      Merge tag 'sched-psi-2022-10-14' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · bd9a3dba
      Linus Torvalds authored
      Pull PSI updates from Ingo Molnar:
      
       - Various performance optimizations, resulting in a 4%-9% speedup in
         the mmtests/config-scheduler-perfpipe micro-benchmark.
      
       - New interface to turn PSI on/off on a per cgroup level.
      
      * tag 'sched-psi-2022-10-14' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        sched/psi: Per-cgroup PSI accounting disable/re-enable interface
        sched/psi: Cache parent psi_group to speed up group iteration
        sched/psi: Consolidate cgroup_psi()
        sched/psi: Add PSI_IRQ to track IRQ/SOFTIRQ pressure
        sched/psi: Remove NR_ONCPU task accounting
        sched/psi: Optimize task switch inside shared cgroups again
        sched/psi: Move private helpers to sched/stats.h
        sched/psi: Save percpu memory when !psi_cgroups_enabled
        sched/psi: Don't create cgroup PSI files when psi_disabled
        sched/psi: Fix periodic aggregation shut off
      bd9a3dba
    • Linus Torvalds's avatar
      Merge tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux · 1df046ab
      Linus Torvalds authored
      Pull arm64 fixes from Catalin Marinas:
      
       - Cortex-A55 errata workaround (repeat TLBI)
      
       - AMPERE1 added to the Spectre-BHB affected list
      
       - MTE fix to avoid setting PG_mte_tagged if no tags have been touched
         on a page
      
       - Fixed typo in the SCTLR_EL1.SPINTMASK bit naming (the commit log has
         other typos)
      
       - perf: return value check in ali_drw_pmu_probe(),
         ALIBABA_UNCORE_DRW_PMU dependency on ACPI
      
      * tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux:
        arm64: Add AMPERE1 to the Spectre-BHB affected list
        arm64: mte: Avoid setting PG_mte_tagged if no tags cleared or restored
        MAINTAINERS: rectify file entry in ALIBABA PMU DRIVER
        drivers/perf: ALIBABA_UNCORE_DRW_PMU should depend on ACPI
        drivers/perf: fix return value check in ali_drw_pmu_probe()
        arm64: errata: Add Cortex-A55 to the repeat tlbi list
        arm64/sysreg: Fix typo in SCTR_EL1.SPINTMASK
      1df046ab
    • Linus Torvalds's avatar
      Merge tag 'mm-stable-2022-10-13' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm · 5e714bf1
      Linus Torvalds authored
      Pull more MM updates from Andrew Morton:
      
       - fix a race which causes page refcounting errors in ZONE_DEVICE pages
         (Alistair Popple)
      
       - fix userfaultfd test harness instability (Peter Xu)
      
       - various other patches in MM, mainly fixes
      
      * tag 'mm-stable-2022-10-13' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm: (29 commits)
        highmem: fix kmap_to_page() for kmap_local_page() addresses
        mm/page_alloc: fix incorrect PGFREE and PGALLOC for high-order page
        mm/selftest: uffd: explain the write missing fault check
        mm/hugetlb: use hugetlb_pte_stable in migration race check
        mm/hugetlb: fix race condition of uffd missing/minor handling
        zram: always expose rw_page
        LoongArch: update local TLB if PTE entry exists
        mm: use update_mmu_tlb() on the second thread
        kasan: fix array-bounds warnings in tests
        hmm-tests: add test for migrate_device_range()
        nouveau/dmem: evict device private memory during release
        nouveau/dmem: refactor nouveau_dmem_fault_copy_one()
        mm/migrate_device.c: add migrate_device_range()
        mm/migrate_device.c: refactor migrate_vma and migrate_deivce_coherent_page()
        mm/memremap.c: take a pgmap reference on page allocation
        mm: free device private pages have zero refcount
        mm/memory.c: fix race when faulting a device private page
        mm/damon: use damon_sz_region() in appropriate place
        mm/damon: move sz_damon_region to damon_sz_region
        lib/test_meminit: add checks for the allocation functions
        ...
      5e714bf1
    • Bjorn Helgaas's avatar
      Revert "PCI: Distribute available resources for root buses, too" · 5632e2be
      Bjorn Helgaas authored
      This reverts commit e96e27fc.
      
      Jonathan reported that this commit broke this topology, where all the space
      available on bus 02 was assigned to the 02:00.0 bridge window, leaving none
      for the e1000 device at 02:00.1:
      
        pci 0000:00:04.0: bridge window [mem 0x10200000-0x103fffff] to [bus 02-04]
        pci 0000:02:00.0: bridge window [mem 0x10200000-0x103fffff] to [bus 03-04]
        pci 0000:02:00.1: BAR 0: failed to assign [mem size 0x00020000]
        e1000 0000:02:00.1: can't ioremap BAR 0: [??? 0x00000000 flags 0x0]
      
      Link: https://lore.kernel.org/r/20221014124553.0000696f@huawei.comReported-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
      Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
      5632e2be
    • Linus Torvalds's avatar
      Merge tag 'parisc-for-6.1-1' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux · f2e44139
      Linus Torvalds authored
      Pull parisc updates from Helge Deller:
       "Fixes:
      
         - When we added basic vDSO support in kernel 5.18 we introduced a bug
           which prevented a mmap() of graphic card memory. This is because we
           used the DMB (data memory break trap bit) page flag as special-bit,
           but missed to clear that bit when loading the TLB.
      
         - Graphics card memory size was not correctly aligned
      
         - Spelling fixes (from Colin Ian King)
      
        Enhancements:
      
         - PDC console (which uses firmware calls) now rewritten as early
           console
      
         - Reduced size of alternative tables"
      
      * tag 'parisc-for-6.1-1' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux:
        parisc: Fix spelling mistake "mis-match" -> "mismatch" in eisa driver
        parisc: Fix userspace graphics card breakage due to pgtable special bit
        parisc: fbdev/stifb: Align graphics memory size to 4MB
        parisc: Convert PDC console to an early console
        parisc: Reduce kernel size by packing alternative tables
      f2e44139
    • Linus Torvalds's avatar
      Merge tag 's390-6.1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux · ebdca8ec
      Linus Torvalds authored
      Pull more s390 updates from Vasily Gorbik:
      
       - Generate a change uevent on unsolicited device end I/O interrupt for
         z/VM unit record devices supported by the vmur driver. This event can
         be used to automatically trigger processing of files as they arrive
         in the z/VM reader.
      
      * tag 's390-6.1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux:
        s390/vmur: generate uevent on unsolicited device end
        s390/vmur: remove unnecessary BUG statement
      ebdca8ec
    • Linus Torvalds's avatar
      Merge tag 'riscv-for-linus-6.1-mw2' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux · 49857497
      Linus Torvalds authored
      Pull more RISC-V updates from Palmer Dabbelt:
      
       - DT updates for the PolarFire SOC
      
       - a fix to correct the handling of write-only mappings
      
       - m{vetndor,arcd,imp}id is now in /proc/cpuinfo
      
       - the SiFive L2 cache controller support has been refactored to also
         support L3 caches
      
       - misc fixes, cleanups and improvements throughout the tree
      
      * tag 'riscv-for-linus-6.1-mw2' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux: (42 commits)
        MAINTAINERS: add RISC-V's patchwork
        RISC-V: Make port I/O string accessors actually work
        riscv: enable software resend of irqs
        RISC-V: Re-enable counter access from userspace
        riscv: vdso: fix NULL deference in vdso_join_timens() when vfork
        riscv: Add cache information in AUX vector
        soc: sifive: ccache: define the macro for the register shifts
        soc: sifive: ccache: use pr_fmt() to remove CCACHE: prefixes
        soc: sifive: ccache: reduce printing on init
        soc: sifive: ccache: determine the cache level from dts
        soc: sifive: ccache: Rename SiFive L2 cache to Composable cache.
        dt-bindings: sifive-ccache: change Sifive L2 cache to Composable cache
        riscv: check for kernel config option in t-head memory types errata
        riscv: use BIT() marco for cpufeature probing
        riscv: use BIT() macros in t-head errata init
        riscv: drop some idefs from CMO initialization
        riscv: cleanup svpbmt cpufeature probing
        riscv: Pass -mno-relax only on lld < 15.0.0
        RISC-V: Avoid dereferening NULL regs in die()
        dt-bindings: riscv: add new riscv,isa strings for emulators
        ...
      49857497
    • Linus Torvalds's avatar
      Merge tag 'powerpc-6.1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux · 70609c14
      Linus Torvalds authored
      Pull powerpc fixes from Michael Ellerman:
      
       - Fix 32-bit syscall wrappers with 64-bit arguments of unaligned
         register-pairs. Notably this broke ftruncate64 & pread/write64, which
         can lead to file corruption.
      
       - Fix lost interrupts when returning to soft-masked context on 64-bit.
      
       - Fix build failure when CONFIG_DTL=n.
      
      Thanks to Nicholas Piggin, Jason A. Donenfeld, Guenter Roeck, Arnd
      Bergmann, and Sachin Sant.
      
      * tag 'powerpc-6.1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux:
        powerpc/pseries: Fix CONFIG_DTL=n build
        powerpc/64s/interrupt: Fix lost interrupts when returning to soft-masked context
        powerpc/32: fix syscall wrappers with 64-bit arguments of unaligned register-pairs
      70609c14
    • Nathan Chancellor's avatar
      drm/amd/display: Fix build breakage with CONFIG_DEBUG_FS=n · 2130b87b
      Nathan Chancellor authored
      After commit 8799c0be ("drm/amd/display: Fix vblank refcount in vrr
      transition"), a build with CONFIG_DEBUG_FS=n is broken due to a
      misplaced brace, along the lines of:
      
        In file included from drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_trace.h:39,
                         from drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:41:
        drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c: At top level:
        ./include/drm/drm_atomic.h:864:9: error: expected identifier or ‘(’ before ‘for’
          864 |         for ((__i) = 0;                                                 \
              |         ^~~
        drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:8317:9: note: in expansion of macro ‘for_each_new_crtc_in_state’
         8317 |         for_each_new_crtc_in_state(state, crtc, new_crtc_state, j)
              |         ^~~~~~~~~~~~~~~~~~~~~~~~~~
      
      Move the brace within the #ifdef so that the file can be built with or
      without CONFIG_DEBUG_FS.
      
      Fixes: 8799c0be ("drm/amd/display: Fix vblank refcount in vrr transition")
      Signed-off-by: default avatarNathan Chancellor <nathan@kernel.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      2130b87b
    • Colin Ian King's avatar
      parisc: Fix spelling mistake "mis-match" -> "mismatch" in eisa driver · 34314cd6
      Colin Ian King authored
      There are several spelling mistakes in kernel error messages. Fix them.
      Signed-off-by: default avatarColin Ian King <colin.i.king@gmail.com>
      Signed-off-by: default avatarHelge Deller <deller@gmx.de>
      34314cd6
    • Helge Deller's avatar
      parisc: Fix userspace graphics card breakage due to pgtable special bit · 70be49f2
      Helge Deller authored
      Commit df24e178 ("parisc: Add vDSO support") introduced the vDSO
      support, for which a _PAGE_SPECIAL page table flag was needed.  Since we
      wanted to keep every page table entry in 32-bits, this patch re-used the
      existing - but yet unused - _PAGE_DMB flag (which triggers a hardware break
      if a page is accessed) to store the special bit.
      
      But when graphics card memory is mmapped into userspace, the kernel uses
      vm_iomap_memory() which sets the the special flag. So, with the DMB bit
      set, every access to the graphics memory now triggered a hardware
      exception and segfaulted the userspace program.
      
      Fix this breakage by dropping the DMB bit when writing the page
      protection bits to the CPU TLB.
      
      In addition this patch adds a small optimization: if huge pages aren't
      configured (which is at least the case for 32-bit kernels), then the
      special bit is stored in the hpage (HUGE PAGE) bit instead. That way we
      can skip to reset the DMB bit.
      
      Fixes: df24e178 ("parisc: Add vDSO support")
      Cc: <stable@vger.kernel.org> # 5.18+
      Signed-off-by: default avatarHelge Deller <deller@gmx.de>
      70be49f2
    • Helge Deller's avatar
      parisc: fbdev/stifb: Align graphics memory size to 4MB · aca7c13d
      Helge Deller authored
      Independend of the current graphics resolution, adjust the reported
      graphics card memory size to the next 4MB boundary.
      This fixes the fbtest program which expects a naturally aligned size.
      Signed-off-by: default avatarHelge Deller <deller@gmx.de>
      Cc: <stable@vger.kernel.org>
      aca7c13d
    • Linus Torvalds's avatar
      Merge tag 'drm-next-2022-10-14' of git://anongit.freedesktop.org/drm/drm · 9c9155a3
      Linus Torvalds authored
      Pull more drm updates from Dave Airlie:
       "Round of fixes for the merge window stuff, bunch of amdgpu and i915
        changes, this should have the gcc11 warning fix, amongst other
        changes.
      
        amdgpu:
         - DC mutex fix
         - DC SubVP fixes
         - DCN 3.2.x fixes
         - DCN 3.1.x fixes
         - SDMA 6.x fixes
         - Enable DPIA for 3.1.4
         - VRR fixes
         - VRAM BO swapping fix
         - Revert dirty fb helper change
         - SR-IOV suspend/resume fixes
         - Work around GCC array bounds check fail warning
         - UMC 8.10 fixes
         - Misc fixes and cleanups
      
        i915:
         - Round to closest in g4x+ HDMI clock readout
         - Update MOCS table for EHL
         - Fix PSR_IMR/IIR field handling
         - Fix watermark calculations for gen12+/DG2 modifiers
         - Reject excessive dotclocks early
         - Fix revocation of non-persistent contexts
         - Handle migration for dpt
         - Fix display problems after resume
         - Allow control over the flags when migrating
         - Consider DG2_RC_CCS_CC when migrating buffers"
      
      * tag 'drm-next-2022-10-14' of git://anongit.freedesktop.org/drm/drm: (110 commits)
        drm/amd/display: Add HUBP surface flip interrupt handler
        drm/i915/display: consider DG2_RC_CCS_CC when migrating buffers
        drm/i915: allow control over the flags when migrating
        drm/amd/display: Simplify bool conversion
        drm/amd/display: fix transfer function passed to build_coefficients()
        drm/amd/display: add a license to cursor_reg_cache.h
        drm/amd/display: make virtual_disable_link_output static
        drm/amd/display: fix indentation in dc.c
        drm/amd/display: make dcn32_split_stream_for_mpc_or_odm static
        drm/amd/display: fix build error on arm64
        drm/amd/display: 3.2.207
        drm/amd/display: Clean some DCN32 macros
        drm/amdgpu: Add poison mode query for umc v8_10_0
        drm/amdgpu: Update umc v8_10_0 headers
        drm/amdgpu: fix coding style issue for mca notifier
        drm/amdgpu: define convert_error_address for umc v8.7
        drm/amdgpu: define RAS convert_error_address API
        drm/amdgpu: remove check for CE in RAS error address query
        drm/i915: Fix display problems after resume
        drm/amd/display: fix array-bounds error in dc_stream_remove_writeback() [take 2]
        ...
      9c9155a3
    • Linus Torvalds's avatar
      Merge tag 'block-6.1-2022-10-13' of git://git.kernel.dk/linux · a521fc3c
      Linus Torvalds authored
      Pull more block updates from Jens Axboe:
       "Fixes that ended up landing later than the initial block pull request.
        Nothing really major in here:
      
         - NVMe pull request via Christoph:
              - add NVME_QUIRK_BOGUS_NID for Lexar NM760 (Abhijit)
              - add NVME_QUIRK_NO_DEEPEST_PS to avoid the deepest sleep state
                on ZHITAI TiPro5000 SSDs (Xi Ruoyao)
              - fix possible hang caused during ctrl deletion (Sagi Grimberg)
              - fix possible hang in live ns resize with ANA access (Sagi
                Grimberg)
      
         - Proactively avoid a sign extension issue with the queue flags
           (Brian)
      
         - Regression fix for hidden disks (Christoph)
      
         - Update OPAL maintainers entry (Jonathan)
      
         - blk-wbt regression initialization fix (Yu)"
      
      * tag 'block-6.1-2022-10-13' of git://git.kernel.dk/linux:
        nvme-multipath: fix possible hang in live ns resize with ANA access
        nvme-pci: avoid the deepest sleep state on ZHITAI TiPro5000 SSDs
        nvme-pci: add NVME_QUIRK_BOGUS_NID for Lexar NM760
        nvme-tcp: fix possible hang caused during ctrl deletion
        nvme-rdma: fix possible hang caused during ctrl deletion
        block: fix leaking minors of hidden disks
        block: avoid sign extend problem with default queue flags mask
        blk-wbt: fix that 'rwb->wc' is always set to 1 in wbt_init()
        block: Remove the repeat word 'can'
        MAINTAINERS: Update SED-Opal Maintainers
      a521fc3c
    • Linus Torvalds's avatar
      Merge tag 'io_uring-6.1-2022-10-13' of git://git.kernel.dk/linux · c98c70ed
      Linus Torvalds authored
      Pull more io_uring updates from Jens Axboe:
       "A collection of fixes that ended up either being later than the
        initial pull, or dependent on multiple branches (6.0-late being one of
        them) and hence deferred purposely. This contains:
      
         - Cleanup fixes for the single submitter late 6.0 change, which we
           pushed to 6.1 to keep the 6.0 changes small (Dylan, Pavel)
      
         - Fix for IORING_OP_CONNECT not handling -EINPROGRESS correctly (me)
      
         - Ensure that the zc sendmsg variant gets audited correctly (me)
      
         - Regression fix from this merge window where kiocb_end_write()
           doesn't always gets called, which can cause issues with fs freezing
           (me)
      
         - Registered files SCM handling fix (Pavel)
      
         - Regression fix for big sqe dumping in fdinfo (Pavel)
      
         - Registered buffers accounting fix (Pavel)
      
         - Remove leftover notification structures, we killed them off late in
           6.0 (Pavel)
      
         - Minor optimizations (Pavel)
      
         - Cosmetic variable shadowing fix (Stefan)"
      
      * tag 'io_uring-6.1-2022-10-13' of git://git.kernel.dk/linux:
        io_uring/rw: ensure kiocb_end_write() is always called
        io_uring: fix fdinfo sqe offsets calculation
        io_uring: local variable rw shadows outer variable in io_write
        io_uring/opdef: remove 'audit_skip' from SENDMSG_ZC
        io_uring: optimise locking for local tw with submit_wait
        io_uring: remove redundant memory barrier in io_req_local_work_add
        io_uring/net: handle -EINPROGRESS correct for IORING_OP_CONNECT
        io_uring: remove notif leftovers
        io_uring: correct pinned_vm accounting
        io_uring/af_unix: defer registered files gc to io_uring release
        io_uring: limit registration w/ SINGLE_ISSUER
        io_uring: remove io_register_submitter
        io_uring: simplify __io_uring_add_tctx_node
      c98c70ed
  3. 13 Oct, 2022 15 commits