Skip to content
  1. Nov 16, 2023
    • Linus Torvalds's avatar
      Merge tag 'for-linus-6.7a-rc2-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip · 6eb1acd9
      Linus Torvalds authored
      Pull xen updates from Juergen Gross:
      
       - A fix in the Xen events driver avoiding the use of RCU after
         the call to rcu_report_dead() when taking a cpu down
      
       - A fix for running as Xen dom0 to line up ACPI's idea of power
         management capabilities with the one of Xen
      
       - A cleanup eliminating several kernel-doc warnings in Xen related
         code
      
       - A cleanup series of the Xen events driver
      
      * tag 'for-linus-6.7a-rc2-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip:
        xen/events: remove some info_for_irq() calls in pirq handling
        xen/events: modify internal [un]bind interfaces
        xen/events: drop xen_allocate_irqs_dynamic()
        xen/events: remove some simple helpers from events_base.c
        xen/events: reduce externally visible helper functions
        xen/events: remove unused functions
        xen/events: fix delayed eoi list handling
        xen/shbuf: eliminate 17 kernel-doc warnings
        acpi/processor: sanitize _OSC/_PDC capabilities for Xen dom0
        xen/events: avoid using info_for_irq() in xen_send_IPI_one()
      6eb1acd9
    • Linus Torvalds's avatar
      Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost · 372bed5f
      Linus Torvalds authored
      Pull virtio fixes from Michael Tsirkin:
       "Bugfixes all over the place"
      
      * tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost:
        vhost-vdpa: fix use after free in vhost_vdpa_probe()
        virtio_pci: Switch away from deprecated irq_set_affinity_hint
        riscv, qemu_fw_cfg: Add support for RISC-V architecture
        vdpa_sim_blk: allocate the buffer zeroed
        virtio_pci: move structure to a header
      372bed5f
  2. Nov 15, 2023
  3. Nov 14, 2023
    • Juergen Gross's avatar
      xen/events: remove some simple helpers from events_base.c · 3bdb0ac3
      Juergen Gross authored
      
      
      The helper functions type_from_irq() and cpu_from_irq() are just one
      line functions used only internally.
      
      Open code them where needed. At the same time modify and rename
      get_evtchn_to_irq() to return a struct irq_info instead of the IRQ
      number.
      
      Signed-off-by: default avatarJuergen Gross <jgross@suse.com>
      Reviewed-by: default avatarOleksandr Tyshchenko <oleksandr_tyshchenko@epam.com>
      Signed-off-by: default avatarJuergen Gross <jgross@suse.com>
      3bdb0ac3
    • Juergen Gross's avatar
      xen/events: reduce externally visible helper functions · 68646451
      Juergen Gross authored
      
      
      get_evtchn_to_irq() has only one external user while irq_from_evtchn()
      provides the same functionality and is exported for a wider user base.
      Modify the only external user of get_evtchn_to_irq() to use
      irq_from_evtchn() instead and make get_evtchn_to_irq() static.
      
      evtchn_from_irq() and irq_from_virq() have a single external user and
      can easily be combined to a new helper irq_evtchn_from_virq() allowing
      to drop irq_from_virq() and to make evtchn_from_irq() static.
      
      Signed-off-by: default avatarJuergen Gross <jgross@suse.com>
      Reviewed-by: default avatarOleksandr Tyshchenko <oleksandr_tyshchenko@epam.com>
      Signed-off-by: default avatarJuergen Gross <jgross@suse.com>
      68646451
    • Linus Torvalds's avatar
      Merge tag 'for-6.7-rc1-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux · 9bacdd89
      Linus Torvalds authored
      Pull btrfs fixes from David Sterba:
      
       - fix potential overflow in returned value from SEARCH_TREE_V2
         ioctl on 32bit architecture
      
       - zoned mode fixes:
      
           - drop unnecessary write pointer check for RAID0/RAID1/RAID10
             profiles, now it works because of raid-stripe-tree
      
           - wait for finishing the zone when direct IO needs a new
             allocation
      
       - simple quota fixes:
      
           - pass correct owning root pointer when cleaning up an
             aborted transaction
      
           - fix leaking some structures when processing delayed refs
      
           - change key type number of BTRFS_EXTENT_OWNER_REF_KEY,
             reorder it before inline refs that are supposed to be
             sorted, keeping the original number would complicate a lot
             of things; this change needs an updated version of
             btrfs-progs to work and filesystems need to be recreated
      
       - fix error pointer dereference after failure to allocate fs
         devices
      
       - fix race between accounting qgroup extents and removing a
         qgroup
      
      * tag 'for-6.7-rc1-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux:
        btrfs: make OWNER_REF_KEY type value smallest among inline refs
        btrfs: fix qgroup record leaks when using simple quotas
        btrfs: fix race between accounting qgroup extents and removing a qgroup
        btrfs: fix error pointer dereference after failure to allocate fs devices
        btrfs: make found_logical_ret parameter mandatory for function queue_scrub_stripe()
        btrfs: get correct owning_root when dropping snapshot
        btrfs: zoned: wait for data BG to be finished on direct IO allocation
        btrfs: zoned: drop no longer valid write pointer check
        btrfs: directly return 0 on no error code in btrfs_insert_raid_extent()
        btrfs: use u64 for buffer sizes in the tree search ioctls
      9bacdd89
    • Linus Torvalds's avatar
      drm/ci: make github dependabot happy again · 58c09cad
      Linus Torvalds authored
      
      
      The drm CI scripts for gitlab have a requirements file that makes the
      github 'dependabot' worry about a few of the required tooling versions.
      
      It wants to update the pip requirements from 23.2.1 to 23.3:
      
       "When installing a package from a Mercurial VCS URL, e.g. pip install
        hg+..., with pip prior to v23.3, the specified Mercurial revision
        could be used to inject arbitrary configuration options to the hg
        clone call (e.g. --config). Controlling the Mercurial configuration
        can modify how and which repository is installed. This vulnerability
        does not affect users who aren't installing from Mercurial"
      
      and upgrade the urllib3 requirements from 2.0.4 to 2.0.7 due to two
      issues:
      
       "urllib3's request body not stripped after redirect from 303 status
        changes request method to GET"
      
       "`Cookie` HTTP header isn't stripped on cross-origin redirects"
      
      The file also ends up not having a newline at the end, that my editor
      ends up wanting to fix automatically.
      
      Link: https://github.com/dependabot
      Tested-by: default avatarHelen Koike <helen.koike@collabora.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      58c09cad
  4. Nov 13, 2023
    • Juergen Gross's avatar
      xen/events: remove unused functions · f96c6c58
      Juergen Gross authored
      
      
      There are no users of xen_irq_from_pirq() and xen_set_irq_pending().
      
      Remove those functions.
      
      Signed-off-by: default avatarJuergen Gross <jgross@suse.com>
      Reviewed-by: default avatarOleksandr Tyshchenko <oleksandr_tyshchenko@epam.com>
      Signed-off-by: default avatarJuergen Gross <jgross@suse.com>
      f96c6c58
    • Juergen Gross's avatar
      xen/events: fix delayed eoi list handling · 47d97020
      Juergen Gross authored
      When delaying eoi handling of events, the related elements are queued
      into the percpu lateeoi list. In case the list isn't empty, the
      elements should be sorted by the time when eoi handling is to happen.
      
      Unfortunately a new element will never be queued at the start of the
      list, even if it has a handling time lower than all other list
      elements.
      
      Fix that by handling that case the same way as for an empty list.
      
      Fixes: e99502f7
      
       ("xen/events: defer eoi in case of excessive number of events")
      Reported-by: default avatarJan Beulich <jbeulich@suse.com>
      Signed-off-by: default avatarJuergen Gross <jgross@suse.com>
      Reviewed-by: default avatarOleksandr Tyshchenko <oleksandr_tyshchenko@epam.com>
      Signed-off-by: default avatarJuergen Gross <jgross@suse.com>
      47d97020
    • Randy Dunlap's avatar
      xen/shbuf: eliminate 17 kernel-doc warnings · 50e865a5
      Randy Dunlap authored
      
      
      Don't use kernel-doc markers ("/**") for comments that are not in
      kernel-doc format. This prevents multiple kernel-doc warnings:
      
      xen-front-pgdir-shbuf.c:25: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
       * This structure represents the structure of a shared page
      xen-front-pgdir-shbuf.c:37: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
       * Shared buffer ops which are differently implemented
      xen-front-pgdir-shbuf.c:65: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
       * Get granted reference to the very first page of the
      xen-front-pgdir-shbuf.c:85: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
       * Map granted references of the shared buffer.
      xen-front-pgdir-shbuf.c:106: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
       * Unmap granted references of the shared buffer.
      xen-front-pgdir-shbuf.c:127: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
       * Free all the resources of the shared buffer.
      xen-front-pgdir-shbuf.c:154: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
       * Get the number of pages the page directory consumes itself.
      xen-front-pgdir-shbuf.c:164: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
       * Calculate the number of grant references needed to share the buffer
      xen-front-pgdir-shbuf.c:176: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
       * Calculate the number of grant references needed to share the buffer
      xen-front-pgdir-shbuf.c:194: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
       * Unmap the buffer previously mapped with grant references
      xen-front-pgdir-shbuf.c:242: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
       * Map the buffer with grant references provided by the backend.
      xen-front-pgdir-shbuf.c:324: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
       * Fill page directory with grant references to the pages of the
      xen-front-pgdir-shbuf.c:354: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
       * Fill page directory with grant references to the pages of the
      xen-front-pgdir-shbuf.c:393: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
       * Grant references to the frontend's buffer pages.
      xen-front-pgdir-shbuf.c:422: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
       * Grant all the references needed to share the buffer.
      xen-front-pgdir-shbuf.c:470: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
       * Allocate all required structures to mange shared buffer.
      xen-front-pgdir-shbuf.c:510: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
       * Allocate a new instance of a shared buffer.
      
      Signed-off-by: default avatarRandy Dunlap <rdunlap@infradead.org>
      Reported-by: default avatarkernel test robot <lkp@intel.com>
      Closes: lore.kernel.org/r/202311060203.yQrpPZhm-lkp@intel.com
      Acked-by: default avatarJuergen Gross <jgross@suse.com>
      Cc: Juergen Gross <jgross@suse.com>
      Cc: Stefano Stabellini <sstabellini@kernel.org>
      Cc: Oleksandr Tyshchenko <oleksandr_tyshchenko@epam.com>
      Cc: xen-devel@lists.xenproject.org
      Link: https://lore.kernel.org/r/20231106055631.21520-1-rdunlap@infradead.org
      Signed-off-by: default avatarJuergen Gross <jgross@suse.com>
      50e865a5
    • Roger Pau Monne's avatar
      acpi/processor: sanitize _OSC/_PDC capabilities for Xen dom0 · bfa993b3
      Roger Pau Monne authored
      The Processor capability bits notify ACPI of the OS capabilities, and
      so ACPI can adjust the return of other Processor methods taking the OS
      capabilities into account.
      
      When Linux is running as a Xen dom0, the hypervisor is the entity
      in charge of processor power management, and hence Xen needs to make
      sure the capabilities reported by _OSC/_PDC match the capabilities of
      the driver in Xen.
      
      Introduce a small helper to sanitize the buffer when running as Xen
      dom0.
      
      When Xen supports HWP, this serves as the equivalent of commit
      a2121167
      
       ("ACPI / processor: Request native thermal interrupt
      handling via _OSC") to avoid SMM crashes.  Xen will set bit
      ACPI_PROC_CAP_COLLAB_PROC_PERF (bit 12) in the capability bits and the
      _OSC/_PDC call will apply it.
      
      [ jandryuk: Mention Xen HWP's need.  Support _OSC & _PDC ]
      Signed-off-by: default avatarRoger Pau Monné <roger.pau@citrix.com>
      Cc: stable@vger.kernel.org
      Signed-off-by: default avatarJason Andryuk <jandryuk@gmail.com>
      Reviewed-by: default avatarMichal Wilczynski <michal.wilczynski@intel.com>
      Reviewed-by: default avatarJuergen Gross <jgross@suse.com>
      Link: https://lore.kernel.org/r/20231108212517.72279-1-jandryuk@gmail.com
      Signed-off-by: default avatarJuergen Gross <jgross@suse.com>
      bfa993b3
    • Juergen Gross's avatar
      xen/events: avoid using info_for_irq() in xen_send_IPI_one() · e64e7c74
      Juergen Gross authored
      xen_send_IPI_one() is being used by cpuhp_report_idle_dead() after
      it calls rcu_report_dead(), meaning that any RCU usage by
      xen_send_IPI_one() is a bad idea.
      
      Unfortunately xen_send_IPI_one() is using notify_remote_via_irq()
      today, which is using irq_get_chip_data() via info_for_irq(). And
      irq_get_chip_data() in turn is using a maple-tree lookup requiring
      RCU.
      
      Avoid this problem by caching the ipi event channels in another
      percpu variable, allowing the use notify_remote_via_evtchn() in
      xen_send_IPI_one().
      
      Fixes: 721255b9
      
       ("genirq: Use a maple tree for interrupt descriptor management")
      Reported-by: default avatarDavid Woodhouse <dwmw@amazon.co.uk>
      Signed-off-by: default avatarJuergen Gross <jgross@suse.com>
      Tested-by: default avatarDavid Woodhouse <dwmw@amazon.co.uk>
      Acked-by: default avatarStefano Stabellini <sstabellini@kernel.org>
      Signed-off-by: default avatarJuergen Gross <jgross@suse.com>
      e64e7c74
    • Linus Torvalds's avatar
      Linux 6.7-rc1 · b85ea95d
      Linus Torvalds authored
      v6.7-rc1
      b85ea95d
    • Miri Korenblit's avatar
      wifi: iwlwifi: fix system commands group ordering · e257da57
      Miri Korenblit authored
      The commands should be sorted inside the group definition.
      Fix the ordering so we won't get following warning:
      WARN_ON(iwl_cmd_groups_verify_sorted(trans_cfg))
      
      Link: https://lore.kernel.org/regressions/2fa930bb-54dd-4942-a88d-05a47c8e9731@gmail.com/
      Link: https://lore.kernel.org/linux-wireless/CAHk-=wix6kqQ5vHZXjOPpZBfM7mMm9bBZxi2Jh7XnaKCqVf94w@mail.gmail.com/
      Fixes: b6e3d1ba
      
       ("wifi: iwlwifi: mvm: implement new firmware API for statistics")
      Tested-by: default avatarNiklāvs Koļesņikovs <pinkflames.linux@gmail.com>
      Tested-by: default avatarDamian Tometzki <damian@riscv-rocks.de>
      Acked-by: default avatarKalle Valo <kvalo@kernel.org>
      Signed-off-by: default avatarMiri Korenblit <miriam.rachel.korenblit@intel.com>
      Signed-off-by: default avatarEmmanuel Grumbach <emmanuel.grumbach@intel.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      e257da57
    • Linus Torvalds's avatar
      Merge tag 'parisc-for-6.7-rc1-2' of... · b57b17e8
      Linus Torvalds authored
      Merge tag 'parisc-for-6.7-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux
      
      Pull parisc architecture fixes from Helge Deller:
      
       - Include the upper 5 address bits when inserting TLB entries on a
         64-bit kernel.
      
         On physical machines those are ignored, but in qemu it's nice to have
         them included and to be correct.
      
       - Stop the 64-bit kernel and show a warning if someone tries to boot on
         a machine with a 32-bit CPU
      
       - Fix a "no previous prototype" warning in parport-gsc
      
      * tag 'parisc-for-6.7-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux:
        parisc: Prevent booting 64-bit kernels on PA1.x machines
        parport: gsc: mark init function static
        parisc/pgtable: Do not drop upper 5 address bits of physical address
      b57b17e8
    • Linus Torvalds's avatar
      Merge tag 'loongarch-6.7' of... · 4eeee663
      Linus Torvalds authored
      Merge tag 'loongarch-6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
      
      Pull LoongArch updates from Huacai Chen:
      
       - support PREEMPT_DYNAMIC with static keys
      
       - relax memory ordering for atomic operations
      
       - support BPF CPU v4 instructions for LoongArch
      
       - some build and runtime warning fixes
      
      * tag 'loongarch-6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson:
        selftests/bpf: Enable cpu v4 tests for LoongArch
        LoongArch: BPF: Support signed mod instructions
        LoongArch: BPF: Support signed div instructions
        LoongArch: BPF: Support 32-bit offset jmp instructions
        LoongArch: BPF: Support unconditional bswap instructions
        LoongArch: BPF: Support sign-extension mov instructions
        LoongArch: BPF: Support sign-extension load instructions
        LoongArch: Add more instruction opcodes and emit_* helpers
        LoongArch/smp: Call rcutree_report_cpu_starting() earlier
        LoongArch: Relax memory ordering for atomic operations
        LoongArch: Mark __percpu functions as always inline
        LoongArch: Disable module from accessing external data directly
        LoongArch: Support PREEMPT_DYNAMIC with static keys
      4eeee663
    • Linus Torvalds's avatar
      Merge tag 'powerpc-6.7-2' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux · 5dd2020f
      Linus Torvalds authored
      Pull powerpc fixes from Michael Ellerman:
      
       - Finish a refactor of pgprot_framebuffer() which dependend
         on some changes that were merged via the drm tree
      
       - Fix some kernel-doc warnings to quieten the bots
      
      Thanks to Nathan Lynch and Thomas Zimmermann.
      
      * tag 'powerpc-6.7-2' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux:
        powerpc/rtas: Fix ppc_rtas_rmo_buf_show() kernel-doc
        powerpc/pseries/rtas-work-area: Fix rtas_work_area_reserve_arena() kernel-doc
        powerpc/fb: Call internal __phys_mem_access_prot() in fbdev code
        powerpc: Remove file parameter from phys_mem_access_prot()
        powerpc/machdep: Remove trailing whitespaces
      5dd2020f
  5. Nov 12, 2023
    • Linus Torvalds's avatar
      Merge tag '6.7-rc-smb3-client-fixes-part2' of git://git.samba.org/sfrench/cifs-2.6 · 1b907d05
      Linus Torvalds authored
      Pull smb client fixes from Steve French:
      
       - ctime caching fix (for setxattr)
      
       - encryption fix
      
       - DNS resolver mount fix
      
       - debugging improvements
      
       - multichannel fixes including cases where server stops or starts
         supporting multichannel after mount
      
       - reconnect fix
      
       - minor cleanups
      
      * tag '6.7-rc-smb3-client-fixes-part2' of git://git.samba.org/sfrench/cifs-2.6:
        cifs: update internal module version number for cifs.ko
        cifs: handle when server stops supporting multichannel
        cifs: handle when server starts supporting multichannel
        Missing field not being returned in ioctl CIFS_IOC_GET_MNT_INFO
        smb3: allow dumping session and tcon id to improve stats analysis and debugging
        smb: client: fix mount when dns_resolver key is not available
        smb3: fix caching of ctime on setxattr
        smb3: minor cleanup of session handling code
        cifs: reconnect work should have reference on server struct
        cifs: do not pass cifs_sb when trying to add channels
        cifs: account for primary channel in the interface list
        cifs: distribute channels across interfaces based on speed
        cifs: handle cases where a channel is closed
        smb3: more minor cleanups for session handling routines
        smb3: minor RDMA cleanup
        cifs: Fix encryption of cleared, but unset rq_iter data buffers
      1b907d05
  6. Nov 11, 2023
    • Linus Torvalds's avatar
      Merge tag 'probes-fixes-v6.7-rc1' of... · 3ca112b7
      Linus Torvalds authored
      Merge tag 'probes-fixes-v6.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace
      
      Pull probes fixes from Masami Hiramatsu:
      
       - Documentation update: Add a note about argument and return value
         fetching is the best effort because it depends on the type.
      
       - objpool: Fix to make internal global variables static in
         test_objpool.c.
      
       - kprobes: Unify kprobes_exceptions_nofify() prototypes. There are the
         same prototypes in asm/kprobes.h for some architectures, but some of
         them are missing the prototype and it causes a warning. So move the
         prototype into linux/kprobes.h.
      
       - tracing: Fix to check the tracepoint event and return event at
         parsing stage. The tracepoint event doesn't support %return but if
         $retval exists, it will be converted to %return silently. This finds
         that case and rejects it.
      
       - tracing: Fix the order of the descriptions about the parameters of
         __kprobe_event_gen_cmd_start() to be consistent with the argument
         list of the function.
      
      * tag 'probes-fixes-v6.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace:
        tracing/kprobes: Fix the order of argument descriptions
        tracing: fprobe-event: Fix to check tracepoint event and return
        kprobes: unify kprobes_exceptions_nofify() prototypes
        lib: test_objpool: make global variables static
        Documentation: tracing: Add a note about argument and retval access
      3ca112b7
    • Linus Torvalds's avatar
      Merge tag 'fbdev-for-6.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/linux-fbdev · 18553507
      Linus Torvalds authored
      Pull fbdev fixes and cleanups from Helge Deller:
      
       - fix double free and resource leaks in imsttfb
      
       - lots of remove callback cleanups and section mismatch fixes in
         omapfb, amifb and atmel_lcdfb
      
       - error code fix and memparse simplification in omapfb
      
      * tag 'fbdev-for-6.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/linux-fbdev: (31 commits)
        fbdev: fsl-diu-fb: mark wr_reg_wa() static
        fbdev: amifb: Convert to platform remove callback returning void
        fbdev: amifb: Mark driver struct with __refdata to prevent section mismatch warning
        fbdev: hyperv_fb: fix uninitialized local variable use
        fbdev: omapfb/tpd12s015: Convert to platform remove callback returning void
        fbdev: omapfb/tfp410: Convert to platform remove callback returning void
        fbdev: omapfb/sharp-ls037v7dw01: Convert to platform remove callback returning void
        fbdev: omapfb/opa362: Convert to platform remove callback returning void
        fbdev: omapfb/hdmi: Convert to platform remove callback returning void
        fbdev: omapfb/dvi: Convert to platform remove callback returning void
        fbdev: omapfb/dsi-cm: Convert to platform remove callback returning void
        fbdev: omapfb/dpi: Convert to platform remove callback returning void
        fbdev: omapfb/analog-tv: Convert to platform remove callback returning void
        fbdev: atmel_lcdfb: Convert to platform remove callback returning void
        fbdev: omapfb/tpd12s015: Don't put .remove() in .exit.text and drop suppress_bind_attrs
        fbdev: omapfb/tfp410: Don't put .remove() in .exit.text and drop suppress_bind_attrs
        fbdev: omapfb/sharp-ls037v7dw01: Don't put .remove() in .exit.text and drop suppress_bind_attrs
        fbdev: omapfb/opa362: Don't put .remove() in .exit.text and drop suppress_bind_attrs
        fbdev: omapfb/hdmi: Don't put .remove() in .exit.text and drop suppress_bind_attrs
        fbdev: omapfb/dvi: Don't put .remove() in .exit.text and drop suppress_bind_attrs
        ...
      18553507
    • Yujie Liu's avatar
      tracing/kprobes: Fix the order of argument descriptions · f032c53b
      Yujie Liu authored
      The order of descriptions should be consistent with the argument list of
      the function, so "kretprobe" should be the second one.
      
      int __kprobe_event_gen_cmd_start(struct dynevent_cmd *cmd, bool kretprobe,
                                       const char *name, const char *loc, ...)
      
      Link: https://lore.kernel.org/all/20231031041305.3363712-1-yujie.liu@intel.com/
      
      Fixes: 2a588dd1
      
       ("tracing: Add kprobe event command generation functions")
      Suggested-by: default avatarMukesh Ojha <quic_mojha@quicinc.com>
      Signed-off-by: default avatarYujie Liu <yujie.liu@intel.com>
      Reviewed-by: default avatarMukesh Ojha <quic_mojha@quicinc.com>
      Signed-off-by: default avatarMasami Hiramatsu (Google) <mhiramat@kernel.org>
      f032c53b
    • Linus Torvalds's avatar
      Merge tag 'drm-next-2023-11-10' of git://anongit.freedesktop.org/drm/drm · c0d12d76
      Linus Torvalds authored
      Pull drm fixes from Daniel Vetter:
       "Dave's VPN to the big machine died, so it's on me to do fixes pr this
        and next week while everyone else is at plumbers.
      
         - big pile of amd fixes, but mostly for hw support newly added in 6.7
      
         - i915 fixes, mostly minor things
      
         - qxl memory leak fix
      
         - vc4 uaf fix in mock helpers
      
         - syncobj fix for DRM_SYNCOBJ_WAIT_FLAGS_WAIT_AVAILABLE"
      
      * tag 'drm-next-2023-11-10' of git://anongit.freedesktop.org/drm/drm: (78 commits)
        drm/amdgpu: fix error handling in amdgpu_vm_init
        drm/amdgpu: Fix possible null pointer dereference
        drm/amdgpu: move UVD and VCE sched entity init after sched init
        drm/amdgpu: move kfd_resume before the ip late init
        drm/amd: Explicitly check for GFXOFF to be enabled for s0ix
        drm/amdgpu: Change WREG32_RLC to WREG32_SOC15_RLC where inst != 0 (v2)
        drm/amdgpu: Use correct KIQ MEC engine for gfx9.4.3 (v5)
        drm/amdgpu: add smu v13.0.6 pcs xgmi ras error query support
        drm/amdgpu: fix software pci_unplug on some chips
        drm/amd/display: remove duplicated argument
        drm/amdgpu: correct mca debugfs dump reg list
        drm/amdgpu: correct acclerator check architecutre dump
        drm/amdgpu: add pcs xgmi v6.4.0 ras support
        drm/amdgpu: Change extended-scope MTYPE on GC 9.4.3
        drm/amdgpu: disable smu v13.0.6 mca debug mode by default
        drm/amdgpu: Support multiple error query modes
        drm/amdgpu: refine smu v13.0.6 mca dump driver
        drm/amdgpu: Do not program PF-only regs in hdp_v4_0.c under SRIOV (v2)
        drm/amdgpu: Skip PCTL0_MMHUB_DEEPSLEEP_IB write in jpegv4.0.3 under SRIOV
        drm: amd: Resolve Sphinx unexpected indentation warning
        ...
      c0d12d76
    • Linus Torvalds's avatar
      Merge tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux · ac347a06
      Linus Torvalds authored
      Pull arm64 fixes from Catalin Marinas:
       "Mostly PMU fixes and a reworking of the pseudo-NMI disabling on broken
        MediaTek firmware:
      
         - Move the MediaTek GIC quirk handling from irqchip to core. Before
           the merging window commit 44bd78dd ("irqchip/gic-v3: Disable
           pseudo NMIs on MediaTek devices w/ firmware issues") temporarily
           addressed this issue. Fixed now at a deeper level in the arch code
      
         - Reject events meant for other PMUs in the CoreSight PMU driver,
           otherwise some of the core PMU events would disappear
      
         - Fix the Armv8 PMUv3 driver driver to not truncate 64-bit registers,
           causing some events to be invisible
      
         - Remove duplicate declaration of __arm64_sys##name following the
           patch to avoid prototype warning for syscalls
      
         - Typos in the elf_hwcap documentation"
      
      * tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux:
        arm64/syscall: Remove duplicate declaration
        Revert "arm64: smp: avoid NMI IPIs with broken MediaTek FW"
        arm64: Move MediaTek GIC quirk handling from irqchip to core
        arm64/arm: arm_pmuv3: perf: Don't truncate 64-bit registers
        perf: arm_cspmu: Reject events meant for other PMUs
        Documentation/arm64: Fix typos in elf_hwcaps
      ac347a06
    • Linus Torvalds's avatar
      Merge tag 'sound-fix-6.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound · e1d809b3
      Linus Torvalds authored
      Pull sound fixes from Takashi Iwai:
       "A collection of fixes for rc1.
      
        The majority of changes are various ASoC driver-specific small fixes
        and usual HD-audio quirks, while there are a couple of core changes: a
        fix in ALSA core procfs code to avoid deadlocks at disconnection and
        an ASoC core fix for DAPM clock widgets"
      
      * tag 'sound-fix-6.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound:
        OSS: dmasound/paula: Convert to platform remove callback returning void
        ALSA: hda: ASUS UM5302LA: Added quirks for cs35L41/10431A83 on i2c bus
        ALSA: info: Fix potential deadlock at disconnection
        ASoC: nau8540: Add self recovery to improve capture quility
        ALSA: hda/realtek: Add support dual speaker for Dell
        ALSA: hda: Add ASRock X670E Taichi to denylist
        ALSA: hda/realtek: Add quirk for ASUS UX7602ZM
        ASoC: SOF: sof-client: trivial: fix comment typo
        ASoC: dapm: fix clock get name
        ASoC: hdmi-codec: register hpd callback on component probe
        ASoC: mediatek: mt8186_mt6366_rt1019_rt5682s: trivial: fix error messages
        ASoC: da7219: Improve system suspend and resume handling
        ASoC: codecs: Modify macro value error
        ASoC: codecs: Modify the wrong judgment of re value
        ASoC: codecs: Modify the maximum value of calib
        ASoC: amd: acp: fix for i2s mode register field update
        ASoC: codecs: aw88399: Fix -Wuninitialized in aw_dev_set_vcalb()
        ASoC: rt712-sdca: fix speaker route missing issue
        ASoC: rockchip: Fix unused rockchip_i2s_tdm_match warning for !CONFIG_OF
        ASoC: ti: omap-mcbsp: Fix runtime PM underflow warnings
      e1d809b3
    • Daniel Vetter's avatar
      Merge tag 'amd-drm-next-6.7-2023-11-10' of https://gitlab.freedesktop.org/agd5f/linux into drm-next · 03df0fc0
      Daniel Vetter authored
      
      
      amd-drm-next-6.7-2023-11-10:
      
      amdgpu:
      - SR-IOV fixes
      - DMCUB fixes
      - DCN3.5 fixes
      - DP2 fixes
      - SubVP fixes
      - SMU14 fixes
      - SDMA4.x fixes
      - Suspend/resume fixes
      - AGP regression fix
      - UAF fixes for some error cases
      - SMU 13.0.6 fixes
      - Documentation fixes
      - RAS fixes
      - Hotplug fixes
      - Scheduling entity ordering fix
      - GPUVM fixes
      
      Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      From: Alex Deucher <alexander.deucher@amd.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20231110190703.4741-1-alexander.deucher@amd.com
      03df0fc0
    • Linus Torvalds's avatar
      Merge tag 'spi-fix-v6.7-merge-window' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi · ae4f52a7
      Linus Torvalds authored
      Pull spi fixes from Mark Brown:
       "A couple of fixes that came in during the merge window: one Kconfig
        dependency fix and another fix for a long standing issue where a sync
        transfer races with system suspend"
      
      * tag 'spi-fix-v6.7-merge-window' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi:
        spi: Fix null dereference on suspend
        spi: spi-zynq-qspi: add spi-mem to driver kconfig dependencies
      ae4f52a7
    • Linus Torvalds's avatar
      Merge tag 'mmc-v6.7-2' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc · b456259e
      Linus Torvalds authored
      Pull MMC fixes from Ulf Hansson:
       "MMC core:
         - Fix broken cache-flush support for Micron eMMCs
         - Revert 'mmc: core: Capture correct oemid-bits for eMMC cards'
      
        MMC host:
         - sdhci_am654: Fix TAP value parsing for legacy speed mode
         - sdhci-pci-gli: Fix support for ASPM mode for GL9755/GL9750
         - vub300: Fix an error path in probe"
      
      * tag 'mmc-v6.7-2' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc:
        mmc: sdhci-pci-gli: GL9750: Mask the replay timer timeout of AER
        mmc: sdhci-pci-gli: GL9755: Mask the replay timer timeout of AER
        Revert "mmc: core: Capture correct oemid-bits for eMMC cards"
        mmc: vub300: fix an error code
        mmc: Add quirk MMC_QUIRK_BROKEN_CACHE_FLUSH for Micron eMMC Q2J54A
        mmc: sdhci_am654: fix start loop index for TAP value parsing
      b456259e
    • Linus Torvalds's avatar
      Merge tag 'pwm/for-6.7-rc1-fixes' of... · b077b7ee
      Linus Torvalds authored
      Merge tag 'pwm/for-6.7-rc1-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/thierry.reding/linux-pwm
      
      Pull pwm fixes from Thierry Reding:
       "This contains two very small fixes that I failed to include in the
        main pull request"
      
      * tag 'pwm/for-6.7-rc1-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/thierry.reding/linux-pwm:
        pwm: Fix double shift bug
        pwm: samsung: Fix a bit test in pwm_samsung_resume()
      b077b7ee
    • Linus Torvalds's avatar
      Merge tag 'io_uring-6.7-2023-11-10' of git://git.kernel.dk/linux · b712075e
      Linus Torvalds authored
      Pull io_uring fixes from Jens Axboe:
       "Mostly just a few fixes and cleanups caused by the read multishot
        support.
      
        Outside of that, a stable fix for how a connect retry is done"
      
      * tag 'io_uring-6.7-2023-11-10' of git://git.kernel.dk/linux:
        io_uring: do not clamp read length for multishot read
        io_uring: do not allow multishot read to set addr or len
        io_uring: indicate if io_kbuf_recycle did recycle anything
        io_uring/rw: add separate prep handler for fixed read/write
        io_uring/rw: add separate prep handler for readv/writev
        io_uring/net: ensure socket is marked connected on connect retry
        io_uring/rw: don't attempt to allocate async data if opcode doesn't need it
      b712075e
    • Linus Torvalds's avatar
      Merge tag 'block-6.7-2023-11-10' of git://git.kernel.dk/linux · 4b803784
      Linus Torvalds authored
      Pull block fixes from Jens Axboe:
      
       - NVMe pull request via Keith:
            - nvme keyring config compile fixes (Hannes and Arnd)
            - fabrics keep alive fixes (Hannes)
            - tcp authentication fixes (Mark)
            - io_uring_cmd error handling fix (Anuj)
            - stale firmware attribute fix (Daniel)
            - tcp memory leak (Christophe)
            - crypto library usage simplification (Eric)
      
       - nbd use-after-free fix. May need a followup, but at least it's better
         than what it was before (Li)
      
       - Rate limit write on read-only device warnings (Yu)
      
      * tag 'block-6.7-2023-11-10' of git://git.kernel.dk/linux:
        nvme: keyring: fix conditional compilation
        nvme: common: make keyring and auth separate modules
        blk-core: use pr_warn_ratelimited() in bio_check_ro()
        nbd: fix uaf in nbd_open
        nvme: start keep-alive after admin queue setup
        nvme-loop: always quiesce and cancel commands before destroying admin q
        nvme-tcp: avoid open-coding nvme_tcp_teardown_admin_queue()
        nvme-auth: always set valid seq_num in dhchap reply
        nvme-auth: add flag for bi-directional auth
        nvme-auth: auth success1 msg always includes resp
        nvme: fix error-handling for io_uring nvme-passthrough
        nvme: update firmware version after commit
        nvme-tcp: Fix a memory leak
        nvme-auth: use crypto_shash_tfm_digest()
      4b803784
    • Linus Torvalds's avatar
      Merge tag 'ata-6.7-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/dlemoal/libata · d035e4eb
      Linus Torvalds authored
      Pull ata fixes from Damien Le Moal:
      
       - Revert a change in ata_pci_shutdown_one() to suspend disks on
         shutdown as this is now done using the manage_shutdown scsi device
         flag (me)
      
       - Change the pata_falcon and pata_gayle drivers to stop using
         module_platform_driver_probe(). This makes these drivers more inline
         with all other drivers (allowing bind/unbind) and suppress a
         compilation warning (Uwe)
      
       - Convert the pata_falcon and pata_gayle drivers to the new
         .remove_new() void-return callback. These 2 drivers are the last ones
         needing this change (Uwe)
      
      * tag 'ata-6.7-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/dlemoal/libata:
        ata: pata_gayle: Convert to platform remove callback returning void
        ata: pata_falcon: Convert to platform remove callback returning void
        ata: pata_gayle: Stop using module_platform_driver_probe()
        ata: pata_falcon: Stop using module_platform_driver_probe()
        ata: libata-core: Fix ata_pci_shutdown_one()
      d035e4eb
    • Linus Torvalds's avatar
      Merge tag 'dma-mapping-6.7-2023-11-10' of git://git.infradead.org/users/hch/dma-mapping · 391ce5b9
      Linus Torvalds authored
      Pull dma-mapping fixes from Christoph Hellwig:
      
       - don't leave pages decrypted for DMA in encrypted memory setups linger
         around on failure (Petr Tesarik)
      
       - fix an out of bounds access in the new dynamic swiotlb code (Petr
         Tesarik)
      
       - fix dma_addressing_limited for systems with weird physical memory
         layouts (Jia He)
      
      * tag 'dma-mapping-6.7-2023-11-10' of git://git.infradead.org/users/hch/dma-mapping:
        swiotlb: fix out-of-bounds TLB allocations with CONFIG_SWIOTLB_DYNAMIC
        dma-mapping: fix dma_addressing_limited() if dma_range_map can't cover all system RAM
        dma-mapping: move dma_addressing_limited() out of line
        swiotlb: do not free decrypted pages if dynamic
      391ce5b9
    • Linus Torvalds's avatar
      Merge tag 'lsm-pr-20231109' of git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/lsm · ead3b62a
      Linus Torvalds authored
      Pull lsm updates from Paul Moore:
       "We've got two small patches to correct the default return
        value of two LSM hooks: security_vm_enough_memory_mm() and
        security_inode_getsecctx()"
      
      * tag 'lsm-pr-20231109' of git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/lsm:
        lsm: fix default return value for inode_getsecctx
        lsm: fix default return value for vm_enough_memory
      ead3b62a