1. 21 May, 2023 1 commit
    • Linus Torvalds's avatar
      Merge tag '6.4-rc2-smb3-client-fixes' of git://git.samba.org/sfrench/cifs-2.6 · 0c9dcf12
      Linus Torvalds authored
      Pull cifs client fixes from Steve French:
       "Two smb3 client fixes, both related to deferred close, and also for
        stable:
      
         - send close for deferred handles before not after lease break
           response to avoid possible sharing violations
      
         - check all opens on an inode (looking for deferred handles) when
           lease break is returned not just the handle the lease break came in
           on"
      
      * tag '6.4-rc2-smb3-client-fixes' of git://git.samba.org/sfrench/cifs-2.6:
        SMB3: drop reference to cfile before sending oplock break
        SMB3: Close all deferred handles of inode in case of handle lease break
      0c9dcf12
  2. 20 May, 2023 7 commits
    • Linus Torvalds's avatar
      Merge tag 'tty-6.4-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty · 0dd2a6fb
      Linus Torvalds authored
      Pull tty / serial fixes from Greg KH:
       "Here are some small tty and serial driver fixes for 6.4-rc3 to resolve
        some reported problems, and add some new device ids. These include:
      
         - termios documentation updates
      
         - vc_screen use-after-free fix
      
         - memory leak fix in arc_uart driver
      
         - new 8250 driver ids
      
         - other small serial driver fixes
      
        All of these have been in linux-next for a while with no reported
        problems"
      
      * tag 'tty-6.4-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty:
        vc_screen: reload load of struct vc_data pointer in vcs_write() to avoid UAF
        serial: qcom-geni: fix enabling deactivated interrupt
        serial: 8250_bcm7271: fix leak in `brcmuart_probe`
        serial: 8250_bcm7271: balance clk_enable calls
        serial: arc_uart: fix of_iomap leak in `arc_serial_probe`
        serial: 8250: Document termios parameter of serial8250_em485_config()
        serial: Add support for Advantech PCI-1611U card
        serial: 8250_exar: Add support for USR298x PCI Modems
      0dd2a6fb
    • Linus Torvalds's avatar
      Merge tag 'usb-6.4-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb · 2dd0d98d
      Linus Torvalds authored
      Pull USB / Thunderbolt fixes from Greg KH:
       "Here are some USB fixes for 6.4-rc3, as well as a driver core fix that
        resolves a memory leak that shows up in USB devices easier than other
        subsystems.
      
        Included in here are:
      
         - driver core memory leak as reported and tested by syzbot and
           developers
      
         - dwc3 driver fixes for reported problems
      
         - xhci driver fixes for reported problems
      
         - USB gadget driver reverts to resolve regressions
      
         - usbtmc driver fix for syzbot reported problem
      
         - thunderbolt driver fixes for reported issues
      
         - other small USB fixes
      
        All of these, except for the driver core fix, have been in linux-next
        with no reported problems. The driver core fix was tested and verified
        to solve the issue by syzbot and the original reporter"
      
      * tag 'usb-6.4-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb:
        driver core: class: properly reference count class_dev_iter()
        xhci: Fix incorrect tracking of free space on transfer rings
        xhci-pci: Only run d3cold avoidance quirk for s2idle
        usb-storage: fix deadlock when a scsi command timeouts more than once
        usb: dwc3: fix a test for error in dwc3_core_init()
        usb: typec: tps6598x: Fix fault at module removal
        usb: gadget: u_ether: Fix host MAC address case
        usb: typec: altmodes/displayport: fix pin_assignment_show
        Revert "usb: gadget: udc: core: Invoke usb_gadget_connect only when started"
        Revert "usb: gadget: udc: core: Prevent redundant calls to pullup"
        usb: gadget: drop superfluous ':' in doc string
        usb: dwc3: debugfs: Resume dwc3 before accessing registers
        USB: UHCI: adjust zhaoxin UHCI controllers OverCurrent bit value
        usb: dwc3: fix gadget mode suspend interrupt handler issue
        usb: dwc3: gadget: Improve dwc3_gadget_suspend() and dwc3_gadget_resume()
        USB: usbtmc: Fix direction for 0-length ioctl control messages
        thunderbolt: Clear registers properly when auto clear isn't in use
      2dd0d98d
    • Linus Torvalds's avatar
      Merge tag 'block-6.4-2023-05-20' of git://git.kernel.dk/linux · 98be58a6
      Linus Torvalds authored
      Pull block fixes from Jens Axboe:
      
       - NVMe pull request via Keith:
           - More device quirks (Sagi, Hristo, Adrian, Daniel)
           - Controller delete race (Maurizo)
           - Multipath cleanup fix (Christoph)
      
       - Deny writeable mmap mapping on a readonly block device (Loic)
      
       - Kill unused define that got introduced by accident (Christoph)
      
       - Error handling fix for s390 dasd (Stefan)
      
       - ublk locking fix (Ming)
      
      * tag 'block-6.4-2023-05-20' of git://git.kernel.dk/linux:
        block: remove NFL4_UFLG_MASK
        block: Deny writable memory mapping if block is read-only
        s390/dasd: fix command reject error on ESE devices
        nvme-pci: Add quirk for Teamgroup MP33 SSD
        ublk: fix AB-BA lockdep warning
        nvme: do not let the user delete a ctrl before a complete initialization
        nvme-multipath: don't call blk_mark_disk_dead in nvme_mpath_remove_disk
        nvme-pci: clamp max_hw_sectors based on DMA optimized limitation
        nvme-pci: add quirk for missing secondary temperature thresholds
        nvme-pci: add NVME_QUIRK_BOGUS_NID for HS-SSD-FUTURE 2048G
      98be58a6
    • Christoph Hellwig's avatar
      block: remove NFL4_UFLG_MASK · e3afec91
      Christoph Hellwig authored
      The NFL4_UFLG_MASK define slipped in in commit 9208d414
      ("block: add a ->get_unique_id method") and should never have been
      added, as NFSD as the only user of it already has it's copy.
      Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
      Link: https://lore.kernel.org/r/20230520090010.527046-1-hch@lst.deSigned-off-by: default avatarJens Axboe <axboe@kernel.dk>
      e3afec91
    • Loic Poulain's avatar
      block: Deny writable memory mapping if block is read-only · 69baa3a6
      Loic Poulain authored
      User should not be able to write block device if it is read-only at
      block level (e.g force_ro attribute). This is ensured in the regular
      fops write operation (blkdev_write_iter) but not when writing via
      user mapping (mmap), allowing user to actually write a read-only
      block device via a PROT_WRITE mapping.
      
      Example: This can lead to integrity issue of eMMC boot partition
      (e.g mmcblk0boot0) which is read-only by default.
      
      To fix this issue, simply deny shared writable mapping if the block
      is readonly.
      
      Note: Block remains writable if switch to read-only is performed
      after the initial mapping, but this is expected behavior according
      to commit a32e236e ("Partially revert "block: fail op_is_write()
      requests to read-only partitions"")'.
      Signed-off-by: default avatarLoic Poulain <loic.poulain@linaro.org>
      Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
      Link: https://lore.kernel.org/r/20230510074223.991297-1-loic.poulain@linaro.orgSigned-off-by: default avatarJens Axboe <axboe@kernel.dk>
      69baa3a6
    • Linus Torvalds's avatar
      Merge tag 'drm-fixes-2023-05-20' of git://anongit.freedesktop.org/drm/drm · d635f6cc
      Linus Torvalds authored
      Pull drm fixes from Dave Airlie:
       "Regular fixes pull, amdgpu and msm make up most of these, nothing too
        serious, also one i915 and one exynos.
      
        I didn't get a misc fixes pull this week (one of the maintainers is
        off, so have to engage the backup) so I think there are a few
        outstanding patches that will show up next week,
      
        amdgpu:
         - update gfx11 clock counter logic
         - Fix a race when disabling gfxoff on gfx10/11 for profiling
         - Raven/Raven2/PCO clock counter fix
         - Add missing get_vbios_fb_size for GMC 11
         - Fix a spurious irq warning in the device remove case
         - Fix possible power mode mismatch between driver and PMFW
         - USB4 fix
      
        exynos:
         - fix build warning
      
        i915:
         - fix missing NULL check in HDCP code
      
        msm:
         - display:
            - msm8998: fix fetch and qos to align with downstream
            - msm8998: fix LM pairs to align with downstream
            - remove unused INTF0 interrupt mask on some chipsets
            - remove TE2 block from relevant chipsets
            - relocate non-MDP_TOP offset to different header
            - fix some indentation
            - fix register offets/masks for dither blocks
            - make ping-ping block length 0
            - remove duplicated defines
            - fix log mask for writeback block
            - unregister the hdmi codec for dp during unbind
            - fix yaml warnings
         - gpu:
            - fix submit error path leak
            - arm-smmu-qcom fix for regression that broke per-process page
              tables
            - fix no-iommu crash"
      
      * tag 'drm-fixes-2023-05-20' of git://anongit.freedesktop.org/drm/drm: (29 commits)
        drm/amd/display: enable dpia validate
        drm/amd/pm: fix possible power mode mismatch between driver and PMFW
        drm/amdgpu: skip disabling fence driver src_irqs when device is unplugged
        drm/amdgpu/gmc11: implement get_vbios_fb_size()
        drm/amdgpu: Differentiate between Raven2 and Raven/Picasso according to revision id
        drm/amdgpu/gfx11: Adjust gfxoff before powergating on gfx11 as well
        drm/amdgpu/gfx10: Disable gfxoff before disabling powergating.
        drm/amdgpu/gfx11: update gpu_clock_counter logic
        drm/msm: Be more shouty if per-process pgtables aren't working
        iommu/arm-smmu-qcom: Fix missing adreno_smmu's
        drm/i915/hdcp: Check if media_gt exists
        drm/exynos: fix g2d_open/close helper function definitions
        drm/msm: Fix submit error-path leaks
        drm/msm/iommu: Fix null pointer dereference in no-IOMMU case
        dt-bindings: display/msm: dsi-controller-main: Document qcom, master-dsi and qcom, sync-dual-dsi
        drm/msm/dpu: Remove duplicate register defines from INTF
        drm/msm/dpu: Set PINGPONG block length to zero for DPU >= 7.0.0
        drm/msm/dpu: Use V2 DITHER PINGPONG sub-block in SM8[34]50/SC8280XP
        drm/msm/dpu: Fix PP_BLK_DIPHER -> DITHER typo
        drm/msm/dpu: Reindent REV_7xxx interrupt masks with tabs
        ...
      d635f6cc
    • Stefan Haberland's avatar
      s390/dasd: fix command reject error on ESE devices · c99bff34
      Stefan Haberland authored
      Formatting a thin-provisioned (ESE) device that is part of a PPRC copy
      relation might fail with the following error:
      
      dasd-eckd 0.0.f500: An error occurred in the DASD device driver, reason=09
      [...]
      24 Byte: 0 MSG 4, no MSGb to SYSOP
      
      During format of an ESE disk the Release Allocated Space command is used.
      A bit in the payload of the command is set that is not allowed to be set
      for devices in a copy relation. This bit is set to allow the partial
      release of an extent.
      
      Check for the existence of a copy relation before setting the respective
      bit.
      
      Fixes: 91dc4a19 ("s390/dasd: Add new ioctl to release space")
      Cc: stable@kernel.org # 5.3+
      Signed-off-by: default avatarStefan Haberland <sth@linux.ibm.com>
      Reviewed-by: default avatarJan Hoeppner <hoeppner@linux.ibm.com>
      Link: https://lore.kernel.org/r/20230519102340.3854819-2-sth@linux.ibm.comSigned-off-by: default avatarJens Axboe <axboe@kernel.dk>
      c99bff34
  3. 19 May, 2023 18 commits
    • Linus Torvalds's avatar
      Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi · 5565ec4e
      Linus Torvalds authored
      Pull SCSI fixes from James Bottomley:
       "Six small fixes.
      
        Four in drivers and the two core changes should be read together as a
        correction to a prior iorequest_cnt fix that exposed us to a potential
        use after free"
      
      * tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi:
        scsi: core: Decrease scsi_device's iorequest_cnt if dispatch failed
        scsi: Revert "scsi: core: Do not increase scsi_device's iorequest_cnt if dispatch failed"
        scsi: storvsc: Don't pass unused PFNs to Hyper-V host
        scsi: ufs: core: Fix MCQ nr_hw_queues
        scsi: ufs: core: Rename symbol sizeof_utp_transfer_cmd_desc()
        scsi: ufs: core: Fix MCQ tag calculation
      5565ec4e
    • Linus Torvalds's avatar
      Merge tag 'ceph-for-6.4-rc3' of https://github.com/ceph/ceph-client · a5948745
      Linus Torvalds authored
      Pull ceph fixes from Ilya Dryomov:
       "A workaround for a just discovered bug in MClientSnap encoding which
        goes back to 2017 (marked for stable) and a fixup to quieten a static
        checker"
      
      * tag 'ceph-for-6.4-rc3' of https://github.com/ceph/ceph-client:
        ceph: force updating the msg pointer in non-split case
        ceph: silence smatch warning in reconnect_caps_cb()
      a5948745
    • Linus Torvalds's avatar
      Merge tag 'pm-6.4-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm · d3f70431
      Linus Torvalds authored
      Pull power management fixes from Rafael Wysocki:
       "These fix two issues in the cpupower utility and get rid of a spurious
        warning message printed to the kernel log by the ACPI cpufreq driver
        after recent changes.
      
        Specifics:
      
         - Get rid of a warning message printed by the ACPI cpufreq driver
           after recent changes in it when anohter CPU performance scaling
           driver is registered already when it starts (Petr Pavlu)
      
         - Make cpupower read TSC on each CPU right before reading MPERF so as
           to reduce the potential time difference between the TSC and MPERF
           accesses and improve the C0 percentage calculation (Wyes Karny)
      
         - Fix a possible file handle leak and clean up the code in the
           sysfs_get_enabled() function in cpupower (Hao Zeng)"
      
      * tag 'pm-6.4-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
        cpufreq: ACPI: Prevent a warning when another frequency driver is loaded
        cpupower: Make TSC read per CPU for Mperf monitor
        cpupower:Fix resource leaks in sysfs_get_enabled()
      d3f70431
    • Linus Torvalds's avatar
      Merge tag 'acpi-6.4-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm · c8306329
      Linus Torvalds authored
      Pull ACPI fix from Rafael Wysocki:
       "Add an ACPI IRQ override quirk for LG UltraPC 17U70P so as to make the
        internal keyboard work on that machine (Rubén Gómez)"
      
      * tag 'acpi-6.4-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
        ACPI: resource: Add IRQ override quirk for LG UltraPC 17U70P
      c8306329
    • Linus Torvalds's avatar
      Merge tag 'docs-6.4-fixes' of git://git.lwn.net/linux · cbd6ac38
      Linus Torvalds authored
      Pull documentation fixes from Jonathan Corbet:
       "Four straightforward documentation fixes"
      
      * tag 'docs-6.4-fixes' of git://git.lwn.net/linux:
        Documentation/filesystems: ramfs-rootfs-initramfs: use :Author:
        Documentation/filesystems: sharedsubtree: add section headings
        docs: quickly-build-trimmed-linux: various small fixes and improvements
        Documentation: use capitalization for chapters and acronyms
      cbd6ac38
    • Linus Torvalds's avatar
      Merge tag 's390-6.4-2' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux · ac92c279
      Linus Torvalds authored
      Pull s390 fixes from Alexander Gordeev:
      
       - Add check whether the required facilities are installed before using
         the s390-specific ChaCha20 implementation
      
       - Key blobs for s390 protected key interface IOCTLs commands
         PKEY_VERIFYKEY2 and PKEY_VERIFYKEY3 may contain clear key material.
         Zeroize copies of these keys in kernel memory after creating
         protected keys
      
       - Set CONFIG_INIT_STACK_NONE=y in defconfigs to avoid extra overhead of
         initializing all stack variables by default
      
       - Make sure that when a new channel-path is enabled all subchannels are
         evaluated: with and without any devices connected on it
      
       - When SMT thread CPUs are added to CPU topology masks the nr_cpu_ids
         limit is not checked and could be exceeded. Respect the nr_cpu_ids
         limit and avoid a warning when CONFIG_DEBUG_PER_CPU_MAPS is set
      
       - The pointer to IPL Parameter Information Block is stored in the
         absolute lowcore as a virtual address. Save it as the physical
         address for later use by dump tools
      
       - Fix a Queued Direct I/O (QDIO) problem on z/VM guests using QIOASSIST
         with dedicated (pass through) QDIO-based devices such as FCP, real
         OSA or HiperSockets
      
       - s390's struct statfs and struct statfs64 contain padding, which
         field-by-field copying does not set. Initialize the respective
         structures with zeros before filling them and copying to userspace
      
       - Grow s390 compat_statfs64, statfs and statfs64 structures f_spare
         array member to cover padding and simplify things
      
       - Remove obsolete SCHED_BOOK and SCHED_DRAWER configs
      
       - Remove unneeded S390_CCW_IOMMU and S390_AP_IOM configs
      
      * tag 's390-6.4-2' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux:
        s390/iommu: get rid of S390_CCW_IOMMU and S390_AP_IOMMU
        s390/Kconfig: remove obsolete configs SCHED_{BOOK,DRAWER}
        s390/uapi: cover statfs padding by growing f_spare
        statfs: enforce statfs[64] structure initialization
        s390/qdio: fix do_sqbs() inline assembly constraint
        s390/ipl: fix IPIB virtual vs physical address confusion
        s390/topology: honour nr_cpu_ids when adding CPUs
        s390/cio: include subchannels without devices also for evaluation
        s390/defconfigs: set CONFIG_INIT_STACK_NONE=y
        s390/pkey: zeroize key blobs
        s390/crypto: use vector instructions only if available for ChaCha20
      ac92c279
    • Linus Torvalds's avatar
      Merge tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux · 4ffd96c9
      Linus Torvalds authored
      Pull arm64 fixes from Will Deacon:
       "A mixture of compiler/static checker resolutions and a couple of MTE
        fixes:
      
         - Avoid erroneously marking untagged pages with PG_mte_tagged
      
         - Always reset KASAN tags for destination page in copy_page()
      
         - Mark PMU header functions 'static inline'
      
         - Fix some sparse warnings due to missing casts"
      
      * tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux:
        arm64: mte: Do not set PG_mte_tagged if tags were not initialized
        arm64: Also reset KASAN tag if page is not PG_mte_tagged
        arm64: perf: Mark all accessor functions inline
        ARM: perf: Mark all accessor functions inline
        arm64: vdso: Pass (void *) to virt_to_page()
        arm64/mm: mark private VM_FAULT_X defines as vm_fault_t
      4ffd96c9
    • Linus Torvalds's avatar
      Merge tag 'sound-6.4-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound · 46be92e5
      Linus Torvalds authored
      Pull sound fixes from Takashi Iwai:
       "A collection of small fixes that have been gathered since rc1:
      
         - Lots of small ASoC SOF Intel fixes
      
         - A couple of UAF and NULL-dereference fixes
      
         - Quirks and updates for HD-audio, USB-audio and ASoC AMD
      
         - A few minor build / sparse warning fixes
      
         - MAINTAINERS and DT updates"
      
      * tag 'sound-6.4-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound: (38 commits)
        ALSA: hda: Add NVIDIA codec IDs a3 through a7 to patch table
        ALSA: oss: avoid missing-prototype warnings
        ALSA: cs46xx: mark snd_cs46xx_download_image as static
        ALSA: hda: Fix Oops by 9.1 surround channel names
        ASoC: SOF: topology: Fix tuples array allocation
        ASoC: SOF: Separate the tokens for input and output pin index
        MAINTAINERS: Remove self from Cirrus Codec drivers
        ASoC: cs35l56: Prevent unbalanced pm_runtime in dsp_work() on SoundWire
        ASoC: SOF: topology: Fix logic for copying tuples
        ASoC: SOF: pm: save io region state in case of errors in resume
        ASoC: MAINTAINERS: drop Krzysztof Kozlowski from Samsung audio
        ASoC: mediatek: mt8186: Fix use-after-free in driver remove path
        ASoC: SOF: ipc3-topology: Make sure that only one cmd is sent in dai_config
        ASoC: SOF: sof-client-probes: fix pm_runtime imbalance in error handling
        ASoC: SOF: pcm: fix pm_runtime imbalance in error handling
        ASoC: SOF: debug: conditionally bump runtime_pm counter on exceptions
        ASoC: SOF: Intel: hda-mlink: add helper to program SoundWire PCMSyCM registers
        ASoC: SOF: Intel: hda-mlink: initialize instance_offset member
        ASoC: SOF: Intel: hda-mlink: use 'ml_addr' parameter consistently
        ASoC: SOF: Intel: hda-mlink: fix base_ptr computation
        ...
      46be92e5
    • Rafael J. Wysocki's avatar
      Merge branch 'pm-tools' · 5783ecc9
      Rafael J. Wysocki authored
      Merge cpupower utility fixes for 6.4-rc3:
      
       - Read TSC on each CPU right before reading MPERF so as to reduce the
         potential time difference between the TSC and MPERF accesses and
         improve the C0 percentage calculation (Wyes Karny).
      
       - Fix a possible file handle leak and clean up the code in
         sysfs_get_enabled() (Hao Zeng).
      
      * pm-tools:
        cpupower: Make TSC read per CPU for Mperf monitor
        cpupower:Fix resource leaks in sysfs_get_enabled()
      5783ecc9
    • Rafael J. Wysocki's avatar
      Merge tag 'linux-cpupower-6.4-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux · eab866bf
      Rafael J. Wysocki authored
      Pull cpupower utility fixes for 6.4-rc3 from Shuah Khan:
      
      "This cpupower fixes update for Linux 67.4-rc3 consists of:
      
      - a resource leak fix
      - fix drift in C0 percentage calculation due to System-wide TSC read.
        To lower this drift read TSC per CPU and also just after mperf read.
        This technique improves C0 percentage calculation in Mperf monitor"
      
      * tag 'linux-cpupower-6.4-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux:
        cpupower: Make TSC read per CPU for Mperf monitor
        cpupower:Fix resource leaks in sysfs_get_enabled()
      eab866bf
    • Greg Kroah-Hartman's avatar
      driver core: class: properly reference count class_dev_iter() · ddaf098e
      Greg Kroah-Hartman authored
      When class_dev_iter is initialized, the reference count for the subsys
      private structure is incremented, but never decremented, causing a
      memory leak over time.  To resolve this, save off a pointer to the
      internal structure into the class_dev_iter structure and then when the
      iterator is finished, drop the reference count.
      
      Reported-and-tested-by: syzbot+e7afd76ad060fa0d2605@syzkaller.appspotmail.com
      Fixes: 7b884b7f ("driver core: class.c: convert to only use class_to_subsys")
      Reported-by: default avatarMirsad Goran Todorovac <mirsad.todorovac@alu.unizg.hr>
      Cc: Alan Stern <stern@rowland.harvard.edu>
      Acked-by: default avatarRafael J. Wysocki <rafael@kernel.org>
      Tested-by: default avatarMirsad Goran Todorovac <mirsad.todorovac@alu.unizg.hr>
      Link: https://lore.kernel.org/r/2023051610-stove-condense-9a77@gregkhSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      ddaf098e
    • Jens Axboe's avatar
      Merge tag 'nvme-6.4-2023-05-18' of git://git.infradead.org/nvme into block-6.4 · 1878b736
      Jens Axboe authored
      Pull NVMe fixes from Keith:
      
      "nvme fixes for Linux 6.4
      
       - More device quirks (Sagi, Hristo, Adrian, Daniel)
       - Controller delete race (Maurizo)
       - Multipath cleanup fix (Christoph)"
      
      * tag 'nvme-6.4-2023-05-18' of git://git.infradead.org/nvme:
        nvme-pci: Add quirk for Teamgroup MP33 SSD
        nvme: do not let the user delete a ctrl before a complete initialization
        nvme-multipath: don't call blk_mark_disk_dead in nvme_mpath_remove_disk
        nvme-pci: clamp max_hw_sectors based on DMA optimized limitation
        nvme-pci: add quirk for missing secondary temperature thresholds
        nvme-pci: add NVME_QUIRK_BOGUS_NID for HS-SSD-FUTURE 2048G
      1878b736
    • Dave Airlie's avatar
      Merge tag 'amd-drm-fixes-6.4-2023-05-18' of... · 79ef1c9d
      Dave Airlie authored
      Merge tag 'amd-drm-fixes-6.4-2023-05-18' of https://gitlab.freedesktop.org/agd5f/linux into drm-fixes
      
      amd-drm-fixes-6.4-2023-05-18:
      
      amdgpu:
      - update gfx11 clock counter logic
      - Fix a race when disabling gfxoff on gfx10/11 for profiling
      - Raven/Raven2/PCO clock counter fix
      - Add missing get_vbios_fb_size for GMC 11
      - Fix a spurious irq warning in the device remove case
      - Fix possible power mode mismatch between driver and PMFW
      - USB4 fix
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      From: Alex Deucher <alexdeucher@gmail.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20230518174811.3841-1-alexander.deucher@amd.com
      79ef1c9d
    • Dave Airlie's avatar
      Merge tag 'drm-msm-fixes-2023-05-17' of https://gitlab.freedesktop.org/drm/msm into drm-fixes · 83ab69c9
      Dave Airlie authored
      msm-fixes for v6.4-rc3
      
      Display Fixes:
      
      + Catalog fixes:
       - fix the programmable fetch lines and qos settings of msm8998
         to match what is present downstream
       - fix the LM pairs for msm8998 to match what is present downstream.
         The current settings are not right as LMs with incompatible
         connected blocks are paired
       - remove unused INTF0 interrupt mask from SM6115/QCM2290 as there
         is no INTF0 present on those chipsets. There is only one DSI on
         index 1
       - remove TE2 block from relevant chipsets because this is mainly
         used for ping-pong split feature which is not supported upstream
         and also for the chipsets where we are removing them in this
         change, that block is not present as the tear check has been moved
         to the intf block
       - relocate non-MDP_TOP INTF_INTR offsets from dpu_hwio.h to
         dpu_hw_interrupts.c to match where they belong
       - fix the indentation for REV_7xxx interrupt masks
       - fix the offset and version for dither blocks of SM8[34]50/SC8280XP
         chipsets as it was incorrect
       - make the ping-pong blk length 0 for appropriate chipsets as those
         chipsets only have a dither ping-pong dither block but no other
         functionality in the base ping-pong
       - remove some duplicate register defines from INTF
      + Fix the log mask for the writeback block so that it can be enabled
        correctly via debugfs
      + unregister the hdmi codec for dp during unbind otherwise it leaks
        audio codec devices
      + Yaml change to fix warnings related to 'qcom,master-dsi' and
        'qcom,sync-dual-dsi'
      
      GPU Fixes:
      
      + fix submit error path leak
      + arm-smmu-qcom fix for regression that broke per-process page tables
      + fix no-iommu crash
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      From: Rob Clark <robdclark@gmail.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/CAF6AEGvHEcJfp=k6qatmb_SvAeyvy3CBpaPfwLqtNthuEzA_7w@mail.gmail.com
      83ab69c9
    • Dave Airlie's avatar
      Merge tag 'drm-intel-fixes-2023-05-17' of... · 8c5be8a8
      Dave Airlie authored
      Merge tag 'drm-intel-fixes-2023-05-17' of git://anongit.freedesktop.org/drm/drm-intel into drm-fixes
      
      Add missing null check for HDCP code.
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      From: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/ZGUgi7kXq+MiLcCA@jlahtine-mobl.ger.corp.intel.com
      8c5be8a8
    • Daniel Smith's avatar
      nvme-pci: Add quirk for Teamgroup MP33 SSD · 06497281
      Daniel Smith authored
      Add a quirk for Teamgroup MP33 that reports duplicate ids for disk.
      Signed-off-by: default avatarDaniel Smith <dansmith@ds.gy>
      [kch: patch formatting]
      Signed-off-by: default avatarChaitanya Kulkarni <kch@nvidia.com>
      Tested-by: default avatarDaniel Smith <dansmith@ds.gy>
      Signed-off-by: default avatarKeith Busch <kbusch@kernel.org>
      06497281
    • Dave Airlie's avatar
      Merge tag 'exynos-drm-fixes-for-v6.4-rc3' of... · 90facc4d
      Dave Airlie authored
      Merge tag 'exynos-drm-fixes-for-v6.4-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/daeinki/drm-exynos into drm-fixes
      
      Just one fixup to exynos_drm_g2d module.
      - Fix below build warning by marking them as 'static inline'
          drivers/gpu/drm/exynos/exynos_drm_g2d.h:37:5: error: no previous prototype for 'g2d_open'
          drivers/gpu/drm/exynos/exynos_drm_g2d.h:42:5: error: no previous prototype for 'g2d_close'
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      
      From: Inki Dae <inki.dae@samsung.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20230515083943.43933-1-inki.dae@samsung.com
      90facc4d
    • Linus Torvalds's avatar
      Merge tag 'mm-hotfixes-stable-2023-05-18-15-52' of... · f4a8871f
      Linus Torvalds authored
      Merge tag 'mm-hotfixes-stable-2023-05-18-15-52' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
      
      Pull misc fixes from Andrew Morton:
       "Eight hotfixes. Four are cc:stable, the other four are for post-6.4
        issues, or aren't considered suitable for backporting"
      
      * tag 'mm-hotfixes-stable-2023-05-18-15-52' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm:
        MAINTAINERS: Cleanup Arm Display IP maintainers
        MAINTAINERS: repair pattern in DIALOG SEMICONDUCTOR DRIVERS
        nilfs2: fix use-after-free bug of nilfs_root in nilfs_evict_inode()
        mm: fix zswap writeback race condition
        mm: kfence: fix false positives on big endian
        zsmalloc: move LRU update from zs_map_object() to zs_malloc()
        mm: shrinkers: fix race condition on debugfs cleanup
        maple_tree: make maple state reusable after mas_empty_area()
      f4a8871f
  4. 18 May, 2023 14 commits