1. 10 5月, 2019 11 次提交
  2. 09 5月, 2019 14 次提交
  3. 08 5月, 2019 15 次提交
    • L
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next · 80f23212
      Linus Torvalds 提交于
      Pull networking updates from David Miller:
       "Highlights:
      
         1) Support AES128-CCM ciphers in kTLS, from Vakul Garg.
      
         2) Add fib_sync_mem to control the amount of dirty memory we allow to
            queue up between synchronize RCU calls, from David Ahern.
      
         3) Make flow classifier more lockless, from Vlad Buslov.
      
         4) Add PHY downshift support to aquantia driver, from Heiner
            Kallweit.
      
         5) Add SKB cache for TCP rx and tx, from Eric Dumazet. This reduces
            contention on SLAB spinlocks in heavy RPC workloads.
      
         6) Partial GSO offload support in XFRM, from Boris Pismenny.
      
         7) Add fast link down support to ethtool, from Heiner Kallweit.
      
         8) Use siphash for IP ID generator, from Eric Dumazet.
      
         9) Pull nexthops even further out from ipv4/ipv6 routes and FIB
            entries, from David Ahern.
      
        10) Move skb->xmit_more into a per-cpu variable, from Florian
            Westphal.
      
        11) Improve eBPF verifier speed and increase maximum program size,
            from Alexei Starovoitov.
      
        12) Eliminate per-bucket spinlocks in rhashtable, and instead use bit
            spinlocks. From Neil Brown.
      
        13) Allow tunneling with GUE encap in ipvs, from Jacky Hu.
      
        14) Improve link partner cap detection in generic PHY code, from
            Heiner Kallweit.
      
        15) Add layer 2 encap support to bpf_skb_adjust_room(), from Alan
            Maguire.
      
        16) Remove SKB list implementation assumptions in SCTP, your's truly.
      
        17) Various cleanups, optimizations, and simplifications in r8169
            driver. From Heiner Kallweit.
      
        18) Add memory accounting on TX and RX path of SCTP, from Xin Long.
      
        19) Switch PHY drivers over to use dynamic featue detection, from
            Heiner Kallweit.
      
        20) Support flow steering without masking in dpaa2-eth, from Ioana
            Ciocoi.
      
        21) Implement ndo_get_devlink_port in netdevsim driver, from Jiri
            Pirko.
      
        22) Increase the strict parsing of current and future netlink
            attributes, also export such policies to userspace. From Johannes
            Berg.
      
        23) Allow DSA tag drivers to be modular, from Andrew Lunn.
      
        24) Remove legacy DSA probing support, also from Andrew Lunn.
      
        25) Allow ll_temac driver to be used on non-x86 platforms, from Esben
            Haabendal.
      
        26) Add a generic tracepoint for TX queue timeouts to ease debugging,
            from Cong Wang.
      
        27) More indirect call optimizations, from Paolo Abeni"
      
      * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next: (1763 commits)
        cxgb4: Fix error path in cxgb4_init_module
        net: phy: improve pause mode reporting in phy_print_status
        dt-bindings: net: Fix a typo in the phy-mode list for ethernet bindings
        net: macb: Change interrupt and napi enable order in open
        net: ll_temac: Improve error message on error IRQ
        net/sched: remove block pointer from common offload structure
        net: ethernet: support of_get_mac_address new ERR_PTR error
        net: usb: smsc: fix warning reported by kbuild test robot
        staging: octeon-ethernet: Fix of_get_mac_address ERR_PTR check
        net: dsa: support of_get_mac_address new ERR_PTR error
        net: dsa: sja1105: Fix status initialization in sja1105_get_ethtool_stats
        vrf: sit mtu should not be updated when vrf netdev is the link
        net: dsa: Fix error cleanup path in dsa_init_module
        l2tp: Fix possible NULL pointer dereference
        taprio: add null check on sched_nest to avoid potential null pointer dereference
        net: mvpp2: cls: fix less than zero check on a u32 variable
        net_sched: sch_fq: handle non connected flows
        net_sched: sch_fq: do not assume EDT packets are ordered
        net: hns3: use devm_kcalloc when allocating desc_cb
        net: hns3: some cleanup for struct hns3_enet_ring
        ...
      80f23212
    • L
      Merge tag 'devicetree-for-5.2' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux · 82efe439
      Linus Torvalds 提交于
      Pull Devicetree updates from Rob Herring:
      
       - Fix possible memory leak in reserved-memory failure case
      
       - Support for DMA parent bus which are not a parent node
      
       - Clang -Wunsequenced fix
      
       - Remove some unnecessary prints on memory alloc failures
      
       - Various printk msg and comment fixes
      
       - Update DT schema tools repository location
      
       - Convert simple-framebuffer binding to DT schema
      
       - Bindings for isl68137 and ir38064 trivial devices
      
       - New documentation on binding do's and don't's for binding writers to
         ignore
      
      * tag 'devicetree-for-5.2' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux: (22 commits)
        of: unittest: Remove error printing on OOM
        of: irq: Remove WARN_ON() for kzalloc() failure
        dt-bindings: pinctrl: fix bias-pull,up typo
        dt-bindings: Update schema project location to devicetree.org github group
        of: fix clang -Wunsequenced for be32_to_cpu()
        of/device.c: fix the wrong comments
        dt-bindings: Add isl68137 as a trivial device
        dt-bindings: Add ir38064 as a trivial device
        of: del redundant type conversion
        dt-bindings: mfd: axp20x: Add fallback for axp805
        of: Improve of_phandle_iterator_next() error message
        dt-bindings: connector: Spelling mistake
        dt-bindings: Add schemas for simple-framebuffer
        of: address: Add support for the parent DMA bus
        of: address: Retrieve a parent through a callback in __of_translate_address
        dt-bindings: bus: Add binding for the Allwinner MBUS controller
        dt-bindings: interconnect: Add a dma interconnect name
        of: use correct function prototype for of_overlay_fdt_apply()
        of: reserved_mem: fix reserve memory leak
        of: property: Document that of_graph_get_endpoint_by_regs needs of_node_put
        ...
      82efe439
    • L
      Merge tag 'random_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/random · dd5001e2
      Linus Torvalds 提交于
      Pull randomness updates from Ted Ts'o:
      
       - initialize the random driver earler
      
       - fix CRNG initialization when we trust the CPU's RNG on NUMA systems
      
       - other miscellaneous cleanups and fixes.
      
      * tag 'random_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/random:
        random: add a spinlock_t to struct batched_entropy
        random: document get_random_int() family
        random: fix CRNG initialization when random.trust_cpu=1
        random: move rand_initialize() earlier
        random: only read from /dev/random after its pool has received 128 bits
        drivers/char/random.c: make primary_crng static
        drivers/char/random.c: remove unused stuct poolinfo::poolbits
        drivers/char/random.c: constify poolinfo_table
      dd5001e2
    • L
      Merge tag 'fscrypt_for_linus' of git://git.kernel.org/pub/scm/fs/fscrypt/fscrypt · a9fbcd67
      Linus Torvalds 提交于
      Pull fscrypt updates from Ted Ts'o:
       "Clean up fscrypt's dcache revalidation support, and other
        miscellaneous cleanups"
      
      * tag 'fscrypt_for_linus' of git://git.kernel.org/pub/scm/fs/fscrypt/fscrypt:
        fscrypt: cache decrypted symlink target in ->i_link
        vfs: use READ_ONCE() to access ->i_link
        fscrypt: fix race where ->lookup() marks plaintext dentry as ciphertext
        fscrypt: only set dentry_operations on ciphertext dentries
        fs, fscrypt: clear DCACHE_ENCRYPTED_NAME when unaliasing directory
        fscrypt: fix race allowing rename() and link() of ciphertext dentries
        fscrypt: clean up and improve dentry revalidation
        fscrypt: use READ_ONCE() to access ->i_crypt_info
        fscrypt: remove WARN_ON_ONCE() when decryption fails
        fscrypt: drop inode argument from fscrypt_get_ctx()
      a9fbcd67
    • L
      Merge tag 'ext4_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4 · 5abe3795
      Linus Torvalds 提交于
      Pull ext4 updates from Ted Ts'o:
       "Add as a feature case-insensitive directories (the casefold feature)
        using Unicode 12.1.
      
        Also, the usual largish number of cleanups and bug fixes"
      
      * tag 'ext4_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4: (25 commits)
        ext4: export /sys/fs/ext4/feature/casefold if Unicode support is present
        ext4: fix ext4_show_options for file systems w/o journal
        unicode: refactor the rule for regenerating utf8data.h
        docs: ext4.rst: document case-insensitive directories
        ext4: Support case-insensitive file name lookups
        ext4: include charset encoding information in the superblock
        MAINTAINERS: add Unicode subsystem entry
        unicode: update unicode database unicode version 12.1.0
        unicode: introduce test module for normalized utf8 implementation
        unicode: implement higher level API for string handling
        unicode: reduce the size of utf8data[]
        unicode: introduce code for UTF-8 normalization
        unicode: introduce UTF-8 character database
        ext4: actually request zeroing of inode table after grow
        ext4: cond_resched in work-heavy group loops
        ext4: fix use-after-free race with debug_want_extra_isize
        ext4: avoid drop reference to iloc.bh twice
        ext4: ignore e_value_offs for xattrs with value-in-ea-inode
        ext4: protect journal inode's blocks using block_validity
        ext4: use BUG() instead of BUG_ON(1)
        ...
      5abe3795
    • L
      Merge tag 'afs-next-20190507' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs · e5fef2a9
      Linus Torvalds 提交于
      Pull AFS updates from David Howells:
       "A set of fix and development patches for AFS for 5.2.
      
        Summary:
      
         - Fix the AFS file locking so that sqlite can run on an AFS mount and
           also so that firefox and gnome can use a homedir that's mounted
           through AFS.
      
           This required emulation of fine-grained locking when the server
           will only support whole-file locks and no upgrade/downgrade. Four
           modes are provided, settable by mount parameter:
      
             "flock=local"   - No reference to the server
      
             "flock=openafs" - Fine-grained locks are local-only, whole-file
                               locks require sufficient server locks
      
             "flock=strict"  - All locks require sufficient server locks
      
             "flock=write"   - Always get an exclusive server lock
      
           If the volume is a read-only or backup volume, then flock=local for
           that volume.
      
         - Log extra information for a couple of cases where the client mucks
           up somehow: AFS vnode with undefined type and dir check failure -
           in both cases we seem to end up with unfilled data, but the issues
           happen infrequently and are difficult to reproduce at will.
      
         - Implement silly rename for unlink() and rename().
      
         - Set i_blocks so that du can get some information about usage.
      
         - Fix xattr handlers to return the right amount of data and to not
           overflow buffers.
      
         - Implement getting/setting raw AFS and YFS ACLs as xattrs"
      
      * tag 'afs-next-20190507' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs:
        afs: Implement YFS ACL setting
        afs: Get YFS ACLs and information through xattrs
        afs: implement acl setting
        afs: Get an AFS3 ACL as an xattr
        afs: Fix getting the afs.fid xattr
        afs: Fix the afs.cell and afs.volume xattr handlers
        afs: Calculate i_blocks based on file size
        afs: Log more information for "kAFS: AFS vnode with undefined type\n"
        afs: Provide mount-time configurable byte-range file locking emulation
        afs: Add more tracepoints
        afs: Implement sillyrename for unlink and rename
        afs: Add directory reload tracepoint
        afs: Handle lock rpc ops failing on a file that got deleted
        afs: Improve dir check failure reports
        afs: Add file locking tracepoints
        afs: Further fix file locking
        afs: Fix AFS file locking to allow fine grained locks
        afs: Calculate lock extend timer from set/extend reply reception
        afs: Split wait from afs_make_call()
      e5fef2a9
    • L
      Merge branch 'work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs · 149e703c
      Linus Torvalds 提交于
      Pull misc vfs updates from Al Viro:
       "Assorted stuff, with no common topic whatsoever..."
      
      * 'work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs:
        libfs: document simple_get_link()
        Documentation/filesystems/Locking: fix ->get_link() prototype
        Documentation/filesystems/vfs.txt: document how ->i_link works
        Documentation/filesystems/vfs.txt: remove bogus "Last updated" date
        fs: use timespec64 in relatime_need_update
        fs/block_dev.c: remove unused include
      149e703c
    • L
      Merge branch 'work.file' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs · d897166d
      Linus Torvalds 提交于
      Pull vfs 'struct file' related updates from Al Viro:
       "A bit more of 'this fget() would be better off as fdget()'
        whack-a-mole + a couple of ->f_count-related cleanups"
      
      * 'work.file' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs:
        media: switch to fdget()
        drm_syncobj: switch to fdget()
        amdgpu: switch to fdget()
        don't open-code file_count()
        fs: drop unused fput_atomic definition
      d897166d
    • L
      Merge branch 'work.mount-syscalls' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs · 40091325
      Linus Torvalds 提交于
      Pull mount ABI updates from Al Viro:
       "The syscalls themselves, finally.
      
        That's not all there is to that stuff, but switching individual
        filesystems to new methods is fortunately independent from everything
        else, so e.g. NFS series can go through NFS tree, etc.
      
        As those conversions get done, we'll be finally able to get rid of a
        bunch of duplication in fs/super.c introduced in the beginning of the
        entire thing. I expect that to be finished in the next window..."
      
      * 'work.mount-syscalls' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs:
        vfs: Add a sample program for the new mount API
        vfs: syscall: Add fspick() to select a superblock for reconfiguration
        vfs: syscall: Add fsmount() to create a mount for a superblock
        vfs: syscall: Add fsconfig() for configuring and managing a context
        vfs: Implement logging through fs_context
        vfs: syscall: Add fsopen() to prepare for superblock creation
        Make anon_inodes unconditional
        teach move_mount(2) to work with OPEN_TREE_CLONE
        vfs: syscall: Add move_mount(2) to move mounts around
        vfs: syscall: Add open_tree(2) to reference or clone a mount
      40091325
    • L
      Merge branch 'work.dcache' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs · d27fb65b
      Linus Torvalds 提交于
      Pull misc dcache updates from Al Viro:
       "Most of this pile is putting name length into struct name_snapshot and
        making use of it.
      
        The beginning of this series ("ovl_lookup_real_one(): don't bother
        with strlen()") ought to have been split in two (separate switch of
        name_snapshot to struct qstr from overlayfs reaping the trivial
        benefits of that), but I wanted to avoid a rebase - by the time I'd
        spotted that it was (a) in -next and (b) close to 5.1-final ;-/"
      
      * 'work.dcache' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs:
        audit_compare_dname_path(): switch to const struct qstr *
        audit_update_watch(): switch to const struct qstr *
        inotify_handle_event(): don't bother with strlen()
        fsnotify: switch send_to_group() and ->handle_event to const struct qstr *
        fsnotify(): switch to passing const struct qstr * for file_name
        switch fsnotify_move() to passing const struct qstr * for old_name
        ovl_lookup_real_one(): don't bother with strlen()
        sysv: bury the broken "quietly truncate the long filenames" logics
        nsfs: unobfuscate
        unexport d_alloc_pseudo()
      d27fb65b
    • L
      Merge branch 'parisc-5.2-1' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux · d3511f53
      Linus Torvalds 提交于
      Pull parisc updates from Helge Deller:
       "Many great new features, fixes and optimizations, including:
      
         - Convert page table updates to use per-pagetable spinlocks which
           overall improves performance on SMP machines a lot, by Mikulas
           Patocka
      
         - Kernel debugger (KGDB) support, by Sven Schnelle
      
         - KPROBES support, by Sven Schnelle
      
         - Lots of TLB lock/flush improvements, by Dave Anglin
      
         - Drop DISCONTIGMEM and switch to SPARSEMEM
      
         - Added JUMP_LABEL, branch runtime-patching support
      
         - Lots of other small speedups and cleanups, e.g. for QEMU, stack
           randomization, avoidance of name clashes, documentation updates,
           etc ..."
      
      * 'parisc-5.2-1' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux: (28 commits)
        parisc: Add static branch and JUMP_LABEL feature
        parisc: Use PA_ASM_LEVEL in boot code
        parisc: Rename LEVEL to PA_ASM_LEVEL to avoid name clash with DRBD code
        parisc: Update huge TLB page support to use per-pagetable spinlock
        parisc: Use per-pagetable spinlock
        parisc: Allow live-patching of __meminit functions
        parisc: Add memory barrier to asm pdc and sync instructions
        parisc: Add memory clobber to TLB purges
        parisc: Use ldcw instruction for SMP spinlock release barrier
        parisc: Remove lock code to serialize TLB operations in pacache.S
        parisc: Switch from DISCONTIGMEM to SPARSEMEM
        parisc: enable wide mode early
        parisc: update feature lists
        parisc: Show n/a if product number not available
        parisc: remove unused flags parameter in __patch_text()
        doc: update kprobes supported architecture list
        parisc: Implement kretprobes
        parisc: remove kprobes.h from generic-y
        parisc: Implement kprobes
        parisc: add functions required by KPROBE_EVENTS
        ...
      d3511f53
    • L
      Merge tag 'audit-pr-20190507' of git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/audit · 02aff8db
      Linus Torvalds 提交于
      Pull audit updates from Paul Moore:
       "We've got a reasonably broad set of audit patches for the v5.2 merge
        window, the highlights are below:
      
         - The biggest change, and the source of all the arch/* changes, is
           the patchset from Dmitry to help enable some of the work he is
           doing around PTRACE_GET_SYSCALL_INFO.
      
           To be honest, including this in the audit tree is a bit of a
           stretch, but it does help move audit a little further along towards
           proper syscall auditing for all arches, and everyone else seemed to
           agree that audit was a "good" spot for this to land (or maybe they
           just didn't want to merge it? dunno.).
      
         - We can now audit time/NTP adjustments.
      
         - We continue the work to connect associated audit records into a
           single event"
      
      * tag 'audit-pr-20190507' of git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/audit: (21 commits)
        audit: fix a memory leak bug
        ntp: Audit NTP parameters adjustment
        timekeeping: Audit clock adjustments
        audit: purge unnecessary list_empty calls
        audit: link integrity evm_write_xattrs record to syscall event
        syscall_get_arch: add "struct task_struct *" argument
        unicore32: define syscall_get_arch()
        Move EM_UNICORE to uapi/linux/elf-em.h
        nios2: define syscall_get_arch()
        nds32: define syscall_get_arch()
        Move EM_NDS32 to uapi/linux/elf-em.h
        m68k: define syscall_get_arch()
        hexagon: define syscall_get_arch()
        Move EM_HEXAGON to uapi/linux/elf-em.h
        h8300: define syscall_get_arch()
        c6x: define syscall_get_arch()
        arc: define syscall_get_arch()
        Move EM_ARCOMPACT and EM_ARCV2 to uapi/linux/elf-em.h
        audit: Make audit_log_cap and audit_copy_inode static
        audit: connect LOGIN record to its syscall record
        ...
      02aff8db
    • L
      Merge tag 'selinux-pr-20190507' of git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/selinux · f72dae20
      Linus Torvalds 提交于
      Pull selinux updates from Paul Moore:
       "We've got a few SELinux patches for the v5.2 merge window, the
        highlights are below:
      
         - Add LSM hooks, and the SELinux implementation, for proper labeling
           of kernfs. While we are only including the SELinux implementation
           here, the rest of the LSM folks have given the hooks a thumbs-up.
      
         - Update the SELinux mdp (Make Dummy Policy) script to actually work
           on a modern system.
      
         - Disallow userspace to change the LSM credentials via
           /proc/self/attr when the task's credentials are already overridden.
      
           The change was made in procfs because all the LSM folks agreed this
           was the Right Thing To Do and duplicating it across each LSM was
           going to be annoying"
      
      * tag 'selinux-pr-20190507' of git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/selinux:
        proc: prevent changes to overridden credentials
        selinux: Check address length before reading address family
        kernfs: fix xattr name handling in LSM helpers
        MAINTAINERS: update SELinux file patterns
        selinux: avoid uninitialized variable warning
        selinux: remove useless assignments
        LSM: lsm_hooks.h - fix missing colon in docstring
        selinux: Make selinux_kernfs_init_security static
        kernfs: initialize security of newly created nodes
        selinux: implement the kernfs_init_security hook
        LSM: add new hook for kernfs node initialization
        kernfs: use simple_xattrs for security attributes
        selinux: try security xattr after genfs for kernfs filesystems
        kernfs: do not alloc iattrs in kernfs_xattr_get
        kernfs: clean up struct kernfs_iattrs
        scripts/selinux: fix build
        selinux: use kernel linux/socket.h for genheaders and mdp
        scripts/selinux: modernize mdp
      f72dae20
    • L
      Merge branch 'stable/for-linus-5.2' of git://git.kernel.org/pub/scm/linux/kernel/git/konrad/swiotlb · 498e8631
      Linus Torvalds 提交于
      Pull swiotlb updates from Konrad Rzeszutek Wilk:
       "Cleanups in the swiotlb code and extra debugfs knobs to help with the
        field diagnostics"
      
      * 'stable/for-linus-5.2' of git://git.kernel.org/pub/scm/linux/kernel/git/konrad/swiotlb:
        swiotlb-xen: ensure we have a single callsite for xen_dma_map_page
        swiotlb-xen: simplify the DMA sync method implementations
        swiotlb-xen: use ->map_page to implement ->map_sg
        swiotlb-xen: make instances match their method names
        swiotlb: save io_tlb_used to local variable before leaving critical section
        swiotlb: dump used and total slots when swiotlb buffer is full
      498e8631
    • L
      Merge tag 'for-5.2/libata-20190507' of git://git.kernel.dk/linux-block · e4eaa9ef
      Linus Torvalds 提交于
      Pull libata updates from Jens Axboe:
       "Just two minor fixes queued up for 5.2, adding support for two
        different platforms to ahci"
      
      * tag 'for-5.2/libata-20190507' of git://git.kernel.dk/linux-block:
        ahci: qoriq: add ls1028a platforms support
        ahci: qoriq: add lx2160 platforms support
      e4eaa9ef