1. 21 12月, 2016 3 次提交
    • L
      Merge tag 'doc-4.10-3' of git://git.lwn.net/linux · 1351522b
      Linus Torvalds 提交于
      Pull documentation fix from Jonathan Corbet:
       "A single fix for the build system.
      
        It would appear that the docutils developers, in their wisdom, broke
        the API in the 0.13 release. This fix detects the breakage and allows
        the docs to be built with both the old and new versions"
      
      * tag 'doc-4.10-3' of git://git.lwn.net/linux:
        docs: sphinx-extensions: make rstFlatTable work with docutils 0.13
      1351522b
    • L
      Merge tag 'microblaze-4.10-rc1' of git://git.monstr.eu/linux-2.6-microblaze · d5379e5e
      Linus Torvalds 提交于
      Pull arch/microblaze updates from Michal Simek:
      
       - wire-up new syscalls
      
       - add new codes and fpga families
      
       - fix a return value
      
      * tag 'microblaze-4.10-rc1' of git://git.monstr.eu/linux-2.6-microblaze:
        microblaze: Add new fpga families
        microblaze: Add missing release version code v9.6 and v10
        microblaze: Add missing syscalls
        microblaze: Fix return value from xilinx_timer_init
      d5379e5e
    • L
      Merge tag 'xtensa-20161219' of git://github.com/jcmvbkbc/linux-xtensa · ec92b88c
      Linus Torvalds 提交于
      Pull Xtensa updates from Max Filippov:
      
       - enable HAVE_DMA_CONTIGUOUS, configure shared DMA pool reservation in
         kc705 DTS
      
       - update xtensa DMA-related Documentation/features entries
      
       - clean up arch/xtensa/kernel/setup.c: move S32C1I self-test out of it,
         remove unused declarations, fix screen_info definition
      
      * tag 'xtensa-20161219' of git://github.com/jcmvbkbc/linux-xtensa:
        xtensa: update DMA-related Documentation/features entries
        xtensa: configure shared DMA pool reservation in kc705 DTS
        xtensa: enable HAVE_DMA_CONTIGUOUS
        xtensa: move S32C1I self-test to a separate file
        xtensa: fix screen_info, clean up unused declarations in setup.c
      ec92b88c
  2. 20 12月, 2016 4 次提交
    • L
      Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs · e93b1cc8
      Linus Torvalds 提交于
      Pull quota, fsnotify and ext2 updates from Jan Kara:
       "Changes to locking of some quota operations from dedicated quota mutex
        to s_umount semaphore, a fsnotify fix and a simple ext2 fix"
      
      * 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs:
        quota: Fix bogus warning in dquot_disable()
        fsnotify: Fix possible use-after-free in inode iteration on umount
        ext2: reject inodes with negative size
        quota: Remove dqonoff_mutex
        ocfs2: Use s_umount for quota recovery protection
        quota: Remove dqonoff_mutex from dquot_scan_active()
        ocfs2: Protect periodic quota syncing with s_umount semaphore
        quota: Use s_umount protection for quota operations
        quota: Hold s_umount in exclusive mode when enabling / disabling quotas
        fs: Provide function to get superblock with exclusive s_umount
      e93b1cc8
    • L
      Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm · 45d36906
      Linus Torvalds 提交于
      Pull KVM fixes from Paolo Bonzini:
       "Early fixes for x86.
      
        Instead of the (botched) revert, the lockdep/might_sleep splat has a
        real fix provided by Andrea"
      
      * tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm:
        kvm: nVMX: Allow L1 to intercept software exceptions (#BP and #OF)
        kvm: take srcu lock around kvm_steal_time_set_preempted()
        kvm: fix schedule in atomic in kvm_steal_time_set_preempted()
        KVM: hyperv: fix locking of struct kvm_hv fields
        KVM: x86: Expose Intel AVX512IFMA/AVX512VBMI/SHA features to guest.
        kvm: nVMX: Correct a VMX instruction error code for VMPTRLD
      45d36906
    • L
      Merge branch 'dmi-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jdelvare/staging · f1e91324
      Linus Torvalds 提交于
      Pull dmi fix from Jean Delvare.
      
      * 'dmi-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jdelvare/staging:
        firmware: dmi_scan: Always show system identification string
      f1e91324
    • L
      Merge tag 'mfd-for-linus-4.10' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd · ac5a28b0
      Linus Torvalds 提交于
      Pull MFD updates from Lee Jones:
       "New Device Support
         - Add support for Ricoh RC5T619 PMIC to rn5t618
         - Add support for PM8821 PMIC to qcom-pm8xxx
      
        New Functionality:
         - Add support for GPIO to lpc_ich
         - Add support for GPADC to sun4i
         - Add ability for rk808 to shutdown
      
        Fix-ups:
         - Simplify/strip unnecessary code; tps65218, palmas, tps65217
         - Device Tree binding updates; tps65218, altera-a10sr
         - Provide/export device ID info; tps65218, axp20x-i2c, hi655x-pmic,
           fsl-imx25-tsadc, intel_soc_pmic_bxtwc
         - Use MFD API instead of of_platform_populate(); tps65218
         - Generalise name-space; pm8xxx
         - Supply/edit regmap configuration; axp20x, cs47l24-tables, axp20x
         - Enable compile testing; max77620, max77686, exynos-lpass,
           abx500-core
         - Coding style issues; wm8994-core, wm5102-tables
         - Supply endian support; syscon
         - Remove module support; ab3100-core, ab8500-debugfs, ab8500-gpadc,
           abx500-core
      
        Bug Fixes:
         - Fix ordering issues; wm8994
         - Fix dependencies (build-time/run-time); exynos_lpass, sun4i-gpadc
         - Fix compiler warnings; sun4i-gpadc
         - Fix leaks; mfd-core
         - Fix page fault during module unload; tps65217"
      
      * tag 'mfd-for-linus-4.10' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd: (49 commits)
        mfd: tps65217: Support an interrupt pin as the system wakeup
        mfd: tps65217: Make an interrupt handler simpler
        mfd: tps65217: Update register interrupt mask bits instead of writing operation
        mfd: tps65217: Specify the IRQ name
        mfd: tps65217: Fix page fault on unloading modules
        mfd: palmas: Remove redundant check in palmas_power_off
        mfd: arizona: Disable IRQs during driver remove
        mfd: pm8xxx: add support to pm8821
        mfd: intel-lpss: Try to enable Memory-Write-Invalidate
        mfd: rn5t618: Add Ricoh RC5T619 PMIC support
        mfd: axp20x: Add address extension registers for AXP806 regmap
        mfd: intel_soc_pmic_bxtwc: Fix a typo in MODULE_DEVICE_TABLE()
        mfd: core: Fix device reference leak in mfd_clone_cell
        mfd: bcm590xx: Simplify a test
        mfd: sun4i-gpadc: Select regmap-irq
        mfd: abx500-core: drop unused MODULE_ tags from non-modular code
        mfd: ab8500: make sysctrl explicitly non-modular
        mfd: ab8500-gpadc: Make it explicitly non-modular
        mfd: ab8500-debugfs: Make it explicitly non-modular
        mfd: ab8500-core: Make it explicitly non-modular
        ...
      ac5a28b0
  3. 19 12月, 2016 24 次提交
  4. 18 12月, 2016 9 次提交
    • T
      x86/tsc: Limit the adjust value further · 8c9b9d87
      Thomas Gleixner 提交于
      Adjust value 0x80000000 and other values larger than that render the TSC
      deadline timer disfunctional.
      
      We have not yet any information about this from Intel, but experimentation
      clearly proves that this is a 32/64 bit and sign extension issue.
      
      If adjust values larger than that are actually required, which might be the
      case for physical CPU hotplug, then we need to disable the deadline timer
      on the affected package/CPUs and use the local APIC timer instead.
      
      That requires some surgery in the APIC setup code, so we just limit the
      ADJUST register value into the known to work range for now and revisit this
      when Intel comes forth with proper information.
      Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
      Cc: Roland Scheidegger <rscheidegger_lists@hispeed.ch>
      Cc: Bruce Schlobohm <bruce.schlobohm@intel.com>
      Cc: Kevin Stanton <kevin.b.stanton@intel.com>
      Cc: Peter Zijlstra <peterz@infradead.org>
      Cc: Borislav Petkov <bp@alien8.de>
      8c9b9d87
    • T
      x86/tsc: Annotate printouts as firmware bug · 16588f65
      Thomas Gleixner 提交于
      Make it more obvious that the BIOS is screwed up.
      Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
      Cc: Roland Scheidegger <rscheidegger_lists@hispeed.ch>
      Cc: Bruce Schlobohm <bruce.schlobohm@intel.com>
      Cc: Kevin Stanton <kevin.b.stanton@intel.com>
      Cc: Peter Zijlstra <peterz@infradead.org>
      Cc: Borislav Petkov <bp@alien8.de>
      16588f65
    • K
      x86/floppy: Use designated initializers · ffc7dc8d
      Kees Cook 提交于
      Prepare to mark sensitive kernel structures for randomization by making
      sure they're using designated initializers. These were identified during
      allyesconfig builds of x86, arm, and arm64, with most initializer fixes
      extracted from grsecurity.
      Signed-off-by: NKees Cook <keescook@chromium.org>
      Cc: Linus Torvalds <torvalds@linux-foundation.org>
      Cc: Peter Zijlstra <peterz@infradead.org>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Link: http://lkml.kernel.org/r/20161217213705.GA1248@beastSigned-off-by: NIngo Molnar <mingo@kernel.org>
      ffc7dc8d
    • L
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net · 52f40e9d
      Linus Torvalds 提交于
      Pull networking fixes and cleanups from David Miller:
      
       1) Revert bogus nla_ok() change, from Alexey Dobriyan.
      
       2) Various bpf validator fixes from Daniel Borkmann.
      
       3) Add some necessary SET_NETDEV_DEV() calls to hsis_femac and hip04
          drivers, from Dongpo Li.
      
       4) Several ethtool ksettings conversions from Philippe Reynes.
      
       5) Fix bugs in inet port management wrt. soreuseport, from Tom Herbert.
      
       6) XDP support for virtio_net, from John Fastabend.
      
       7) Fix NAT handling within a vrf, from David Ahern.
      
       8) Endianness fixes in dpaa_eth driver, from Claudiu Manoil
      
      * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net: (63 commits)
        net: mv643xx_eth: fix build failure
        isdn: Constify some function parameters
        mlxsw: spectrum: Mark split ports as such
        cgroup: Fix CGROUP_BPF config
        qed: fix old-style function definition
        net: ipv6: check route protocol when deleting routes
        r6040: move spinlock in r6040_close as SOFTIRQ-unsafe lock order detected
        irda: w83977af_ir: cleanup an indent issue
        net: sfc: use new api ethtool_{get|set}_link_ksettings
        net: davicom: dm9000: use new api ethtool_{get|set}_link_ksettings
        net: cirrus: ep93xx: use new api ethtool_{get|set}_link_ksettings
        net: chelsio: cxgb3: use new api ethtool_{get|set}_link_ksettings
        net: chelsio: cxgb2: use new api ethtool_{get|set}_link_ksettings
        bpf: fix mark_reg_unknown_value for spilled regs on map value marking
        bpf: fix overflow in prog accounting
        bpf: dynamically allocate digest scratch buffer
        gtp: Fix initialization of Flags octet in GTPv1 header
        gtp: gtp_check_src_ms_ipv4() always return success
        net/x25: use designated initializers
        isdn: use designated initializers
        ...
      52f40e9d
    • L
      Merge uncontroversial parts of branch 'readlink' of... · 231753ef
      Linus Torvalds 提交于
      Merge uncontroversial parts of branch 'readlink' of git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs
      
      Pull partial readlink cleanups from Miklos Szeredi.
      
      This is the uncontroversial part of the readlink cleanup patch-set that
      simplifies the default readlink handling.
      
      Miklos and Al are still discussing the rest of the series.
      
      * git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs:
        vfs: make generic_readlink() static
        vfs: remove ".readlink = generic_readlink" assignments
        vfs: default to generic_readlink()
        vfs: replace calling i_op->readlink with vfs_readlink()
        proc/self: use generic_readlink
        ecryptfs: use vfs_get_link()
        bad_inode: add missing i_op initializers
      231753ef
    • S
      net: mv643xx_eth: fix build failure · 3e3397e7
      Sudip Mukherjee 提交于
      The build of sparc allmodconfig fails with the error:
      "of_irq_to_resource" [drivers/net/ethernet/marvell/mv643xx_eth.ko]
      	undefined!
      
      of_irq_to_resource() is defined when CONFIG_OF_IRQ is defined. And also
      CONFIG_OF_IRQ can only be defined if CONFIG_IRQ is defined. So we can
      safely use #if defined(CONFIG_OF_IRQ) in the code.
      Signed-off-by: NSudip Mukherjee <sudip.mukherjee@codethink.co.uk>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      3e3397e7
    • E
      isdn: Constify some function parameters · a6b3c483
      Emese Revfy 提交于
      The coming initify gcc plugin expects const pointer types, and caught
      some __printf arguments that weren't const yet. This fixes those.
      Signed-off-by: NEmese Revfy <re.emese@gmail.com>
      [kees: expanded commit message]
      Signed-off-by: NKees Cook <keescook@chromium.org>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      a6b3c483
    • I
      mlxsw: spectrum: Mark split ports as such · 9a60c907
      Ido Schimmel 提交于
      When a port is split we should mark it as such, as otherwise the split
      ports aren't renamed correctly (e.g. sw1p3 -> sw1p3s1) and the unsplit
      operation fails:
      
      $ devlink port split sw1p3 count 4
      $ devlink port unsplit eth0
      devlink answers: Invalid argument
      [  598.565307] mlxsw_spectrum 0000:03:00.0 eth0: Port wasn't split
      
      Fixes: 67963a33 ("mlxsw: Make devlink port instances independent of spectrum/switchx2 port instances")
      Signed-off-by: NIdo Schimmel <idosch@mellanox.com>
      Reported-by: NTamir Winetroub <tamirw@mellanox.com>
      Reviewed-by: NElad Raz <eladr@mellanox.com>
      Tested-by: NTamir Winetroub <tamirw@mellanox.com>
      Signed-off-by: NJiri Pirko <jiri@mellanox.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      9a60c907
    • L
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs · 0110c350
      Linus Torvalds 提交于
      Pull more vfs updates from Al Viro:
       "In this pile:
      
         - autofs-namespace series
         - dedupe stuff
         - more struct path constification"
      
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs: (40 commits)
        ocfs2: implement the VFS clone_range, copy_range, and dedupe_range features
        ocfs2: charge quota for reflinked blocks
        ocfs2: fix bad pointer cast
        ocfs2: always unlock when completing dio writes
        ocfs2: don't eat io errors during _dio_end_io_write
        ocfs2: budget for extent tree splits when adding refcount flag
        ocfs2: prohibit refcounted swapfiles
        ocfs2: add newlines to some error messages
        ocfs2: convert inode refcount test to a helper
        simple_write_end(): don't zero in short copy into uptodate
        exofs: don't mess with simple_write_{begin,end}
        9p: saner ->write_end() on failing copy into non-uptodate page
        fix gfs2_stuffed_write_end() on short copies
        fix ceph_write_end()
        nfs_write_end(): fix handling of short copies
        vfs: refactor clone/dedupe_file_range common functions
        fs: try to clone files first in vfs_copy_file_range
        vfs: misc struct path constification
        namespace.c: constify struct path passed to a bunch of primitives
        quota: constify struct path in quota_on
        ...
      0110c350