Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

arm64: dts: qcom: msm8939-longcheer-l9100: Add sound #295

Draft
wants to merge 1,031 commits into
base: wip/msm8916/6.10-rc5
Choose a base branch
from
This pull request is big! We’re only showing the most recent 250 commits.

Commits on Jul 10, 2024

  1. Merge tag 'acpi-6.10-rc8' of git://git.kernel.org/pub/scm/linux/kerne…

    …l/git/rafael/linux-pm
    
    Pull ACPI fix from Rafael Wysocki:
     "Fix the sorting of _CST output data in the ACPI processor idle driver
      (Kuan-Wei Chiu)"
    
    * tag 'acpi-6.10-rc8' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
      ACPI: processor_idle: Fix invalid comparison with insertion sort for latency
    torvalds committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    97488b9 View commit details
    Browse the repository at this point in the history
  2. Merge tag 'platform-drivers-x86-v6.10-6' of git://git.kernel.org/pub/…

    …scm/linux/kernel/git/pdx86/platform-drivers-x86
    
    Pull x86 platform driver fix from Hans de Goede:
     "One-liner fix for a dmi_system_id array in the toshiba_acpi driver not
      being terminated properly.
    
      Something which somehow has escaped detection since being introduced
      in 2022 until now"
    
    * tag 'platform-drivers-x86-v6.10-6' of git://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86:
      platform/x86: toshiba_acpi: Fix array out-of-bounds access
    torvalds committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    a19ea42 View commit details
    Browse the repository at this point in the history
  3. bcachefs: Fix RCU splat

    Reported-by: [email protected]
    Signed-off-by: Kent Overstreet <[email protected]>
    Kent Overstreet committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    6f692b1 View commit details
    Browse the repository at this point in the history
  4. bcachefs: fix scheduling while atomic in break_cycle()

    Signed-off-by: Kent Overstreet <[email protected]>
    Kent Overstreet committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    fd80d14 View commit details
    Browse the repository at this point in the history
  5. Merge tag 'usb-serial-6.10-rc8' of ssh://gitolite.kernel.org/pub/scm/…

    …linux/kernel/git/johan/usb-serial into usb-linus
    
    Johan writes:
    
    USB-serial fixes for 6.10-rc8
    
    Here's a fix for a long-standing issue in the mos7840 driver that can trigger
    a crash when resuming from system suspend.
    
    Included are also some new modem device ids.
    
    All have been in linux-next with no reported issues.
    
    * tag 'usb-serial-6.10-rc8' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/johan/usb-serial:
      USB: serial: mos7840: fix crash on resume
      USB: serial: option: add Rolling RW350-GL variants
      USB: serial: option: add support for Foxconn T99W651
      USB: serial: option: add Netprisma LCUK54 series modules
    gregkh committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    70c8e39 View commit details
    Browse the repository at this point in the history
  6. Merge tag 'bcachefs-2024-07-10' of https://evilpiepirate.org/git/bcac…

    …hefs
    
    Pull bcachefs fixes from Kent Overstreet:
    
     - Switch some asserts to WARN()
    
     - Fix a few "transaction not locked" asserts in the data read retry
       paths and backpointers gc
    
     - Fix a race that would cause the journal to get stuck on a flush
       commit
    
     - Add missing fsck checks for the fragmentation LRU
    
     - The usual assorted ssorted syzbot fixes
    
    * tag 'bcachefs-2024-07-10' of https://evilpiepirate.org/git/bcachefs: (22 commits)
      bcachefs: Add missing bch2_trans_begin()
      bcachefs: Fix missing error check in journal_entry_btree_keys_validate()
      bcachefs: Warn on attempting a move with no replicas
      bcachefs: bch2_data_update_to_text()
      bcachefs: Log mount failure error code
      bcachefs: Fix undefined behaviour in eytzinger1_first()
      bcachefs: Mark bch_inode_info as SLAB_ACCOUNT
      bcachefs: Fix bch2_inode_insert() race path for tmpfiles
      closures: fix closure_sync + closure debugging
      bcachefs: Fix journal getting stuck on a flush commit
      bcachefs: io clock: run timer fns under clock lock
      bcachefs: Repair fragmentation_lru in alloc_write_key()
      bcachefs: add check for missing fragmentation in check_alloc_to_lru_ref()
      bcachefs: bch2_btree_write_buffer_maybe_flush()
      bcachefs: Add missing printbuf_tabstops_reset() calls
      bcachefs: Fix loop restart in bch2_btree_transactions_read()
      bcachefs: Fix bch2_read_retry_nodecode()
      bcachefs: Don't use the new_fs() bucket alloc path on an initialized fs
      bcachefs: Fix shift greater than integer size
      bcachefs: Change bch2_fs_journal_stop() BUG_ON() to warning
      ...
    torvalds committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    f6963ab View commit details
    Browse the repository at this point in the history
  7. Merge tag 'vfio-v6.10' of https://github.com/awilliam/linux-vfio

    Pull VFIO fix from Alex Williamson:
    
     - Recent stable backports are exposing a bug introduced in the v6.10
       development cycle where a counter value is uninitialized.  This leads
       to regressions in userspace drivers like QEMU where where the kernel
       might ask for an arbitrary buffer size or return out of memory itself
       based on a bogus value.  Zero initialize the counter.  (Yi Liu)
    
    * tag 'vfio-v6.10' of https://github.com/awilliam/linux-vfio:
      vfio/pci: Init the count variable in collecting hot-reset devices
    torvalds committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    d6e1712 View commit details
    Browse the repository at this point in the history
  8. i2c: rcar: clear NO_RXDMA flag after resetting

    We should allow RXDMA only if the reset was really successful, so clear
    the flag after the reset call.
    
    Fixes: 0e864b5 ("i2c: rcar: reset controller is mandatory for Gen3+")
    Signed-off-by: Wolfram Sang <[email protected]>
    Signed-off-by: Andi Shyti <[email protected]>
    Wolfram Sang authored and Andi Shyti committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    fea6b5e View commit details
    Browse the repository at this point in the history
  9. Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/g…

    …it/jejb/scsi
    
    Pull SCSI fixes from James Bottomley:
     "One core change that moves a disk start message to a location where it
      will only be printed once instead of twice plus a couple of error
      handling race fixes in the ufs driver"
    
    * tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi:
      scsi: sd: Do not repeat the starting disk message
      scsi: ufs: core: Fix ufshcd_abort_one racing issue
      scsi: ufs: core: Fix ufshcd_clear_cmd racing issue
    torvalds committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    ef2b7eb View commit details
    Browse the repository at this point in the history
  10. Merge tag 'mm-hotfixes-stable-2024-07-10-13-19' of git://git.kernel.o…

    …rg/pub/scm/linux/kernel/git/akpm/mm
    
    Pull misc fixes from Andrew Morton:
     "21 hotfixes, 15 of which are cc:stable.
    
      No identifiable theme here - all are singleton patches, 19 are for MM"
    
    * tag 'mm-hotfixes-stable-2024-07-10-13-19' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm: (21 commits)
      mm/hugetlb: fix kernel NULL pointer dereference when migrating hugetlb folio
      mm/hugetlb: fix potential race in __update_and_free_hugetlb_folio()
      filemap: replace pte_offset_map() with pte_offset_map_nolock()
      arch/xtensa: always_inline get_current() and current_thread_info()
      sched.h: always_inline alloc_tag_{save|restore} to fix modpost warnings
      MAINTAINERS: mailmap: update Lorenzo Stoakes's email address
      mm: fix crashes from deferred split racing folio migration
      lib/build_OID_registry: avoid non-destructive substitution for Perl < 5.13.2 compat
      mm: gup: stop abusing try_grab_folio
      nilfs2: fix kernel bug on rename operation of broken directory
      mm/hugetlb_vmemmap: fix race with speculative PFN walkers
      cachestat: do not flush stats in recency check
      mm/shmem: disable PMD-sized page cache if needed
      mm/filemap: skip to create PMD-sized page cache if needed
      mm/readahead: limit page cache size in page_cache_ra_order()
      mm/filemap: make MAX_PAGECACHE_ORDER acceptable to xarray
      mm/damon/core: merge regions aggressively when max_nr_regions is unmet
      Fix userfaultfd_api to return EINVAL as expected
      mm: vmalloc: check if a hash-index is in cpu_possible_mask
      mm: prevent derefencing NULL ptr in pfn_section_valid()
      ...
    torvalds committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    9d9a2f2 View commit details
    Browse the repository at this point in the history
  11. bpf: fix order of args in call to bpf_map_kvcalloc

    The original function call passed size of smap->bucket before the number of
    buckets which raises the error 'calloc-transposed-args' on compilation.
    
    Vlastimil Babka added:
    
    The order of parameters can be traced back all the way to 6ac99e8
    ("bpf: Introduce bpf sk local storage") accross several refactorings,
    and that's why the commit is used as a Fixes: tag.
    
    In v6.10-rc1, a different commit 2c321f3 ("mm: change inlined
    allocation helpers to account at the call site") however exposed the
    order of args in a way that gcc-14 has enough visibility to start
    warning about it, because (in !CONFIG_MEMCG case) bpf_map_kvcalloc is
    then a macro alias for kvcalloc instead of a static inline wrapper.
    
    To sum up the warning happens when the following conditions are all met:
    
    - gcc-14 is used (didn't see it with gcc-13)
    - commit 2c321f3 is present
    - CONFIG_MEMCG is not enabled in .config
    - CONFIG_WERROR turns this from a compiler warning to error
    
    Fixes: 6ac99e8 ("bpf: Introduce bpf sk local storage")
    Reviewed-by: Andrii Nakryiko <[email protected]>
    Tested-by: Christian Kujau <[email protected]>
    Signed-off-by: Mohammad Shehar Yaar Tausif <[email protected]>
    Signed-off-by: Vlastimil Babka <[email protected]>
    Link: https://lore.kernel.org/r/[email protected]
    Signed-off-by: Alexei Starovoitov <[email protected]>
    sheharyaar authored and Alexei Starovoitov committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    af253ae View commit details
    Browse the repository at this point in the history
  12. bpf: Fail bpf_timer_cancel when callback is being cancelled

    Given a schedule:
    
    timer1 cb			timer2 cb
    
    bpf_timer_cancel(timer2);	bpf_timer_cancel(timer1);
    
    Both bpf_timer_cancel calls would wait for the other callback to finish
    executing, introducing a lockup.
    
    Add an atomic_t count named 'cancelling' in bpf_hrtimer. This keeps
    track of all in-flight cancellation requests for a given BPF timer.
    Whenever cancelling a BPF timer, we must check if we have outstanding
    cancellation requests, and if so, we must fail the operation with an
    error (-EDEADLK) since cancellation is synchronous and waits for the
    callback to finish executing. This implies that we can enter a deadlock
    situation involving two or more timer callbacks executing in parallel
    and attempting to cancel one another.
    
    Note that we avoid incrementing the cancelling counter for the target
    timer (the one being cancelled) if bpf_timer_cancel is not invoked from
    a callback, to avoid spurious errors. The whole point of detecting
    cur->cancelling and returning -EDEADLK is to not enter a busy wait loop
    (which may or may not lead to a lockup). This does not apply in case the
    caller is in a non-callback context, the other side can continue to
    cancel as it sees fit without running into errors.
    
    Background on prior attempts:
    
    Earlier versions of this patch used a bool 'cancelling' bit and used the
    following pattern under timer->lock to publish cancellation status.
    
    lock(t->lock);
    t->cancelling = true;
    mb();
    if (cur->cancelling)
    	return -EDEADLK;
    unlock(t->lock);
    hrtimer_cancel(t->timer);
    t->cancelling = false;
    
    The store outside the critical section could overwrite a parallel
    requests t->cancelling assignment to true, to ensure the parallely
    executing callback observes its cancellation status.
    
    It would be necessary to clear this cancelling bit once hrtimer_cancel
    is done, but lack of serialization introduced races. Another option was
    explored where bpf_timer_start would clear the bit when (re)starting the
    timer under timer->lock. This would ensure serialized access to the
    cancelling bit, but may allow it to be cleared before in-flight
    hrtimer_cancel has finished executing, such that lockups can occur
    again.
    
    Thus, we choose an atomic counter to keep track of all outstanding
    cancellation requests and use it to prevent lockups in case callbacks
    attempt to cancel each other while executing in parallel.
    
    Reported-by: Dohyun Kim <[email protected]>
    Reported-by: Neel Natu <[email protected]>
    Fixes: b00628b ("bpf: Introduce bpf timers.")
    Signed-off-by: Kumar Kartikeya Dwivedi <[email protected]>
    Link: https://lore.kernel.org/r/[email protected]
    Signed-off-by: Alexei Starovoitov <[email protected]>
    kkdwivedi authored and Alexei Starovoitov committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    d452383 View commit details
    Browse the repository at this point in the history
  13. bpf: Defer work in bpf_timer_cancel_and_free

    Currently, the same case as previous patch (two timer callbacks trying
    to cancel each other) can be invoked through bpf_map_update_elem as
    well, or more precisely, freeing map elements containing timers. Since
    this relies on hrtimer_cancel as well, it is prone to the same deadlock
    situation as the previous patch.
    
    It would be sufficient to use hrtimer_try_to_cancel to fix this problem,
    as the timer cannot be enqueued after async_cancel_and_free. Once
    async_cancel_and_free has been done, the timer must be reinitialized
    before it can be armed again. The callback running in parallel trying to
    arm the timer will fail, and freeing bpf_hrtimer without waiting is
    sufficient (given kfree_rcu), and bpf_timer_cb will return
    HRTIMER_NORESTART, preventing the timer from being rearmed again.
    
    However, there exists a UAF scenario where the callback arms the timer
    before entering this function, such that if cancellation fails (due to
    timer callback invoking this routine, or the target timer callback
    running concurrently). In such a case, if the timer expiration is
    significantly far in the future, the RCU grace period expiration
    happening before it will free the bpf_hrtimer state and along with it
    the struct hrtimer, that is enqueued.
    
    Hence, it is clear cancellation needs to occur after
    async_cancel_and_free, and yet it cannot be done inline due to deadlock
    issues. We thus modify bpf_timer_cancel_and_free to defer work to the
    global workqueue, adding a work_struct alongside rcu_head (both used at
    _different_ points of time, so can share space).
    
    Update existing code comments to reflect the new state of affairs.
    
    Fixes: b00628b ("bpf: Introduce bpf timers.")
    Signed-off-by: Kumar Kartikeya Dwivedi <[email protected]>
    Link: https://lore.kernel.org/r/[email protected]
    Signed-off-by: Alexei Starovoitov <[email protected]>
    kkdwivedi authored and Alexei Starovoitov committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    a6fcd19 View commit details
    Browse the repository at this point in the history
  14. Merge branch 'fixes-for-bpf-timer-lockup-and-uaf'

    Kumar Kartikeya Dwivedi says:
    
    ====================
    Fixes for BPF timer lockup and UAF
    
    The following patches contain fixes for timer lockups and a
    use-after-free scenario.
    
    This set proposes to fix the following lockup situation for BPF timers.
    
    CPU 1					CPU 2
    
    bpf_timer_cb				bpf_timer_cb
      timer_cb1				  timer_cb2
        bpf_timer_cancel(timer_cb2)		    bpf_timer_cancel(timer_cb1)
          hrtimer_cancel			      hrtimer_cancel
    
    In this case, both callbacks will continue waiting for each other to
    finish synchronously, causing a lockup.
    
    The proposed fix adds support for tracking in-flight cancellations
    *begun by other timer callbacks* for a particular BPF timer.  Whenever
    preparing to call hrtimer_cancel, a callback will increment the target
    timer's counter, then inspect its in-flight cancellations, and if
    non-zero, return -EDEADLK to avoid situations where the target timer's
    callback is waiting for its completion.
    
    This does mean that in cases where a callback is fired and cancelled, it
    will be unable to cancel any timers in that execution. This can be
    alleviated by maintaining the list of waiting callbacks in bpf_hrtimer
    and searching through it to avoid interdependencies, but this may
    introduce additional delays in bpf_timer_cancel, in addition to
    requiring extra state at runtime which may need to be allocated or
    reused from bpf_hrtimer storage. Moreover, extra synchronization is
    needed to delete these elements from the list of waiting callbacks once
    hrtimer_cancel has finished.
    
    The second patch is for a deadlock situation similar to above in
    bpf_timer_cancel_and_free, but also a UAF scenario that can occur if
    timer is armed before entering it, if hrtimer_running check causes the
    hrtimer_cancel call to be skipped.
    
    As seen above, synchronous hrtimer_cancel would lead to deadlock (if
    same callback tries to free its timer, or two timers free each other),
    therefore we queue work onto the global workqueue to ensure outstanding
    timers are cancelled before bpf_hrtimer state is freed.
    
    Further details are in the patches.
    ====================
    
    Link: https://lore.kernel.org/r/[email protected]
    Signed-off-by: Alexei Starovoitov <[email protected]>
    Alexei Starovoitov committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    0c23734 View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2024

  1. tcp: avoid too many retransmit packets

    If a TCP socket is using TCP_USER_TIMEOUT, and the other peer
    retracted its window to zero, tcp_retransmit_timer() can
    retransmit a packet every two jiffies (2 ms for HZ=1000),
    for about 4 minutes after TCP_USER_TIMEOUT has 'expired'.
    
    The fix is to make sure tcp_rtx_probe0_timed_out() takes
    icsk->icsk_user_timeout into account.
    
    Before blamed commit, the socket would not timeout after
    icsk->icsk_user_timeout, but would use standard exponential
    backoff for the retransmits.
    
    Also worth noting that before commit e89688e ("net: tcp:
    fix unexcepted socket die when snd_wnd is 0"), the issue
    would last 2 minutes instead of 4.
    
    Fixes: b701a99 ("tcp: Add tcp_clamp_rto_to_user_timeout() helper to improve accuracy")
    Signed-off-by: Eric Dumazet <[email protected]>
    Cc: Neal Cardwell <[email protected]>
    Reviewed-by: Jason Xing <[email protected]>
    Reviewed-by: Jon Maxwell <[email protected]>
    Reviewed-by: Kuniyuki Iwashima <[email protected]>
    Link: https://patch.msgid.link/[email protected]
    Signed-off-by: Jakub Kicinski <[email protected]>
    Eric Dumazet authored and kuba-moo committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    97a9063 View commit details
    Browse the repository at this point in the history
  2. e1000e: fix force smbus during suspend flow

    Commit 861e808 ("e1000e: move force SMBUS from enable ulp function
    to avoid PHY loss issue") resolved a PHY access loss during suspend on
    Meteor Lake consumer platforms, but it affected corporate systems
    incorrectly.
    
    A better fix, working for both consumer and corporate systems, was
    proposed in commit bfd546a ("e1000e: move force SMBUS near the end
    of enable_ulp function"). However, it introduced a regression on older
    devices, such as [8086:15B8], [8086:15F9], [8086:15BE].
    
    This patch aims to fix the secondary regression, by limiting the scope of
    the changes to Meteor Lake platforms only.
    
    Fixes: bfd546a ("e1000e: move force SMBUS near the end of enable_ulp function")
    Reported-by: Todd Brandt <[email protected]>
    Closes: https://bugzilla.kernel.org/show_bug.cgi?id=218940
    Reported-by: Dieter Mummenschanz <[email protected]>
    Closes: https://bugzilla.kernel.org/show_bug.cgi?id=218936
    Signed-off-by: Vitaly Lifshits <[email protected]>
    Tested-by: Mor Bar-Gabay <[email protected]> (A Contingent Worker at Intel)
    Signed-off-by: Tony Nguyen <[email protected]>
    Reviewed-by: Simon Horman <[email protected]>
    Link: https://patch.msgid.link/[email protected]
    Signed-off-by: Jakub Kicinski <[email protected]>
    vlifshts authored and kuba-moo committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    76a0a3f View commit details
    Browse the repository at this point in the history
  3. net: ethernet: mtk-star-emac: set mac_managed_pm when probing

    The below commit introduced a warning message when phy state is not in
    the states: PHY_HALTED, PHY_READY, and PHY_UP.
    commit 744d23c ("net: phy: Warn about incorrect mdio_bus_phy_resume() state")
    
    mtk-star-emac doesn't need mdiobus suspend/resume. To fix the warning
    message during resume, indicate the phy resume/suspend is managed by the
    mac when probing.
    
    Fixes: 744d23c ("net: phy: Warn about incorrect mdio_bus_phy_resume() state")
    Signed-off-by: Jian Hui Lee <[email protected]>
    Reviewed-by: Jacob Keller <[email protected]>
    Link: https://patch.msgid.link/[email protected]
    Signed-off-by: Paolo Abeni <[email protected]>
    jianhuilee authored and Paolo Abeni committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    8c6790b View commit details
    Browse the repository at this point in the history
  4. selftests/bpf: Add timer lockup selftest

    Add a selftest that tries to trigger a situation where two timer callbacks
    are attempting to cancel each other's timer. By running them continuously,
    we hit a condition where both run in parallel and cancel each other.
    
    Without the fix in the previous patch, this would cause a lockup as
    hrtimer_cancel on either side will wait for forward progress from the
    callback.
    
    Ensure that this situation leads to a EDEADLK error.
    
    Signed-off-by: Kumar Kartikeya Dwivedi <[email protected]>
    Signed-off-by: Daniel Borkmann <[email protected]>
    Link: https://lore.kernel.org/bpf/[email protected]
    kkdwivedi authored and borkmann committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    50bd5a0 View commit details
    Browse the repository at this point in the history
  5. MAINTAINERS: delete entries for Thor Thayer

    The email address bounced. I couldn't find a newer one in recent git
    history. Delete the entries and let them fallback to subsystem defaults.
    
    Signed-off-by: Wolfram Sang <[email protected]>
    Wolfram Sang committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    ca8e83a View commit details
    Browse the repository at this point in the history
  6. ppp: reject claimed-as-LCP but actually malformed packets

    Since 'ppp_async_encode()' assumes valid LCP packets (with code
    from 1 to 7 inclusive), add 'ppp_check_packet()' to ensure that
    LCP packet has an actual body beyond PPP_LCP header bytes, and
    reject claimed-as-LCP but actually malformed data otherwise.
    
    Reported-by: [email protected]
    Closes: https://syzkaller.appspot.com/bug?extid=ec0723ba9605678b14bf
    Fixes: 1da177e ("Linux-2.6.12-rc2")
    Signed-off-by: Dmitry Antipov <[email protected]>
    Signed-off-by: Paolo Abeni <[email protected]>
    dmantipov authored and Paolo Abeni committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    f2aeb73 View commit details
    Browse the repository at this point in the history
  7. ethtool: netlink: do not return SQI value if link is down

    Do not attach SQI value if link is down. "SQI values are only valid if
    link-up condition is present" per OpenAlliance specification of
    100Base-T1 Interoperability Test suite [1]. The same rule would apply
    for other link types.
    
    [1] https://opensig.org/automotive-ethernet-specifications/#
    
    Fixes: 8066021 ("ethtool: provide UAPI for PHY Signal Quality Index (SQI)")
    Signed-off-by: Oleksij Rempel <[email protected]>
    Reviewed-by: Andrew Lunn <[email protected]>
    Reviewed-by: Woojung Huh <[email protected]>
    Link: https://patch.msgid.link/[email protected]
    Signed-off-by: Paolo Abeni <[email protected]>
    olerem authored and Paolo Abeni committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    c184cf9 View commit details
    Browse the repository at this point in the history
  8. MAINTAINERS: VIRTIO I2C loses a maintainer, gains a reviewer

    Conghui Chen left, welcome Jian as reviewer.
    
    Signed-off-by: Wolfram Sang <[email protected]>
    Acked-by: Viresh Kumar <[email protected]>
    Acked-by: "Chen, Jian Jun" <[email protected]>
    Wolfram Sang committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    0830f97 View commit details
    Browse the repository at this point in the history
  9. netfilter: nfnetlink_queue: drop bogus WARN_ON

    Happens when rules get flushed/deleted while packet is out, so remove
    this WARN_ON.
    
    This WARN exists in one form or another since v4.14, no need to backport
    this to older releases, hence use a more recent fixes tag.
    
    Fixes: 3f80196 ("netfilter: move nf_reinject into nfnetlink_queue modules")
    Reported-by: kernel test robot <[email protected]>
    Closes: https://lore.kernel.org/oe-lkp/[email protected]
    Signed-off-by: Florian Westphal <[email protected]>
    Signed-off-by: Pablo Neira Ayuso <[email protected]>
    Florian Westphal authored and ummakynes committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    631a4b3 View commit details
    Browse the repository at this point in the history
  10. netfilter: nf_tables: prefer nft_chain_validate

    nft_chain_validate already performs loop detection because a cycle will
    result in a call stack overflow (ctx->level >= NFT_JUMP_STACK_SIZE).
    
    It also follows maps via ->validate callback in nft_lookup, so there
    appears no reason to iterate the maps again.
    
    nf_tables_check_loops() and all its helper functions can be removed.
    This improves ruleset load time significantly, from 23s down to 12s.
    
    This also fixes a crash bug. Old loop detection code can result in
    unbounded recursion:
    
    BUG: TASK stack guard page was hit at ....
    Oops: stack guard page: 0000 [msm8916-mainline#1] PREEMPT SMP KASAN
    CPU: 4 PID: 1539 Comm: nft Not tainted 6.10.0-rc5+ msm8916-mainline#1
    [..]
    
    with a suitable ruleset during validation of register stores.
    
    I can't see any actual reason to attempt to check for this from
    nft_validate_register_store(), at this point the transaction is still in
    progress, so we don't have a full picture of the rule graph.
    
    For nf-next it might make sense to either remove it or make this depend
    on table->validate_state in case we could catch an error earlier
    (for improved error reporting to userspace).
    
    Fixes: 20a6934 ("netfilter: nf_tables: add netlink set API")
    Signed-off-by: Florian Westphal <[email protected]>
    Signed-off-by: Pablo Neira Ayuso <[email protected]>
    Florian Westphal authored and ummakynes committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    cff3bd0 View commit details
    Browse the repository at this point in the history
  11. i2c: testunit: correct Kconfig description

    The testunit has nothing to do with 'eeprom', remove that term. It was a
    copy&paste leftover.
    
    Fixes: a8335c6 ("i2c: add slave testunit driver")
    Signed-off-by: Wolfram Sang <[email protected]>
    Wolfram Sang committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    6dfe0ab View commit details
    Browse the repository at this point in the history
  12. i2c: mark HostNotify target address as used

    I2C core handles the local target for receiving HostNotify alerts. There
    is no separate driver bound to that address. That means userspace can
    access it if desired, leading to further complications if controllers
    are not capable of reading their own local target. Bind the local target
    to the dummy driver so it will be marked as "handled by the kernel" if
    the HostNotify feature is used. That protects aginst userspace access
    and prevents other drivers binding to it.
    
    Fixes: 2a71593 ("i2c: smbus: add core function handling SMBus host-notify")
    Signed-off-by: Wolfram Sang <[email protected]>
    Wolfram Sang committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    bd9f534 View commit details
    Browse the repository at this point in the history
  13. udp: Set SOCK_RCU_FREE earlier in udp_lib_get_port().

    syzkaller triggered the warning [0] in udp_v4_early_demux().
    
    In udp_v[46]_early_demux() and sk_lookup(), we do not touch the refcount
    of the looked-up sk and use sock_pfree() as skb->destructor, so we check
    SOCK_RCU_FREE to ensure that the sk is safe to access during the RCU grace
    period.
    
    Currently, SOCK_RCU_FREE is flagged for a bound socket after being put
    into the hash table.  Moreover, the SOCK_RCU_FREE check is done too early
    in udp_v[46]_early_demux() and sk_lookup(), so there could be a small race
    window:
    
      CPU1                                 CPU2
      ----                                 ----
      udp_v4_early_demux()                 udp_lib_get_port()
      |                                    |- hlist_add_head_rcu()
      |- sk = __udp4_lib_demux_lookup()    |
      |- DEBUG_NET_WARN_ON_ONCE(sk_is_refcounted(sk));
                                           `- sock_set_flag(sk, SOCK_RCU_FREE)
    
    We had the same bug in TCP and fixed it in commit 871019b ("net:
    set SOCK_RCU_FREE before inserting socket into hashtable").
    
    Let's apply the same fix for UDP.
    
    [0]:
    WARNING: CPU: 0 PID: 11198 at net/ipv4/udp.c:2599 udp_v4_early_demux+0x481/0xb70 net/ipv4/udp.c:2599
    Modules linked in:
    CPU: 0 PID: 11198 Comm: syz-executor.1 Not tainted 6.9.0-g93bda33046e7 msm8916-mainline#13
    Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.0-0-gd239552ce722-prebuilt.qemu.org 04/01/2014
    RIP: 0010:udp_v4_early_demux+0x481/0xb70 net/ipv4/udp.c:2599
    Code: c5 7a 15 fe bb 01 00 00 00 44 89 e9 31 ff d3 e3 81 e3 bf ef ff ff 89 de e8 2c 74 15 fe 85 db 0f 85 02 06 00 00 e8 9f 7a 15 fe <0f> 0b e8 98 7a 15 fe 49 8d 7e 60 e8 4f 39 2f fe 49 c7 46 60 20 52
    RSP: 0018:ffffc9000ce3fa58 EFLAGS: 00010293
    RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff8318c92c
    RDX: ffff888036ccde00 RSI: ffffffff8318c2f1 RDI: 0000000000000001
    RBP: ffff88805a2dd6e0 R08: 0000000000000001 R09: 0000000000000000
    R10: 0000000000000000 R11: 0001ffffffffffff R12: ffff88805a2dd680
    R13: 0000000000000007 R14: ffff88800923f900 R15: ffff88805456004e
    FS:  00007fc449127640(0000) GS:ffff88807dc00000(0000) knlGS:0000000000000000
    CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
    CR2: 00007fc449126e38 CR3: 000000003de4b002 CR4: 0000000000770ef0
    DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
    DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600
    PKRU: 55555554
    Call Trace:
     <TASK>
     ip_rcv_finish_core.constprop.0+0xbdd/0xd20 net/ipv4/ip_input.c:349
     ip_rcv_finish+0xda/0x150 net/ipv4/ip_input.c:447
     NF_HOOK include/linux/netfilter.h:314 [inline]
     NF_HOOK include/linux/netfilter.h:308 [inline]
     ip_rcv+0x16c/0x180 net/ipv4/ip_input.c:569
     __netif_receive_skb_one_core+0xb3/0xe0 net/core/dev.c:5624
     __netif_receive_skb+0x21/0xd0 net/core/dev.c:5738
     netif_receive_skb_internal net/core/dev.c:5824 [inline]
     netif_receive_skb+0x271/0x300 net/core/dev.c:5884
     tun_rx_batched drivers/net/tun.c:1549 [inline]
     tun_get_user+0x24db/0x2c50 drivers/net/tun.c:2002
     tun_chr_write_iter+0x107/0x1a0 drivers/net/tun.c:2048
     new_sync_write fs/read_write.c:497 [inline]
     vfs_write+0x76f/0x8d0 fs/read_write.c:590
     ksys_write+0xbf/0x190 fs/read_write.c:643
     __do_sys_write fs/read_write.c:655 [inline]
     __se_sys_write fs/read_write.c:652 [inline]
     __x64_sys_write+0x41/0x50 fs/read_write.c:652
     x64_sys_call+0xe66/0x1990 arch/x86/include/generated/asm/syscalls_64.h:2
     do_syscall_x64 arch/x86/entry/common.c:52 [inline]
     do_syscall_64+0x4b/0x110 arch/x86/entry/common.c:83
     entry_SYSCALL_64_after_hwframe+0x4b/0x53
    RIP: 0033:0x7fc44a68bc1f
    Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 e9 cf f5 ff 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 44 24 08 e8 3c d0 f5 ff 48
    RSP: 002b:00007fc449126c90 EFLAGS: 00000293 ORIG_RAX: 0000000000000001
    RAX: ffffffffffffffda RBX: 00000000004bc050 RCX: 00007fc44a68bc1f
    RDX: 0000000000000032 RSI: 00000000200000c0 RDI: 00000000000000c8
    RBP: 00000000004bc050 R08: 0000000000000000 R09: 0000000000000000
    R10: 0000000000000032 R11: 0000000000000293 R12: 0000000000000000
    R13: 000000000000000b R14: 00007fc44a5ec530 R15: 0000000000000000
     </TASK>
    
    Fixes: 6acc9b4 ("bpf: Add helper to retrieve socket in BPF")
    Reported-by: syzkaller <[email protected]>
    Signed-off-by: Kuniyuki Iwashima <[email protected]>
    Reviewed-by: Eric Dumazet <[email protected]>
    Link: https://patch.msgid.link/[email protected]
    Signed-off-by: Paolo Abeni <[email protected]>
    q2ven authored and Paolo Abeni committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    5c0b485 View commit details
    Browse the repository at this point in the history
  14. net: ks8851: Fix potential TX stall after interface reopen

    The amount of TX space in the hardware buffer is tracked in the tx_space
    variable. The initial value is currently only set during driver probing.
    
    After closing the interface and reopening it the tx_space variable has
    the last value it had before close. If it is smaller than the size of
    the first send packet after reopeing the interface the queue will be
    stopped. The queue is woken up after receiving a TX interrupt but this
    will never happen since we did not send anything.
    
    This commit moves the initialization of the tx_space variable to the
    ks8851_net_open function right before starting the TX queue. Also query
    the value from the hardware instead of using a hard coded value.
    
    Only the SPI chip variant is affected by this issue because only this
    driver variant actually depends on the tx_space variable in the xmit
    function.
    
    Fixes: 3dc5d44 ("net: ks8851: Fix TX stall caused by TX buffer overrun")
    Cc: "David S. Miller" <[email protected]>
    Cc: Eric Dumazet <[email protected]>
    Cc: Jakub Kicinski <[email protected]>
    Cc: Paolo Abeni <[email protected]>
    Cc: Simon Horman <[email protected]>
    Cc: [email protected]
    Cc: [email protected] # 5.10+
    Signed-off-by: Ronald Wahl <[email protected]>
    Reviewed-by: Jacob Keller <[email protected]>
    Link: https://patch.msgid.link/[email protected]
    Signed-off-by: Paolo Abeni <[email protected]>
    tanstafel authored and Paolo Abeni committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    7a99afe View commit details
    Browse the repository at this point in the history
  15. net/sched: Fix UAF when resolving a clash

    KASAN reports the following UAF:
    
     BUG: KASAN: slab-use-after-free in tcf_ct_flow_table_process_conn+0x12b/0x380 [act_ct]
     Read of size 1 at addr ffff888c07603600 by task handler130/6469
    
     Call Trace:
      <IRQ>
      dump_stack_lvl+0x48/0x70
      print_address_description.constprop.0+0x33/0x3d0
      print_report+0xc0/0x2b0
      kasan_report+0xd0/0x120
      __asan_load1+0x6c/0x80
      tcf_ct_flow_table_process_conn+0x12b/0x380 [act_ct]
      tcf_ct_act+0x886/0x1350 [act_ct]
      tcf_action_exec+0xf8/0x1f0
      fl_classify+0x355/0x360 [cls_flower]
      __tcf_classify+0x1fd/0x330
      tcf_classify+0x21c/0x3c0
      sch_handle_ingress.constprop.0+0x2c5/0x500
      __netif_receive_skb_core.constprop.0+0xb25/0x1510
      __netif_receive_skb_list_core+0x220/0x4c0
      netif_receive_skb_list_internal+0x446/0x620
      napi_complete_done+0x157/0x3d0
      gro_cell_poll+0xcf/0x100
      __napi_poll+0x65/0x310
      net_rx_action+0x30c/0x5c0
      __do_softirq+0x14f/0x491
      __irq_exit_rcu+0x82/0xc0
      irq_exit_rcu+0xe/0x20
      common_interrupt+0xa1/0xb0
      </IRQ>
      <TASK>
      asm_common_interrupt+0x27/0x40
    
     Allocated by task 6469:
      kasan_save_stack+0x38/0x70
      kasan_set_track+0x25/0x40
      kasan_save_alloc_info+0x1e/0x40
      __kasan_krealloc+0x133/0x190
      krealloc+0xaa/0x130
      nf_ct_ext_add+0xed/0x230 [nf_conntrack]
      tcf_ct_act+0x1095/0x1350 [act_ct]
      tcf_action_exec+0xf8/0x1f0
      fl_classify+0x355/0x360 [cls_flower]
      __tcf_classify+0x1fd/0x330
      tcf_classify+0x21c/0x3c0
      sch_handle_ingress.constprop.0+0x2c5/0x500
      __netif_receive_skb_core.constprop.0+0xb25/0x1510
      __netif_receive_skb_list_core+0x220/0x4c0
      netif_receive_skb_list_internal+0x446/0x620
      napi_complete_done+0x157/0x3d0
      gro_cell_poll+0xcf/0x100
      __napi_poll+0x65/0x310
      net_rx_action+0x30c/0x5c0
      __do_softirq+0x14f/0x491
    
     Freed by task 6469:
      kasan_save_stack+0x38/0x70
      kasan_set_track+0x25/0x40
      kasan_save_free_info+0x2b/0x60
      ____kasan_slab_free+0x180/0x1f0
      __kasan_slab_free+0x12/0x30
      slab_free_freelist_hook+0xd2/0x1a0
      __kmem_cache_free+0x1a2/0x2f0
      kfree+0x78/0x120
      nf_conntrack_free+0x74/0x130 [nf_conntrack]
      nf_ct_destroy+0xb2/0x140 [nf_conntrack]
      __nf_ct_resolve_clash+0x529/0x5d0 [nf_conntrack]
      nf_ct_resolve_clash+0xf6/0x490 [nf_conntrack]
      __nf_conntrack_confirm+0x2c6/0x770 [nf_conntrack]
      tcf_ct_act+0x12ad/0x1350 [act_ct]
      tcf_action_exec+0xf8/0x1f0
      fl_classify+0x355/0x360 [cls_flower]
      __tcf_classify+0x1fd/0x330
      tcf_classify+0x21c/0x3c0
      sch_handle_ingress.constprop.0+0x2c5/0x500
      __netif_receive_skb_core.constprop.0+0xb25/0x1510
      __netif_receive_skb_list_core+0x220/0x4c0
      netif_receive_skb_list_internal+0x446/0x620
      napi_complete_done+0x157/0x3d0
      gro_cell_poll+0xcf/0x100
      __napi_poll+0x65/0x310
      net_rx_action+0x30c/0x5c0
      __do_softirq+0x14f/0x491
    
    The ct may be dropped if a clash has been resolved but is still passed to
    the tcf_ct_flow_table_process_conn function for further usage. This issue
    can be fixed by retrieving ct from skb again after confirming conntrack.
    
    Fixes: 0cc254e ("net/sched: act_ct: Offload connections with commit action")
    Co-developed-by: Gerald Yang <[email protected]>
    Signed-off-by: Gerald Yang <[email protected]>
    Signed-off-by: Chengen Du <[email protected]>
    Link: https://patch.msgid.link/[email protected]
    Signed-off-by: Paolo Abeni <[email protected]>
    yukariatlas authored and Paolo Abeni committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    2648817 View commit details
    Browse the repository at this point in the history
  16. net, sunrpc: Remap EPERM in case of connection failure in xs_tcp_setu…

    …p_socket
    
    When using a BPF program on kernel_connect(), the call can return -EPERM. This
    causes xs_tcp_setup_socket() to loop forever, filling up the syslog and causing
    the kernel to potentially freeze up.
    
    Neil suggested:
    
      This will propagate -EPERM up into other layers which might not be ready
      to handle it. It might be safer to map EPERM to an error we would be more
      likely to expect from the network system - such as ECONNREFUSED or ENETDOWN.
    
    ECONNREFUSED as error seems reasonable. For programs setting a different error
    can be out of reach (see handling in 4fbac77) in particular on kernels
    which do not have f10d059 ("bpf: Make BPF_PROG_RUN_ARRAY return -err
    instead of allow boolean"), thus given that it is better to simply remap for
    consistent behavior. UDP does handle EPERM in xs_udp_send_request().
    
    Fixes: d74bad4 ("bpf: Hooks for sys_connect")
    Fixes: 4fbac77 ("bpf: Hooks for sys_bind")
    Co-developed-by: Lex Siegel <[email protected]>
    Signed-off-by: Lex Siegel <[email protected]>
    Signed-off-by: Daniel Borkmann <[email protected]>
    Cc: Neil Brown <[email protected]>
    Cc: Trond Myklebust <[email protected]>
    Cc: Anna Schumaker <[email protected]>
    Link: cilium/cilium#33395
    Link: https://lore.kernel.org/bpf/[email protected]
    Link: https://patch.msgid.link/9069ec1d59e4b2129fc23433349fd5580ad43921.1720075070.git.daniel@iogearbox.net
    Signed-off-by: Paolo Abeni <[email protected]>
    borkmann authored and Paolo Abeni committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    626dfed View commit details
    Browse the repository at this point in the history
  17. Merge tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel…

    …/git/bpf/bpf
    
    Daniel Borkmann says:
    
    ====================
    pull-request: bpf 2024-07-11
    
    The following pull-request contains BPF updates for your *net* tree.
    
    We've added 4 non-merge commits during the last 2 day(s) which contain
    a total of 4 files changed, 262 insertions(+), 19 deletions(-).
    
    The main changes are:
    
    1) Fixes for a BPF timer lockup and a use-after-free scenario when timers
       are used concurrently, from Kumar Kartikeya Dwivedi.
    
    2) Fix the argument order in the call to bpf_map_kvcalloc() which could
       otherwise lead to a compilation error, from Mohammad Shehar Yaar Tausif.
    
    bpf-for-netdev
    
    * tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf:
      selftests/bpf: Add timer lockup selftest
      bpf: Defer work in bpf_timer_cancel_and_free
      bpf: Fail bpf_timer_cancel when callback is being cancelled
      bpf: fix order of args in call to bpf_map_kvcalloc
    ====================
    
    Link: https://patch.msgid.link/[email protected]
    Signed-off-by: Paolo Abeni <[email protected]>
    Paolo Abeni committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    a819ff0 View commit details
    Browse the repository at this point in the history
  18. Merge tag 'nf-24-07-11' of git://git.kernel.org/pub/scm/linux/kernel/…

    …git/netfilter/nf
    
    Pablo Neira Ayuso says:
    
    ====================
    Netfilter fixes for net
    
    The following batch contains Netfilter fixes for net:
    
    Patch msm8916-mainline#1 fixes a bogus WARN_ON splat in nfnetlink_queue.
    
    Patch msm8916-mainline#2 fixes a crash due to stack overflow in chain loop detection
    	 by using the existing chain validation routines
    
    Both patches from Florian Westphal.
    
    netfilter pull request 24-07-11
    
    * tag 'nf-24-07-11' of git://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf:
      netfilter: nf_tables: prefer nft_chain_validate
      netfilter: nfnetlink_queue: drop bogus WARN_ON
    ====================
    
    Link: https://patch.msgid.link/[email protected]
    Signed-off-by: Paolo Abeni <[email protected]>
    Paolo Abeni committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    d7c199e View commit details
    Browse the repository at this point in the history
  19. libceph: suppress crush_choose_indep() kernel-doc warnings

    Currently, when built with "make W=1", the following warnings are
    generated:
    
    net/ceph/crush/mapper.c:655: warning: Function parameter or struct member 'map' not described in 'crush_choose_indep'
    net/ceph/crush/mapper.c:655: warning: Function parameter or struct member 'work' not described in 'crush_choose_indep'
    net/ceph/crush/mapper.c:655: warning: Function parameter or struct member 'bucket' not described in 'crush_choose_indep'
    net/ceph/crush/mapper.c:655: warning: Function parameter or struct member 'weight' not described in 'crush_choose_indep'
    net/ceph/crush/mapper.c:655: warning: Function parameter or struct member 'weight_max' not described in 'crush_choose_indep'
    net/ceph/crush/mapper.c:655: warning: Function parameter or struct member 'x' not described in 'crush_choose_indep'
    net/ceph/crush/mapper.c:655: warning: Function parameter or struct member 'left' not described in 'crush_choose_indep'
    net/ceph/crush/mapper.c:655: warning: Function parameter or struct member 'numrep' not described in 'crush_choose_indep'
    net/ceph/crush/mapper.c:655: warning: Function parameter or struct member 'type' not described in 'crush_choose_indep'
    net/ceph/crush/mapper.c:655: warning: Function parameter or struct member 'out' not described in 'crush_choose_indep'
    net/ceph/crush/mapper.c:655: warning: Function parameter or struct member 'outpos' not described in 'crush_choose_indep'
    net/ceph/crush/mapper.c:655: warning: Function parameter or struct member 'tries' not described in 'crush_choose_indep'
    net/ceph/crush/mapper.c:655: warning: Function parameter or struct member 'recurse_tries' not described in 'crush_choose_indep'
    net/ceph/crush/mapper.c:655: warning: Function parameter or struct member 'recurse_to_leaf' not described in 'crush_choose_indep'
    net/ceph/crush/mapper.c:655: warning: Function parameter or struct member 'out2' not described in 'crush_choose_indep'
    net/ceph/crush/mapper.c:655: warning: Function parameter or struct member 'parent_r' not described in 'crush_choose_indep'
    net/ceph/crush/mapper.c:655: warning: Function parameter or struct member 'choose_args' not described in 'crush_choose_indep'
    
    These warnings are generated because the prologue comment for
    crush_choose_indep() uses the kernel-doc prefix, but the actual
    comment is a very brief description that is not in kernel-doc
    format. Since this is a static function there is no need to fully
    document the function, so replace the kernel-doc comment prefix with a
    standard comment prefix to remove these warnings.
    
    Signed-off-by: Jeff Johnson <[email protected]>
    Reviewed-by: Simon Horman <[email protected]>
    Signed-off-by: Ilya Dryomov <[email protected]>
    Jeff Johnson authored and idryomov committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    6463c36 View commit details
    Browse the repository at this point in the history
  20. libceph: fix crush_choose_firstn() kernel-doc warnings

    Currently, when built with "make W=1", the following warnings are
    generated:
    
    net/ceph/crush/mapper.c:466: warning: Function parameter or struct member 'work' not described in 'crush_choose_firstn'
    net/ceph/crush/mapper.c:466: warning: Function parameter or struct member 'weight' not described in 'crush_choose_firstn'
    net/ceph/crush/mapper.c:466: warning: Function parameter or struct member 'weight_max' not described in 'crush_choose_firstn'
    net/ceph/crush/mapper.c:466: warning: Function parameter or struct member 'choose_args' not described in 'crush_choose_firstn'
    
    Update the crush_choose_firstn() kernel-doc to document these
    parameters.
    
    Signed-off-by: Jeff Johnson <[email protected]>
    Reviewed-by: Simon Horman <[email protected]>
    Signed-off-by: Ilya Dryomov <[email protected]>
    Jeff Johnson authored and idryomov committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    359bc01 View commit details
    Browse the repository at this point in the history
  21. btrfs: use delayed iput during extent map shrinking

    When putting an inode during extent map shrinking we're doing a standard
    iput() but that may take a long time in case the inode is dirty and we are
    doing the final iput that triggers eviction - the VFS will have to wait
    for writeback before calling the btrfs evict callback (see
    fs/inode.c:evict()).
    
    This slows down the task running the shrinker which may have been
    triggered while updating some tree for example, meaning locks are held
    as well as an open transaction handle.
    
    Also if the iput() ends up triggering eviction and the inode has no links
    anymore, then we trigger item truncation which requires flushing delayed
    items, space reservation to start a transaction and that may trigger the
    space reclaim task and wait for it, resulting in deadlocks in case the
    reclaim task needs for example to commit a transaction and the shrinker
    is being triggered from a path holding a transaction handle.
    
    Syzbot reported such a case with the following stack traces:
    
       ======================================================
       WARNING: possible circular locking dependency detected
       6.10.0-rc2-syzkaller-00010-g2ab795141095 #0 Not tainted
       ------------------------------------------------------
       kswapd0/111 is trying to acquire lock:
       ffff88801eae4610 (sb_internal#3){.+.+}-{0:0}, at: btrfs_commit_inode_delayed_inode+0x110/0x330 fs/btrfs/delayed-inode.c:1275
    
       but task is already holding lock:
       ffffffff8dd3a9a0 (fs_reclaim){+.+.}-{0:0}, at: balance_pgdat+0xa88/0x1970 mm/vmscan.c:6924
    
       which lock already depends on the new lock.
    
       the existing dependency chain (in reverse order) is:
    
       -> msm8916-mainline#3 (fs_reclaim){+.+.}-{0:0}:
              __fs_reclaim_acquire mm/page_alloc.c:3783 [inline]
              fs_reclaim_acquire+0x102/0x160 mm/page_alloc.c:3797
              might_alloc include/linux/sched/mm.h:334 [inline]
              slab_pre_alloc_hook mm/slub.c:3890 [inline]
              slab_alloc_node mm/slub.c:3980 [inline]
              kmem_cache_alloc_lru_noprof+0x58/0x2f0 mm/slub.c:4019
              btrfs_alloc_inode+0x118/0xb20 fs/btrfs/inode.c:8411
              alloc_inode+0x5d/0x230 fs/inode.c:261
              iget5_locked fs/inode.c:1235 [inline]
              iget5_locked+0x1c9/0x2c0 fs/inode.c:1228
              btrfs_iget_locked fs/btrfs/inode.c:5590 [inline]
              btrfs_iget_path fs/btrfs/inode.c:5607 [inline]
              btrfs_iget+0xfb/0x230 fs/btrfs/inode.c:5636
              create_reloc_inode+0x403/0x820 fs/btrfs/relocation.c:3911
              btrfs_relocate_block_group+0x471/0xe60 fs/btrfs/relocation.c:4114
              btrfs_relocate_chunk+0x143/0x450 fs/btrfs/volumes.c:3373
              __btrfs_balance fs/btrfs/volumes.c:4157 [inline]
              btrfs_balance+0x211a/0x3f00 fs/btrfs/volumes.c:4534
              btrfs_ioctl_balance fs/btrfs/ioctl.c:3675 [inline]
              btrfs_ioctl+0x12ed/0x8290 fs/btrfs/ioctl.c:4742
              __do_compat_sys_ioctl+0x2c3/0x330 fs/ioctl.c:1007
              do_syscall_32_irqs_on arch/x86/entry/common.c:165 [inline]
              __do_fast_syscall_32+0x73/0x120 arch/x86/entry/common.c:386
              do_fast_syscall_32+0x32/0x80 arch/x86/entry/common.c:411
              entry_SYSENTER_compat_after_hwframe+0x84/0x8e
    
       -> msm8916-mainline#2 (btrfs_trans_num_extwriters){++++}-{0:0}:
              join_transaction+0x164/0xf40 fs/btrfs/transaction.c:315
              start_transaction+0x427/0x1a70 fs/btrfs/transaction.c:700
              btrfs_rebuild_free_space_tree+0xaa/0x480 fs/btrfs/free-space-tree.c:1323
              btrfs_start_pre_rw_mount+0x218/0xf60 fs/btrfs/disk-io.c:2999
              open_ctree+0x41ab/0x52e0 fs/btrfs/disk-io.c:3554
              btrfs_fill_super fs/btrfs/super.c:946 [inline]
              btrfs_get_tree_super fs/btrfs/super.c:1863 [inline]
              btrfs_get_tree+0x11e9/0x1b90 fs/btrfs/super.c:2089
              vfs_get_tree+0x8f/0x380 fs/super.c:1780
              fc_mount+0x16/0xc0 fs/namespace.c:1125
              btrfs_get_tree_subvol fs/btrfs/super.c:2052 [inline]
              btrfs_get_tree+0xa53/0x1b90 fs/btrfs/super.c:2090
              vfs_get_tree+0x8f/0x380 fs/super.c:1780
              do_new_mount fs/namespace.c:3352 [inline]
              path_mount+0x6e1/0x1f10 fs/namespace.c:3679
              do_mount fs/namespace.c:3692 [inline]
              __do_sys_mount fs/namespace.c:3898 [inline]
              __se_sys_mount fs/namespace.c:3875 [inline]
              __ia32_sys_mount+0x295/0x320 fs/namespace.c:3875
              do_syscall_32_irqs_on arch/x86/entry/common.c:165 [inline]
              __do_fast_syscall_32+0x73/0x120 arch/x86/entry/common.c:386
              do_fast_syscall_32+0x32/0x80 arch/x86/entry/common.c:411
              entry_SYSENTER_compat_after_hwframe+0x84/0x8e
    
       -> msm8916-mainline#1 (btrfs_trans_num_writers){++++}-{0:0}:
              join_transaction+0x148/0xf40 fs/btrfs/transaction.c:314
              start_transaction+0x427/0x1a70 fs/btrfs/transaction.c:700
              btrfs_rebuild_free_space_tree+0xaa/0x480 fs/btrfs/free-space-tree.c:1323
              btrfs_start_pre_rw_mount+0x218/0xf60 fs/btrfs/disk-io.c:2999
              open_ctree+0x41ab/0x52e0 fs/btrfs/disk-io.c:3554
              btrfs_fill_super fs/btrfs/super.c:946 [inline]
              btrfs_get_tree_super fs/btrfs/super.c:1863 [inline]
              btrfs_get_tree+0x11e9/0x1b90 fs/btrfs/super.c:2089
              vfs_get_tree+0x8f/0x380 fs/super.c:1780
              fc_mount+0x16/0xc0 fs/namespace.c:1125
              btrfs_get_tree_subvol fs/btrfs/super.c:2052 [inline]
              btrfs_get_tree+0xa53/0x1b90 fs/btrfs/super.c:2090
              vfs_get_tree+0x8f/0x380 fs/super.c:1780
              do_new_mount fs/namespace.c:3352 [inline]
              path_mount+0x6e1/0x1f10 fs/namespace.c:3679
              do_mount fs/namespace.c:3692 [inline]
              __do_sys_mount fs/namespace.c:3898 [inline]
              __se_sys_mount fs/namespace.c:3875 [inline]
              __ia32_sys_mount+0x295/0x320 fs/namespace.c:3875
              do_syscall_32_irqs_on arch/x86/entry/common.c:165 [inline]
              __do_fast_syscall_32+0x73/0x120 arch/x86/entry/common.c:386
              do_fast_syscall_32+0x32/0x80 arch/x86/entry/common.c:411
              entry_SYSENTER_compat_after_hwframe+0x84/0x8e
    
       -> #0 (sb_internal#3){.+.+}-{0:0}:
              check_prev_add kernel/locking/lockdep.c:3134 [inline]
              check_prevs_add kernel/locking/lockdep.c:3253 [inline]
              validate_chain kernel/locking/lockdep.c:3869 [inline]
              __lock_acquire+0x2478/0x3b30 kernel/locking/lockdep.c:5137
              lock_acquire kernel/locking/lockdep.c:5754 [inline]
              lock_acquire+0x1b1/0x560 kernel/locking/lockdep.c:5719
              percpu_down_read include/linux/percpu-rwsem.h:51 [inline]
              __sb_start_write include/linux/fs.h:1655 [inline]
              sb_start_intwrite include/linux/fs.h:1838 [inline]
              start_transaction+0xbc1/0x1a70 fs/btrfs/transaction.c:694
              btrfs_commit_inode_delayed_inode+0x110/0x330 fs/btrfs/delayed-inode.c:1275
              btrfs_evict_inode+0x960/0xe80 fs/btrfs/inode.c:5291
              evict+0x2ed/0x6c0 fs/inode.c:667
              iput_final fs/inode.c:1741 [inline]
              iput.part.0+0x5a8/0x7f0 fs/inode.c:1767
              iput+0x5c/0x80 fs/inode.c:1757
              btrfs_scan_root fs/btrfs/extent_map.c:1118 [inline]
              btrfs_free_extent_maps+0xbd3/0x1320 fs/btrfs/extent_map.c:1189
              super_cache_scan+0x409/0x550 fs/super.c:227
              do_shrink_slab+0x44f/0x11c0 mm/shrinker.c:435
              shrink_slab+0x18a/0x1310 mm/shrinker.c:662
              shrink_one+0x493/0x7c0 mm/vmscan.c:4790
              shrink_many mm/vmscan.c:4851 [inline]
              lru_gen_shrink_node+0x89f/0x1750 mm/vmscan.c:4951
              shrink_node mm/vmscan.c:5910 [inline]
              kswapd_shrink_node mm/vmscan.c:6720 [inline]
              balance_pgdat+0x1105/0x1970 mm/vmscan.c:6911
              kswapd+0x5ea/0xbf0 mm/vmscan.c:7180
              kthread+0x2c1/0x3a0 kernel/kthread.c:389
              ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147
              ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
    
       other info that might help us debug this:
    
       Chain exists of:
         sb_internal#3 --> btrfs_trans_num_extwriters --> fs_reclaim
    
        Possible unsafe locking scenario:
    
              CPU0                    CPU1
              ----                    ----
         lock(fs_reclaim);
                                      lock(btrfs_trans_num_extwriters);
                                      lock(fs_reclaim);
         rlock(sb_internal#3);
    
        *** DEADLOCK ***
    
       2 locks held by kswapd0/111:
        #0: ffffffff8dd3a9a0 (fs_reclaim){+.+.}-{0:0}, at: balance_pgdat+0xa88/0x1970 mm/vmscan.c:6924
        msm8916-mainline#1: ffff88801eae40e0 (&type->s_umount_key#62){++++}-{3:3}, at: super_trylock_shared fs/super.c:562 [inline]
        msm8916-mainline#1: ffff88801eae40e0 (&type->s_umount_key#62){++++}-{3:3}, at: super_cache_scan+0x96/0x550 fs/super.c:196
    
       stack backtrace:
       CPU: 0 PID: 111 Comm: kswapd0 Not tainted 6.10.0-rc2-syzkaller-00010-g2ab795141095 #0
       Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
       Call Trace:
        <TASK>
        __dump_stack lib/dump_stack.c:88 [inline]
        dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:114
        check_noncircular+0x31a/0x400 kernel/locking/lockdep.c:2187
        check_prev_add kernel/locking/lockdep.c:3134 [inline]
        check_prevs_add kernel/locking/lockdep.c:3253 [inline]
        validate_chain kernel/locking/lockdep.c:3869 [inline]
        __lock_acquire+0x2478/0x3b30 kernel/locking/lockdep.c:5137
        lock_acquire kernel/locking/lockdep.c:5754 [inline]
        lock_acquire+0x1b1/0x560 kernel/locking/lockdep.c:5719
        percpu_down_read include/linux/percpu-rwsem.h:51 [inline]
        __sb_start_write include/linux/fs.h:1655 [inline]
        sb_start_intwrite include/linux/fs.h:1838 [inline]
        start_transaction+0xbc1/0x1a70 fs/btrfs/transaction.c:694
        btrfs_commit_inode_delayed_inode+0x110/0x330 fs/btrfs/delayed-inode.c:1275
        btrfs_evict_inode+0x960/0xe80 fs/btrfs/inode.c:5291
        evict+0x2ed/0x6c0 fs/inode.c:667
        iput_final fs/inode.c:1741 [inline]
        iput.part.0+0x5a8/0x7f0 fs/inode.c:1767
        iput+0x5c/0x80 fs/inode.c:1757
        btrfs_scan_root fs/btrfs/extent_map.c:1118 [inline]
        btrfs_free_extent_maps+0xbd3/0x1320 fs/btrfs/extent_map.c:1189
        super_cache_scan+0x409/0x550 fs/super.c:227
        do_shrink_slab+0x44f/0x11c0 mm/shrinker.c:435
        shrink_slab+0x18a/0x1310 mm/shrinker.c:662
        shrink_one+0x493/0x7c0 mm/vmscan.c:4790
        shrink_many mm/vmscan.c:4851 [inline]
        lru_gen_shrink_node+0x89f/0x1750 mm/vmscan.c:4951
        shrink_node mm/vmscan.c:5910 [inline]
        kswapd_shrink_node mm/vmscan.c:6720 [inline]
        balance_pgdat+0x1105/0x1970 mm/vmscan.c:6911
        kswapd+0x5ea/0xbf0 mm/vmscan.c:7180
        kthread+0x2c1/0x3a0 kernel/kthread.c:389
        ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147
        ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
        </TASK>
    
    So fix this by using btrfs_add_delayed_iput() so that the final iput is
    delegated to the cleaner kthread.
    
    Link: https://lore.kernel.org/linux-btrfs/[email protected]/
    Reported-by: [email protected]
    Fixes: 956a17d ("btrfs: add a shrinker for extent maps")
    Reviewed-by: Josef Bacik <[email protected]>
    Signed-off-by: Filipe Manana <[email protected]>
    Reviewed-by: David Sterba <[email protected]>
    Signed-off-by: David Sterba <[email protected]>
    fdmanana authored and kdave committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    68a3ebd View commit details
    Browse the repository at this point in the history
  22. btrfs: stop extent map shrinker if reschedule is needed

    The extent map shrinker can be called in a variety of contexts where we
    are under memory pressure, and of them is when a task is trying to
    allocate memory. For this reason the shrinker is typically called with a
    value of struct shrink_control::nr_to_scan that is much smaller than what
    we return in the nr_cached_objects callback of struct super_operations
    (fs/btrfs/super.c:btrfs_nr_cached_objects()), so that the shrinker does
    not take a long time and cause high latencies. However we can still take
    a lot of time in the shrinker even for a limited amount of nr_to_scan:
    
    1) When traversing the red black tree that tracks open inodes in a root,
       as for example with millions of open inodes we get a deep tree which
       takes time searching for an inode;
    
    2) Iterating over the extent map tree, which is a red black tree, of an
       inode when doing the rb_next() calls and when removing an extent map
       from the tree, since often that requires rebalancing the red black
       tree;
    
    3) When trying to write lock an inode's extent map tree we may wait for a
       significant amount of time, because there's either another task about
       to do IO and searching for an extent map in the tree or inserting an
       extent map in the tree, and we can have thousands or even millions of
       extent maps for an inode. Furthermore, there can be concurrent calls
       to the shrinker so the lock might be busy simply because there is
       already another task shrinking extent maps for the same inode;
    
    4) We often reschedule if we need to, which further increases latency.
    
    So improve on this by stopping the extent map shrinking code whenever we
    need to reschedule and make it skip an inode if we can't immediately lock
    its extent map tree.
    
    Reported-by: Mikhail Gavrilov <[email protected]>
    Reported-by: Andrea Gelmini <[email protected]>
    Link: https://lore.kernel.org/linux-btrfs/CABXGCsMmmb36ym8hVNGTiU8yfUS_cGvoUmGCcBrGWq9OxTrs+A@mail.gmail.com/
    Reviewed-by: Josef Bacik <[email protected]>
    Signed-off-by: Filipe Manana <[email protected]>
    Signed-off-by: David Sterba <[email protected]>
    fdmanana authored and kdave committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    b3ebb9b View commit details
    Browse the repository at this point in the history
  23. btrfs: avoid races when tracking progress for extent map shrinking

    We store the progress (root and inode numbers) of the extent map shrinker
    in fs_info without any synchronization but we can have multiple tasks
    calling into the shrinker during memory allocations when there's enough
    memory pressure for example.
    
    This can result in a task A reading fs_info->extent_map_shrinker_last_ino
    after another task B updates it, and task A reading
    fs_info->extent_map_shrinker_last_root before task B updates it, making
    task A see an odd state that isn't necessarily harmful but may make it
    skip certain inode ranges or do more work than necessary by going over
    the same inodes again. These unprotected accesses would also trigger
    warnings from tools like KCSAN.
    
    So add a lock to protect access to these progress fields.
    
    Reviewed-by: Josef Bacik <[email protected]>
    Signed-off-by: Filipe Manana <[email protected]>
    Reviewed-by: David Sterba <[email protected]>
    Signed-off-by: David Sterba <[email protected]>
    fdmanana authored and kdave committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    4484940 View commit details
    Browse the repository at this point in the history
  24. Merge tag 'asoc-fix-v6.10-rc7' of https://git.kernel.org/pub/scm/linu…

    …x/kernel/git/broonie/sound into for-linus
    
    ASoC: Fixes for v6.10
    
    A few fairly small fixes for ASoC, there's a relatively large set of
    hardening changes for the cs_dsp firmware file parsing and a couple of
    other small device specific fixes.
    tiwai committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    f19e102 View commit details
    Browse the repository at this point in the history
  25. mmc: sdhci: Fix max_seg_size for 64KiB PAGE_SIZE

    blk_queue_max_segment_size() ensured:
    
    	if (max_size < PAGE_SIZE)
    		max_size = PAGE_SIZE;
    
    whereas:
    
    blk_validate_limits() makes it an error:
    
    	if (WARN_ON_ONCE(lim->max_segment_size < PAGE_SIZE))
    		return -EINVAL;
    
    The change from one to the other, exposed sdhci which was setting maximum
    segment size too low in some circumstances.
    
    Fix the maximum segment size when it is too low.
    
    Fixes: 616f876 ("mmc: pass queue_limits to blk_mq_alloc_disk")
    Cc: [email protected]
    Signed-off-by: Adrian Hunter <[email protected]>
    Reviewed-by: Christoph Hellwig <[email protected]>
    Acked-by: Jon Hunter <[email protected]>
    Tested-by: Jon Hunter <[email protected]>
    Link: https://lore.kernel.org/r/[email protected]
    Signed-off-by: Ulf Hansson <[email protected]>
    ahunter6 authored and storulf committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    63d20a9 View commit details
    Browse the repository at this point in the history
  26. mmc: davinci_mmc: Prevent transmitted data size from exceeding sgm's …

    …length
    
    No check is done on the size of the data to be transmiited. This causes
    a kernel panic when this size exceeds the sg_miter's length.
    
    Limit the number of transmitted bytes to sgm->length.
    
    Cc: [email protected]
    Fixes: ed01d21 ("mmc: davinci_mmc: Use sg_miter for PIO")
    Signed-off-by: Bastien Curutchet <[email protected]>
    Link: https://lore.kernel.org/r/[email protected]
    Signed-off-by: Ulf Hansson <[email protected]>
    bastien-curutchet authored and storulf committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    16198ee View commit details
    Browse the repository at this point in the history
  27. Merge tag 'vfs-6.10-rc8.fixes' of git://git.kernel.org/pub/scm/linux/…

    …kernel/git/vfs/vfs
    
    Pull vfs fixes from Christian Brauner:
     "cachefiles:
    
       - Export an existing and add a new cachefile helper to be used in
         filesystems to fix reference count bugs
    
       - Use the newly added fscache_ty_get_volume() helper to get a
         reference count on an fscache_volume to handle volumes that are
         about to be removed cleanly
    
       - After withdrawing a fscache_cache via FSCACHE_CACHE_IS_WITHDRAWN
         wait for all ongoing cookie lookups to complete and for the object
         count to reach zero
    
       - Propagate errors from vfs_getxattr() to avoid an infinite loop in
         cachefiles_check_volume_xattr() because it keeps seeing ESTALE
    
       - Don't send new requests when an object is dropped by raising
         CACHEFILES_ONDEMAND_OJBSTATE_DROPPING
    
       - Cancel all requests for an object that is about to be dropped
    
       - Wait for the ondemand_boject_worker to finish before dropping a
         cachefiles object to prevent use-after-free
    
       - Use cyclic allocation for message ids to better handle id recycling
    
       - Add missing lock protection when iterating through the xarray when
         polling
    
      netfs:
    
       - Use standard logging helpers for debug logging
    
      VFS:
    
       - Fix potential use-after-free in file locks during
         trace_posix_lock_inode(). The tracepoint could fire while another
         task raced it and freed the lock that was requested to be traced
    
       - Only increment the nr_dentry_negative counter for dentries that are
         present on the superblock LRU. Currently, DCACHE_LRU_LIST list is
         used to detect this case. However, the flag is also raised in
         combination with DCACHE_SHRINK_LIST to indicate that dentry->d_lru
         is used. So checking only DCACHE_LRU_LIST will lead to wrong
         nr_dentry_negative count. Fix the check to not count dentries that
         are on a shrink related list
    
      Misc:
    
       - hfsplus: fix an uninitialized value issue in copy_name
    
       - minix: fix minixfs_rename with HIGHMEM. It still uses kunmap() even
         though we switched it to kmap_local_page() a while ago"
    
    * tag 'vfs-6.10-rc8.fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs:
      minixfs: Fix minixfs_rename with HIGHMEM
      hfsplus: fix uninit-value in copy_name
      vfs: don't mod negative dentry count when on shrinker list
      filelock: fix potential use-after-free in posix_lock_inode
      cachefiles: add missing lock protection when polling
      cachefiles: cyclic allocation of msg_id to avoid reuse
      cachefiles: wait for ondemand_object_worker to finish when dropping object
      cachefiles: cancel all requests for the object that is being dropped
      cachefiles: stop sending new request when dropping object
      cachefiles: propagate errors from vfs_getxattr() to avoid infinite loop
      cachefiles: fix slab-use-after-free in cachefiles_withdraw_cookie()
      cachefiles: fix slab-use-after-free in fscache_withdraw_volume()
      netfs, fscache: export fscache_put_volume() and add fscache_try_get_volume()
      netfs: Switch debug logging to pr_debug()
    torvalds committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    83ab4b4 View commit details
    Browse the repository at this point in the history
  28. Merge tag 'net-6.10-rc8' of git://git.kernel.org/pub/scm/linux/kernel…

    …/git/netdev/net
    
    Pull networking fixes from Paolo Abeni:
     "Including fixes from bpf and netfilter.
    
      Current release - regressions:
    
       - core: fix rc7's __skb_datagram_iter() regression
    
      Current release - new code bugs:
    
       - eth: bnxt: fix crashes when reducing ring count with active RSS
         contexts
    
      Previous releases - regressions:
    
       - sched: fix UAF when resolving a clash
    
       - skmsg: skip zero length skb in sk_msg_recvmsg2
    
       - sunrpc: fix kernel free on connection failure in
         xs_tcp_setup_socket
    
       - tcp: avoid too many retransmit packets
    
       - tcp: fix incorrect undo caused by DSACK of TLP retransmit
    
       - udp: Set SOCK_RCU_FREE earlier in udp_lib_get_port().
    
       - eth: ks8851: fix deadlock with the SPI chip variant
    
       - eth: i40e: fix XDP program unloading while removing the driver
    
      Previous releases - always broken:
    
       - bpf:
           - fix too early release of tcx_entry
           - fail bpf_timer_cancel when callback is being cancelled
           - bpf: fix order of args in call to bpf_map_kvcalloc
    
       - netfilter: nf_tables: prefer nft_chain_validate
    
       - ppp: reject claimed-as-LCP but actually malformed packets
    
       - wireguard: avoid unaligned 64-bit memory accesses"
    
    * tag 'net-6.10-rc8' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net: (33 commits)
      net, sunrpc: Remap EPERM in case of connection failure in xs_tcp_setup_socket
      net/sched: Fix UAF when resolving a clash
      net: ks8851: Fix potential TX stall after interface reopen
      udp: Set SOCK_RCU_FREE earlier in udp_lib_get_port().
      netfilter: nf_tables: prefer nft_chain_validate
      netfilter: nfnetlink_queue: drop bogus WARN_ON
      ethtool: netlink: do not return SQI value if link is down
      ppp: reject claimed-as-LCP but actually malformed packets
      selftests/bpf: Add timer lockup selftest
      net: ethernet: mtk-star-emac: set mac_managed_pm when probing
      e1000e: fix force smbus during suspend flow
      tcp: avoid too many retransmit packets
      bpf: Defer work in bpf_timer_cancel_and_free
      bpf: Fail bpf_timer_cancel when callback is being cancelled
      bpf: fix order of args in call to bpf_map_kvcalloc
      net: ethernet: lantiq_etop: fix double free in detach
      i40e: Fix XDP program unloading while removing the driver
      net: fix rc7's __skb_datagram_iter()
      net: ks8851: Fix deadlock with the SPI chip variant
      octeontx2-af: Fix incorrect value output on error path in rvu_check_rsrc_availability()
      ...
    torvalds committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    51df8e0 View commit details
    Browse the repository at this point in the history
  29. Merge tag 'spi-fix-v6.10-rc7' of git://git.kernel.org/pub/scm/linux/k…

    …ernel/git/broonie/spi
    
    Pull spi fixes from Mark Brown:
     "This fixes two regressions that have been bubbling along for a large
      part of this release.
    
      One is a revert of the multi mode support for the OMAP SPI controller,
      this introduced regressions on a number of systems and while there has
      been progress on fixing those we've not got something that works for
      everyone yet so let's just drop the change for now.
    
      The other is a series of fixes from David Lechner for his recent
      message optimisation work, this interacted badly with spi-mux which
      is altogether too clever with recursive use of the bus and creates
      situations that hadn't been considered.
    
      There are also a couple of small driver specific fixes, including one
      more patch from David for sleep duration calculations in the AXI
      driver"
    
    * tag 'spi-fix-v6.10-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi:
      spi: mux: set ctlr->bits_per_word_mask
      spi: add defer_optimize_message controller flag
      spi: don't unoptimize message in spi_async()
      spi: omap2-mcspi: Revert multi mode support
      spi: davinci: Unset POWERDOWN bit when releasing resources
      spi: axi-spi-engine: fix sleep calculation
      spi: imx: Don't expect DMA for i.MX{25,35,50,51,53} cspi devices
    torvalds committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    8a18fda View commit details
    Browse the repository at this point in the history
  30. dm vdo: replace max_discard_sectors with max_hw_discard_sectors

    Commit 4f563a6 ("block: add a max_user_discard_sectors queue
    limit") changed block core to set max_discard_sectors to:
    min(lim->max_hw_discard_sectors, lim->max_user_discard_sectors)
    
    Commit 825d8bb ("dm: always manage discard support in terms
    of max_hw_discard_sectors") fixed most dm targetss to deal with
    this, by replacing max_discard_sectors with max_hw_discard_sectors.
    Unfortunately, dm-vdo did not get fixed at that time.
    
    Fixes: 825d8bb ("dm: always manage discard support in terms of max_hw_discard_sectors")
    Signed-off-by: Bruce Johnston <[email protected]>
    Signed-off-by: Matthew Sakai <[email protected]>
    Signed-off-by: Mikulas Patocka <[email protected]>
    bjohnsto authored and Mikulas Patocka committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    d5cfecf View commit details
    Browse the repository at this point in the history
  31. Merge tag 'for-6.10/dm-fixes-2' of git://git.kernel.org/pub/scm/linux…

    …/kernel/git/device-mapper/linux-dm
    
    Pull device mapper fix from Mikulas Patocka:
    
     - Fix broken discard for device mapper VDO target
    
    * tag 'for-6.10/dm-fixes-2' of git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm:
      dm vdo: replace max_discard_sectors with max_hw_discard_sectors
    torvalds committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    43db1e0 View commit details
    Browse the repository at this point in the history
  32. i2c: rcar: ensure Gen3+ reset does not disturb local targets

    R-Car Gen3+ needs a reset before every controller transfer. That erases
    configuration of a potentially in parallel running local target
    instance. To avoid this disruption, avoid controller transfers if a
    local target is running. Also, disable SMBusHostNotify because it
    requires being a controller and local target at the same time.
    
    Fixes: 3b77001 ("i2c: rcar: handle RXDMA HW behaviour on Gen3")
    Signed-off-by: Wolfram Sang <[email protected]>
    Signed-off-by: Andi Shyti <[email protected]>
    Wolfram Sang authored and Andi Shyti committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    ea5ea84 View commit details
    Browse the repository at this point in the history

Commits on Jul 12, 2024

  1. Revert "bcachefs: Mark bch_inode_info as SLAB_ACCOUNT"

    This reverts commit 86d81ec.
    
    This wasn't tested with memcg enabled, it immediately hits a null ptr
    deref in list_lru_add().
    
    Signed-off-by: Kent Overstreet <[email protected]>
    Kent Overstreet committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    aacd897 View commit details
    Browse the repository at this point in the history
  2. bcachefs; Use trans_unlock_long() when waiting on allocator

    not using unlock_long() blocks key cache reclaim, and the allocator may
    take awhile
    
    Signed-off-by: Kent Overstreet <[email protected]>
    Kent Overstreet committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    f0f3e51 View commit details
    Browse the repository at this point in the history
  3. bcachefs: Set PF_MEMALLOC_NOFS when trans->locked

    proper lock ordering is: fs_reclaim -> btree node locks
    
    Signed-off-by: Kent Overstreet <[email protected]>
    Kent Overstreet committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    f236ea4 View commit details
    Browse the repository at this point in the history
  4. bcachefs: bch2_gc_btree() should not use btree_root_lock

    btree_root_lock is for the root keys in btree_root, not the pointers to
    the nodes themselves; this fixes a lock ordering issue between
    btree_root_lock and btree node locks.
    
    Signed-off-by: Kent Overstreet <[email protected]>
    Kent Overstreet committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    1841027 View commit details
    Browse the repository at this point in the history
  5. net: ethtool: Fix RSS setting

    When user submits a rxfh set command without touching XFRM_SYM_XOR,
    rxfh.input_xfrm is set to RXH_XFRM_NO_CHANGE, which is equal to 0xff.
    
    Testing if (rxfh.input_xfrm & RXH_XFRM_SYM_XOR &&
    	    !ops->cap_rss_sym_xor_supported)
    		return -EOPNOTSUPP;
    
    Will always be true on devices that don't set cap_rss_sym_xor_supported,
    since rxfh.input_xfrm & RXH_XFRM_SYM_XOR is always true, if input_xfrm
    was not set, i.e RXH_XFRM_NO_CHANGE=0xff, which will result in failure
    of any command that doesn't require any change of XFRM, e.g RSS context
    or hash function changes.
    
    To avoid this breakage, test if rxfh.input_xfrm != RXH_XFRM_NO_CHANGE
    before testing other conditions. Note that the problem will only trigger
    with XFRM-aware userspace, old ethtool CLI would continue to work.
    
    Fixes: 0dd415d ("net: ethtool: add a NO_CHANGE uAPI for new RXFH's input_xfrm")
    Signed-off-by: Saeed Mahameed <[email protected]>
    Reviewed-by: Ahmed Zaki <[email protected]>
    Link: https://patch.msgid.link/[email protected]
    Signed-off-by: Jakub Kicinski <[email protected]>
    Saeed Mahameed authored and kuba-moo committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    503757c View commit details
    Browse the repository at this point in the history
  6. i40e: fix: remove needless retries of NVM update

    Remove wrong EIO to EGAIN conversion and pass all errors as is.
    
    After commit 230f3d5 ("i40e: remove i40e_status"), which should only
    replace F/W specific error codes with Linux kernel generic, all EIO errors
    suddenly started to be converted into EAGAIN which leads nvmupdate to retry
    until it timeouts and sometimes fails after more than 20 minutes in the
    middle of NVM update, so NVM becomes corrupted.
    
    The bug affects users only at the time when they try to update NVM, and
    only F/W versions that generate errors while nvmupdate. For example, X710DA2
    with 0x8000ECB7 F/W is affected, but there are probably more...
    
    Command for reproduction is just NVM update:
     ./nvmupdate64
    
    In the log instead of:
     i40e_nvmupd_exec_aq err I40E_ERR_ADMIN_QUEUE_ERROR aq_err I40E_AQ_RC_ENOMEM)
    appears:
     i40e_nvmupd_exec_aq err -EIO aq_err I40E_AQ_RC_ENOMEM
     i40e: eeprom check failed (-5), Tx/Rx traffic disabled
    
    The problematic code did silently convert EIO into EAGAIN which forced
    nvmupdate to ignore EAGAIN error and retry the same operation until timeout.
    That's why NVM update takes 20+ minutes to finish with the fail in the end.
    
    Fixes: 230f3d5 ("i40e: remove i40e_status")
    Co-developed-by: Kelvin Kang <[email protected]>
    Signed-off-by: Kelvin Kang <[email protected]>
    Reviewed-by: Arkadiusz Kubalewski <[email protected]>
    Signed-off-by: Aleksandr Loktionov <[email protected]>
    Reviewed-by: Przemek Kitszel <[email protected]>
    Tested-by: Tony Brelinski <[email protected]>
    Signed-off-by: Tony Nguyen <[email protected]>
    Reviewed-by: Jacob Keller <[email protected]>
    Link: https://patch.msgid.link/[email protected]
    Signed-off-by: Jakub Kicinski <[email protected]>
    aloktion authored and kuba-moo committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    8b9b59e View commit details
    Browse the repository at this point in the history
  7. i2c: testunit: avoid re-issued work after read message

    The to-be-fixed commit rightfully prevented that the registers will be
    cleared. However, the index must be cleared. Otherwise a read message
    will re-issue the last work. Fix it and add a comment describing the
    situation.
    
    Fixes: c422b6a ("i2c: testunit: don't erase registers after STOP")
    Signed-off-by: Wolfram Sang <[email protected]>
    Reviewed-by: Andi Shyti <[email protected]>
    Signed-off-by: Wolfram Sang <[email protected]>
    Wolfram Sang committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    119736c View commit details
    Browse the repository at this point in the history
  8. MAINTAINERS: Add more maintainers for omaps

    There are many generations of omaps to maintain, and I will be only active
    as a hobbyist with time permitting. Let's add more maintainers to ensure
    continued Linux support.
    
    TI is interested in maintaining the active SoCs such as am3, am4 and
    dra7. And the hobbyists are interested in maintaining some of the older
    devices, mainly based on omap3 and 4 SoCs.
    
    Kevin and Roger have agreed to maintain the active TI parts. Both Kevin
    and Roger have been working on the omap variants for a long time, and
    have a good understanding of the hardware.
    
    Aaro and Andreas have agreed to maintain the community devices. Both Aaro
    and Andreas have long experience on working with the earlier TI SoCs.
    
    While at it, let's also change me to be a reviewer for the omap1, and
    drop the link to my old omap web page.
    
    Signed-off-by: Tony Lindgren <[email protected]>
    Acked-by: Kevin Hilman <[email protected]>
    Acked-by: Aaro Koskinen <[email protected]>
    Acked-by: Roger Quadros <[email protected]>
    Signed-off-by: Arnd Bergmann <[email protected]>
    tmlind authored and arndb committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    dfd168e View commit details
    Browse the repository at this point in the history
  9. MAINTAINERS: Update FREESCALE SOC DRIVERS and QUICC ENGINE LIBRARY

    FREESCALE SOC DRIVERS has been orphaned since
    commit eaac25d ("MAINTAINERS: Drop Li Yang as their email address
    stopped working")
    QUICC ENGINE LIBRARY has Qiang Zhao as maintainer but he hasn't
    responded for years and when Li Yang was still maintaining FREESCALE
    SOC DRIVERS he was also handling QUICC ENGINE LIBRARY directly.
    
    As a maintainer of LINUX FOR POWERPC EMBEDDED PPC8XX AND PPC83XX, I
    also need FREESCALE SOC DRIVERS to be actively maintained, so add
    myself as maintainer of FREESCALE SOC DRIVERS and QUICC ENGINE LIBRARY.
    
    See below link for more context.
    
    Link: https://lore.kernel.org/linuxppc-dev/20240219153016.ntltc76bphwrv6hn@skbuf/T/#mf6d4a5eef79e8eae7ae0456a2794c01e630a6756
    Signed-off-by: Christophe Leroy <[email protected]>
    Signed-off-by: Arnd Bergmann <[email protected]>
    chleroy authored and arndb committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    6fba5cb View commit details
    Browse the repository at this point in the history
  10. octeontx2-af: replace cpt slot with lf id on reg write

    Replace slot id with global CPT lf id on reg read/write as
    CPTPF/VF driver would send slot number instead of global
    lf id in the reg offset. And also update the mailbox response
    with the global lf's register offset.
    
    Fixes: ae45408 ("octeontx2-af: add mailbox interface for CPT")
    Signed-off-by: Nithin Dabilpuram <[email protected]>
    Signed-off-by: David S. Miller <[email protected]>
    nithind1988 authored and davem330 committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    bc35e28 View commit details
    Browse the repository at this point in the history
  11. octeontx2-af: fix a issue with cpt_lf_alloc mailbox

    This patch fixes CPT_LF_ALLOC mailbox error due to
    incompatible mailbox message format. Specifically, it
    corrects the `blkaddr` field type from `int` to `u8`.
    
    Fixes: de2854c ("octeontx2-af: Mailbox changes for 98xx CPT block")
    Signed-off-by: Srujana Challa <[email protected]>
    Signed-off-by: David S. Miller <[email protected]>
    SruChalla authored and davem330 committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    845fe19 View commit details
    Browse the repository at this point in the history
  12. octeontx2-af: fix detection of IP layer

    Checksum and length checks are not enabled for IPv4 header with
    options and IPv6 with extension headers.
    To fix this a change in enum npc_kpu_lc_ltype is required which will
    allow adjustment of LTYPE_MASK to detect all types of IP headers.
    
    Fixes: 21e6699 ("octeontx2-af: Add NPC KPU profile")
    Signed-off-by: Michal Mazur <[email protected]>
    Signed-off-by: David S. Miller <[email protected]>
    Michal Mazur authored and davem330 committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    404dc0f View commit details
    Browse the repository at this point in the history
  13. octeontx2-af: fix issue with IPv6 ext match for RSS

    While performing RSS based on IPv6, extension ltype
    is not being considered. This will be problem for
    fragmented packets or packets with extension header.
    Adding changes to match IPv6 ext header along with IPv6
    ltype.
    
    Fixes: 41a7aa7 ("octeontx2-af: NIX Rx flowkey configuration for RSS")
    Signed-off-by: Kiran Kumar K <[email protected]>
    Reviewed-by: Kalesh AP <[email protected]>
    Signed-off-by: David S. Miller <[email protected]>
    Kiran Kumar K authored and davem330 committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    e23ac10 View commit details
    Browse the repository at this point in the history
  14. octeontx2-af: fix issue with IPv4 match for RSS

    While performing RSS based on IPv4, packets with
    IPv4 options are not being considered. Adding changes
    to match both plain IPv4 and IPv4 with option header.
    
    Fixes: 41a7aa7 ("octeontx2-af: NIX Rx flowkey configuration for RSS")
    Signed-off-by: Satheesh Paul <[email protected]>
    Reviewed-by: Kalesh AP <[email protected]>
    Signed-off-by: David S. Miller <[email protected]>
    satheeshpaul authored and davem330 committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    60795bb View commit details
    Browse the repository at this point in the history
  15. Merge branch 'octeontx2-cpt-rss-cfg-fixes' into main

    Srujana Challa says:
    
    ====================
    Fixes for CPT and RSS configuration
    
    This series of patches fixes various issues related to CPT
    configuration and RSS configuration.
    
    v1->v2:
    - Excluded the patch "octeontx2-af: reduce cpt flt interrupt vectors for
      cn10kb" to submit it to net-next.
    - Addressed the review comments.
    
    Kiran Kumar K (1):
      octeontx2-af: Fix issue with IPv6 ext match for RSS
    ====================
    
    Signed-off-by: David S. Miller <[email protected]>
    davem330 committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    425652d View commit details
    Browse the repository at this point in the history
  16. Merge tag 'bcachefs-2024-07-12' of https://evilpiepirate.org/git/bcac…

    …hefs
    
    Pull more bcachefs fixes from Kent Overstreet:
    
     - revert the SLAB_ACCOUNT patch, something crazy is going on in memcg
       and someone forgot to test
    
     - minor fixes: missing rcu_read_lock(), scheduling while atomic (in an
       emergency shutdown path)
    
     - two lockdep fixes; these could have gone earlier, but were left to
       bake awhile
    
    * tag 'bcachefs-2024-07-12' of https://evilpiepirate.org/git/bcachefs:
      bcachefs: bch2_gc_btree() should not use btree_root_lock
      bcachefs: Set PF_MEMALLOC_NOFS when trans->locked
      bcachefs; Use trans_unlock_long() when waiting on allocator
      Revert "bcachefs: Mark bch_inode_info as SLAB_ACCOUNT"
      bcachefs: fix scheduling while atomic in break_cycle()
      bcachefs: Fix RCU splat
    torvalds committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    5d4c851 View commit details
    Browse the repository at this point in the history
  17. Merge tag 'sound-6.10' of git://git.kernel.org/pub/scm/linux/kernel/g…

    …it/tiwai/sound
    
    Pull sound fixes from Takashi Iwai:
     "The majority of changes here are small device-specific fixes for ASoC
      SOF / Intel and usual HD-audio quirks.
    
      The only significant high LOC is found in the Cirrus firmware driver,
      but all those are for hardening against malicious firmware blobs, and
      they look fine for taking as a last minute fix, too"
    
    * tag 'sound-6.10' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound:
      ALSA: hda/realtek: Enable Mute LED on HP 250 G7
      firmware: cs_dsp: Use strnlen() on name fields in V1 wmfw files
      ALSA: hda/realtek: Limit mic boost on VAIO PRO PX
      ALSA: hda: cs35l41: Fix swapped l/r audio channels for Lenovo ThinBook 13x Gen4
      ASoC: SOF: Intel: hda-pcm: Limit the maximum number of periods by MAX_BDL_ENTRIES
      ASoC: rt711-sdw: add missing readable registers
      ASoC: SOF: Intel: hda: fix null deref on system suspend entry
      ALSA: hda/realtek: add quirk for Clevo V5[46]0TU
      firmware: cs_dsp: Prevent buffer overrun when processing V2 alg headers
      firmware: cs_dsp: Validate payload length before processing block
      firmware: cs_dsp: Return error if block header overflows file
      firmware: cs_dsp: Fix overflow checking of wmfw header
    torvalds committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    9b48104 View commit details
    Browse the repository at this point in the history
  18. Merge tag 'usb-6.10-final' of git://git.kernel.org/pub/scm/linux/kern…

    …el/git/gregkh/usb
    
    Pull USB fixes from Greg KH:
     "Here are some small USB driver fixes and new device ids for
      6.10-final. Included in here are:
    
       - new usb-serial device ids for reported devices
    
       - syzbot-triggered duplicate endpoint bugfix
    
       - gadget bugfix for configfs memory overwrite
    
       - xhci resume bugfix
    
       - new device quirk added
    
       - usb core error path bugfix
    
      All of these have been in linux-next (most for a while) with no
      reported issues"
    
    * tag 'usb-6.10-final' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb:
      USB: serial: mos7840: fix crash on resume
      USB: serial: option: add Rolling RW350-GL variants
      USB: serial: option: add support for Foxconn T99W651
      USB: serial: option: add Netprisma LCUK54 series modules
      usb: gadget: configfs: Prevent OOB read/write in usb_string_copy()
      usb: dwc3: pci: add support for the Intel Panther Lake
      usb: core: add missing of_node_put() in usb_of_has_devices_or_graph
      USB: Add USB_QUIRK_NO_SET_INTF quirk for START BP-850k
      USB: core: Fix duplicate endpoint bug by clearing reserved bits in the descriptor
      xhci: always resume roothubs if xHC was reset during resume
      USB: serial: option: add Telit generic core-dump composition
      USB: serial: option: add Fibocom FM350-GL
      USB: serial: option: add Telit FN912 rmnet compositions
    torvalds committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    1293147 View commit details
    Browse the repository at this point in the history
  19. Merge tag 'tty-6.10-final' of git://git.kernel.org/pub/scm/linux/kern…

    …el/git/gregkh/tty
    
    Pull tty / serial fixes from Greg KH:
     "Here are some small serial driver fixes for 6.10-final. Included in
      here are:
    
       - qcom-geni fixes for a much much much discussed issue and everyone
         now seems to be agreed that this is the proper way forward to
         resolve the reported lockups
    
       - imx serial driver bugfixes
    
       - 8250_omap errata fix
    
       - ma35d1 serial driver bugfix
    
      All of these have been in linux-next for over a week with no reported
      issues"
    
    * tag 'tty-6.10-final' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty:
      serial: qcom-geni: do not kill the machine on fifo underrun
      serial: qcom-geni: fix hard lockup on buffer flush
      serial: qcom-geni: fix soft lockup on sw flow control and suspend
      serial: imx: ensure RTS signal is not left active after shutdown
      tty: serial: ma35d1: Add a NULL check for of_node
      serial: 8250_omap: Fix Errata i2310 with RX FIFO level check
      serial: imx: only set receiver level if it is zero
    torvalds committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    1cb67bc View commit details
    Browse the repository at this point in the history
  20. Merge tag 'char-misc-6.10-final' of git://git.kernel.org/pub/scm/linu…

    …x/kernel/git/gregkh/char-misc
    
    Pull char / misc driver fixes from Greg KH:
     "Here are some small remaining driver fixes for 6.10-final that have
      all been in linux-next for a while and resolve reported issues.
      Included in here are:
    
       - mei driver fixes (and a spelling fix at the end just to be clean)
    
       - iio driver fixes for reported problems
    
       - fastrpc bugfixes
    
       - nvmem small fixes"
    
    * tag 'char-misc-6.10-final' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc:
      mei: vsc: Fix spelling error
      mei: vsc: Enhance SPI transfer of IVSC ROM
      mei: vsc: Utilize the appropriate byte order swap function
      mei: vsc: Prevent timeout error with added delay post-firmware download
      mei: vsc: Enhance IVSC chipset stability during warm reboot
      nvmem: core: limit cell sysfs permissions to main attribute ones
      nvmem: core: only change name to fram for current attribute
      nvmem: meson-efuse: Fix return value of nvmem callbacks
      nvmem: rmem: Fix return value of rmem_read()
      misc: microchip: pci1xxxx: Fix return value of nvmem callbacks
      hpet: Support 32-bit userspace
      misc: fastrpc: Restrict untrusted app to attach to privileged PD
      misc: fastrpc: Fix ownership reassignment of remote heap
      misc: fastrpc: Fix memory leak in audio daemon attach operation
      misc: fastrpc: Avoid updating PD type for capability request
      misc: fastrpc: Copy the complete capability structure to user
      misc: fastrpc: Fix DSP capabilities request
      iio: light: apds9306: Fix error handing
      iio: trigger: Fix condition for own trigger
    torvalds committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    f469cf9 View commit details
    Browse the repository at this point in the history
  21. Merge tag 'arm-fixes-6.10-3' of git://git.kernel.org/pub/scm/linux/ke…

    …rnel/git/soc/soc
    
    Pull ARM SoC fixes from Arnd Bergmann:
     "Most of these changes are Qualcomm SoC specific and came in just after
      I sent out the last set of fixes. This includes two regression fixes
      for SoC drivers, a defconfig change to ensure the Lenovo X13s is
      usable and 11 changes to DT files to fix regressions and minor
      platform specific issues.
    
      Tony and Chunyan step back from their respective maintainership roles
      on the omap and unisoc platforms, and Christophe in turn takes over
      maintaining some of the Freescale SoC drivers that he has been taking
      care of in practice already.
    
      Lastly, there are two trivial fixes for the davinci and sunxi
      platforms"
    
    * tag 'arm-fixes-6.10-3' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc:
      MAINTAINERS: Update FREESCALE SOC DRIVERS and QUICC ENGINE LIBRARY
      MAINTAINERS: Add more maintainers for omaps
      ARM: davinci: Convert comma to semicolon
      MAINTAINERS: Move myself from SPRD Maintainer to Reviewer
      Revert "dt-bindings: cache: qcom,llcc: correct QDU1000 reg entries"
      arm64: dts: qcom: qdu1000: Fix LLCC reg property
      arm64: dts: qcom: sm6115: add iommu for sdhc_1
      arm64: dts: qcom: x1e80100-crd: fix DAI used for headset recording
      arm64: dts: qcom: x1e80100-crd: fix WCD audio codec TX port mapping
      soc: qcom: pmic_glink: disable UCSI on sc8280xp
      arm64: defconfig: enable Elan i2c-hid driver
      arm64: dts: qcom: sc8280xp-crd: use external pull up for touch reset
      arm64: dts: qcom: sc8280xp-x13s: fix touchscreen power on
      arm64: dts: qcom: x1e80100: Fix PCIe 6a reg offsets and add MHI
      arm64: dts: qcom: sa8775p: Correct IRQ number of EL2 non-secure physical timer
      arm64: dts: allwinner: Fix PMIC interrupt number
      arm64: dts: qcom: sc8280xp: Set status = "reserved" on PSHOLD
      arm64: dts: qcom: x1e80100-*: Allocate some CMA buffers
      arm64: dts: qcom: sc8180x: Fix LLCC reg property again
    torvalds committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    e091caf View commit details
    Browse the repository at this point in the history
  22. Merge tag 'mmc-v6.10-rc4-2' of git://git.kernel.org/pub/scm/linux/ker…

    …nel/git/ulfh/mmc
    
    Pull MMC host fixes from Ulf Hansson:
    
     - davinci_mmc: Prevent transmitted data size from exceeding sgm's
       length
    
     - sdhci: Fix max_seg_size for 64KiB PAGE_SIZE
    
    * tag 'mmc-v6.10-rc4-2' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc:
      mmc: davinci_mmc: Prevent transmitted data size from exceeding sgm's length
      mmc: sdhci: Fix max_seg_size for 64KiB PAGE_SIZE
    torvalds committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    01ec3bb View commit details
    Browse the repository at this point in the history
  23. Merge tag 'pmdomain-v6.10-rc2' of git://git.kernel.org/pub/scm/linux/…

    …kernel/git/ulfh/linux-pm
    
    Pull pmdomain fix from Ulf Hansson:
    
     - qcom: Skip retention level for rpmhpd's
    
    * tag 'pmdomain-v6.10-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/linux-pm:
      pmdomain: qcom: rpmhpd: Skip retention level for Power Domains
    torvalds committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    ac6a9e0 View commit details
    Browse the repository at this point in the history
  24. Merge tag 'ceph-for-6.10-rc8' of https://github.com/ceph/ceph-client

    Pull ceph fixes from Ilya Dryomov:
     "A fix for a possible use-after-free following "rbd unmap" or "umount"
      marked for stable and two kernel-doc fixups"
    
    * tag 'ceph-for-6.10-rc8' of https://github.com/ceph/ceph-client:
      libceph: fix crush_choose_firstn() kernel-doc warnings
      libceph: suppress crush_choose_indep() kernel-doc warnings
      libceph: fix race between delayed_work() and ceph_monc_stop()
    torvalds committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    a52ff90 View commit details
    Browse the repository at this point in the history
  25. Merge tag 'for-6.10-rc7-tag' of git://git.kernel.org/pub/scm/linux/ke…

    …rnel/git/kdave/linux
    
    Pull btrfs fixes from David Sterba:
     "Fix a regression in extent map shrinker behaviour.
    
      In the past weeks we got reports from users that there are huge
      latency spikes or freezes. This was bisected to newly added shrinker
      of extent maps (it was added to fix a build up of the structures in
      memory).
    
      I'm assuming that the freezes would happen to many users after release
      so I'd like to get it merged now so it's in 6.10. Although the diff
      size is not small the changes are relatively straightforward, the
      reporters verified the fixes and we did testing on our side.
    
      The fixes:
    
       - adjust behaviour under memory pressure and check lock or scheduling
         conditions, bail out if needed
    
       - synchronize tracking of the scanning progress so inode ranges are
         not skipped or work duplicated
    
       - do a delayed iput when scanning a root so evicting an inode does
         not slow things down in case of lots of dirty data, also fix
         lockdep warning, a deadlock could happen when writing the dirty
         data would need to start a transaction"
    
    * tag 'for-6.10-rc7-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux:
      btrfs: avoid races when tracking progress for extent map shrinking
      btrfs: stop extent map shrinker if reschedule is needed
      btrfs: use delayed iput during extent map shrinking
    torvalds committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    975f3b6 View commit details
    Browse the repository at this point in the history

Commits on Jul 13, 2024

  1. bnxt_en: Fix crash in bnxt_get_max_rss_ctx_ring()

    On older chips not supporting multiple RSS contexts, reducing
    ethtool channels will crash:
    
    BUG: kernel NULL pointer dereference, address: 00000000000000b8
    PGD 0 P4D 0
    Oops: Oops: 0000 [msm8916-mainline#1] PREEMPT SMP PTI
    CPU: 1 PID: 7032 Comm: ethtool Tainted: G S                 6.10.0-rc4 msm8916-mainline#1
    Hardware name: Dell Inc. PowerEdge R730/072T6D, BIOS 2.4.3 01/17/2017
    RIP: 0010:bnxt_get_max_rss_ctx_ring+0x4c/0x90 [bnxt_en]
    Code: c3 d3 eb 4c 8b 83 38 01 00 00 48 8d bb 38 01 00 00 4c 39 c7 74 42 41 8d 54 24 ff 31 c0 0f b7 d2 4c 8d 4c 12 02 66 85 ed 74 1d <49> 8b 90 b8 00 00 00 49 8d 34 11 0f b7 0a 66 39 c8 0f 42 c1 48 83
    RSP: 0018:ffffaaa501d23ba8 EFLAGS: 00010202
    RAX: 0000000000000000 RBX: ffff8efdf600c940 RCX: 0000000000000000
    RDX: 000000000000007f RSI: ffffffffacf429c4 RDI: ffff8efdf600ca78
    RBP: 0000000000000080 R08: 0000000000000000 R09: 0000000000000100
    R10: 0000000000000001 R11: ffffaaa501d238c0 R12: 0000000000000080
    R13: 0000000000000000 R14: ffff8efdf600c000 R15: 0000000000000006
    FS:  00007f977a7d2740(0000) GS:ffff8f041f840000(0000) knlGS:0000000000000000
    CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
    CR2: 00000000000000b8 CR3: 00000002320aa004 CR4: 00000000003706f0
    DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
    DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
    Call Trace:
    <TASK>
    ? __die_body+0x15/0x60
    ? page_fault_oops+0x157/0x440
    ? do_user_addr_fault+0x60/0x770
    ? _raw_spin_lock_irqsave+0x12/0x40
    ? exc_page_fault+0x61/0x120
    ? asm_exc_page_fault+0x22/0x30
    ? bnxt_get_max_rss_ctx_ring+0x4c/0x90 [bnxt_en]
    ? bnxt_get_max_rss_ctx_ring+0x25/0x90 [bnxt_en]
    bnxt_set_channels+0x9d/0x340 [bnxt_en]
    ethtool_set_channels+0x14b/0x210
    __dev_ethtool+0xdf8/0x2890
    ? preempt_count_add+0x6a/0xa0
    ? percpu_counter_add_batch+0x23/0x90
    ? filemap_map_pages+0x417/0x4a0
    ? avc_has_extended_perms+0x185/0x420
    ? __pfx_udp_ioctl+0x10/0x10
    ? sk_ioctl+0x55/0xf0
    ? kmalloc_trace_noprof+0xe0/0x210
    ? dev_ethtool+0x54/0x170
    dev_ethtool+0xa2/0x170
    dev_ioctl+0xbe/0x530
    sock_do_ioctl+0xa3/0xf0
    sock_ioctl+0x20d/0x2e0
    
    bp->rss_ctx_list is not initialized if the chip or firmware does not
    support multiple RSS contexts.  Fix it by adding a check in
    bnxt_get_max_rss_ctx_ring() before proceeding to reference
    bp->rss_ctx_list.
    
    Fixes: 0d1b7d6 ("bnxt: fix crashes when reducing ring count with active RSS contexts")
    Reported-by: Breno Leitao <[email protected]>
    Link: https://lore.kernel.org/netdev/[email protected]/
    Reviewed-by: Andy Gospodarek <[email protected]>
    Signed-off-by: Michael Chan <[email protected]>
    Link: https://patch.msgid.link/[email protected]
    Signed-off-by: Jakub Kicinski <[email protected]>
    Michael Chan authored and kuba-moo committed Jul 13, 2024
    Configuration menu
    Copy the full SHA
    f7ce5eb View commit details
    Browse the repository at this point in the history
  2. Merge tag 'net-6.10-rc8-2' of git://git.kernel.org/pub/scm/linux/kern…

    …el/git/netdev/net
    
    Pull more networking fixes from Jakub Kicinski:
     "A quick follow up to yesterday's pull. We got a regressions report for
      the bnxt patch as soon as it got to your tree. The ethtool fix is also
      good to have, although it's an older regression.
    
      Current release - regressions:
    
       - eth: bnxt_en: fix crash in bnxt_get_max_rss_ctx_ring() on older HW
         when user tries to decrease the ring count
    
      Previous releases - regressions:
    
       - ethtool: fix RSS setting, accept "no change" setting if the driver
         doesn't support the new features
    
       - eth: i40e: remove needless retries of NVM update, don't wait 20min
         when we know the firmware update won't succeed"
    
    * tag 'net-6.10-rc8-2' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net:
      bnxt_en: Fix crash in bnxt_get_max_rss_ctx_ring()
      octeontx2-af: fix issue with IPv4 match for RSS
      octeontx2-af: fix issue with IPv6 ext match for RSS
      octeontx2-af: fix detection of IP layer
      octeontx2-af: fix a issue with cpt_lf_alloc mailbox
      octeontx2-af: replace cpt slot with lf id on reg write
      i40e: fix: remove needless retries of NVM update
      net: ethtool: Fix RSS setting
    torvalds committed Jul 13, 2024
    Configuration menu
    Copy the full SHA
    528dd46 View commit details
    Browse the repository at this point in the history
  3. Merge tag 'i2c-host-fixes-6.10-rc8' of git://git.kernel.org/pub/scm/l…

    …inux/kernel/git/andi.shyti/linux into i2c/for-current
    
    This tag includes three fixes for the Renesas R-Car driver:
    
     1. Ensures the device is in a known state after probing.
     2. Allows clearing the NO_RXDMA flag after a reset.
     3. Forces a reset before any transfer on Gen3+ platforms to
        prevent disruption of the configuration during parallel
        transfers.
    Wolfram Sang committed Jul 13, 2024
    Configuration menu
    Copy the full SHA
    3fdd2d2 View commit details
    Browse the repository at this point in the history
  4. cifs: fix setting SecurityFlags to true

    If you try to set /proc/fs/cifs/SecurityFlags to 1 it
    will set them to CIFSSEC_MUST_NTLMV2 which no longer is
    relevant (the less secure ones like lanman have been removed
    from cifs.ko) and is also missing some flags (like for
    signing and encryption) and can even cause mount to fail,
    so change this to set it to Kerberos in this case.
    
    Also change the description of the SecurityFlags to remove mention
    of flags which are no longer supported.
    
    Cc: [email protected]
    Reviewed-by: Shyam Prasad N <[email protected]>
    Signed-off-by: Steve French <[email protected]>
    Steve French committed Jul 13, 2024
    Configuration menu
    Copy the full SHA
    d2346e2 View commit details
    Browse the repository at this point in the history
  5. Merge tag '6.10-rc7-smb3-client-fix' of git://git.samba.org/sfrench/c…

    …ifs-2.6
    
    Pull smb client fix from Steve French:
     "Small fix, also for stable"
    
    * tag '6.10-rc7-smb3-client-fix' of git://git.samba.org/sfrench/cifs-2.6:
      cifs: fix setting SecurityFlags to true
    torvalds committed Jul 13, 2024
    Configuration menu
    Copy the full SHA
    d0d0cd3 View commit details
    Browse the repository at this point in the history
  6. Merge tag 'i2c-for-6.10-rc8' of git://git.kernel.org/pub/scm/linux/ke…

    …rnel/git/wsa/linux
    
    Pull i2c fixes from Wolfram Sang:
     "Fixes for the I2C testunit, the Renesas R-Car driver and some
      MAINTAINERS corrections"
    
    * tag 'i2c-for-6.10-rc8' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux:
      i2c: testunit: avoid re-issued work after read message
      i2c: rcar: ensure Gen3+ reset does not disturb local targets
      i2c: mark HostNotify target address as used
      i2c: testunit: correct Kconfig description
      MAINTAINERS: VIRTIO I2C loses a maintainer, gains a reviewer
      MAINTAINERS: delete entries for Thor Thayer
      i2c: rcar: clear NO_RXDMA flag after resetting
      i2c: rcar: bring hardware to known state when probing
    torvalds committed Jul 13, 2024
    Configuration menu
    Copy the full SHA
    4d145e3 View commit details
    Browse the repository at this point in the history

Commits on Jul 14, 2024

  1. Merge tag 'x86_urgent_for_v6.10' of git://git.kernel.org/pub/scm/linu…

    …x/kernel/git/tip/tip
    
    Pull x86 fix from Borislav Petkov:
    
     - Make sure TF is cleared before calling other functions (BHI
       mitigation in this case) in the SYSENTER compat handler, as
       otherwise it will warn about being in single-step mode
    
    * tag 'x86_urgent_for_v6.10' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
      x86/bhi: Avoid warning in #DB handler due to BHI mitigation
    torvalds committed Jul 14, 2024
    Configuration menu
    Copy the full SHA
    35ce463 View commit details
    Browse the repository at this point in the history
  2. Merge tag 'sched_urgent_for_v6.10' of git://git.kernel.org/pub/scm/li…

    …nux/kernel/git/tip/tip
    
    Pull scheduler fixes from Borislav Petkov:
    
     - Fix a performance regression when measuring the CPU time of a thread
       (clock_gettime(CLOCK_THREAD_CPUTIME_ID,...)) due to the addition of
       PSI IRQ time accounting in the hotpath
    
     - Fix a task_struct leak due to missing to decrement the refcount when
       the task is enqueued before the timer which is supposed to do that,
       expires
    
     - Revert an attempt to expedite detaching of movable tasks, as finding
       those could become very costly. Turns out the original issue wasn't
       even hit by anyone
    
    * tag 'sched_urgent_for_v6.10' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
      sched: Move psi_account_irqtime() out of update_rq_clock_task() hotpath
      sched/deadline: Fix task_struct reference leak
      Revert "sched/fair: Make sure to try to detach at least one movable task"
    torvalds committed Jul 14, 2024
    Configuration menu
    Copy the full SHA
    3653469 View commit details
    Browse the repository at this point in the history
  3. kbuild: Make ld-version.sh more robust against version string changes

    After [1] in upstream LLVM, ld.lld's version output became slightly
    different when the cmake configuration option LLVM_APPEND_VC_REV is
    disabled.
    
    Before:
    
      Debian LLD 19.0.0 (compatible with GNU linkers)
    
    After:
    
      Debian LLD 19.0.0, compatible with GNU linkers
    
    This results in ld-version.sh failing with
    
      scripts/ld-version.sh: 18: arithmetic expression: expecting EOF: "10000 * 19 + 100 * 0 + 0,"
    
    because the trailing comma is included in the patch level part of the
    expression. While [1] has been partially reverted in [2] to avoid this
    breakage (as it impacts the configuration stage and it is present in all
    LTS branches), it would be good to make ld-version.sh more robust
    against such miniscule changes like this one.
    
    Use POSIX shell parameter expansion [3] to remove the largest suffix
    after just numbers and periods, replacing of the current removal of
    everything after a hyphen. ld-version.sh continues to work for a number
    of distributions (Arch Linux, Debian, and Fedora) and the kernel.org
    toolchains and no longer errors on a version of ld.lld with [1].
    
    Fixes: 02aff85 ("kbuild: check the minimum linker version in Kconfig")
    Link: llvm/llvm-project@0f9fbbb [1]
    Link: llvm/llvm-project@649cdfc [2]
    Link: https://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html [3]
    Suggested-by: Fangrui Song <[email protected]>
    Reviewed-by: Fangrui Song <[email protected]>
    Signed-off-by: Nathan Chancellor <[email protected]>
    Reviewed-by: Nicolas Schier <[email protected]>
    Signed-off-by: Masahiro Yamada <[email protected]>
    nathanchance authored and masahir0y committed Jul 14, 2024
    Configuration menu
    Copy the full SHA
    9852f47 View commit details
    Browse the repository at this point in the history
  4. kbuild: rpm-pkg: avoid the warnings with dtb's listed twice

    After 8d1001f (kbuild: rpm-pkg: fix build error with CONFIG_MODULES=n),
    the following warning "warning: File listed twice: *.dtb" is appearing for
    every dtb file that is included.
    The reason is that the commented commit already adds the folder
    /lib/modules/%{KERNELRELEASE} in kernel.list file so the folder
    /lib/modules/%{KERNELRELEASE}/dtb is no longer necessary, just remove it.
    
    Fixes: 8d1001f ("kbuild: rpm-pkg: fix build error with CONFIG_MODULES=n")
    Signed-off-by: Jose Ignacio Tornos Martinez <[email protected]>
    Reviewed-by: Nathan Chancellor <[email protected]>
    Tested-by: Nathan Chancellor <[email protected]>
    Signed-off-by: Masahiro Yamada <[email protected]>
    jtornosm authored and masahir0y committed Jul 14, 2024
    Configuration menu
    Copy the full SHA
    e328643 View commit details
    Browse the repository at this point in the history
  5. fortify: fix warnings in fortify tests with KASAN

    When a software KASAN mode is enabled, the fortify tests emit warnings
    on some architectures.
    
    For example, for ARCH=arm, the combination of CONFIG_FORTIFY_SOURCE=y
    and CONFIG_KASAN=y produces the following warnings:
    
        TEST    lib/test_fortify/read_overflow-memchr.log
      warning: unsafe memchr() usage lacked '__read_overflow' warning in lib/test_fortify/read_overflow-memchr.c
        TEST    lib/test_fortify/read_overflow-memchr_inv.log
      warning: unsafe memchr_inv() usage lacked '__read_overflow' symbol in lib/test_fortify/read_overflow-memchr_inv.c
        TEST    lib/test_fortify/read_overflow-memcmp.log
      warning: unsafe memcmp() usage lacked '__read_overflow' warning in lib/test_fortify/read_overflow-memcmp.c
        TEST    lib/test_fortify/read_overflow-memscan.log
      warning: unsafe memscan() usage lacked '__read_overflow' symbol in lib/test_fortify/read_overflow-memscan.c
        TEST    lib/test_fortify/read_overflow2-memcmp.log
      warning: unsafe memcmp() usage lacked '__read_overflow2' warning in lib/test_fortify/read_overflow2-memcmp.c
         [ more and more similar warnings... ]
    
    Commit 9c2d132 ("kbuild: provide reasonable defaults for tool
    coverage") removed KASAN flags from non-kernel objects by default.
    It was an intended behavior because lib/test_fortify/*.c are unit
    tests that are not linked to the kernel.
    
    As it turns out, some architectures require -fsanitize=kernel-(hw)address
    to define __SANITIZE_ADDRESS__ for the fortify tests.
    
    Without __SANITIZE_ADDRESS__ defined, arch/arm/include/asm/string.h
    defines __NO_FORTIFY, thus excluding <linux/fortify-string.h>.
    
    This issue does not occur on x86 thanks to commit 4ec4190
    ("kasan, x86: don't rename memintrinsics in uninstrumented files"),
    but there are still some architectures that define __NO_FORTIFY
    in such a situation.
    
    Set KASAN_SANITIZE=y explicitly to the fortify tests.
    
    Fixes: 9c2d132 ("kbuild: provide reasonable defaults for tool coverage")
    Reported-by: Arnd Bergmann <[email protected]>
    Closes: https://lore.kernel.org/all/[email protected]/
    Signed-off-by: Masahiro Yamada <[email protected]>
    masahir0y committed Jul 14, 2024
    Configuration menu
    Copy the full SHA
    84679f0 View commit details
    Browse the repository at this point in the history
  6. Merge tag 'kbuild-fixes-v6.10-4' of git://git.kernel.org/pub/scm/linu…

    …x/kernel/git/masahiroy/linux-kbuild
    
    Pull Kbuild fixes from Masahiro Yamada:
    
     - Make scripts/ld-version.sh robust against the latest LLD
    
     - Fix warnings in rpm-pkg with device tree support
    
     - Fix warnings in fortify tests with KASAN
    
    * tag 'kbuild-fixes-v6.10-4' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild:
      fortify: fix warnings in fortify tests with KASAN
      kbuild: rpm-pkg: avoid the warnings with dtb's listed twice
      kbuild: Make ld-version.sh more robust against version string changes
    torvalds committed Jul 14, 2024
    Configuration menu
    Copy the full SHA
    882ddcd View commit details
    Browse the repository at this point in the history
  7. Linux 6.10

    torvalds committed Jul 14, 2024
    Configuration menu
    Copy the full SHA
    0c38364 View commit details
    Browse the repository at this point in the history

Commits on Jul 17, 2024

  1. UPSTREAM: arm64: dts: qcom: msm8916/39-samsung-a2015: Add PMIC and ch…

    …arger
    
    The phones listed below have Richtek RT5033 PMIC and charger.
    Add them to the device trees.
    
    - Samsung Galaxy A3/A5/A7 2015
    - Samsung Galaxy E5/E7
    - Samsung Galaxy Grand Max
    
    Signed-off-by: Raymond Hackley <[email protected]>
    Link: https://lore.kernel.org/r/[email protected]
    Signed-off-by: Bjorn Andersson <[email protected]>
    wonderfulShrineMaidenOfParadise authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    fbf316e View commit details
    Browse the repository at this point in the history
  2. UPSTREAM: arm64: dts: qcom: msm8916-samsung-fortuna/rossa: Add connec…

    …tor for MUIC
    
    Add subnode usb_con: extcon for SM5502 / SM5504 MUIC, which will be used
    for RT5033 charger.
    
    Signed-off-by: Raymond Hackley <[email protected]>
    Reviewed-by: Konrad Dybcio <[email protected]>
    Link: https://lore.kernel.org/r/[email protected]
    Signed-off-by: Bjorn Andersson <[email protected]>
    wonderfulShrineMaidenOfParadise authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    f05153c View commit details
    Browse the repository at this point in the history
  3. UPSTREAM: arm64: dts: qcom: msm8916-samsung-fortuna: Add BMC150 accel…

    …erometer/magnetometer
    
    Some Grand Prime use a Bosch BMC150 accelerometer/magnetometer combo.
    The chip provides two separate I2C devices for the accelerometer
    and magnetometer that are already supported by the bmc150-accel
    and bmc150-magn driver.
    
    Signed-off-by: Joe Mason <[email protected]>
    [Stephan: Move sensors to common dtsi, disabled by default]
    Signed-off-by: Stephan Gerhold <[email protected]>
    [Raymond: Add it to grandprimelte. Use interrupts-extended]
    Signed-off-by: Raymond Hackley <[email protected]>
    Link: https://lore.kernel.org/r/[email protected]
    Signed-off-by: Bjorn Andersson <[email protected]>
    buddyjojo authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    68a24e5 View commit details
    Browse the repository at this point in the history
  4. UPSTREAM: arm64: dts: qcom: msm8916-samsung-fortuna: Add LSM303C acce…

    …lerometer/magnetometer
    
    Some Grand Prime use a ST LSM303C accelerometer/magnetometer combo.
    Add support for it.
    
    Signed-off-by: Siddharth Manthan <[email protected]>
    [Stephan: Move sensors to common dtsi (disabled by default)]
    Signed-off-by: Stephan Gerhold <[email protected]>
    [Raymond: Use interrupts-extended]
    Signed-off-by: Raymond Hackley <[email protected]>
    Link: https://lore.kernel.org/r/[email protected]
    Signed-off-by: Bjorn Andersson <[email protected]>
    SiddharthManthan authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    e484c2a View commit details
    Browse the repository at this point in the history
  5. UPSTREAM: arm64: dts: qcom: msm8916-samsung-rossa: Add LIS2HH12 accel…

    …erometer
    
    Core Prime LTE uses ST LIS2HH12 accelerometer. Add support for it.
    
    [Stephen: Use common &st_accel definition from common dtsi]
    
    Signed-off-by: Stephan Gerhold <[email protected]>
    Signed-off-by: Raymond Hackley <[email protected]>
    Link: https://lore.kernel.org/r/[email protected]
    Signed-off-by: Bjorn Andersson <[email protected]>
    wonderfulShrineMaidenOfParadise authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    4339fe8 View commit details
    Browse the repository at this point in the history
  6. UPSTREAM: dt-bindings: arm: qcom: Add msm8916 based Motorola devices

    Add compatible values for the msm8916 based Motorola smartphones.
    
    Signed-off-by: Nikita Travkin <[email protected]>
    Acked-by: Krzysztof Kozlowski <[email protected]>
    Link: https://lore.kernel.org/r/[email protected]
    Signed-off-by: Bjorn Andersson <[email protected]>
    TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    1557477 View commit details
    Browse the repository at this point in the history
  7. UPSTREAM: arm64: dts: qcom: Add device tree for Motorola Moto G4 Play…

    … (harpia)
    
    Motorola Moto G4 Play is an msm8916 based smartphone.
    
    Supported features:
    
    - eMMC and SD;
    - Buttons;
    - Touchscreen;
    - USB;
    - Fuel Gauge;
    - Sound;
    - Accelerometer.
    
    msm8916 Moto devices share significant portion of the design so the
    common parts are separated into a common dtsi.
    
    Signed-off-by: Ruby Iris Juric <[email protected]>
    Signed-off-by: Stephan Gerhold <[email protected]>
    [Nikita: Split up to common dtsi]
    Signed-off-by: Nikita Travkin <[email protected]>
    Reviewed-by: Konrad Dybcio <[email protected]>
    Link: https://lore.kernel.org/r/[email protected]
    Signed-off-by: Bjorn Andersson <[email protected]>
    Sorixelle authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    02dfa22 View commit details
    Browse the repository at this point in the history
  8. UPSTREAM: arm64: dts: qcom: Add Motorola Moto E 2015 LTE (surnia)

    Motorola Moto E 2015 LTE is an msm8916 based smartphone.
    
    Supported features:
    
    - eMMC and SD;
    - Buttons;
    - Touchscreen;
    - USB;
    - Fuel Gauge;
    - Sound.
    
    Signed-off-by: Wiktor Strzębała <[email protected]>
    [Valérie: Sound and modem]
    Co-developed-by: Valérie Roux <[email protected]>
    Signed-off-by: Valérie Roux <[email protected]>
    Signed-off-by: Stephan Gerhold <[email protected]>
    [Nikita: Use common dtsi]
    Signed-off-by: Nikita Travkin <[email protected]>
    Reviewed-by: Konrad Dybcio <[email protected]>
    Link: https://lore.kernel.org/r/[email protected]
    Signed-off-by: Bjorn Andersson <[email protected]>
    wiktorek140 authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    9f42cef View commit details
    Browse the repository at this point in the history
  9. UPSTREAM: arm64: dts: qcom: Add Motorola Moto G 2015 (osprey)

    Motorola Moto G 2015 is an msm8916 based smartphone.
    
    Supported features:
    
    - eMMC and SD;
    - Buttons;
    - Touchscreen;
    - USB;
    - Fuel Gauge;
    - Sound.
    
    Signed-off-by: Martijn Braam <[email protected]>
    Signed-off-by: Stephan Gerhold <[email protected]>
    [Nikita: Use common dtsi]
    Signed-off-by: Nikita Travkin <[email protected]>
    Reviewed-by: Konrad Dybcio <[email protected]>
    Link: https://lore.kernel.org/r/[email protected]
    Signed-off-by: Bjorn Andersson <[email protected]>
    MartijnBraam authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    7791300 View commit details
    Browse the repository at this point in the history
  10. UPSTREAM: power: supply: rt5033: Bring back i2c_set_clientdata

    Commit 3a93da2 ("power: supply: rt5033: Use devm_power_supply_register() helper")
    reworked the driver to use devm. While at it, the i2c_set_clientdata
    was dropped along with the remove callback. Unfortunately other parts
    of the driver also rely on i2c clientdata so this causes kernel oops.
    
    Bring the call back to fix the driver.
    
    Fixes: 3a93da2 ("power: supply: rt5033: Use devm_power_supply_register() helper")
    Tested-by: Raymond Hackley <[email protected]>
    Signed-off-by: Nikita Travkin <[email protected]>
    Link: https://lore.kernel.org/r/[email protected]
    Signed-off-by: Sebastian Reichel <[email protected]>
    TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    ccb6f2b View commit details
    Browse the repository at this point in the history
  11. UPSTREAM: arm64: dts: qcom: msm8916-samsung-gprimeltecan: Add NFC

    The Samsung Galaxy Grand Prime CAN has a Samsung S3FWRN5 NFC chip that
    works quite well with the s3fwrn5 driver in the Linux NFC subsystem.
    
    The clock setup for the NFC chip is a bit special (although this
    seems to be a common approach used for Qualcomm devices with NFC):
    
    The NFC chip has an output GPIO that is asserted whenever the clock
    is needed to function properly. On the A3/A5 this is wired up to
    PM8916 GPIO2, which is then configured with a special function
    (NFC_CLK_REQ or BB_CLK2_REQ).
    
    Enabling the rpmcc RPM_SMD_BB_CLK2_PIN clock will then instruct
    PM8916 to automatically enable the clock whenever the NFC chip
    requests it. The advantage is that the clock is only enabled when
    needed and we don't need to manage it ourselves from the NFC driver.
    
    Signed-off-by: Joe Mason <[email protected]>
    [Stephan: Put NFC pinctrl into common dtsi to share it with other variants]
    Signed-off-by: Stephan Gerhold <[email protected]>
    [Raymond: Use interrupts-extended. Keep &blsp_i2c6 enabled by default]
    Signed-off-by: Raymond Hackley <[email protected]>
    Link: https://lore.kernel.org/r/[email protected]
    Signed-off-by: Bjorn Andersson <[email protected]>
    buddyjojo authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    124fc72 View commit details
    Browse the repository at this point in the history
  12. UPSTREAM: arm64: dts: qcom: msm8916-samsung-fortuna/rossa: Add S3FWRN…

    …5 NFC
    
    Some variants of Samsung Galaxy Core Prime LTE / Grand Prime LTE have a
    Samsung S3FWRN5 NFC chip that works quite well with the s3fwrn5 driver
    in the Linux NFC subsystem.
    
    The clock setup for the NFC chip is a bit special (although this
    seems to be a common approach used for Qualcomm devices with NFC):
    
    The NFC chip has an output GPIO that is asserted whenever the clock
    is needed to function properly. On the A3/A5 this is wired up to
    PM8916 GPIO2, which is then configured with a special function
    (NFC_CLK_REQ or BB_CLK2_REQ).
    
    Enabling the rpmcc RPM_SMD_BB_CLK2_PIN clock will then instruct
    PM8916 to automatically enable the clock whenever the NFC chip
    requests it. The advantage is that the clock is only enabled when
    needed and we don't need to manage it ourselves from the NFC driver.
    
    Signed-off-by: Raymond Hackley <[email protected]>
    Link: https://lore.kernel.org/r/[email protected]
    Signed-off-by: Bjorn Andersson <[email protected]>
    wonderfulShrineMaidenOfParadise authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    516c29e View commit details
    Browse the repository at this point in the history
  13. UPSTREAM: arm64: dts: qcom: msm8916-samsung-fortuna/rossa: Add PMIC a…

    …nd charger
    
    The phones listed below have Richtek RT5033 PMIC and charger.
    Add them to the device trees.
    - Samsung Galaxy Core Prime LTE
    - Samsung Galaxy Grand Prime
    
    Cc: Jakob Hauser <[email protected]>
    Signed-off-by: Raymond Hackley <[email protected]>
    Link: https://lore.kernel.org/r/[email protected]
    Signed-off-by: Bjorn Andersson <[email protected]>
    wonderfulShrineMaidenOfParadise authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    e530816 View commit details
    Browse the repository at this point in the history
  14. UPSTREAM: arm64: dts: qcom: msm8916-acer-a1-724: Add sound and modem

    Enable sound and modem for Acer Iconia Talk S A1-724.
    The setup is similar to most MSM8916 devices, i.e.:
    
    - QDSP6 audio
    - Earpiece/headphones/microphones via digital/analog codec in
      MSM8916/PM8916
    - WWAN Internet via BAM-DMUX
    
    Signed-off-by: Raymond Hackley <[email protected]>
    Link: https://lore.kernel.org/r/[email protected]
    wonderfulShrineMaidenOfParadise authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    cf5ae45 View commit details
    Browse the repository at this point in the history
  15. UPSTREAM: arm64: dts: qcom: msm8916-gplus-fl8005a: Add sound and modem

    Enable sound and modem for the GPLUS FL8005A.
    The setup is similar to most MSM8916 devices, i.e.:
    
     - QDSP6 audio
     - Earpiece/headphones/microphones via digital/analog codec in
       MSM8916/PM8916
     - WWAN Internet via BAM-DMUX
    
    Signed-off-by: "Lin, Meng-Bo" <[email protected]>
    Link: https://lore.kernel.org/all/[email protected]
    bolilingmeng89006 authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    ce5e835 View commit details
    Browse the repository at this point in the history
  16. UPSTREAM: arm64: dts: qcom: msm8916-gplus-fl8005a: Add BMS

    Signed-off-by: "Lin, Meng-Bo" <[email protected]>
    bolilingmeng89006 authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    5dff4c7 View commit details
    Browse the repository at this point in the history
  17. UPSTREAM: dt-bindings: leds: Add Silergy SY7802 flash LED

    Document Silergy SY7802 flash LED driver devicetree bindings.
    
    Reviewed-by: Rob Herring <[email protected]>
    Signed-off-by: André Apitzsch <[email protected]>
    André Apitzsch authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    042892c View commit details
    Browse the repository at this point in the history
  18. UPSTREAM: leds: sy7802: Add support for Silergy SY7802 flash LED cont…

    …roller
    
    The SY7802 is a current-regulated charge pump which can regulate two
    current levels for Flash and Torch modes.
    
    It is a high-current synchronous boost converter with 2-channel high
    side current sources. Each channel is able to deliver 900mA current.
    
    Acked-by: Lee Jones <[email protected]>
    Signed-off-by: André Apitzsch <[email protected]>
    André Apitzsch authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    94bb923 View commit details
    Browse the repository at this point in the history
  19. UPSTREAM: dt-bindings: arm: qcom: Add msm8916 based LG devices

    Add compatible values for the msm8916 based LG smartphones.
    
    Signed-off-by: Nikita Travkin <[email protected]>
    Acked-by: Krzysztof Kozlowski <[email protected]>
    Link: https://lore.kernel.org/r/[email protected]
    Signed-off-by: Bjorn Andersson <[email protected]>
    TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    54060dc View commit details
    Browse the repository at this point in the history
  20. UPSTREAM: arm64: dts: qcom: msm8916-lg-m216: Add initial device tree

    This commit adds initial support for the LG K10 smartphone.
    
    Support for the following features is included:
    
    - Serial
    - Keys
    - Battery and charger
    - Accelerometer, magnetometer
    - Touchscreen
    - Sound and modem
    - Haptic
    
    Signed-off-by: Cristian Cozzolino <[email protected]>
    [Nikita: Minor cleanup]
    Signed-off-by: Nikita Travkin <[email protected]>
    Reviewed-by: Konrad Dybcio <[email protected]>
    Link: https://lore.kernel.org/r/[email protected]
    Signed-off-by: Bjorn Andersson <[email protected]>
    cristianc authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    c1f6683 View commit details
    Browse the repository at this point in the history
  21. UPSTREAM: arm64: dts: qcom: msm8916-lg-c50: add initial dts for LG Le…

    …on LTE
    
    Add initial device-tree for LG Leon LTE (lg-c50), currently supported
    features:
    - eMMC;
    - MicroSD;
    - usb in peripheral mode;
    - WiFi/BT;
    - vibration;
    - keys.
    
    Signed-off-by: Anton Bambura <[email protected]>
    Signed-off-by: Nikita Travkin <[email protected]>
    Reviewed-by: Konrad Dybcio <[email protected]>
    Link: https://lore.kernel.org/r/[email protected]
    Signed-off-by: Bjorn Andersson <[email protected]>
    Anton Bambura authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    af810bf View commit details
    Browse the repository at this point in the history
  22. UPSTREAM: input/touchscreen: imagis: Clarify the usage of protocol_b

    protocol_b is a property, which tells Imagis panel to use a different
    format for coordinates.
    
    IST30XXC series is known for using protocol B, while the other series
    aren't. Note this could be confusing, unlike the model name implies.
    
    Adjust the usage of protocol_b to avoid confusion.
    
    Signed-off-by: Raymond Hackley <[email protected]>
    Link: https://lore.kernel.org/lkml/[email protected]
    wonderfulShrineMaidenOfParadise authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    6c388c4 View commit details
    Browse the repository at this point in the history
  23. UPSTREAM: dt-bindings: input/touchscreen: imagis: Document ist3038

    Imagis IST3038 is a variant of Imagis touchscreen IC. Document it in
    imagis,ist3038c bindings.
    
    Signed-off-by: Raymond Hackley <[email protected]>
    Acked-by: Krzysztof Kozlowski <[email protected]>
    Link: https://lore.kernel.org/lkml/[email protected]
    wonderfulShrineMaidenOfParadise authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    785b9b6 View commit details
    Browse the repository at this point in the history
  24. UPSTREAM: input/touchscreen: imagis: Add supports for Imagis IST3038

    Imagis IST3038 is another variant of Imagis IST3038 IC, which has
    a different register interface from IST3038C (possibly firmware defined).
    
    Unlike IST3038C/IST3032C, IST3038 has different registers for commands,
    which means IST3038 doesn't use protocol B.
    Similar to IST3032C and maybe the other variants, IST3038 has touch keys
    support, which provides KEY_APPSELECT and KEY_BACK.
    
    Add support for IST3038 with touch keys.
    
    Signed-off-by: Raymond Hackley <[email protected]>
    Link: https://lore.kernel.org/lkml/[email protected]
    wonderfulShrineMaidenOfParadise authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    c2650a5 View commit details
    Browse the repository at this point in the history
  25. FROMLIST: arm64: dts: qcom: msm8939-longcheer-l9100: Add rear flash

    The phone has a Silergy SY7802 flash LED controller.
    
    Signed-off-by: André Apitzsch <[email protected]>
    Reviewed-by: Konrad Dybcio <[email protected]>
    André Apitzsch authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    81251bf View commit details
    Browse the repository at this point in the history
  26. FROMLIST: Input: stmfts - retry commands after timeout

    Add #define STMFTS_RETRY_COUNT 3 to retry stmfts_command() 3 times.
    Without it, STMFTS_SYSTEM_RESET or STMFTS_SLEEP_OUT may return -110 to
    failed attempt due to no event received for completion.
    
    Signed-off-by: Lin, Meng-Bo <[email protected]>
    Reviewed-by: Mattijs Korpershoek <[email protected]>
    Link: https://lore.kernel.org/r/[email protected]
    bolilingmeng89006 authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    2fe5b4b View commit details
    Browse the repository at this point in the history
  27. FROMLIST: Input: add Himax HX852x(ES) touchscreen driver

    Add a simple driver for the Himax HX852x(ES) touch panel controller,
    with support for multi-touch and capacitive touch keys.
    
    The driver is somewhat based on sample code from Himax. However, that
    code was so extremely confusing that we spent a significant amount of
    time just trying to understand the packet format and register commands.
    In this driver they are described with clean structs and defines rather
    than lots of magic numbers and offset calculations.
    
    Signed-off-by: Jonathan Albrieux <[email protected]>
    Co-developed-by: Stephan Gerhold <[email protected]>
    Signed-off-by: Stephan Gerhold <[email protected]>
    Reviewed-by: Jeff LaBundy <[email protected]>
    Link: https://lore.kernel.org/r/[email protected]
    JonnyMe authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    6e658c1 View commit details
    Browse the repository at this point in the history
  28. FROMLIST: dt-bindings: input: zinitix: Document touch-keys support

    In some configurations the touch controller can support the touch-keys.
    Document the linux,keycodes property that enables those keys and
    specifies the keycodes that should be used to report the key events.
    
    Reviewed-by: Rob Herring <[email protected]>
    Signed-off-by: Nikita Travkin <[email protected]>
    TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    e753067 View commit details
    Browse the repository at this point in the history
  29. FROMLIST: input: zinitix: Add touchkey support

    Zinitix touch controllers can use some of the sense lines for virtual
    keys (like those found on many phones). Add support for those keys.
    
    Reviewed-by: Linus Walleij <[email protected]>
    Signed-off-by: Nikita Travkin <[email protected]>
    TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    01a6689 View commit details
    Browse the repository at this point in the history
  30. drm/msm/dsi: split bridge pre_enable/post_disable

    In DSI video mode the video stream should not be active yet when the
    panel pre_enable() hook is called. However this is impossible currently
    because the DSI host is powered up and started in the same bridge
    pre_enable() hook. Split this into pre_enable() and enable() and start
    the video stream only during enable(), after the panel pre_enable()
    has already run. Same for disable()/post_disable().
    
    Fixes: 007ac02 ("drm/msm/dsi: switch to DRM_PANEL_BRIDGE")
    Signed-off-by: Stephan Gerhold <[email protected]>
    stephan-gh authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    f460e36 View commit details
    Browse the repository at this point in the history
  31. HACK: drm/msm: Run mdp5 encoder enable()/disable() after bridge hooks

    For some reason the mdp5 encoder must be started after the DSI video
    stream is active, otherwise there is just an endless spam of
    
    	[   11.686336] dsi_err_worker: 4440 callbacks suppressed
    	[   11.686351] dsi_err_worker: status=5
    	[   11.686382] dsi_err_worker: status=4
    	[   11.686407] dsi_err_worker: status=4
    	[   11.686427] dsi_err_worker: status=4
    	...
    
    There does not seem to be a good encoder hook to use this at the
    moment, so introduce some temporary hacks to delay the existing
    callback.
    
    Signed-off-by: Stephan Gerhold <[email protected]>
    stephan-gh authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    76a88e9 View commit details
    Browse the repository at this point in the history
  32. thermal: qcom: tsens: Add workaround for locked SROT region

    Signed-off-by: Stephan Gerhold <[email protected]>
    stephan-gh authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    baaafeb View commit details
    Browse the repository at this point in the history
  33. Input: synaptics-rmi4 - workaround touchscreens with no pressure

    Some Synaptics touchscreens with F12 do not seem to report pressure (z)
    information. Unfortunately, in this case the "z" field is missing in
    the data, causing the width and all further objects to be shifted by
    one byte. Also, there seems to be no way to detect this dynamically
    because the RMI item register description still says there are 8 bytes
    for each finger/object, even though there are only 7 in this case.
    
    Make it possible to use those touchscreens properly by adding
    a "syna,no-pressure"+"syna,no-width" property for the DT and use
    that to handle the data correctly.
    
    Signed-off-by: Stephan Gerhold <[email protected]>
    stephan-gh authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    4207a30 View commit details
    Browse the repository at this point in the history
  34. arm64: dts: qcom: msm8939: Drop MDP interconnects

    The interconnects should be added to all components of the SoC at once,
    i.e. SDHCI, USB, MDSS, ... Otherwise the bandwidth might be reduced too
    much when MDP is inactive/disabled because all other components only
    work as a side effect of the bandwidth votes from MDP.
    
    Signed-off-by: Stephan Gerhold <[email protected]>
    stephan-gh authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    f375293 View commit details
    Browse the repository at this point in the history
  35. ARM: dts: qcom: Add device tree for MSM8909 (v7)

    Add an initial device tree for MSM8909 (Snapdragon 210), based mostly on
    the existing msm8916.dtsi.
    
    v2: Use separate nvmem cells for tsens
    v3: Move WCNSS iris compatible to boards
    v4: align TLMM pin configuration with DT schema
    v5: Make blsp_dma qcom,controlled-remotely
    v6: Fix a7pll frequencies
    v7: Squash cpufreq additions
    
    Co-developed-by: Dominik Kobinski <[email protected]>
    Signed-off-by: Dominik Kobinski <[email protected]>
    Signed-off-by: Stephan Gerhold <[email protected]>
    stephan-gh authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    3e47d4e View commit details
    Browse the repository at this point in the history
  36. ARM: dts: qcom: Add basic DT include for PM8909 (v4)

    Taken mostly from pm8916.dtsi.
    
    v2: Add watchdog
    v3: Add RTC
    v4: Add MPPs/GPIOs/PWM/Vibrator
    Signed-off-by: Stephan Gerhold <[email protected]>
    Signed-off-by: Stephan Gerhold <[email protected]>
    stephan-gh authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    ec2ae68 View commit details
    Browse the repository at this point in the history
  37. ARM: dts: qcom: pm8909: add LBC and BMS (v2)

    Signed-off-by: Otto Pflüger <[email protected]>
    v2: Update for upstream driver
    affenull2345 authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    cb1829a View commit details
    Browse the repository at this point in the history
  38. ARM: dts: qcom: Add qcom-msm8909-pm8909.dtsi include

    The msm8909-pm8909.dtsi include configures the regulator supplies of
    MSM8909 used together with PM8909, as recommended by Qualcomm. In rare
    cases where boards deviate from the recommended design they can just
    avoid using this include.
    
    Signed-off-by: Stephan Gerhold <[email protected]>
    stephan-gh authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    f746111 View commit details
    Browse the repository at this point in the history
  39. wcn36xx: txrx: Ignore 5 GHz scan packets on WCN3620 for now

    It's not clear why it happens but some WCN3620 firmwares seem to
    occasionally seems to send scan packets with rf_band = 0, which is
    currently interpreted like 5 GHz band. This causes big WARNINGs later
    because those bands are not initialized for WCN3620:
    
    WARNING: CPU: 0 PID: 0 at net/mac80211/rx.c:4877 ieee80211_rx_list+0x488/0xa10 [mac80211]
    Hardware name: Samsung Galaxy Grand Prime (SM-G530H) (DT)
    pc : ieee80211_rx_list+0x488/0xa10 [mac80211]
    lr : ieee80211_rx_napi+0x58/0xe0 [mac80211]
    Call trace:
     ieee80211_rx_list+0x488/0xa10 [mac80211]
     ieee80211_rx_napi+0x58/0xe0 [mac80211]
     ieee80211_tasklet_handler+0xe4/0xf0 [mac80211]
     ...
    
    Let's skip the check for WCN3620 for now and warn only once to avoid
    spam in the kernel log.
    
    Signed-off-by: Stephan Gerhold <[email protected]>
    stephan-gh authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    321a4bd View commit details
    Browse the repository at this point in the history
  40. MSM8916: arm64: configs: Add msm8916_defconfig (v79)

     v2: CONFIG_DRM_PANEL_BOOYI_OTM1287=m
         CONFIG_LEDS_QCOM_LPG=m
     v3: CONFIG_RMI4_F11=y => CONFIG_RMI4_F12=y
     v4: CONFIG_DUMB_ADC_BATTERY=m
     v5: CONFIG_DRM_MSM=m
         CONFIG_QCOM_A53PLL=y
         CONFIG_QCOM_CLK_APCS_MSM8916=y
         CONFIG_REMOTEPROC=m => CONFIG_REMOTEPROC=y
     v6: CONFIG_QCOM_SOCINFO=y
     v7: CONFIG_DRM_PANEL_SAMSUNG_S6D7AA0_LTL101AT01=m
     v8: CONFIG_TOUCHSCREEN_ATMEL_MXT=m
     v9: CONFIG_BACKLIGHT_PWM=m => CONFIG_BACKLIGHT_PWM=y
         CONFIG_LEDS_CLASS=m -> CONFIG_LEDS_CLASS=y
         CONFIG_LEDS_QCOM_LPG=m => CONFIG_LEDS_QCOM_LPG=y
    v10: CONFIG_NR_CPUS=4
         Remove CONFIG_ARM_CPUIDLE=y
         CONFIG_QCOM_PM=y => CONFIG_ARM_QCOM_SPM_CPUIDLE=y
         CONFIG_CPU_FREQ_GOV_POWERSAVE=m => CONFIG_CPU_FREQ_GOV_POWERSAVE=y
         CONFIG_NFC_NXP_NCI=m
         CONFIG_NFC_NXP_NCI_I2C=m
         CONFIG_DRM_PANEL_SAMSUNG_S6E88A0_AMS427AP24=m
         CONFIG_IIO_ST_LSM6DSX=m
    v11: CONFIG_RPMSG_CHAR=y
    v12: CONFIG_INPUT_PM8XXX_VIBRATOR=m
    v13: CONFIG_SND_SOC_QDSP6=m
         CONFIG_QCOM_APR=m
    v14: CONFIG_KEYBOARD_TM2_TOUCHKEY=m
    v15: CONFIG_SND_SOC_MSM8916_QDSP6=m
    v16: CONFIG_RMI4_F11=y
         CONFIG_DRM_PANEL_TIANMA_499=m
         CONFIG_BMA180=m
    v17: CONFIG_ARM_QCOM_CPUFREQ_NVMEM=y
         CONFIG_QCOM_CPR=y
         CONFIG_CRYPTO_USER_API_HASH=m
         CONFIG_CRYPTO_USER_API_SKCIPHER=m
         CONFIG_CRYPTO_USER_API_RNG=m
         CONFIG_CRYPTO_USER_API_AEAD=m
    v18: CONFIG_DRM_PANEL_SAMSUNG_TC358764_LTL101AL06=m
         CONFIG_IIO_ST_ACCEL_3AXIS=m
    v19: CONFIG_SND_SOC_MAX98357A=m
    v20: CONFIG_QCOM_FASTRPC=m
         CONFIG_QCOM_RPMPD=y
    v21: CONFIG_LEDS_CLASS_FLASH=m
         CONFIG_LEDS_SGM3140=m
    v22: CONFIG_DRM_PANEL_YUSHUN_NT35520=m
         CONFIG_V4L2_FLASH_LED_CLASS=m
         CONFIG_LEDS_AW2013=m
         CONFIG_SND_SOC_QDSP6_Q6VOICE=m
         CONFIG_TOUCHSCREEN_HIMAX852X=m
         CONFIG_SND_SOC_TFA9895=m
    v23: CONFIG_BATTERY_MAX17042=m
         CONFIG_BMI160_I2C=m
         CONFIG_AK8975=m
         CONFIG_LEDS_GPIO=m
    v24: CONFIG_ARM_PSCI_CPUIDLE=y
    v25: CONFIG_SND_SOC_AW8738=m (bq-paella)
         CONFIG_DRM_DISPLAY_CONNECTOR=m (DB410c)
         CONFIG_DRM_I2C_ADV7511=m (DB410c)
         CONFIG_DRM_I2C_ADV7511_AUDIO=y (DB410c)
         CONFIG_USB_HSIC_USB3503=y (DB410c)
         CONFIG_LEDS_GPIO=m => CONFIG_LEDS_GPIO=y (DB410c)
    v26: CONFIG_DRM_PANEL_BOE_450=m
    v27: CONFIG_SCHED_SMT=y
         CONFIG_RMNET=m
         CONFIG_I2C_QCOM_CCI=m
         CONFIG_MEDIA_PLATFORM_SUPPORT=y
         CONFIG_LEDS_TRIGGER_TIMER=y
         CONFIG_INTERCONNECT=y
         CONFIG_INTERCONNECT_QCOM=y
         CONFIG_INTERCONNECT_QCOM_MSM8916=y
    v28: CONFIG_QCOM_BAM_DMUX=m
    v29: CONFIG_TOUCHSCREEN_EDT_FT5X06=m
         CONFIG_DRM_PANEL_XIAOMI_R61308=m
         CONFIG_SND_SOC_SIMPLE_AMPLIFIER=m
         CONFIG_INV_MPU6050_I2C=m
    v30: CONFIG_RFKILL=m => CONFIG_RFKILL=y
         CONFIG_QCOM_SPMI_TEMP_ALARM=m => CONFIG_QCOM_SPMI_TEMP_ALARM=y
         CONFIG_SOUND=m => CONFIG_SOUND=y
         CONFIG_SND=m => CONFIG_SND=y
         CONFIG_SND_SOC=m => CONFIG_SND_SOC=y
         CONFIG_QCOM_RMTFS_MEM=m => CONFIG_QCOM_RMTFS_MEM=y
         CONFIG_IIO=m => CONFIG_IIO=y
         CONFIG_QCOM_SPMI_VADC=m => CONFIG_QCOM_SPMI_VADC=y
    v31: CONFIG_EXTCON_USB_DUMMY=1
         CONFIG_DRM_PANEL_OPPO15009JDI_NT35992=m
         CONFIG_BACKLIGHT_LM3630A=m
         CONFIG_TOUCHSCREEN_MELFAS_MIP4=m
         CONFIG_DRM_PANEL_WINGTECH_YASSY_ILI9881=m
         CONFIG_REGULATOR_TPS65132=y
         CONFIG_DRM_PANEL_MOTOROLA_OSPREY_INX=m
         CONFIG_CHARGER_PM8916_LBC=y
         CONFIG_BATTERY_PM8916_BMS_VM=m
         CONFIG_DRM_PANEL_ASUS_Z010D_R69339=m
    v32: CONFIG_LEDS_CLASS_MULTICOLOR=y
    v33: CONFIG_KXCJK1013=m
    v34: CONFIG_PINCTRL_MSM=y
         CONFIG_DRM_PANEL_MSM8916_GENERATED=m
    v35: Remove CONFIG_INTERCONNECT{,QCOM,QCOM_MSM8916}=y
         (Not useful at the moment until consumers are added...)
    v36: CONFIG_CHARGER_PM8916_LBC=y -> CONFIG_CHARGER_PM8916_LBC=m
    v37: CONFIG_STK3310=m
         CONFIG_TOUCHSCREEN_MSG2638=m
         CONFIG_SND_SOC_TFA9895=m => CONFIG_SND_SOC_TFA989X=m
         CONFIG_SMB1360=m
         CONFIG_QCOM_MEMSHARE_QMI_SERVICE=m
    v38: CONFIG_TMPFS_POSIX_ACL=y (from upstream)
    v39: CONFIG_VIRTUALIZATION=y
         CONFIG_KVM=y
         CONFIG_TSL2772=m
    v40: CONFIG_DEBUG_INFO_REDUCED=y (from upstream)
    v41: Drop CONFIG_BMA180=m (now covered by BMC150 driver)
    v42: CONFIG_QRTR=y (from m)
         CONFIG_QRTR_SMD=y (from m)
         CONFIG_QCOM_SYSMON=y (from m)
         Drop CONFIG_RPMSG_QCOM_GLINK_SMEM=m (unneeded)
    v43: CONFIG_TASKSTATS=y
         CONFIG_TASK_DELAY_ACCT=y (no longer selected by default in 5.14)
    v44: CONFIG_INPUT_GPIO_VIBRA=m
         CONFIG_CM3323=m
    v45: CONFIG_ARM_SMMU=y
    v46: CONFIG_RPMSG_WWAN_CTRL=m
    v47: CONFIG_EXTCON_QCOM_SPMI_MISC=y
    v48: CONFIG_DRM=y (from m)
         # CONFIG_DRM_MSM_HDMI_HDCP is not set
         # CONFIG_DRM_MSM_DP is not set
         CONFIG_IIO_TRIGGERED_BUFFER=y (from m)
    v49: CONFIG_QCOM_STATS=y
    v50: CONFIG_USB_USBNET=m
    v51: CONFIG_SND_SOC_QDSP6=m (to fix q6voice dependency)
         CONFIG_NR_CPUS=8 (for MSM8939)
    v52: CONFIG_TOUCHSCREEN_STMFTS=m
    v53: CONFIG_TOUCHSCREEN_HIMAX852X=m => CONFIG_TOUCHSCREEN_HIMAX_HX852X=m
    v54: CONFIG_FB_SIMPLE=y -> CONFIG_DRM_SIMPLEDRM=y
         CONFIG_LOGO=y
         CONFIG_SND_SOC_AK4375=m
         CONFIG_PWM_CLK=y
    v55: CONFIG_IIO_ST_MAGN_3AXIS=m
         CONFIG_YAMAHA_YAS530=m
    v56: adjust for upstream changes in v5.18-rc1
         CONFIG_BPF_SYSCALL=y
         CONFIG_BPF_JIT_ALWAYS_ON=y
         CONFIG_CGROUP_BPF=y
         CONFIG_DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT=y
    v57: CONFIG_TOUCHSCREEN_IMAGIS=m
         CONFIG_BT=m -> =y
         CONFIG_CFG80211=m -> =y
         CONFIG_MAC80211=m -> =y
    v58: CONFIG_INPUT_REGULATOR_HAPTIC=m
    v59: Tweak crypto options, disable unneeded DRM_MSM modules
    v60: Update for upstream changes in v6.1-rc1
         +CONFIG_WATCHDOG_SYSFS=y
         +CONFIG_REMOTEPROC_CDEV=y
         +CONFIG_RPMSG_CTRL=y
         +CONFIG_ARM_CCI_PMU=m
         +CONFIG_KEYBOARD_MATRIX=m
         +CONFIG_DRM_PANEL_MIPI_DBI=m
         +CONFIG_INPUT_PWM_VIBRA=m
         +CONFIG_LEDS_IS31FL319X=m
         +CONFIG_MSM_GCC_8939=y
    v61: CONFIG_I2C_CHARDEV=y -> =m
         -CONFIG_I2C_SLAVE=y
         -CONFIG_SPI_MEM=y
         -CONFIG_SPI_BITBANG=m
         +CONFIG_QCOM_WDT=y
         -CONFIG_DRM_LEGACY=y
         -CONFIG_FB_MODE_HELPERS=y
         -CONFIG_MEMORY=y
         -CONFIG_CMA_SIZE_MBYTES=32 (use default of 16)
    v62: +CONFIG_TOUCHSCREEN_CYTTSP5=m
    v63: +CONFIG_LEDS_KTD2692=m
    v64: +CONFIG_CRYPTO_BLAKE2B=m
         +CONFIG_CRYPTO_AES_ARM64=y
    v65: +CONFIG_SCHED_CLUSTER=y
         +CONFIG_LRU_GEN=y
         +CONFIG_LRU_GEN_ENABLED=y
         +CONFIG_SCSI_SCAN_ASYNC=y
         +CONFIG_SPI_GPIO=y
         -CONFIG_BACKLIGHT_LM3630A=m
         +CONFIG_QCOM_MPM=y
         +# CONFIG_NVMEM_SYSFS is not set
         -CONFIG_PSTORE_ZSTD_COMPRESS=y
         -CONFIG_PSTORE_ZSTD_COMPRESS_DEFAULT=y
         +CONFIG_PSTORE_CONSOLE=y
         +CONFIG_PSTORE_PMSG=y
         +CONFIG_PSTORE_RAM=y
         +CONFIG_CRYPTO_DEV_QCE=y
    v66: Disable unneeded errata and ARM64 features
         Disable CONFIG_SUSPEND (it is not working properly and provides
         little benefit at the moment)
         Disable debug options
         CONFIG_HZ=300
    v67: +CONFIG_PSTORE_ZSTD_COMPRESS=y
         -CONFIG_SECURITY=y
         -CONFIG_SECURITYFS=y
    v68: -CONFIG_MEMORY_FAILURE=y
         +# CONFIG_FSL_ERRATUM_A008585 is not set
         +# CONFIG_HISILICON_ERRATUM_161010101 is not set
         +# CONFIG_ARM64_ERRATUM_858921 is not set
         +CONFIG_SND_ALOOP=m (from upstream)
    v69: CONFIG_MAGIC_SYSRQ_DEFAULT_ENABLE=0x0
         (causes trouble with noisy serial input)
    v70: Enable all devfreq governors
    v71: CONFIG_DEVFREQ_THERMAL=y
    v72: AUTOFS4_FS -> AUTOFS_FS (upstream)
    v73: +CONFIG_DRM_PANEL_SAMSUNG_S6D7AA0 (gt5)
    v74: CONFIG_CHARGER_RT5033=m
    v75: Disable new unneeded errata in v6.5
    v76: +CONFIG_FRAMEBUFFER_CONSOLE=y
         -CONFIG_PSTORE_ZSTD_COMPRESS=y
    v77: Drop CONFIG_FRAMEBUFFER_CONSOLE again (fixed upstream)
         Disable new unneeded errata in v6.6
         CONFIG_LEDS_KTD202X=m
    v78: CONFIG_HW_RANDOM=y
    v79: CONFIG_LEDS_SY7802=m
    
    Co-Authored-By: Nikita Travkin <[email protected]>
    Co-Authored-By: Jasper Korten <[email protected]>
    Co-Authored-By: Ruby Iris Juric <[email protected]>
    Co-Authored-By: Gaëtan André <[email protected]>
    Co-Authored-By: Jonathan Albrieux <[email protected]>
    Co-Authored-By: Wiktor Strzębała <[email protected]>
    Co-Authored-By: Devajith V S <[email protected]>
    Co-Authored-By: Vincent Knecht <[email protected]>
    Co-Authored-By: Siddharth Manthan <[email protected]>
    Co-Authored-By: Markuss Broks <[email protected]>
    Co-Authored-By: Lin, Meng-Bo <[email protected]>
    12 people committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    86ad29b View commit details
    Browse the repository at this point in the history
  41. MSM8916: ARM: configs: Add additional config options for MSM8916 on A…

    …RM32 (v9)
    
    The kernel configuration is largely shared with ARM64, so these
    are only the additional options needed for ARM32. It needs to be
    concatenated to the ARM64 msm8916_defconfig (see comment).
    
    v2: Disable CONFIG_ARM_SMMU on ARM32 since in practice it's only useful
    with 64-bit custom TZ.
    v3: CONFIG_ARM_PSCI=y for DB410c
    v4: CONFIG_CRYPTO_AES_ARM_BS=m for now to fix kernel BUG
    v5: Reenable ARM_SMMU (there is 32-bit custom TZ as well now)
        Tweak crypto options
    v6: Add options for MSM8909
    v7: +CONFIG_CRYPTO_BLAKE2B_NEON=m
    v8: +# CONFIG_CACHE_L2X0 is not set
    v9: +# CONFIG_ARM_ERRATA_643719 is not set
        CONFIG_HZ=300
    stephan-gh authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    311b1ea View commit details
    Browse the repository at this point in the history
  42. Configuration menu
    Copy the full SHA
    a21d108 View commit details
    Browse the repository at this point in the history
  43. MSM8916: Add CI configurations (v20)

    v2: Add armv7
    v3: Install findutils to fix build warning
    v4: Remove pipefail to actually exit on errors
    v5: Remove --no-signoff from checkpatch.pl - require Signed-off-by:!
        Add gmp-dev mpc1-dev mpfr-dev, seems to be needed for armv7 now
    v6: Force specific Alpine release, complain about FROM_SIGN_OFF_MISMATCH
        Log critical checkpatch complaints. Minor cleanup.
    v7: Update to Alpine 3.15. To avoid problems on Drone CI use amd64 runners
        with cross compilers and workaround faccessat2() problem.
    v8: Reduce clone depth to 1
    v9: Fail on some more checkpatch warnings
    v10: Minor cleanupp
    v11: Update to Alpine 3.16
    v12: Add bash dependency on build
    v13: Update to Alpine 3.17
         Use CONFIG_WERROR=y
         Drop bash again but add linux-headers to avoid build error
    v14: Drop linux-headers again
    v15: Also build with clang
    v16: Refactor, add GitHub Actions as fallback
    v17: Use latest Alpine
    v18: Add fail-fast: false, temporary workaround for build problem
    v19: Drop workaround again, should be fixed in 6.7-rc4
    v20: Add pyhton3 since it's now needed for adreno headers
    stephan-gh authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    c896744 View commit details
    Browse the repository at this point in the history
  44. MSM8916: REVERTME: Add postmarketOS config fragment (v28)

    This should be in the postmarketOS kernel package
    (maybe even shared across all (mainline?) kernels).
    But at the moment, envkernel does not provide a nice way to apply
    the kernel configuration from the pmaport.
    Place it here until a way to simplify this has been found.
    
    v2: Move to generic location at kernel/configs/pmos.config
    v3: # CONFIG_LOCALVERSION_AUTO is not set
    v4: CONFIG_MD=y
    v5: Add elogind, Anbox and fbkeyboard options
        (should really move this somewhere else...)
    v6: CONFIG_USER_NS=y
    v7: CONFIG_CRYPTO_XTS=y
    v8: CONFIG_ZSMALLOC=y
        CONFIG_ZRAM=m
    v9: CONFIG_WIREGUARD=m
    v10: Tons of option for the nftables/containers kconfig check
    v11: Add LED triggers, F2FS and UHID for BT input devices
    v12: CONFIG_PSI=y for Waydroid
    v13: Try dropping now unneeded CONFIG_LOCALVERSION
    v14: Add AppArmor and iwd configs
    v15: CONFIG_DEFAULT_SECURITY_APPARMOR=y
    v16: CONFIG_BT_RFCOMM=m
         CONFIG_BT_RFCOMM_TTY=y
         CONFIG_BT_BNEP=m
         CONFIG_BT_BNEP_MC_FILTER=y
         CONFIG_BT_BNEP_PROTO_FILTER=y
         CONFIG_BT_HIDP=m
    v17: CONFIG_BLK_DEV_NBD=m (for netboot)
    v18: Rework for pmbootstrap changes (especially community kconfig options)
    v19: +CONFIG_BINFMT_MISC=m
    v20: CONFIG_CRYPTO_LZ4=y => m
    v21: Drop CONFIG_ANDROID
    v22: Enable all USB ConfigFS gadgets as modules
    v23: Drop obsolete CONFIG_MEMCG_SWAP
    v24: Explicitly set CONFIG_CRYPTO_ZSTD=m and CONFIG_CRYPTO_DEFLATE=m
    v25: kernel/configs/pmos: enable uvcvideo support
    v26: CONFIG_RFKILL=y
         CONFIG_CIFS=m
         CONFIG_NETFILTER_XT_MATCH_STATISTIC=m
         CONFIG_SND_USB_AUDIO=m
         CONFIG_UCLAMP_TASK=y
    v27: CONFIG_FW_LOADER_COMPRESS=y
         CONFIG_FW_LOADER_COMPRESS_ZSTD=y
    v28: CONFIG_EFI=y
    v29: CONFIG_NLS_ASCII=y
    
    Co-Authored-By: Alexey Minnekhanov <[email protected]>
    Co-Authored-By: Newbyte <[email protected]>
    Co-Authored-By: Nikita Travkin <[email protected]>
    Co-Authored-By: Maxim Schwalm <[email protected]>
    Co-Authored-By: Sam Day <[email protected]>
    Co-Authored-By: André Apitzsch <[email protected]>
    7 people committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    2732afa View commit details
    Browse the repository at this point in the history
  45. MSM8916: cpuidle: qcom-spm: Allow compiling on ARM64 (v3)

    v2: move around
    v3: Handle upstream "context tracking" changes, special casing for
        ARM64...
    
    Signed-off-by: Stephan Gerhold <[email protected]>
    stephan-gh authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    aece3ad View commit details
    Browse the repository at this point in the history
  46. MSM8916: firmware: qcom: scm: Make set_boot_addr_mc() work early (v3)

    qcom_scm_set_boot_addr_mc() does not work for initially booting CPU
    cores at the moment because the device/driver model is not initialized
    yet and the DMA API is not usable. However, it is necessary for certain
    TZ firmware versions because the old set_boot_addr() API is broken.
    
    Add a workaround using arch-specific cache helpers for now, a better fix
    is needed for upstreaming...
    
    Signed-off-by: Stephan Gerhold <[email protected]>
    (cherry picked from commit 52ffcfd)
    v2: Rebase, make it work for ARM32 as well
    v3: Update for Linux 6.0, use arch_sync_dma_for_device()
    Signed-off-by: Stephan Gerhold <[email protected]>
    stephan-gh authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    41cbea0 View commit details
    Browse the repository at this point in the history
  47. MSM8916: iommu/qcom: Select IOMMU_DMA instead of ARM_DMA_USE_IOMMU (v5)

    The ARM32 IOMMU DMA implementation does not really work properly
    with qcom_iommu. It fails to attach to any IOMMU because a domain
    is created by default in the driver.
    
    Now that there is IOMMU_DMA support for ARM32, select it instead
    of ARM_DMA_USE_IOMMU.
    
    v2: 'depend on' instead of 'select' to fix circular dependency
    v3: Move "select IOMMU_DMA" to CONFIG_ARCH_MSM8916
    v4: Also patch ARM_SMMU
    v5: Move "select IOMMU_DMA" to ARCH_QCOM because ARCH_MSM8916 is gone
    stephan-gh authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    fe5a931 View commit details
    Browse the repository at this point in the history
  48. HACK: power: supply: pm8916_bms_vm: Add a basic voltage based SOC filter

    Unfortunately, VM-BMS provides literally nothing but the voltage to
    guess the state of charge (SOC). Add some crude guesstimation algorithm
    for now so the devices don't just turn off because userspace is unable
    to detect the remaining battery capacity.
    
    Signed-off-by: Nikita Travkin <[email protected]>
    TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    e5a977a View commit details
    Browse the repository at this point in the history
  49. ASoC: qdsp6: Add shared session management for q6voice services

    Signed-off-by: Stephan Gerhold <[email protected]>
    stephan-gh authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    b22cca4 View commit details
    Browse the repository at this point in the history
  50. ASoC: qdsp6: Add driver for Q6 Multimode Voice Manager (q6mvm)

    v2: strlcpy -> strscpy
    
    Signed-off-by: Stephan Gerhold <[email protected]>
    Signed-off-by: Nikita Travkin <[email protected]>
    stephan-gh authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    040a123 View commit details
    Browse the repository at this point in the history
  51. ASoC: qdsp6: Add driver for Q6 Core Voice Processor (q6cvp)

    Signed-off-by: Stephan Gerhold <[email protected]>
    stephan-gh authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    bd95f22 View commit details
    Browse the repository at this point in the history
  52. ASoC: qdsp6: Add driver for Q6 Core Voice Stream (q6cvs)

    This is just a stub for now. Later this would be used for features
    like call recording.
    
    Signed-off-by: Stephan Gerhold <[email protected]>
    stephan-gh authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    ebcab2b View commit details
    Browse the repository at this point in the history
  53. ASoC: qdsp6: Add voice call functionality in Q6 Voice driver

    q6voice combines the 3 q6voice-related services (q6mvm, q6cvp, q6cvs)
    and allows to start/end voice calls at the moment.
    
    Signed-off-by: Stephan Gerhold <[email protected]>
    stephan-gh authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    6c8b4b4 View commit details
    Browse the repository at this point in the history
  54. ASoC: qdsp6: Add Q6 Voice DAI driver (v2.1)

    The Q6 Voice DAI driver exposes the Q6 Voice subsystem to ASoC.
    At the moment it provides a single CS-Voice DAI with a hostless FE.
    Eventually usage should be simplified using a codec2codec link.
    
    v2: Set AIFs SND_SOC_NOPM
    v2.1: Fix __DT_BINDINGS_Q6_VOCIE_H__ typo
    
    Signed-off-by: Stephan Gerhold <[email protected]>
    stephan-gh authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    5604f52 View commit details
    Browse the repository at this point in the history
  55. ASoC: qdsp6: q6voice: Add getter/setter for rx and tx ports

    Add function to get and set RX/TX ports and use those
    to un-hardcode the ports set in q6cvp_session_create() call.
    
    Signed-off-by: Vincent Knecht <[email protected]>
    [use bool capture instead of enum similar to q6voice_start(),
     add path parameter]
    Signed-off-by: Stephan Gerhold <[email protected]>
    vknecht authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    083f0b2 View commit details
    Browse the repository at this point in the history
  56. ASoC: qdsp6: q6voice-dai: Add controls for voice rx and tx ports

    Add ALSA controls for voice RX and TX ports.
    
    Signed-off-by: Vincent Knecht <[email protected]>
    [use mc->shift to mark TX mixers for now to simplify code]
    Signed-off-by: Stephan Gerhold <[email protected]>
    vknecht authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    381eb52 View commit details
    Browse the repository at this point in the history
  57. arm64: dts: qcom: msm8916: Add q6voice APR service device nodes (v2)

    v2: Enable by default instead, DB410c does not use APR anyway
    
    Signed-off-by: Stephan Gerhold <[email protected]>
    stephan-gh authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    94760be View commit details
    Browse the repository at this point in the history
  58. arm64: dts: qcom: msm8939: Add q6voice APR service device nodes (v2)

    Apply the same as for msm8916.dtsi.
    
    v2: Enable by default instead, DB410c does not use APR anyway
    
    Signed-off-by: Vincent Knecht <[email protected]>
    vknecht authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    b525aeb View commit details
    Browse the repository at this point in the history
  59. arm64: dts: qcom: msm8916-modem-qdsp6: Add q6voice CS-Voice DAI link

    This allows making voice calls with audio.
    
    Signed-off-by: Stephan Gerhold <[email protected]>
    stephan-gh authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    1b212af View commit details
    Browse the repository at this point in the history
  60. dt-bindings: soc: qcom: Add bindings for Qualcomm Memshare service

    Add DT bindings for memshare: QMI service that allocates
    memory per remote processor request.
    
    Signed-off-by: Nikita Travkin <[email protected]>
    Link: https://lore.kernel.org/r/[email protected]
    TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    e5ea791 View commit details
    Browse the repository at this point in the history
  61. soc: qcom: Add Qualcomm Memshare QMI service (v2)

    This QMI service provides memory region for remote processors (like
    modem) on request. It is known to be used in GPS service in modem
    firmware for some (most) of msm8916 devices.
    
    This commit implements "guaranteed allocation" of memory using
    reserved-memory regions because gps service crashes on some devices
    unless specific address was provided.
    
    Signed-off-by: Nikita Travkin <[email protected]>
    v2: Use of_reserved_mem_lookup()
    Signed-off-by: Stephan Gerhold <[email protected]>
    TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    c575348 View commit details
    Browse the repository at this point in the history
  62. arm64: dts: qcom: msm8916: Add memshare support (v2)

    This service is used by GPS service in many msm8916 devices.
    
    Signed-off-by: Nikita Travkin <[email protected]>
    v2: Add dynamic gps_mem reserved memory allocation
    Signed-off-by: Stephan Gerhold <[email protected]>
    TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    9ce3488 View commit details
    Browse the repository at this point in the history
  63. arm64: dts: qcom: msm8939: Add memshare support (v2)

    This service is used by GPS service in many msm8939 devices.
    
    Signed-off-by: Vincent Knecht <[email protected]>
    v2: Add dynamic gps_mem reserved memory allocation
    Signed-off-by: Stephan Gerhold <[email protected]>
    vknecht authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    7041a89 View commit details
    Browse the repository at this point in the history
  64. arm64: dts: qcom: msm8916-modem-qdsp6: Enable memshare

    This service is used by GPS service in many msm8916 devices.
    
    Signed-off-by: Nikita Travkin <[email protected]>
    [extracted from common msm8916-modem commit]
    Signed-off-by: Stephan Gerhold <[email protected]>
    TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    93fa666 View commit details
    Browse the repository at this point in the history
  65. FIXME: ASoC: msm8916-wcd-analog: Add jack detection using GPIO

    Samsung decided to implement entirely custom jack detection using
    an extra IC for some reason. Because of that, the jack detection
    in PM8916 does not work as-is. (It always detects that headphones
    are plugged in...)
    
    However, the headset/button detection is still working fine through
    PM8916. To avoid implementing custom Samsung stuff, override the
    jack detection to use the provided GPIO, but keep everything else.
    
    Signed-off-by: Stephan Gerhold <[email protected]>
    stephan-gh authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    26f59e3 View commit details
    Browse the repository at this point in the history
  66. dt-bindings: power: Add the bindings for SMB1360 charger and fuel gau…

    …ge.(v2)
    
    Signed-off-by: Jonathan Albrieux <[email protected]>
    v2: Fix missing space after comma
    Signed-off-by: Vincent Knecht <[email protected]>
    JonnyMe authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    4cc7396 View commit details
    Browse the repository at this point in the history
  67. power: supply: Add driver for Qualcomm SMB1360 (v2)

    Co-developed-by: Stephan Gerhold <[email protected]>
    Signed-off-by: Stephan Gerhold <[email protected]>
    Signed-off-by: Jonathan Albrieux <[email protected]>
    v2: report POWER_SUPPLY_VOLTAGE_NOW in µV
    Signed-off-by: Lin, Meng-Bo <[email protected]>
    JonnyMe authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    7d0098c View commit details
    Browse the repository at this point in the history
  68. power: supply: smb1360: add option to dump all smb1360 registers (v3)

    v2: Pad register numbers, lower case hex
    v3: static float_encode()
    
    Signed-off-by: Stephan Gerhold <[email protected]>
    Signed-off-by: Nikita Travkin <[email protected]>
    stephan-gh authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    00c898c View commit details
    Browse the repository at this point in the history
  69. dt-bindings: power: supply: smb1360: Add qcom,otp-rslow-config

    Document qcom,otp-rslow-config setting.
    
    Signed-off-by: Vincent Knecht <[email protected]>
    vknecht authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    dd66000 View commit details
    Browse the repository at this point in the history
  70. power: supply: smb1360: handle rslow OTP writes

    Add support for setting rslow values.
    
    Co-developed-by: Jonathan Albrieux <[email protected]>
    Signed-off-by: Jonathan Albrieux <[email protected]>
    Signed-off-by: Vincent Knecht <[email protected]>
    vknecht authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    2a64578 View commit details
    Browse the repository at this point in the history
  71. power: supply: smb1360: Set hard-coded charging currents

    The charging currents are not yet handled. Actually they should be set in
    runtime based on connector type detection (like an extcon device but for
    smb1360 a more complicated mechanism in USB PHY layer is needed, e.g. like
    in downstream [1]). The upper limits for the charging currents should be read
    from the devicetree.
    
    As a temporary solution, set hard-coded charging currents in the
    smb1360_hw_init() function.
    
    [1] https://github.com/bq/aquaris-X5/blob/aquaris-X5_5.x/drivers/usb/phy/phy-msm-usb.c#L2959-L3112
    
    Signed-off-by: Jakob Hauser <[email protected]>
    Jakko3 authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    28052bc View commit details
    Browse the repository at this point in the history
  72. MSM8916: drm/panel: Generate using linux-mdss-dsi-panel-driver-generator

    X-Code-Generator: msm8916-mainline/linux-panel-drivers@540ca8a (dirty)
    Signed-off-by: lmdpdg <lmdpdg@localhost>
    lmdpdg authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    986722e View commit details
    Browse the repository at this point in the history
  73. drm/panel: samsung-s6e88a0-ams452ef01: Set prepare_prev_first

    This is needed to be able to send DSI commands when DRM_PANEL_BRIDGE is
    used, because otherwise the DSI host is powered up after the panel
    pre_enable() hook is called.
    
    Signed-off-by: Stephan Gerhold <[email protected]>
    stephan-gh authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    90aec4b View commit details
    Browse the repository at this point in the history
  74. drm/panel: samsung-s6e88a0-ams427ap24: Add mipi_dsi_dcs_set_display_on()

    The display does not show up otherwise.
    
    Signed-off-by: Stephan Gerhold <[email protected]>
    stephan-gh authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    4588d61 View commit details
    Browse the repository at this point in the history
  75. drm/panel: longcheer-yushun-nt35520: Force DSI video mode

    Command mode is somewhat broken in the mainline kernel. Copy a magic
    parameter from panel-novatek-nt35510.c to force video mode for now.
    
    Signed-off-by: Stephan Gerhold <[email protected]>
    stephan-gh authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    d6582dd View commit details
    Browse the repository at this point in the history
  76. drm/panel: longcheer-truly-otm1288a: Force DSI video mode

    Command mode is somewhat broken in the mainline kernel.
    Change some magic bits to force video mode for now.
    
    Signed-off-by: Stephan Gerhold <[email protected]>
    stephan-gh authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    63ce80c View commit details
    Browse the repository at this point in the history
  77. drm/panel: panel-samsung-nt51017-b4p096wx5vp09: Fix warning, add sleep

    linux-mdss-dsi-panel-driver-generator generates an empty function
    with an unused variable. This removes that line. Additionally, it
    adds a sleep that corresponds with samsung,mdss-power-on-reset-delay-us
    in the downstream dtb.
    
    Signed-off-by: Michael Abood <[email protected]>
    person4268 authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    abb5a6d View commit details
    Browse the repository at this point in the history
  78. drm/panel: s6e8aa5x01-ams520kt01: Add missing mipi_dsi_dcs_set_displa…

    …y_on()
    
    Without mipi_dsi_dcs_set_display_on(), s6e8aa5x01-ams520kt01 won't be
    enabled on J5X.
    
    Signed-off-by: Lin, Meng-Bo <[email protected]>
    bolilingmeng89006 authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    e3a7765 View commit details
    Browse the repository at this point in the history
  79. drm/panel: s6e8aa5x01-ams497hy01: Add missing mipi_dsi_dcs_set_displa…

    …y_on()
    
    Without mipi_dsi_dcs_set_display_on(), s6e8aa5x01-ams497hy01 won't be
    enabled on J5. This is not required on J3.
    
    Signed-off-by: Lin, Meng-Bo <[email protected]>
    bolilingmeng89006 authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    85aabf3 View commit details
    Browse the repository at this point in the history
  80. drm/panel: s6d2aa0x62-lpm053a250a: Add flag MIPI_DSI_CLOCK_NON_CONTIN…

    …UOUS
    
    Without MIPI_DSI_CLOCK_NON_CONTINUOUS, s6d2aa0x62-lpm053a250a will not work.
    
    Signed-off-by: Lin, Meng-Bo <[email protected]>
    bolilingmeng89006 authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    e090e2c View commit details
    Browse the repository at this point in the history
  81. drm/panel: samsung-s6288a0: Add dci_dcs_write_seq(dsi, 0xf7, 0x03);

    The display shows distorted colours otherwise.
    
    Signed-off-by: Gareth Peoples <[email protected]>
    garethppls authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    071a046 View commit details
    Browse the repository at this point in the history
  82. drm/panel: longcheer-truly-nt35695: Force DSI video mode

    Command mode is somewhat broken in the mainline kernel.
    Change some magic bits to force video mode for now.
    
    Signed-off-by: Stephan Gerhold <[email protected]>
    stephan-gh authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    5f1afd6 View commit details
    Browse the repository at this point in the history
  83. drm/panel: longcheer-truly-nt35695: Fix missing pixel line

    For some reason the current panel timing causes the first pixel line to
    be missing. Changing the timing slightly seems to fix it for some
    reason.
    
    Signed-off-by: Stephan Gerhold <[email protected]>
    stephan-gh authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    89e473c View commit details
    Browse the repository at this point in the history
  84. drm/panel: s6e3fa2-ams549eh01: Add missing mipi_dsi_dcs_set_display_on()

    Without mipi_dsi_dcs_set_display_on(), s6e3fa2-ams549eh01 won't be
    enabled on A7.
    
    Signed-off-by: Lin, Meng-Bo <[email protected]>
    bolilingmeng89006 authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    9c95b32 View commit details
    Browse the repository at this point in the history
  85. drm/panel: panel-samsung-s6e3fa2-ams549eh01: Reduce the framerate to …

    …50 fps
    
    Otherwise it glitches. However, actually it's 25 fps in command mode.
    
    Signed-off-by: Lin, Meng-Bo <[email protected]>
    bolilingmeng89006 authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    a2dff3c View commit details
    Browse the repository at this point in the history
  86. drm/panel: samsung-s6288a0: Add initial backlight support

    Add basic support for controlling the panel's backlight via
    setting of the "AID" parameter with DSI DCS commands
    
    Signed-off-by: Celeste Lucero <[email protected]>
    celele64 authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    840fd12 View commit details
    Browse the repository at this point in the history
  87. FIXME: drm/panel: simple: Add lg,m2db7400-incell-simple (v2)

    v2: fix MIPI_DSI_MODE_NO_EOT_PACKET
    
    Signed-off-by: Cristian Cozzolino <[email protected]>
    cristianc authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    10a2637 View commit details
    Browse the repository at this point in the history
  88. FIXME: drm/panel: simple: Add support for LG C50 panel (v2)

    FIXME: Implement proper panel driver (does not work for LG panels
           for some reason)
    
    v2: fix MIPI_DSI_MODE_NO_EOT_PACKET
    
    Signed-off-by: Anton Bambura <[email protected]>
    jenneron authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    3898790 View commit details
    Browse the repository at this point in the history
  89. FIXME: drm/panel: simple: Add tc358764-ltl101al06 DSI panel

    This is actually a LVDS panel connected via a TC358764 DSI->LVDS
    bridge. However, re-initializing the bridge does not work properly for
    some reason, so reuse the bootloader initialization with panel-simple
    for now.
    
    Signed-off-by: Stephan Gerhold <[email protected]>
    stephan-gh authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    c7f148c View commit details
    Browse the repository at this point in the history
  90. arm64: dts: qcom: msm8916-samsung-j3ltetw: Add initial dts (v3)

    This dts adds support for msm8916 variant of Samsung Galaxy J3 smartphone
    (SM-J320YZ) released in 2016.
    
    Add a device tree for J3 with initial support for:
    
    - GPIO keys
    - SDHCI (internal and external storage)
    - USB Device Mode
    - UART (on USB connector via the SM5703 MUIC)
    - WCNSS (WiFi/BT)
    - Regulators
    
    v2: Use msm8916-samsung-j5-common
    v3: Add muic gpios
    
    Signed-off-by: Lin, Meng-Bo <[email protected]>
    bolilingmeng89006 authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    e0e27b6 View commit details
    Browse the repository at this point in the history
  91. arm64: dts: qcom: apq8016-samsung-matissevewifi: add initial device t…

    …ree (v8)
    
    v2: Squash WiFi/BT
    v3: Squash buttons (volume up/down, home)
    Signed-off-by: Gaëtan André <[email protected]>
    
    v4: Use label style, remove s1/l3 regulators (managed by rpmpd now)
    v5: Add chassis-type
    Signed-off-by: Stephan Gerhold <[email protected]>
    v6: squash accel, touch
    v7: squash sound
    v8: squash brightness control
    
    SOUND:
    v2: Add speaker
    Signed-off-by: Gaëtan André <[email protected]>
    v3: Use generic node names for lpass children: mi2s-quaternary -> dai
    v4: Rename dai-link nodes, add labels
    Co-developed-by: Stephan Gerhold <[email protected]>
    Signed-off-by: Stephan Gerhold <[email protected]>
    rvlander authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    c89cd08 View commit details
    Browse the repository at this point in the history
  92. arm64: dts: qcom: msm8916-samsung-a5-zt: Add initial device tree

    Samsung Galaxy A5 (SM-A500YZ) is a smartphone using the MSM8916 SoC released
    in 2015.
    
    The A5 variants are very similar, with some differences in accelerometer and
    touch key. The common parts are shared in msm8916-samsung-a5u-eur.dts to reduce
    duplication.
    
    The difference of accelerometer between A5U/A5ZT is the way the sensor is
    mounted on the mainboard - set the mount-matrix in the
    device-specific device tree part to handle that difference.
    
    On A5ZT the touch key is supplied by a single fixed
    regulator (enabled via GPIO 60) that supplies both MCU and LED.
    
    A5ZT doesn't have an NFC chip.
    
    Signed-off-by: Lin, Meng-Bo <[email protected]>
    bolilingmeng89006 authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    38b6bf4 View commit details
    Browse the repository at this point in the history
  93. arm64: dts: qcom: apq8016-samsung-gtelwifiue: Add initial support (v4)

    This commit contains basic functionality for samsung-gtelwifiue.
    The UART, physical button GPIOs, Wifi, USB, EMMC, SD card, and
    the accelerometer all work.
    
    Signed-off-by: Michael Abood <[email protected]>
    v2: Change lis2hh12 interrupt to IRQ_TYPE_LEVEL_HIGH
    Signed-off-by: Stephan Gerhold <[email protected]>
    v3: squash touch, muic
    v4: squash sound
    Signed-off-by: Michael Abood <[email protected]>
    person4268 authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    9702394 View commit details
    Browse the repository at this point in the history
  94. arm64: dts: qcom: msm8916-samsung-on7: Add dt for Samsung Galaxy On7 …

    …(2015)
    
    This commit adds support for the Samsung Galaxy On7
    released in 2015.
    
    Add a device tree for on7 with initial support for:
    - SDHCI (internal and external storage)
    - USB Device Mode (using MUIC)
    - USB Charger Detection (using MUIC)
    - UART
    - Regulators
    - WCNSS (WiFi/BT)
    - GPIO keys
    
    Signed-off-by: Jasper Korten <[email protected]>
    jja2000 authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    e6ce727 View commit details
    Browse the repository at this point in the history
  95. arm64: dts: qcom: msm8916-asus-z010d: initial device tree (v7)

    v2: Add vibrator
    
    Signed-off-by: Devajith V S <[email protected]>
    v3: Add chassis-type
    v4: squash led, sensors, touch
    v5: squash sound/modem
    
    MODEM:
    v2: Setup memshare / add GPS memory
    v3: wcnss/venus no longer need to be relocated
    
    v4: Combine sound and modem commits and drop extra -modem.dts
        The no-modem variant is now patched dynamically by lk2nd instead.
    v5: aw8738,mode -> awinic,mode, enable-gpios -> mode-gpios
    v6: Use pin-switches instead of custom "HPH_R_EXT"
    v7: Add vio-supply to aw2013 (guessed, missing downstream)
    
    Signed-off-by: Stephan Gerhold <[email protected]>
    devajithvs authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    a304c17 View commit details
    Browse the repository at this point in the history
  96. arm64: dts: qcom: msm8916-alcatel-alto5-vdf: Add initial device tree …

    …(v4)
    
    Signed-off-by: Pitt Voss <[email protected]>
    
    v2: Use &pm8916_usbin as USB extcon
    v3: Add chassis-type
    v4: Add (guessed) UART
    Signed-off-by: Stephan Gerhold <[email protected]>
    pitt4 authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    218102b View commit details
    Browse the repository at this point in the history
  97. arm64: dts: qcom: msm8939-alcatel-idol3: initial device tree

    Add device tree for Alcatel Idol 3 (5.5" panel) with support for:
    
    - GPIO keys and torch LED
    - white LED indicator
    - SDHCI (internal and external storage)
    - USB
    - WCNSS (Wi-Fi and Bluetooth)
    - Sensors (magnetometer, accelerometer, proximity and gyroscope)
    - Haptics (vibrator)
    - DRM panels
    - Touchscreen (ft5x06 and rmi4 disabled, handled by lk2nd bootloader)
    - Sound (headphones and speakers)
    - Modem (voice calls and data)
    - GPS
    
    Signed-off-by: Vincent Knecht <[email protected]>
    [Override rmtfs reserved-memory after changes in msm8939.dtsi]
    Signed-off-by: Stephan Gerhold <[email protected]>
    vknecht authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    6afc1f6 View commit details
    Browse the repository at this point in the history
  98. arm64: dts: qcom: msm8916-ark-peach: Add initial device-tree

    Adds initial device-tree for ARK Benefit A3 (codename: peach).
    Things such as USB, eMMC, SD card, buttons, WiFi and BT work.
    
    Signed-off-by: Dmitry Kuznetsov <[email protected]>
    entrider authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    1282076 View commit details
    Browse the repository at this point in the history
  99. arm64: dts: qcom: msm8916-huawei-y635: Add initial device tree (v4)

    The original firmware from Huawei can only boot 32-bit kernels. To boot
    arm64 kernels it is necessary to flash 64-bit TZ/HYP firmware, e.g.
    taken from the DragonBoard 410c and a 64-bit compatible bootloader with
    EDL. I used lk1st, a modified version of lk2nd that can be used as a
    primary bootloader [1]. This works because Huawei forgot to set up
    (firmware) secure boot for some reason.
    
    [1]: msm8916-mainline/lk2nd@732aa07
    
    Signed-off-by: David Wronek <[email protected]>
    v2: squash sensors, touch
    v3: squash sound
    v4: squash bms/lbc
    
    Headphone button detection may need some tweaking. Vol + is being
    recognized as Vol - and Vol - doesn't work at all. Play/Pause works
    fine.
    
    Signed-off-by: David Wronek <[email protected]>
    Signed-off-by: Nikita Travkin <[email protected]>
    David Wronek authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    0b0f82d View commit details
    Browse the repository at this point in the history
  100. arm64: dts: qcom: msm8916-vivo-y21l: Add initial device tree

    Vivo Y21L is a handset using the MSM8916 SoC released in 2016.
    
    Add device tree with initial support for:
     - Accelerometer
     - Ambient Light
     - GPIO keys
     - Magnetormeter
     - SDHCI (internal and external storage)
     - UART
     - USB Device Mode
     - WCNSS (WiFi/BT)
     - Regulators
    
    Signed-off-by: Raihan Ahamed <[email protected]>
    raihan2000 authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    5a9a2b6 View commit details
    Browse the repository at this point in the history
  101. arm64: dts: qcom: msm8916-wingtech-wt865x8: add device-tree for Lenov…

    …o A6000/A6010 (wt86518/wt86528) (v7)
    
    Add initial device-tree for Lenovo A6000 (wt86518) and Lenovo A6010
    (wt86528), which are MSM8916-based devices. These devices are quite
    similar, so some configuration is shared in msm8916-wingtech-wt865x8.dtsi.
    
    Lenovo A6000 (wt86518):
     - storage (eMMC and uSD card);
     - usb in peripheral mode;
     - touchscreen;
     - sensors;
     - WiFi/BT;
     - keys;
     - battery and charger.
    
    Lenovo A6010 (wt86528):
     - storage (eMMC and uSD card);
     - usb with extcon;
     - touchscreen;
     - sensors;
     - WiFi/BT;
     - keys;
     - leds;
     - battery;
    
    v2: Use &pm8916_usbin as extcon for wt86518
    Signed-off-by: Stephan Gerhold <[email protected]>
    v3: Add chassis-type
    v4: squash touch, sensors, accel
    v5: squash sound/modem
    v6: squash brightness
    v7: squash bms/lbc
    
    Signed-off-by: Anton Bambura <[email protected]>
    
    MODEM:
    v2: Setup memshare / add GPS memory
    v3: wcnss/venus no longer need to be relocated
    
    v4: Combine sound and modem commits and drop extra -modem.dts
        The no-modem variant is now patched dynamically by lk2nd instead.
    v5: aw8738,mode -> awinic,mode, enable-gpios -> mode-gpios
    v6: Use pin-switches instead of custom HPH_L_EXT/HPH_R_EXT
    
    Signed-off-by: Stephan Gerhold <[email protected]>
    Signed-off-by: Nikita Travkin <[email protected]>
    jenneron authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    d418091 View commit details
    Browse the repository at this point in the history
  102. arm64: dts: qcom: msm8929-wingtech-wt82918: Add initial device tree f…

    …or Lenovo A6020a40 (v3)
    
    Split it into msm8929-wingtech-wt82918 (Lenovo A6020a40) device tree
    and msm8939-wingtech-wt82918 common device tree which can be also
    reused for msm8939-wingtech-wt82918 (Lenovo A6020a46)
    
    v2: squash modem
    v3: squash brightness
    Signed-off-by: Adam Słaboń <[email protected]>
    archeYR authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    626d0f8 View commit details
    Browse the repository at this point in the history
  103. arm64: dts: qcom: msm8939-wingtech-wt82918: Add device tree for Lenov…

    …o Vibe K5 A6020a46/A6020l36 variant
    
    Signed-off-by: Adam Słaboń <[email protected]>
    archeYR authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    5a587f7 View commit details
    Browse the repository at this point in the history
  104. arm64: dts: qcom: msm8939-wingtech-wt82918: Add device tree for Lenov…

    …o Vibe K5 A6020a40 S616 H39 variant
    
    Signed-off-by: Adam Słaboń <[email protected]>
    archeYR authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    a8052bb View commit details
    Browse the repository at this point in the history
  105. ARM: dts: qcom: add msm8905-nokia-argon (Nokia 8110 4G) (v2)

    v2: Use KEY_KBD_LCD_MENU* for softkeys instead of BTN_LEFT/RIGHT.
        Those are meant to be used for mouse buttons.
    
    Signed-off-by: Otto Pflüger <[email protected]>
    affenull2345 authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    b7c48f3 View commit details
    Browse the repository at this point in the history
  106. ARM: dts: qcom: add msm8909-nokia-leo and msm8909-nokia-sparkler (v2)

    Add support for the Nokia 6300 4G (leo) and the Nokia 8000 4G (sparkler).
    The devices are very similar, so most of the device tree is shared
    between the two devices in qcom-msm8909-nokia-leo-common.dtsi.
    
    v2: Use KEY_KBD_LCD_MENU* for softkeys instead of BTN_LEFT/RIGHT.
        Those are meant to be used for mouse buttons.
    
    Signed-off-by: Otto Pflüger <[email protected]>
    affenull2345 authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    b283de2 View commit details
    Browse the repository at this point in the history
  107. ARM: dts: qcom: msm8909-acer-t01: Add initial device tree (v2)

    Acer Liquid Z330 is a phone using the MSM8909 SoC released in 2015.
    
    Add a device tree for with initial support for:
    
    - GPIO keys
    - pm8909-vibrator
    - SDHCI (internal and external storage)
    - USB Device Mode
    - UART
    - WCNSS (WiFi/BT)
    - Regulators
    - Touchscreen
    - PWM panel backlight
    - Flash LED
    - Accelerometer
    - Notification LED
    
    v2: Add mount-matrix for accelerometer
    
    Signed-off-by: Raymond Hackley <[email protected]>
    wonderfulShrineMaidenOfParadise authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    0159766 View commit details
    Browse the repository at this point in the history
  108. arm64: dts: qcom: msm8916-longcheer-l8150: Fix multi-touch

    The Synaptics touchscreen on longcheer-l8150 does not report any
    pressure data. This must be described in the DT to allow reading
    multi-touch data correctly.
    
    Signed-off-by: Stephan Gerhold <[email protected]>
    stephan-gh authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    9f43d61 View commit details
    Browse the repository at this point in the history
  109. arm64: dts: qcom: msm8916-longcheer-l8150: Add custom OTG adapter det…

    …ection
    
     This patch allows use of custom-made OTG adapters that
     have USB_ID connected to 5V instead of GND.
    
     USB_ID on l8150 connected to GPIO 37 but pulled down so it's
     impossible to detect normal OTG adapters but custom one
     required anyway since l8150 can't provide power to another
     USB device.
    
    Signed-off-by: Nikita Travkin <[email protected]>
    TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    cc8c130 View commit details
    Browse the repository at this point in the history
  110. arm64: dts: qcom: msm8916-longcheer-l8150: Add display panel (v5)

    v2: Make reset-gpios GPIO_ACTIVE_LOW
    v3: Use generic longcheer,l8150-panel compatible
    v4: Add &mdss { status = "okay"; };
    v5: Squash PWM backlight patch
    Signed-off-by: Nikita Travkin <[email protected]>
    TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    fc69309 View commit details
    Browse the repository at this point in the history
  111. arm64: dts: qcom: msm8916-longcheer-l8910: Add rear flash

    The phone has a Silergy SY7802 flash LED controller.
    
    Signed-off-by: André Apitzsch <[email protected]>
    André Apitzsch authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    87afe62 View commit details
    Browse the repository at this point in the history
  112. arm64: dts: qcom: msm8916-longcheer-l8910: Add touchscreen (v4)

    Signed-off-by: Jonathan Albrieux <[email protected]>
    
    v2: Make IRQ level triggered, as on downstream
    v3: Change compatible "himax,852x" -> "himax,hx852x-es"
        Make reset-gpios ACTIVE_LOW
    v4: Change compatible -> "himax,hx8527e", "himax,hx852es"
    Signed-off-by: Stephan Gerhold <[email protected]>
    JonnyMe authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    41cb047 View commit details
    Browse the repository at this point in the history
  113. arm64: dts: qcom: msm8916-longcheer-l8910: Add battery support (v2)

    Signed-off-by: Jonathan Albrieux <[email protected]>
    v2: Increase timeout back to 768
    Signed-off-by: Jakob Hauser <[email protected]>
    JonnyMe authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    805796b View commit details
    Browse the repository at this point in the history
  114. arm64: dts: qcom: msm8916-longcheer-l8910: Add display panel (v5)

    v2: Make reset-gpios GPIO_ACTIVE_LOW
    v3: Use generic longcheer,l8910-panel compatible
    v4: Add &mdss { status = "okay"; };
    v5: Squash PWM backlight patch
    
    Signed-off-by: Jonathan Albrieux <[email protected]>
    JonnyMe authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    d728dca View commit details
    Browse the repository at this point in the history
  115. arm64: dts: qcom: msm8916-motorola-harpia: Add display panel (v4)

    Signed-off-by: Ruby Iris Juric <[email protected]>
    
    v2: Make reset-gpios GPIO_ACTIVE_LOW
    v3: Use generic motorola,harpia-panel compatible
    v4: Add &mdss { status = "okay"; };
    
    Signed-off-by: Stephan Gerhold <[email protected]>
    Sorixelle authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    dac56fc View commit details
    Browse the repository at this point in the history
  116. arm64: dts: qcom: msm8916-motorola-surnia: add display panel (v4)

    Signed-off-by: Wiktor Strzębała <[email protected]>
    
    v2: Make reset-gpios GPIO_ACTIVE_LOW
    v3: Use generic motorola,surnia-panel compatible
    v4: Add &mdss { status = "okay"; };
    Signed-off-by: Stephan Gerhold <[email protected]>
    wiktorek140 authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    7743a2d View commit details
    Browse the repository at this point in the history
  117. arm64: dts: qcom: msm8916-motorola-osprey: add display panel (v2)

    v2: Add &mdss { status = "okay"; };
    
    Signed-off-by: Martijn Braam <[email protected]>
    MartijnBraam authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    dfa156b View commit details
    Browse the repository at this point in the history
  118. arm64: dts: qcom: msm8916-wingtech-wt88047: Disable memshare

    Signed-off-by: Stephan Gerhold <[email protected]>
    stephan-gh authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    e233fd7 View commit details
    Browse the repository at this point in the history
  119. arm64: dts: qcom: msm8916-wingtech-wt88047: Add battery/charger (v2)

    Signed-off-by: Stephan Gerhold <[email protected]>
    v2: Increase timeout to 768
    Signed-off-by: Jakob Hauser <[email protected]>
    stephan-gh authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    020e757 View commit details
    Browse the repository at this point in the history
  120. arm64: dts: qcom: msm8916-wingtech-wt88047: Add display panel (v3)

    v2: Use generic wingtech,wt88047-panel compatible
    v3: Add &mdss { status = "okay"; };
    
    Signed-off-by: Stephan Gerhold <[email protected]>
    stephan-gh authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    7574ad1 View commit details
    Browse the repository at this point in the history
  121. arm64: dts: qcom: msm8916-wingtech-wt86518: Disable memshare

    Signed-off-by: Anton Bambura <[email protected]>
    [split from initial patch]
    Signed-off-by: Stephan Gerhold <[email protected]>
    jenneron authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    87b3a18 View commit details
    Browse the repository at this point in the history
  122. arm64: dts: qcom: msm8916-wingtech-wt865x8: add display panel (v2)

    This patch adds panel support for these devices.
    
    v2: Add &mdss { status = "okay"; };
    
    Signed-off-by: Anton Bambura <[email protected]>
    jenneron authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    c8b8280 View commit details
    Browse the repository at this point in the history
  123. arm64: dts: qcom: msm8916-lg-m216: Add display panel (v2)

    v2: Add &mdss { status = "okay"; };
    
    Signed-off-by: Cristian Cozzolino <[email protected]>
    cristianc authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    0abb3ad View commit details
    Browse the repository at this point in the history
  124. arm64: dts: qcom: msm8916-lg-c50: add display panel

    Signed-off-by: Anton Bambura <[email protected]>
    jenneron authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    16f752b View commit details
    Browse the repository at this point in the history
  125. arm64: dts: qcom: msm8916-asus-z00l: add display panel (v2)

    v2: Add &mdss { status = "okay"; };
    
    Signed-off-by: J.R. Divya Antony <[email protected]>
    antony-jr authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    7f6ed00 View commit details
    Browse the repository at this point in the history
  126. arm64: dts: qcom: msm8916-asus-z010d: add display panel (v2)

    v2: Add &mdss { status = "okay"; };
    
    Signed-off-by: Devajith V S <[email protected]>
    devajithvs authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    a65a2db View commit details
    Browse the repository at this point in the history
  127. arm64: dts: qcom: msm8916-alcatel-idol347: enable smb1360 (v2)

    Signed-off-by: Vincent Knecht <[email protected]>
    v2: Increase timeout to 768
    Signed-off-by: Jakob Hauser <[email protected]>
    vknecht authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    734fba2 View commit details
    Browse the repository at this point in the history
  128. arm64: dts: qcom: msm8916-alcatel-idol347: add display panel and back…

    …light (v3)
    
    v2: Add &mdss { status = "okay"; };
    v3: Attach mdss pinctrls to dsi0
    
    Signed-off-by: Vincent Knecht <[email protected]>
    vknecht authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    ad466af View commit details
    Browse the repository at this point in the history
  129. arm64: dts: qcom: msm8916-huawei-g7: Add display panel (v4)

    v2: Use panel detection
    v4: Fix dsi0 pinctrl
    
    Signed-off-by: Stephan Gerhold <[email protected]>
    stephan-gh authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    ef88b76 View commit details
    Browse the repository at this point in the history
  130. arm64: dts: qcom: msm8916-huawei-y635: Add display panel (v2)

    v2: Use generic huawei,y635-panel compatible
    
    Signed-off-by: David Wronek <[email protected]>
    David Wronek authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    e62dd61 View commit details
    Browse the repository at this point in the history
  131. arm64: dts: qcom: msm8916-acer-a1-724: Add display panel

    Signed-off-by: Lin, Meng-Bo <[email protected]>
    bolilingmeng89006 authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    576c3ab View commit details
    Browse the repository at this point in the history
  132. arm64: dts: qcom: msm8916-gplus-fl8005a: Add display panel

    Signed-off-by: "Lin, Meng-Bo" <[email protected]>
    bolilingmeng89006 authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    631ad0f View commit details
    Browse the repository at this point in the history
  133. arm64: dts: qcom: msm8916-samsung-gt58: Enable the touchkeys

    The tablet needs the touchkeys to be enabled so the sense lines of the
    touch controller are mapped properly. Otherwise the touchscreen is not
    mapped to the display properly.
    
    Signed-off-by: Nikita Travkin <[email protected]>
    TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    88b7d3a View commit details
    Browse the repository at this point in the history
  134. FIXME: arm64: dts: qcom: msm8916-samsung-gt5-common: Add audio jack d…

    …etection
    
    gt5 devices use jack detection IC. Add it.
    
    Signed-off-by: Jasper Korten <[email protected]>
    Co-developed-by: Nikita Travkin <[email protected]>
    Signed-off-by: Nikita Travkin <[email protected]>
    jja2000 authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    37440b4 View commit details
    Browse the repository at this point in the history
  135. FIXME: arm64: dts: qcom: msm8916-samsung-a2015: Add audio jack detection

    Signed-off-by: Stephan Gerhold <[email protected]>
    stephan-gh authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    9972759 View commit details
    Browse the repository at this point in the history
  136. arm64: dts: qcom: msm8916-samsung-a5u: Add display panel (v2)

    v2: Make reset-gpios GPIO_ACTIVE_LOW
    
    Signed-off-by: Stephan Gerhold <[email protected]>
    [Sam: Add regulator-boot-on to preserve display in u-boot]
    Signed-off-by: Sam Day <[email protected]>
    stephan-gh authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    b80b8b1 View commit details
    Browse the repository at this point in the history
  137. FIXME: arm64: dts: qcom: msm8916-samsung-serranove: Add audio jack de…

    …tection
    
    This is not fully working. Some buttons are not detected properly.
    We should probably implement the ADC detection method from Samsung instead.
    
    Signed-off-by: Stephan Gerhold <[email protected]>
    stephan-gh authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    7546161 View commit details
    Browse the repository at this point in the history
  138. arm64: dts: qcom: msm8916-samsung-serranove: Add display panel (v3)

    v2: Make reset-gpios GPIO_ACTIVE_LOW
    v3: Add &mdss { status = "okay"; };
    
    Signed-off-by: Stephan Gerhold <[email protected]>
    stephan-gh authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    79e2b51 View commit details
    Browse the repository at this point in the history
  139. FIXME: arm64: dts: qcom: apq8016-samsung-matissevewifi: add jack dete…

    …ction
    
    Signed-off-by: Gaëtan André <[email protected]>
    rvlander authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    9a06839 View commit details
    Browse the repository at this point in the history
  140. FIXME: arm64: dts: qcom: apq8016-samsung-matissevewifi: add display p…

    …anel (v4)
    
    Signed-off-by: Gaëtan André <[email protected]>
    
    v2: Make reset-gpios GPIO_ACTIVE_LOW
    v3: Add &mdss { status = "okay"; };
    v4: - Set up fixed regulators properly
        - Allow turning off LCD regulator
        - Set up clk-pwm for brightness control
        - Use panel-simple instead
    
    Signed-off-by: Stephan Gerhold <[email protected]>
    rvlander authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    540b400 View commit details
    Browse the repository at this point in the history
  141. arm64: dts: qcom: apq8016-samsung-gtelwifiue: Add jack detection

    This adds headphone jack detection for samsung-gtelwifiue. This
    is required for headset microphones to work.
    
    Signed-off-by: Michael Abood <[email protected]>
    person4268 authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    7cab2c5 View commit details
    Browse the repository at this point in the history
  142. arm64: dts: qcom: apq8016-samsung-gtelwifiue: Add display panel

    The device uses nt51017 based display panel. Add it.
    
    Signed-off-by: Michael Abood <[email protected]>
    person4268 authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    a31e65b View commit details
    Browse the repository at this point in the history
  143. arm64: dts: qcom: msm8916-samsung-j5-common: Add display panel (v4)

    v2: Make reset-gpios GPIO_ACTIVE_LOW
    v3: Add &mdss { status = "okay"; };
    
    Signed-off-by: Markuss Broks <[email protected]>
    
    v4: Move from msm8916-samsung-j5
    Signed-off-by: Lin, Meng-Bo <[email protected]>
    nergzd723 authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    3644f56 View commit details
    Browse the repository at this point in the history
  144. arm64: dts: qcom: msm8916-samsung-j3ltetw: Add display panel (v2)

    Add regulators for the panel on J3. Note that l17 is required.
    
    Signed-off-by: Lin, Meng-Bo <[email protected]>
    bolilingmeng89006 authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    3bcc3a9 View commit details
    Browse the repository at this point in the history
  145. arm64: dts: qcom: msm8916-samsung-j5x: Add display panel

    Signed-off-by: Lin, Meng-Bo <[email protected]>
    bolilingmeng89006 authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    38cd42b View commit details
    Browse the repository at this point in the history
  146. arm64: dts: qcom: msm8916-samsung-j3ltetw: Add touchscreen

    J3 and J5X use an Imagis IST3038C touchscreen that is connected to
    blsp_i2c5. Add it to the device tree.
    
    Regulator and MFD drivers for SM5703 are unavailable at the moment, which
    is required to power up the touchscreen on J5, so it's disabled on J5 for
    now.
    
    Signed-off-by: Lin, Meng-Bo <[email protected]>
    bolilingmeng89006 authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    c1cc6ba View commit details
    Browse the repository at this point in the history
  147. arm64: dts: qcom: msm8916-samsung-j3ltetw: Add accelerometer (v4)

    Signed-off-by: Lin, Meng-Bo <[email protected]>
    v4: Split from common commit after j5 upstreaming
    Signed-off-by: Stephan Gerhold <[email protected]>
    bolilingmeng89006 authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    5bd1907 View commit details
    Browse the repository at this point in the history
  148. FIXME: arm64: dts: qcom: msm8916-samsung-j5-common: Add audio jack de…

    …tection (v2)
    
    v2: Moved from msm8916-samsung-j5x
    
    Headset microphone is broken with this on j5x, headphone buttons are
    broken as well. (Needs more investigation...)
    
    Signed-off-by: Lin, Meng-Bo <[email protected]>
    bolilingmeng89006 authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    c8434c7 View commit details
    Browse the repository at this point in the history
  149. arm64: dts: qcom: msm8916-samsung-e7: Add touchscreen (v2)

    E7 uses a ST-Microelectronics FingerTip touchscreen that is connected to
    blsp_i2c5. Add it to the device tree.
    
    v2: Add suffix "-state" to pinctrl.
    
    Signed-off-by: "Lin, Meng-Bo" <[email protected]>
    bolilingmeng89006 authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    e2f9f49 View commit details
    Browse the repository at this point in the history
  150. arm64: dts: qcom: msm8916-samsung-e7: Add display panel (v2)

    v2: Add suffix "-state" to pinctrl.
    
    Signed-off-by: "Lin, Meng-Bo" <[email protected]>
    bolilingmeng89006 authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    1477298 View commit details
    Browse the repository at this point in the history
  151. arm64: dts: qcom: msm8916-samsung-grandmax: Add display panel

    Signed-off-by: "Lin, Meng-Bo" <[email protected]>
    bolilingmeng89006 authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    0db1cd3 View commit details
    Browse the repository at this point in the history
  152. arm64: dts: qcom: msm8916-samsung-grandmax: Add touchscreen (v2)

    Grand Max uses an Imagis IST3038 touchscreen that is connected to
    blsp_i2c5. Add it to the device tree.
    
    Signed-off-by: "Lin, Meng-Bo" <[email protected]>
    v2: Add touch keys
    Signed-off-by: Raymond Hackley <[email protected]>
    bolilingmeng89006 authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    4722a89 View commit details
    Browse the repository at this point in the history
  153. arm64: dts: qcom: msm8939-samsung-a7: Add display panel (v5)

    v2: Set &mdss_dsi0 and &mdss_dsi0_phy with status = "okay";
    v3: adapted for current msm8939.dtsi (mdss_dsi0 and mdss_dsi0_phy)
    [vknecht: adapted for current msm8939.dtsi (mdss_dsi0 and mdss_dsi0_phy)]
    v4: adapted for current msm8939.dtsi (dsi0 and dsi_phy0)
    Add suffix "-state" to pinctrl.
    Put status = "okay"; at the end of the properties
    v5: Add missed status for the dsi phy
    
    Signed-off-by: "Lin, Meng-Bo" <[email protected]>
    bolilingmeng89006 authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    41d6158 View commit details
    Browse the repository at this point in the history
  154. arm64: dts: qcom: msm8939-samsung-a7: Add audio jack detection (v2)

    v2: Add suffix "-state" to pinctrl.
    
    Signed-off-by: Lin, Meng-Bo <[email protected]>
    bolilingmeng89006 authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    3d704f4 View commit details
    Browse the repository at this point in the history
  155. arm64: dts: qcom: msm8939-huawei-kiwi: add new components (v3)

    - Sensors (magnetometer)
    - Display
    - Sound (headphones and speakers)
    
    Signed-off-by: lukas walter <[email protected]>
    v3: Split up from upstreamed patch
    lukas walter authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    6829bda View commit details
    Browse the repository at this point in the history
  156. arm64: dts: qcom: msm8939-alcatel-idol3: enable smb1360 (v2)

    Add support for SMB1360 fuel gauge & charger circuit.
    
    Signed-off-by: Vincent Knecht <[email protected]>
    v2: Increase timeout to 768
    Signed-off-by: Jakob Hauser <[email protected]>
    vknecht authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    fdb0bbc View commit details
    Browse the repository at this point in the history
  157. arm64: dts: qcom: msm8939-longcheer-l9100: add display (v4)

    Signed-off-by: André Apitzsch <[email protected]>
    v4: split from initial commit after upstreaming
    Signed-off-by: Stephan Gerhold <[email protected]>
    André Apitzsch authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    888e079 View commit details
    Browse the repository at this point in the history
  158. arm64: dts: qcom: msm8939-longcheer-l9100: Add modem

    Signed-off-by: André Apitzsch <[email protected]>
    André Apitzsch authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    15ded8d View commit details
    Browse the repository at this point in the history
  159. arm64: dts: qcom: msm8939-longcheer-l9100: enable smb1360 (v2)

    Add support for SMB1360 fuel gauge and charger circuit.
    
    Signed-off-by: André Apitzsch <[email protected]>
    v2: Increase timeout to 768
    Signed-off-by: Jakob Hauser <[email protected]>
    André Apitzsch authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    2e7057f View commit details
    Browse the repository at this point in the history
  160. arm64: dts: qcom: msm8939-wingtech-wt82918: Add fuel gauge

    Signed-off-by: Adam Słaboń <[email protected]>
    archeYR authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    de0ee45 View commit details
    Browse the repository at this point in the history
  161. arm64: dts: qcom: msm8939-wingtech-wt82918: Add display

    Signed-off-by: Adam Słaboń <[email protected]>
    archeYR authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    5b3bc33 View commit details
    Browse the repository at this point in the history
  162. ARM: dts: qcom: msm8905-nokia-argon: enable LBC and BMS

    Signed-off-by: Otto Pflüger <[email protected]>
    affenull2345 authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    295ccba View commit details
    Browse the repository at this point in the history
  163. ARM: dts: qcom: msm8909-nokia-leo-common: enable LBC and BMS

    Signed-off-by: Otto Pflüger <[email protected]>
    affenull2345 authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    95d7358 View commit details
    Browse the repository at this point in the history
  164. ARM: dts: qcom: msm8909-acer-t01: Add LBC and BMS

    Signed-off-by: Raymond Hackley <[email protected]>
    wonderfulShrineMaidenOfParadise authored and TravMurav committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    9485bac View commit details
    Browse the repository at this point in the history
  165. Configuration menu
    Copy the full SHA
    de069af View commit details
    Browse the repository at this point in the history

Commits on Aug 8, 2024

  1. WIP: bq-piccolo: Add sound support

    Signed-off-by: André Apitzsch <[email protected]>
    André Apitzsch committed Aug 8, 2024
    Configuration menu
    Copy the full SHA
    a71649e View commit details
    Browse the repository at this point in the history