1. 02 Sep, 2024 1 commit
  2. 01 Sep, 2024 1 commit
  3. 31 Aug, 2024 1 commit
  4. 29 Aug, 2024 2 commits
  5. 28 Aug, 2024 1 commit
  6. 27 Aug, 2024 2 commits
  7. 26 Aug, 2024 3 commits
  8. 25 Aug, 2024 1 commit
  9. 23 Aug, 2024 1 commit
  10. 22 Aug, 2024 4 commits
  11. 21 Aug, 2024 3 commits
  12. 19 Aug, 2024 5 commits
  13. 18 Aug, 2024 14 commits
    • Linus Torvalds's avatar
      Linux 6.11-rc4 · 47ac09b9
      Linus Torvalds authored
      47ac09b9
    • Linus Torvalds's avatar
      Merge tag 'driver-core-6.11-rc4' of... · ccdbf91f
      Linus Torvalds authored
      Merge tag 'driver-core-6.11-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core
      
      Pull driver core fixes from Greg KH:
       "Here are two driver fixes for regressions from 6.11-rc1 due to the
        driver core change making a structure in a driver core callback const.
      
        These were missed by all testing EXCEPT for what Bart happened to be
        running, so I appreciate the fixes provided here for some
        odd/not-often-used driver subsystems that nothing else happened to
        catch.
      
        Both of these fixes have been in linux-next all week with no reported
        issues"
      
      * tag 'driver-core-6.11-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core:
        mips: sgi-ip22: Fix the build
        ARM: riscpc: ecard: Fix the build
      ccdbf91f
    • Linus Torvalds's avatar
      Merge tag 'char-misc-6.11-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc · e1bc1132
      Linus Torvalds authored
      Pull char / misc fixes from Greg KH:
       "Here are some small char/misc fixes for 6.11-rc4 to resolve reported
        problems. Included in here are:
      
         - fastrpc revert of a change that broke userspace
      
         - xillybus fixes for reported issues
      
        Half of these have been in linux-next this week with no reported
        problems, I don't know if the last bit of xillybus driver changes made
        it in, but they are 'obviously correct' so will be safe :)"
      
      * tag 'char-misc-6.11-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc:
        char: xillybus: Check USB endpoints when probing device
        char: xillybus: Refine workqueue handling
        Revert "misc: fastrpc: Restrict untrusted app to attach to privileged PD"
        char: xillybus: Don't destroy workqueue from work item running on it
      e1bc1132
    • Linus Torvalds's avatar
      Merge tag 'tty-6.11-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty · 394f33f9
      Linus Torvalds authored
      Pull tty / serial fixes from Greg KH:
       "Here are some small tty and serial driver fixes for 6.11-rc4 to
        resolve some reported problems. Included in here are:
      
         - conmakehash.c userspace build issues
      
         - fsl_lpuart driver fix
      
         - 8250_omap revert for reported regression
      
         - atmel_serial rts flag fix
      
        All of these have been in linux-next this week with no reported
        issues"
      
      * tag 'tty-6.11-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty:
        Revert "serial: 8250_omap: Set the console genpd always on if no console suspend"
        tty: atmel_serial: use the correct RTS flag.
        tty: vt: conmakehash: remove non-portable code printing comment header
        tty: serial: fsl_lpuart: mark last busy before uart_add_one_port
      394f33f9
    • Linus Torvalds's avatar
      Merge tag 'usb-6.11-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb · 3d9061d2
      Linus Torvalds authored
      Pull USB / Thunderbolt driver fixes from Greg KH:
       "Here are some small USB and Thunderbolt driver fixes for 6.11-rc4 to
        resolve some reported issues. Included in here are:
      
         - thunderbolt driver fixes for reported problems
      
         - typec driver fixes
      
         - xhci fixes
      
         - new device id for ljca usb driver
      
        All of these have been in linux-next this week with no reported
        issues"
      
      * tag 'usb-6.11-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb:
        xhci: Fix Panther point NULL pointer deref at full-speed re-enumeration
        usb: misc: ljca: Add Lunar Lake ljca GPIO HID to ljca_gpio_hids[]
        Revert "usb: typec: tcpm: clear pd_event queue in PORT_RESET"
        usb: typec: ucsi: Fix the return value of ucsi_run_command()
        usb: xhci: fix duplicate stall handling in handle_tx_event()
        usb: xhci: Check for xhci->interrupters being allocated in xhci_mem_clearup()
        thunderbolt: Mark XDomain as unplugged when router is removed
        thunderbolt: Fix memory leaks in {port|retimer}_sb_regs_write()
      3d9061d2
    • Linus Torvalds's avatar
      Merge tag 'for-6.11-rc3-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux · 57b14823
      Linus Torvalds authored
      Pull more btrfs fixes from David Sterba:
       "A more fixes. We got reports that shrinker added in 6.10 still causes
        latency spikes and the fixes don't handle all corner cases. Due to
        summer holidays we're taking a shortcut to disable it for release
        builds and will fix it in the near future.
      
         - only enable extent map shrinker for DEBUG builds, temporary quick
           fix to avoid latency spikes for regular builds
      
         - update target inode's ctime on unlink, mandated by POSIX
      
         - properly take lock to read/update block group's zoned variables
      
         - add counted_by() annotations"
      
      * tag 'for-6.11-rc3-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux:
        btrfs: only enable extent map shrinker for DEBUG builds
        btrfs: zoned: properly take lock to read/update block group's zoned variables
        btrfs: tree-checker: add dev extent item checks
        btrfs: update target inode's ctime on unlink
        btrfs: send: annotate struct name_cache_entry with __counted_by()
      57b14823
    • Jann Horn's avatar
      fuse: Initialize beyond-EOF page contents before setting uptodate · 3c0da3d1
      Jann Horn authored
      fuse_notify_store(), unlike fuse_do_readpage(), does not enable page
      zeroing (because it can be used to change partial page contents).
      
      So fuse_notify_store() must be more careful to fully initialize page
      contents (including parts of the page that are beyond end-of-file)
      before marking the page uptodate.
      
      The current code can leave beyond-EOF page contents uninitialized, which
      makes these uninitialized page contents visible to userspace via mmap().
      
      This is an information leak, but only affects systems which do not
      enable init-on-alloc (via CONFIG_INIT_ON_ALLOC_DEFAULT_ON=y or the
      corresponding kernel command line parameter).
      
      Link: https://bugs.chromium.org/p/project-zero/issues/detail?id=2574
      Cc: stable@kernel.org
      Fixes: a1d75f25 ("fuse: add store request")
      Signed-off-by: default avatarJann Horn <jannh@google.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      3c0da3d1
    • Ivan Orlov's avatar
      selftests: ALSA: Cover userspace-driven timers with test · 1026392d
      Ivan Orlov authored
      Add a test for the new functionality of userspace-driven timers and the
      tool which allows us to count timer ticks in a certain time period. The
      test:
      
      1. Creates a userspace-driven timer with ioctl to /dev/snd/timer
      2. Starts the `global-timer` application to count the ticks of the timer
      from step 1.
      3. Asynchronously triggers the timer multiple times with some interval
      4. Compares the amount of caught ticks with the amount of trigger calls.
      
      Since we can't include <alsa/asoundlib.h> and <sound/asound.h> in one
      file due to overlapping declarations, I have to split the test into two
      applications: one of them counts the amount of timer ticks in the
      defined time period, and another one is the actual test which creates
      the timer, triggers it periodically and starts the first app to count
      the amount of ticks in a separate thread.
      
      Besides from testing the functionality itself, the test represents a
      sample application showing userspace-driven ALSA timers API.
      
      Also, the timer test includes a test case which tries to create a timer
      with invalid resolution (=0), and NULL as a timer info structure.
      Signed-off-by: default avatarIvan Orlov <ivan.orlov0322@gmail.com>
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      Link: https://patch.msgid.link/20240813120701.171743-5-ivan.orlov0322@gmail.com
      1026392d
    • Ivan Orlov's avatar
      ALSA: timer: Introduce virtual userspace-driven timers · 37745918
      Ivan Orlov authored
      Implement two ioctl calls in order to support virtual userspace-driven
      ALSA timers.
      
      The first ioctl is SNDRV_TIMER_IOCTL_CREATE, which gets the
      snd_timer_uinfo struct as a parameter and puts a file descriptor of a
      virtual timer into the `fd` field of the snd_timer_unfo structure. It
      also updates the `id` field of the snd_timer_uinfo struct, which
      provides a unique identifier for the timer (basically, the subdevice
      number which can be used when creating timer instances).
      
      This patch also introduces a tiny id allocator for the userspace-driven
      timers, which guarantees that we don't have more than 128 of them in the
      system.
      
      Another ioctl is SNDRV_TIMER_IOCTL_TRIGGER, which allows us to trigger
      the virtual timer (and calls snd_timer_interrupt for the timer under
      the hood), causing all of the timer instances binded to this timer to
      execute their callbacks.
      
      The maximum amount of ticks available for the timer is 1 for the sake of
      simplicity of the userspace API. 'start', 'stop', 'open' and 'close'
      callbacks for the userspace-driven timers are empty since we don't
      really do any hardware initialization here.
      Suggested-by: default avatarAxel Holzinger <aholzinger@gmx.de>
      Signed-off-by: default avatarIvan Orlov <ivan.orlov0322@gmail.com>
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      Link: https://patch.msgid.link/20240813120701.171743-4-ivan.orlov0322@gmail.com
      37745918
    • Ivan Orlov's avatar
      Docs/sound: Add documentation for userspace-driven ALSA timers · 8fad71b6
      Ivan Orlov authored
      Add the documentation which describes the new userspace-driven timers
      API introduced in this patch series. The documentation contains:
      
      - Description of userspace-driven ALSA timers, what they are for
      - Description of the timers API
      - Example of how the timers can be created and triggered
      - How the timers can be used as a timer sources for snd-aloop module
      Suggested-by: default avatarAxel Holzinger <aholzinger@gmx.de>
      Signed-off-by: default avatarIvan Orlov <ivan.orlov0322@gmail.com>
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      Link: https://patch.msgid.link/20240813120701.171743-3-ivan.orlov0322@gmail.com
      8fad71b6
    • Ivan Orlov's avatar
      ALSA: aloop: Allow using global timers · e949df0b
      Ivan Orlov authored
      Allow using global timers as a timer source when card id is equal to -1
      in the timer_source parameter.
      Signed-off-by: default avatarIvan Orlov <ivan.orlov0322@gmail.com>
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      Link: https://patch.msgid.link/20240813120701.171743-2-ivan.orlov0322@gmail.com
      e949df0b
    • Yuntao Liu's avatar
      ALSA: hda: cs35l41: fix module autoloading · 48f1434a
      Yuntao Liu authored
      Add MODULE_DEVICE_TABLE(), so modules could be properly autoloaded
      based on the alias from spi_device_id table.
      
      Fixes: 7b2f3eb4 ("ALSA: hda: cs35l41: Add support for CS35L41 in HDA systems")
      Signed-off-by: default avatarYuntao Liu <liuyuntao12@huawei.com>
      Link: https://patch.msgid.link/20240815091312.757139-1-liuyuntao12@huawei.comSigned-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      48f1434a
    • Linus Torvalds's avatar
      Merge tag 'mm-hotfixes-stable-2024-08-17-19-34' of... · c3f2d783
      Linus Torvalds authored
      Merge tag 'mm-hotfixes-stable-2024-08-17-19-34' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
      
      Pull misc fixes from Andrew Morton:
       "16 hotfixes. All except one are for MM. 10 of these are cc:stable and
        the others pertain to post-6.10 issues.
      
        As usual with these merges, singletons and doubletons all over the
        place, no identifiable-by-me theme. Please see the lovingly curated
        changelogs to get the skinny"
      
      * tag 'mm-hotfixes-stable-2024-08-17-19-34' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm:
        mm/migrate: fix deadlock in migrate_pages_batch() on large folios
        alloc_tag: mark pages reserved during CMA activation as not tagged
        alloc_tag: introduce clear_page_tag_ref() helper function
        crash: fix riscv64 crash memory reserve dead loop
        selftests: memfd_secret: don't build memfd_secret test on unsupported arches
        mm: fix endless reclaim on machines with unaccepted memory
        selftests/mm: compaction_test: fix off by one in check_compaction()
        mm/numa: no task_numa_fault() call if PMD is changed
        mm/numa: no task_numa_fault() call if PTE is changed
        mm/vmalloc: fix page mapping if vm_area_alloc_pages() with high order fallback to order 0
        mm/memory-failure: use raw_spinlock_t in struct memory_failure_cpu
        mm: don't account memmap per-node
        mm: add system wide stats items category
        mm: don't account memmap on failure
        mm/hugetlb: fix hugetlb vs. core-mm PT locking
        mseal: fix is_madv_discard()
      c3f2d783
    • Linus Torvalds's avatar
      Merge tag 'powerpc-6.11-2' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux · 810996a3
      Linus Torvalds authored
      Pull powerpc fixes from Michael Ellerman:
      
       - Fix crashes on 85xx with some configs since the recent hugepd rework.
      
       - Fix boot warning with hugepages and CONFIG_DEBUG_VIRTUAL on some
         platforms.
      
       - Don't enable offline cores when changing SMT modes, to match existing
         userspace behaviour.
      
      Thanks to Christophe Leroy, Dr. David Alan Gilbert, Guenter Roeck, Nysal
      Jan K.A, Shrikanth Hegde, Thomas Gleixner, and Tyrel Datwyler.
      
      * tag 'powerpc-6.11-2' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux:
        powerpc/topology: Check if a core is online
        cpu/SMT: Enable SMT only if a core is online
        powerpc/mm: Fix boot warning with hugepages and CONFIG_DEBUG_VIRTUAL
        powerpc/mm: Fix size of allocated PGDIR
        soc: fsl: qbman: remove unused struct 'cgr_comp'
      810996a3
  14. 17 Aug, 2024 1 commit