13 Dec, 2019

7 commits

  • The ORC unwinder has two tables: .orc_unwind_ip and .orc_unwind, which
    need to be sorted for binary search. Previously this sorting was done
    during bootup.

    Sort them at build time to speed up booting.

    Add the ORC tables sorting in a parallel build process to speed up the build.

    [ mingo: Rewrote the changelog and fixed some comments. ]

    Suggested-by: Andy Lutomirski
    Suggested-by: Peter Zijlstra
    Reported-by: kbuild test robot
    Signed-off-by: Shile Zhang
    Acked-by: Peter Zijlstra (Intel)
    Cc: Josh Poimboeuf
    Cc: Masahiro Yamada
    Cc: Michal Marek
    Cc: linux-kbuild@vger.kernel.org
    Link: https://lkml.kernel.org/r/20191204004633.88660-7-shile.zhang@linux.alibaba.com
    Signed-off-by: Ingo Molnar

    Shile Zhang
     
  • Use a more generic name for additional table sorting usecases,
    such as the upcoming ORC table sorting feature. This tool is
    not tied to exception table sorting anymore.

    No functional changes intended.

    [ mingo: Rewrote the changelog. ]

    Signed-off-by: Shile Zhang
    Acked-by: Peter Zijlstra (Intel)
    Cc: Josh Poimboeuf
    Cc: Masahiro Yamada
    Cc: Michal Marek
    Cc: linux-kbuild@vger.kernel.org
    Link: https://lkml.kernel.org/r/20191204004633.88660-6-shile.zhang@linux.alibaba.com
    Signed-off-by: Ingo Molnar

    Shile Zhang
     
  • Refine the loop, naming and code structure, make the code more readable
    and extendable. No functional changes intended.

    Signed-off-by: Shile Zhang
    Acked-by: Peter Zijlstra (Intel)
    Cc: Josh Poimboeuf
    Cc: Masahiro Yamada
    Cc: Michal Marek
    Cc: linux-kbuild@vger.kernel.org
    Link: https://lkml.kernel.org/r/20191204004633.88660-5-shile.zhang@linux.alibaba.com
    Signed-off-by: Ingo Molnar

    Shile Zhang
     
  • Signed-off-by: Shile Zhang
    Acked-by: Peter Zijlstra (Intel)
    Cc: Josh Poimboeuf
    Cc: Masahiro Yamada
    Cc: Michal Marek
    Cc: linux-kbuild@vger.kernel.org
    Link: https://lkml.kernel.org/r/20191204004633.88660-4-shile.zhang@linux.alibaba.com
    Signed-off-by: Ingo Molnar

    Shile Zhang
     
  • Fix various style errors and inconsistencies, no functional changes
    intended.

    Signed-off-by: Shile Zhang
    Acked-by: Peter Zijlstra (Intel)
    Cc: Josh Poimboeuf
    Cc: Masahiro Yamada
    Cc: Michal Marek
    Cc: linux-kbuild@vger.kernel.org
    Link: https://lkml.kernel.org/r/20191204004633.88660-3-shile.zhang@linux.alibaba.com
    Signed-off-by: Ingo Molnar

    Shile Zhang
     
  • The scripts/sortextable.c code has originally copied some code from
    scripts/recordmount.c, which used the same setjmp/longjmp method to
    manage control flow.

    Meanwhile recordmcount has improved its error handling via:

    3f1df12019f3 ("recordmcount: Rewrite error/success handling").

    So rewrite this part of sortextable as well to get rid of the setjmp/longjmp
    kludges, with additional refactoring, to make it more readable and
    easier to extend.

    No functional changes intended.

    [ mingo: Rewrote the changelog. ]

    Signed-off-by: Shile Zhang
    Acked-by: Peter Zijlstra (Intel)
    Cc: Josh Poimboeuf
    Cc: Masahiro Yamada
    Cc: Michal Marek
    Cc: linux-kbuild@vger.kernel.org
    Link: https://lkml.kernel.org/r/20191204004633.88660-2-shile.zhang@linux.alibaba.com
    Signed-off-by: Ingo Molnar

    Shile Zhang
     
  • Pull ceph fixes from Ilya Dryomov:
    "A fix to avoid a corner case when scheduling cap reclaim in batches
    from Xiubo, a patch to add some observability into cap waiters from
    Jeff and a couple of cleanups"

    * tag 'ceph-for-5.5-rc2' of git://github.com/ceph/ceph-client:
    ceph: add more debug info when decoding mdsmap
    ceph: switch to global cap helper
    ceph: trigger the reclaim work once there has enough pending caps
    ceph: show tasks waiting on caps in debugfs caps file
    ceph: convert int fields in ceph_mount_options to unsigned int

    Linus Torvalds
     

12 Dec, 2019

8 commits

  • Pull AFS fixes from David Howells:
    "Fixes for AFS plus one patch to make debugging easier:

    - Fix how addresses are matched to server records. This is currently
    incorrect which means cache invalidation callbacks from the server
    don't necessarily get delivered correctly. This causes stale data
    and metadata to be seen under some circumstances.

    - Make the dynamic root superblock R/W so that rpm/dnf can reapply
    the SELinux label to it when upgrading the Fedora filesystem-afs
    package. If the filesystem is R/O, this fails and the upgrade
    fails.

    It might be better in future to allow setxattr from an LSM to
    bypass the R/O protections, if only for pseudo-filesystems.

    - Fix the parsing of mountpoint strings. The mountpoint object has to
    have a terminal dot, whereas the source/device string passed to
    mount should not. This confuses type-forcing suffix detection
    leading to the wrong volume variant being mounted.

    - Make lookups in the dynamic root superblock for creation events
    (such as mkdir) fail with EOPNOTSUPP rather than something like
    EEXIST. The dynamic root only allows implicit creation by the
    ->lookup() method - and only if the target cell exists.

    - Fix the looking up of an AFS superblock to include the cell in the
    matching key - otherwise all volumes with the same ID number are
    treated as the same thing, irrespective of which cell they're in.

    - Show the volume name of each volume in the volume records displayed
    in /proc/net/afs//volumes. This proved useful in debugging as
    it provides a way to map the volume IDs to names, where the names
    are what appear in /proc/mounts"

    * tag 'afs-fixes-20191211' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs:
    afs: Show volume name in /proc/net/afs//volumes
    afs: Fix missing cell comparison in afs_test_super()
    afs: Fix creation calls in the dynamic root to fail with EOPNOTSUPP
    afs: Fix mountpoint parsing
    afs: Fix SELinux setting security label on /afs
    afs: Fix afs_find_server lookups for ipv4 peers

    Linus Torvalds
     
  • Pull erofs fixes from Gao Xiang:
    "Mainly address a regression reported by David recently observed
    together with overlayfs due to the improper return value of
    listxattr() without xattr. Update outdated expressions in document as
    well.

    Summary:

    - Fix improper return value of listxattr() with no xattr

    - Keep up documentation with latest code"

    * tag 'erofs-for-5.5-rc2-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs:
    erofs: update documentation
    erofs: zero out when listxattr is called with no xattr

    Linus Torvalds
     
  • Pull tracing fixes from Steven Rostedt:

    - Remove code I accidentally applied when doing a minor fix up to a
    patch, and then using "git commit -a --amend", which pulled in some
    other changes I was playing with.

    - Remove an used variable in trace_events_inject code

    - Fix function graph tracer when it traces a ftrace direct function.
    It will now ignore tracing a function that has a ftrace direct
    tramploine attached. This is needed for eBPF to use the ftrace direct
    code.

    * tag 'trace-v5.5-3' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace:
    ftrace: Fix function_graph tracer interaction with BPF trampoline
    tracing: remove set but not used variable 'buffer'
    module: Remove accidental change of module_enable_x()

    Linus Torvalds
     
  • There's no need to separately check for signals while inside the locked
    region, since we're going to do "wait_event_interruptible()" right
    afterwards anyway, and the error handling is much simpler there.

    The check for whether we had already read anything was also redundant,
    since we no longer do the odd merging of reads when there are pending
    writers.

    But perhaps more importantly, this adds commentary about why we still
    need to wake up possible writers even though we didn't read any data,
    and why we can skip all the finishing touches now if we get a signal (or
    had a signal pending) while waiting for more data.

    [ This is a split-out cleanup from my "make pipe IO use exclusive wait
    queues" thing, which I can't apply because it triggers a nasty bug in
    the GNU make jobserver - Linus ]

    Signed-off-by: Linus Torvalds

    Linus Torvalds
     
  • Show the name of each volume in /proc/net/afs//volumes to make it
    easier to work out the name corresponding to a volume ID. This makes it
    easier to work out which mounts in /proc/mounts correspond to which volume
    ID.

    Signed-off-by: David Howells
    Reviewed-by: Marc Dionne

    David Howells
     
  • Fix missing cell comparison in afs_test_super(). Without this, any pair
    volumes that have the same volume ID will share a superblock, no matter the
    cell, unless they're in different network namespaces.

    Normally, most users will only deal with a single cell and so they won't
    see this. Even if they do look into a second cell, they won't see a
    problem unless they happen to hit a volume with the same ID as one they've
    already got mounted.

    Before the patch:

    # ls /afs/grand.central.org/archive
    linuxdev/ mailman/ moin/ mysql/ pipermail/ stage/ twiki/
    # ls /afs/kth.se/
    linuxdev/ mailman/ moin/ mysql/ pipermail/ stage/ twiki/
    # cat /proc/mounts | grep afs
    none /afs afs rw,relatime,dyn,autocell 0 0
    #grand.central.org:root.cell /afs/grand.central.org afs ro,relatime 0 0
    #grand.central.org:root.archive /afs/grand.central.org/archive afs ro,relatime 0 0
    #grand.central.org:root.archive /afs/kth.se afs ro,relatime 0 0

    After the patch:

    # ls /afs/grand.central.org/archive
    linuxdev/ mailman/ moin/ mysql/ pipermail/ stage/ twiki/
    # ls /afs/kth.se/
    admin/ common/ install/ OldFiles/ service/ system/
    bakrestores/ home/ misc/ pkg/ src/ wsadmin/
    # cat /proc/mounts | grep afs
    none /afs afs rw,relatime,dyn,autocell 0 0
    #grand.central.org:root.cell /afs/grand.central.org afs ro,relatime 0 0
    #grand.central.org:root.archive /afs/grand.central.org/archive afs ro,relatime 0 0
    #kth.se:root.cell /afs/kth.se afs ro,relatime 0 0

    Fixes: ^1da177e4c3f4 ("Linux-2.6.12-rc2")
    Reported-by: Carsten Jacobi
    Signed-off-by: David Howells
    Reviewed-by: Marc Dionne
    Tested-by: Jonathan Billings
    cc: Todd DeSantis

    David Howells
     
  • Fix the lookup method on the dynamic root directory such that creation
    calls, such as mkdir, open(O_CREAT), symlink, etc. fail with EOPNOTSUPP
    rather than failing with some odd error (such as EEXIST).

    lookup() itself tries to create automount directories when it is invoked.
    These are cached locally in RAM and not committed to storage.

    Signed-off-by: David Howells
    Reviewed-by: Marc Dionne
    Tested-by: Jonathan Billings

    David Howells
     
  • Each AFS mountpoint has strings that define the target to be mounted. This
    is required to end in a dot that is supposed to be stripped off. The
    string can include suffixes of ".readonly" or ".backup" - which are
    supposed to come before the terminal dot. To add to the confusion, the "fs
    lsmount" afs utility does not show the terminal dot when displaying the
    string.

    The kernel mount source string parser, however, assumes that the terminal
    dot marks the suffix and that the suffix is always "" and is thus ignored.
    In most cases, there is no suffix and this is not a problem - but if there
    is a suffix, it is lost and this affects the ability to mount the correct
    volume.

    The command line mount command, on the other hand, is expected not to
    include a terminal dot - so the problem doesn't arise there.

    Fix this by making sure that the dot exists and then stripping it when
    passing the string to the mount configuration.

    Fixes: bec5eb614130 ("AFS: Implement an autocell mount capability [ver #2]")
    Reported-by: Jonathan Billings
    Signed-off-by: David Howells
    Reviewed-by: Marc Dionne
    Tested-by: Jonathan Billings

    David Howells
     

11 Dec, 2019

3 commits

  • Depending on type of BPF programs served by BPF trampoline it can call original
    function. In such case the trampoline will skip one stack frame while
    returning. That will confuse function_graph tracer and will cause crashes with
    bad RIP. Teach graph tracer to skip functions that have BPF trampoline attached.

    Signed-off-by: Alexei Starovoitov
    Signed-off-by: Steven Rostedt (VMware)

    Alexei Starovoitov
     
  • kernel/trace/trace_events_inject.c: In function trace_inject_entry:
    kernel/trace/trace_events_inject.c:20:22: warning: variable buffer set but not used [-Wunused-but-set-variable]

    It is never used, so remove it.

    Link: http://lkml.kernel.org/r/20191207034409.25668-1-yuehaibing@huawei.com

    Reported-by: Hulk Robot
    Acked-by: Cong Wang
    Signed-off-by: YueHaibing
    Signed-off-by: Steven Rostedt (VMware)

    YueHaibing
     
  • When pulling in Divya Indi's patch, I made a minor fix to remove unneeded
    braces. I commited my fix up via "git commit -a --amend". Unfortunately, I
    didn't realize I had some changes I was testing in the module code, and
    those changes were applied to Divya's patch as well.

    This reverts the accidental updates to the module code.

    Cc: Jessica Yu
    Cc: Divya Indi
    Reported-by: Peter Zijlstra
    Fixes: e585e6469d6f ("tracing: Verify if trace array exists before destroying it.")
    Signed-off-by: Steven Rostedt (VMware)

    Steven Rostedt (VMware)
     

10 Dec, 2019

10 commits

  • Pull btrfs Kconfig fix from David Sterba:
    "This adds the config dependency integrating the crypto code and btrfs
    support for blake2b (added in this dev cycle, via different trees).

    Without it the option had to be selected manually"

    * tag 'for-5.5-rc1-kconfig-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux:
    btrfs: add Kconfig dependency for BLAKE2B

    Linus Torvalds
     
  • Show the laggy state.

    Signed-off-by: Xiubo Li
    Reviewed-by: Jeff Layton
    Signed-off-by: Ilya Dryomov

    Xiubo Li
     
  • __ceph_is_any_caps is a duplicate helper.

    Signed-off-by: Xiubo Li
    Reviewed-by: Jeff Layton
    Signed-off-by: Ilya Dryomov

    Xiubo Li
     
  • The nr in ceph_reclaim_caps_nr() is very possibly larger than 1,
    so we may miss it and the reclaim work couldn't triggered as expected.

    Signed-off-by: Xiubo Li
    Reviewed-by: "Yan, Zheng"
    Signed-off-by: Ilya Dryomov

    Xiubo Li
     
  • Add some visibility of tasks that are waiting for caps to the "caps"
    debugfs file. Display the tgid of the waiting task, inode number, and
    the caps the task needs and wants.

    Signed-off-by: Jeff Layton
    Reviewed-by: "Yan, Zheng"
    Signed-off-by: Ilya Dryomov

    Jeff Layton
     
  • Most of these values should never be negative, so convert them to
    unsigned values. Add some sanity checking to the parsed values, and
    clean up some unneeded casts.

    Note that while caps_max should never be negative, this patch leaves
    it signed, since this value ends up later being compared to a signed
    counter. Just ensure that userland never passes in a negative value
    for caps_max.

    Signed-off-by: Jeff Layton
    Signed-off-by: Ilya Dryomov

    Jeff Layton
     
  • …nux/kernel/git/pmladek/printk

    Pull pr_warning() removal from Petr Mladek.

    - Final removal of the unused pr_warning() alias.

    You're supposed to use just "pr_warn()" in the kernel.

    * tag 'printk-for-5.5-pr-warning-removal' of git://git.kernel.org/pub/scm/linux/kernel/git/pmladek/printk:
    checkpatch: Drop pr_warning check
    printk: Drop pr_warning definition
    Fix up for "printk: Drop pr_warning definition"
    workqueue: Use pr_warn instead of pr_warning

    Linus Torvalds
     
  • Pull thermal fixes from Zhang Rui:
    "Starting from this release cycle, we have Daniel Lezcano work as the
    new thermal co-maintainer because Eduardo's email is bouncing for
    sometime and we can not reach him. We also have a new shared git tree
    so that both Daniel and I can actively working on it.

    Specifics:

    - Update MAINTAINER file for new thermal co-maintainer and new
    thermal git tree address. (Daniel Lezcano, Florian Fainelli, Zhang
    Rui)

    - Fix a Kconfig warning. (YueHaibing)"

    * tag 'thermal-5.5-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/thermal/linux:
    MAINTAINERS: thermal: Change the git tree location
    MAINTAINERS: thermal: Add Daniel Lezcano as the thermal maintainer
    MAINTAINERS: thermal: Eduardo's email is bouncing
    thermal: power_allocator: Fix Kconfig warning

    Linus Torvalds
     
  • Because the BLAKE2B code went through a different tree, it was not
    available at the time the btrfs part was merged. Now that the Kconfig
    symbol exists, add it to the list.

    Signed-off-by: David Sterba

    David Sterba
     
  • Make the AFS dynamic root superblock R/W so that SELinux can set the
    security label on it. Without this, upgrades to, say, the Fedora
    filesystem-afs RPM fail if afs is mounted on it because the SELinux label
    can't be (re-)applied.

    It might be better to make it possible to bypass the R/O check for LSM
    label application through setxattr.

    Fixes: 4d673da14533 ("afs: Support the AFS dynamic root")
    Signed-off-by: David Howells
    Reviewed-by: Marc Dionne
    cc: selinux@vger.kernel.org
    cc: linux-security-module@vger.kernel.org

    David Howells
     

09 Dec, 2019

6 commits

  • afs_find_server tries to find a server that has an address that
    matches the transport address of an rxrpc peer. The code assumes
    that the transport address is always ipv6, with ipv4 represented
    as ipv4 mapped addresses, but that's not the case. If the transport
    family is AF_INET, srx->transport.sin6.sin6_addr.s6_addr32[] will
    be beyond the actual ipv4 address and will always be 0, and all
    ipv4 addresses will be seen as matching.

    As a result, the first ipv4 address seen on any server will be
    considered a match, and the server returned may be the wrong one.

    One of the consequences is that callbacks received over ipv4 will
    only be correctly applied for the server that happens to have the
    first ipv4 address on the fs_addresses4 list. Callbacks over ipv4
    from all other servers are dropped, causing the client to serve stale
    data.

    This is fixed by looking at the transport family, and comparing ipv4
    addresses based on a sockaddr_in structure rather than a sockaddr_in6.

    Fixes: d2ddc776a458 ("afs: Overhaul volume and server record caching and fileserver rotation")
    Signed-off-by: Marc Dionne
    Signed-off-by: David Howells

    Marc Dionne
     
  • Linus Torvalds
     
  • Pull networking fixes from David Miller:

    1) More jumbo frame fixes in r8169, from Heiner Kallweit.

    2) Fix bpf build in minimal configuration, from Alexei Starovoitov.

    3) Use after free in slcan driver, from Jouni Hogander.

    4) Flower classifier port ranges don't work properly in the HW offload
    case, from Yoshiki Komachi.

    5) Use after free in hns3_nic_maybe_stop_tx(), from Yunsheng Lin.

    6) Out of bounds access in mqprio_dump(), from Vladyslav Tarasiuk.

    7) Fix flow dissection in dsa TX path, from Alexander Lobakin.

    8) Stale syncookie timestampe fixes from Guillaume Nault.

    [ Did an evil merge to silence a warning introduced by this pull - Linus ]

    * git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net: (84 commits)
    r8169: fix rtl_hw_jumbo_disable for RTL8168evl
    net_sched: validate TCA_KIND attribute in tc_chain_tmplt_add()
    r8169: add missing RX enabling for WoL on RTL8125
    vhost/vsock: accept only packets with the right dst_cid
    net: phy: dp83867: fix hfs boot in rgmii mode
    net: ethernet: ti: cpsw: fix extra rx interrupt
    inet: protect against too small mtu values.
    gre: refetch erspan header from skb->data after pskb_may_pull()
    pppoe: remove redundant BUG_ON() check in pppoe_pernet
    tcp: Protect accesses to .ts_recent_stamp with {READ,WRITE}_ONCE()
    tcp: tighten acceptance of ACKs not matching a child socket
    tcp: fix rejected syncookies due to stale timestamps
    lpc_eth: kernel BUG on remove
    tcp: md5: fix potential overestimation of TCP option space
    net: sched: allow indirect blocks to bind to clsact in TC
    net: core: rename indirect block ingress cb function
    net-sysfs: Call dev_hold always in netdev_queue_add_kobject
    net: dsa: fix flow dissection on Tx path
    net/tls: Fix return values to avoid ENOTSUPP
    net: avoid an indirect call in ____sys_recvmsg()
    ...

    Linus Torvalds
     
  • Pull more SCSI updates from James Bottomley:
    "Eleven patches, all in drivers (no core changes) that are either minor
    cleanups or small fixes.

    They were late arriving, but still safe for -rc1"

    * tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi:
    scsi: MAINTAINERS: Add the linux-scsi mailing list to the ISCSI entry
    scsi: megaraid_sas: Make poll_aen_lock static
    scsi: sd_zbc: Improve report zones error printout
    scsi: qla2xxx: Fix qla2x00_request_irqs() for MSI
    scsi: qla2xxx: unregister ports after GPN_FT failure
    scsi: qla2xxx: fix rports not being mark as lost in sync fabric scan
    scsi: pm80xx: Remove unused include of linux/version.h
    scsi: pm80xx: fix logic to break out of loop when register value is 2 or 3
    scsi: scsi_transport_sas: Fix memory leak when removing devices
    scsi: lpfc: size cpu map by last cpu id set
    scsi: ibmvscsi_tgt: Remove unneeded variable rc

    Linus Torvalds
     
  • Pull cifs fixes from Steve French:
    "Nine cifs/smb3 fixes:

    - one fix for stable (oops during oplock break)

    - two timestamp fixes including important one for updating mtime at
    close to avoid stale metadata caching issue on dirty files (also
    improves perf by using SMB2_CLOSE_FLAG_POSTQUERY_ATTRIB over the
    wire)

    - two fixes for "modefromsid" mount option for file create (now
    allows mode bits to be set more atomically and accurately on create
    by adding "sd_context" on create when modefromsid specified on
    mount)

    - two fixes for multichannel found in testing this week against
    different servers

    - two small cleanup patches"

    * tag '5.5-rc-smb3-fixes-part2' of git://git.samba.org/sfrench/cifs-2.6:
    smb3: improve check for when we send the security descriptor context on create
    smb3: fix mode passed in on create for modetosid mount option
    cifs: fix possible uninitialized access and race on iface_list
    cifs: Fix lookup of SMB connections on multichannel
    smb3: query attributes on file close
    smb3: remove unused flag passed into close functions
    cifs: remove redundant assignment to pointer pneg_ctxt
    fs: cifs: Fix atime update check vs mtime
    CIFS: Fix NULL-pointer dereference in smb2_push_mandatory_locks

    Linus Torvalds
     
  • Pull misc vfs cleanups from Al Viro:
    "No common topic, just three cleanups".

    * 'work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs:
    make __d_alloc() static
    fs/namespace: add __user to open_tree and move_mount syscalls
    fs/fnctl: fix missing __user in fcntl_rw_hint()

    Linus Torvalds
     

08 Dec, 2019

6 commits

  • Some on-disk structures, fields have been renamed in v5.4,
    the corresponding document should be updated as well.

    Also fix misrespresentation of file time and words about
    fixed-sized output compression, data inline, etc.

    Link: https://lore.kernel.org/r/20191207025509.6614-1-hsiangkao@aol.com/
    Signed-off-by: Gao Xiang

    Gao Xiang
     
  • Pull NTB update from Jon Mason:
    "Just a simple patch to add a new Hygon Device ID to the AMD NTB device
    driver"

    * tag 'ntb-5.5' of git://github.com/jonmason/ntb:
    NTB: Add Hygon Device ID

    Linus Torvalds
     
  • Pull more input updates from Dmitry Torokhov:

    - fixups for Synaptics RMI4 driver

    - a quirk for Goodinx touchscreen on Teclast tablet

    - a new keycode definition for activating privacy screen feature found
    on a few "enterprise" laptops

    - updates to snvs_pwrkey driver

    - polling uinput device for writing (which is always allowed) now works

    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input:
    Input: synaptics-rmi4 - don't increment rmiaddr for SMBus transfers
    Input: synaptics-rmi4 - re-enable IRQs in f34v7_do_reflash
    Input: goodix - add upside-down quirk for Teclast X89 tablet
    Input: add privacy screen toggle keycode
    Input: uinput - fix returning EPOLLOUT from uinput_poll
    Input: snvs_pwrkey - remove gratuitous NULL initializers
    Input: snvs_pwrkey - send key events for i.MX6 S, DL and Q

    Linus Torvalds
     
  • Pull iomap fixes from Darrick Wong:
    "Fix a race condition and a use-after-free error:

    - Fix a UAF when reporting writeback errors

    - Fix a race condition when handling page uptodate on fragmented file
    with blocksize < pagesize"

    * tag 'iomap-5.5-merge-14' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux:
    iomap: stop using ioend after it's been freed in iomap_finish_ioend()
    iomap: fix sub-page uptodate handling

    Linus Torvalds
     
  • Pull xfs fixes from Darrick Wong:
    "Fix a couple of resource management errors and a hang:

    - fix a crash in the log setup code when log mounting fails

    - fix a hang when allocating space on the realtime device

    - fix a block leak when freeing space on the realtime device"

    * tag 'xfs-5.5-merge-17' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux:
    xfs: fix mount failure crash on invalid iclog memory access
    xfs: don't check for AG deadlock for realtime files in bunmapi
    xfs: fix realtime file data space leak

    Linus Torvalds
     
  • Pull orangefs update from Mike Marshall:
    "orangefs: posix open permission checking...

    Orangefs has no open, and orangefs checks file permissions on each
    file access. Posix requires that file permissions be checked on open
    and nowhere else. Orangefs-through-the-kernel needs to seem posix
    compliant.

    The VFS opens files, even if the filesystem provides no method. We can
    see if a file was successfully opened for read and or for write by
    looking at file->f_mode.

    When writes are flowing from the page cache, file is no longer
    available. We can trust the VFS to have checked file->f_mode before
    writing to the page cache.

    The mode of a file might change between when it is opened and IO
    commences, or it might be created with an arbitrary mode.

    We'll make sure we don't hit EACCES during the IO stage by using
    UID 0"

    [ This is "posixish", but not a great solution in the long run, since a
    proper secure network server shouldn't really trust the client like this.
    But proper and secure POSIX behavior requires an open method and a
    resulting cookie for IO of some kind, or similar. - Linus ]

    * tag 'for-linus-5.5-ofs1' of git://git.kernel.org/pub/scm/linux/kernel/git/hubcap/linux:
    orangefs: posix open permission checking...

    Linus Torvalds