1. 04 Feb, 2019 4 commits
    • Carlos Henrique Lima Melara's avatar
      staging: mt7621-eth/ethtool.c: Correction of SPDX license identifier · 7cbc1968
      Carlos Henrique Lima Melara authored
      This patch fixes the checkpatch.p1 warning:
      
      WARNING: Missing or malformed SPDX-License-Identifier tag in line 1
      +/*
      
      It includes the SPDX expression for GPL-2.0 according to the text license
      in the top of the C file.
      Signed-off-by: default avatarCarlos Henrique Lima Melara <charlesmelara@outlook.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      7cbc1968
    • Masahiro Yamada's avatar
      staging: prefix header search paths with $(srctree)/ · 2fa49589
      Masahiro Yamada authored
      Currently, the Kbuild core manipulates header search paths in a crazy
      way [1].
      
      To fix this mess, I want all Makefiles to add explicit $(srctree)/ to
      the search paths in the srctree. Some Makefiles are already written in
      that way, but not all. The goal of this work is to make the notation
      consistent, and finally get rid of the gross hacks.
      
      Having whitespaces after -I does not matter since commit 48f6e3cf
      ("kbuild: do not drop -I without parameter").
      
      [1]: https://patchwork.kernel.org/patch/9632347/Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      2fa49589
    • Sandesh Kenjana Ashok's avatar
      staging: comedi: comedi_fops.c: Remove redundant blank line · ee593133
      Sandesh Kenjana Ashok authored
      Removed redunant blank line. Issue found by checkpatch.
      Signed-off-by: default avatarSandesh Kenjana Ashok <kas.sandesh@gmail.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      ee593133
    • Greg Kroah-Hartman's avatar
      Merge tag 'iio-for-5.1a' of... · 1dcc3ed4
      Greg Kroah-Hartman authored
      Merge tag 'iio-for-5.1a' of git://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio into staging-next
      
      Jonathan writes:
      
      First set of new device support, features and cleanup for IIO in the 5.1 cycle
      
      A number of interesting new devices supported plus a good set of staging
      cleanup including one graduation and one drop.
      
      New device support
      * ad56886
        - Add support for AD5674R/AD5679R with some minor driver changes to support
          more channels.
      * ad7768
        - New driver and dt bindings for this 24 bit ADC.
      * max44009
        - New driver and dt bindings for this ambient light sensor.
      * mpu6050
        - Support the ICM 20602 IMU. Minor tweaks due to slightly different
          register map.
      * NPCM adc
        - New driver and dt bindings for this BMC ADC.
      * Sensiron SGP30
        - Modifiers for ethanol and H2.
        - New driver and dt bindings.
        - Follow patch added self cleaning support.
      * Sensiron SPS30
        - New channel type for mass concentration.
        - New driver and bindings.
        - Minor tidy up patch followed (drop fmt specifier as unused)
      * st_pressure
        - lps22hh support. ID plus information structures and dt bindings.
      * ti-ads124s08
        - Add binding doc and driver.
      
      Staging graduations
      * ad7606 driver and bindings.
      
      Staging drops
      * ad7152 CDC driver dropped.  This part is near EoL and no one is known
        to be using it.  If anyone surfaces obviously we can bring the driver
        back.  If not, good to drop it to avoid wasting anyone's time cleaning
        it up.
      
      New features
      * bme680
        - DT support and bindings doc.
      * isl29018
        - Add regulator for VCC.
      * mag3110
        - Add regulators for supplies.
      * meson-saradc
        - Support the temperature sensors of more SoCs.
      * mma8452
        - Add regulators for power suplies and binding docs to reflect them.
      * st-accel
        - Support the undocumented but it seems fairly common _ONT ACPI method
          to specify orientation of the sensor.
      
      Cleanup, minor fixes and fixes for staging driver that have been broken a
      long time
      * ad5933
        - Drop platform data alternative to specifying the reference voltage
          using a regulator.
        - Use the clock framework to contorl the reference clock.
        - Add a DT binding doc to cover the defacto binding.
      * ad7280a
        - Split up some big functions to improve readability.
      * ad7606
        - Allow for timeout if interrupt never occurs.
        - Use devm functions to simplify probe and remove.
        - Use the find_closest macro to avoid need for precise values from
          userspace.
        - Add missing vendor prefixes for various DT properties. Note the
          driver is in staging still and there are no known devicetrees.
        - Add explict OF device ID table.
        - Simplify the Kconfig choices
        - Change to a threaded IRQ.
        - SPDX and simple stype fixes.
      * ad7816
        - Drop unnecessary variable init.
      * ad9523
        - Check a return value that was ignored.
      * ad9833
        - Drop platform data.  It was just setting most values to the hardware
          defaults.
        - Use the clock framework to provide the input clock.
      * adt7316 (lots of staging cleanup)
        - Fix some wrong register / bit definitions
        - Invert the logic of the check for an ldac pin so it actually makes sense.
        - Read the right register to get internal vref settings
        - Allow adt751x chips to use the internal vref for all DAC channels rather
          than a subset.
        - Remove dac vref bypass control from parts that don't have one.
        - Make the store DAC update mode function consistent with the show one.
        - Fix some spellings and other minor tidy up.
        - Avoid passing irq numbers around by putting all the irq logic in
          one place.
        - Fix an issue with the resolution of DAC control.
        - Fix support of the high resolution DAC mode (for temp proportional output)
          where supported.
        - Fix DAC read and write calculations.
      * st_lsm6dsx
        - Drop an unused variable (set but not read)
      * xilinx-xadc
        - Check an unhandled return value.
      
      * tag 'iio-for-5.1a' of git://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio: (67 commits)
        iio: chemical: sps30: remove printk format specifier
        staging: iio: frequency: ad9833: Load clock using clock framework
        staging: iio: frequency: ad9833: Get frequency value statically
        dt-bindings: iio: light: Add max44009
        iio: light: add driver for MAX44009
        dt-bindings: iio: adc: Add docs for AD7768-1
        iio: adc: Add AD7768-1 ADC basic support
        staging: iio: cdc: ad7152: remove driver completely
        iio: imu: mpu6050: Add support for the ICM 20602 IMU
        dt-bindings: iio: imu: add icm20602 bindings to mpu6050
        dt-bindings: iio: pressure: add LPS22HH bindings
        iio: st_accel: use ACPI orientation data
        iio: adc: add NPCM ADC driver
        dt-binding: iio: add NPCM ADC documentation
        iio: chemical: sps30: allow changing self cleaning period
        dt-bindings: iio: chemical: Add bindings for bme680
        iio: chemical: bme680: Add device-tree support
        iio:st_pressure:initial lps22hh sensor support
        iio: accell: mma8452: add vdd/vddio regulator operation support
        dt-bindings: iio: accel: mma8452: add power supplies property
        ...
      1dcc3ed4
  2. 02 Feb, 2019 12 commits
  3. 30 Jan, 2019 13 commits
  4. 28 Jan, 2019 1 commit
  5. 27 Jan, 2019 10 commits
    • Linus Torvalds's avatar
      Linux 5.0-rc4 · f17b5f06
      Linus Torvalds authored
      f17b5f06
    • Linus Torvalds's avatar
      Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 8a5f0605
      Linus Torvalds authored
      Pull x86 fixes from Thomas Gleixner:
       "A set of fixes for x86:
      
         - Fix the swapped outb() parameters in the KASLR code
      
         - Fix the PKEY handling at fork which missed to preserve the pkey
           state for the child. Comes with a test case to validate that.
      
         - Fix the entry stack handling for XEN PV to respect that XEN PV
           systems enter the function already on the current thread stack and
           not on the trampoline.
      
         - Fix kexec load failure caused by using a stale value when the
           kexec_buf structure is reused for subsequent allocations.
      
         - Fix a bogus sizeof() in the memory encryption code
      
         - Enforce PCI dependency for the Intel Low Power Subsystem
      
         - Enforce PCI_LOCKLESS_CONFIG when PCI is enabled"
      
      * 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86/Kconfig: Select PCI_LOCKLESS_CONFIG if PCI is enabled
        x86/entry/64/compat: Fix stack switching for XEN PV
        x86/kexec: Fix a kexec_file_load() failure
        x86/mm/mem_encrypt: Fix erroneous sizeof()
        x86/selftests/pkeys: Fork() to check for state being preserved
        x86/pkeys: Properly copy pkey state at fork()
        x86/kaslr: Fix incorrect i8254 outb() parameters
        x86/intel/lpss: Make PCI dependency explicit
      8a5f0605
    • Linus Torvalds's avatar
      Merge branch 'x86-timers-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 351e1aa6
      Linus Torvalds authored
      Pull x86 timer fixes from Thomas Gleixner:
       "Two commits which were missed to be sent during the merge window.
      
         - The TSC calibration fix turns out to be more urgent as recent
           Skylake-X systems seem to have massive trouble with calibration
           disturbance. This should go back into stable for that reason and it
           the risk of breakage is rather low.
      
         - Drop an unused define"
      
      * 'x86-timers-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86/hpet: Remove unused FSEC_PER_NSEC define
        x86/tsc: Make calibration refinement more robust
      351e1aa6
    • Linus Torvalds's avatar
      Merge branch 'timers-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · f907bb4c
      Linus Torvalds authored
      Pull timer fix from Thomas Glexiner:
       "A single regression fix to address the unintended breakage of posix
        cpu timers.
      
        This is caused by a new sanity check in the common code, which fails
        for posix cpu timers under certain conditions because the posix cpu
        timer code never updates the variable which is checked"
      
      * 'timers-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        posix-cpu-timers: Unbreak timer rearming
      f907bb4c
    • Linus Torvalds's avatar
      Merge branch 'locking-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 98810518
      Linus Torvalds authored
      Pull locking fixes from Thomas Gleixner:
       "A small series of fixes which all address possible missed wakeups:
      
         - Document and fix the wakeup ordering of wake_q
      
         - Add the missing barrier in rcuwait_wake_up(), which was documented
           in the comment but missing in the code
      
         - Fix the possible missed wakeups in the rwsem and futex code"
      
      * 'locking-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        locking/rwsem: Fix (possible) missed wakeup
        futex: Fix (possible) missed wakeup
        sched/wake_q: Fix wakeup ordering for wake_q
        sched/wake_q: Document wake_q_add()
        sched/wait: Fix rcuwait_wake_up() ordering
      98810518
    • Linus Torvalds's avatar
      Merge branch 'irq-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 0d484375
      Linus Torvalds authored
      Pull irq fixes from Thomas Gleixner:
       "A small set of fixes for the interrupt subsystem:
      
         - Fix a double increment in the irq descriptor allocator which
           resulted in a sanity check only being done for every second
           affinity mask
      
         - Add a missing device tree translation in the stm32-exti driver.
           Without that the interrupt association is completely wrong.
      
         - Initialize the mutex in the GIC-V3 MBI driver
      
         - Fix the alignment for aliasing devices in the GIC-V3-ITS driver so
           multi MSI allocations work correctly
      
         - Ensure that the initial affinity of a interrupt is not empty at
           startup time.
      
         - Drop bogus include in the madera irq chip driver
      
         - Fix KernelDoc regression"
      
      * 'irq-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        irqchip/gic-v3-its: Align PCI Multi-MSI allocation on their size
        genirq/irqdesc: Fix double increment in alloc_descs()
        genirq: Fix the kerneldoc comment for struct irq_affinity_desc
        irqchip/madera: Drop GPIO includes
        irqchip/gic-v3-mbi: Fix uninitialized mbi_lock
        irqchip/stm32-exti: Add domain translate function
        genirq: Make sure the initial affinity is not empty
      0d484375
    • Linus Torvalds's avatar
      Merge tag 'edac_fix_for_5.0' of git://git.kernel.org/pub/scm/linux/kernel/git/bp/bp · 98354243
      Linus Torvalds authored
      Pull EDAC fix from Borislav Petkov:
       "Fix persistent register offsets of altera_edac, from Thor Thayer"
      
      * tag 'edac_fix_for_5.0' of git://git.kernel.org/pub/scm/linux/kernel/git/bp/bp:
        EDAC, altera: Fix S10 persistent register offset
      98354243
    • Linus Torvalds's avatar
      Merge tag 'for-linus-20190127' of git://git.kernel.dk/linux-block · 419967d5
      Linus Torvalds authored
      Pull block revert from Jens Axboe:
       "Silly error snuck into a patch from the last series, let's do a revert
        to avoid a potential use-after-free"
      
      * tag 'for-linus-20190127' of git://git.kernel.dk/linux-block:
        Revert "block: cover another queue enter recursion via BIO_QUEUE_ENTERED"
      419967d5
    • Linus Torvalds's avatar
      Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm · 1fc7f56d
      Linus Torvalds authored
      Pull KVM fixes from Paolo Bonzini:
       "Quite a few fixes for x86: nested virtualization save/restore, AMD
        nested virtualization and virtual APIC, 32-bit fixes, an important fix
        to restore operation on older processors, and a bunch of hyper-v
        bugfixes. Several are marked stable.
      
        There are also fixes for GCC warnings and for a GCC/objtool interaction"
      
      * tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm:
        KVM: x86: Mark expected switch fall-throughs
        KVM: x86: fix TRACE_INCLUDE_PATH and remove -I. header search paths
        KVM: selftests: check returned evmcs version range
        x86/kvm/hyper-v: nested_enable_evmcs() sets vmcs_version incorrectly
        KVM: VMX: Move vmx_vcpu_run()'s VM-Enter asm blob to a helper function
        kvm: selftests: Fix region overlap check in kvm_util
        kvm: vmx: fix some -Wmissing-prototypes warnings
        KVM: nSVM: clear events pending from svm_complete_interrupts() when exiting to L1
        svm: Fix AVIC incomplete IPI emulation
        svm: Add warning message for AVIC IPI invalid target
        KVM: x86: WARN_ONCE if sending a PV IPI returns a fatal error
        KVM: x86: Fix PV IPIs for 32-bit KVM host
        x86/kvm/hyper-v: recommend using eVMCS only when it is enabled
        x86/kvm/hyper-v: don't recommend doing reset via synthetic MSR
        kvm: x86/vmx: Use kzalloc for cached_vmcs12
        KVM: VMX: Use the correct field var when clearing VM_ENTRY_LOAD_IA32_PERF_GLOBAL_CTRL
        KVM: x86: Fix single-step debugging
        x86/kvm/hyper-v: don't announce GUEST IDLE MSR support
      1fc7f56d
    • Linus Torvalds's avatar
      Merge tag 'dma-mapping-5.0-2' of git://git.infradead.org/users/hch/dma-mapping · c180f1b0
      Linus Torvalds authored
      Pull dma-mapping fix from Christoph Hellwig:
       "Fix a xen-swiotlb regression on arm64"
      
      * tag 'dma-mapping-5.0-2' of git://git.infradead.org/users/hch/dma-mapping:
        arm64/xen: fix xen-swiotlb cache flushing
      c180f1b0