1. 18 Apr, 2018 29 commits
  2. 16 Apr, 2018 11 commits
    • Linus Torvalds's avatar
      Merge branch 'parisc-4.17-3' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux · a27fc142
      Linus Torvalds authored
      Pull parisc build fix from Helge Deller:
       "Fix build error because of missing binfmt_elf32.o file which is still
        mentioned in the Makefile"
      
      * 'parisc-4.17-3' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux:
        parisc: Fix missing binfmt_elf32.o build error
      a27fc142
    • Linus Torvalds's avatar
      Merge branch 'timers-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · d95c8844
      Linus Torvalds authored
      Pull missed timer updates from Thomas Gleixner:
       "This is a branch which got forgotten during the merge window, but it
        contains only fixes and hardware enablement. No fundamental changes.
      
         - Various fixes for the imx-tpm clocksource driver
      
         - A new timer driver for the NCPM7xx SoC family"
      
      * 'timers-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        clocksource/drivers/imx-tpm: Add different counter width support
        clocksource/drivers/imx-tpm: Correct some registers operation flow
        clocksource/drivers/imx-tpm: Fix typo of clock name
        dt-bindings: timer: tpm: fix typo of clock name
        clocksource/drivers/npcm: Add NPCM7xx timer driver
        dt-binding: timer: document NPCM7xx timer DT bindings
      d95c8844
    • Linus Torvalds's avatar
      Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm · e6d9bfde
      Linus Torvalds authored
      Pull kvm fixes from Paolo Bonzini:
       "Bug fixes, plus a new test case and the associated infrastructure for
        writing nested virtualization tests"
      
      * tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm:
        kvm: selftests: add vmx_tsc_adjust_test
        kvm: x86: move MSR_IA32_TSC handling to x86.c
        X86/KVM: Properly update 'tsc_offset' to represent the running guest
        kvm: selftests: add -std=gnu99 cflags
        x86: Add check for APIC access address for vmentry of L2 guests
        KVM: X86: fix incorrect reference of trace_kvm_pi_irte_update
        X86/KVM: Do not allow DISABLE_EXITS_MWAIT when LAPIC ARAT is not available
        kvm: selftests: fix spelling mistake: "divisable" and "divisible"
        X86/VMX: Disable VMX preemption timer if MWAIT is not intercepted
      e6d9bfde
    • Joerg Roedel's avatar
      x86/ldt: Fix support_pte_mask filtering in map_ldt_struct() · e6f39e87
      Joerg Roedel authored
      The |= operator will let us end up with an invalid PTE. Use
      the correct &= instead.
      
      [ The bug was also independently reported by Shuah Khan ]
      
      Fixes: fb43d6cb ('x86/mm: Do not auto-massage page protections')
      Acked-by: default avatarAndy Lutomirski <luto@kernel.org>
      Acked-by: default avatarDave Hansen <dave.hansen@linux.intel.com>
      Signed-off-by: default avatarJoerg Roedel <jroedel@suse.de>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      e6f39e87
    • Paolo Bonzini's avatar
      kvm: selftests: add vmx_tsc_adjust_test · d5edb7f8
      Paolo Bonzini authored
      The test checks the behavior of setting MSR_IA32_TSC in a nested guest,
      and the TSC_OFFSET VMCS field in general.  It also introduces the testing
      infrastructure for Intel nested virtualization.
      Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      d5edb7f8
    • Paolo Bonzini's avatar
      kvm: x86: move MSR_IA32_TSC handling to x86.c · dd259935
      Paolo Bonzini authored
      This is not specific to Intel/AMD anymore.  The TSC offset is available
      in vcpu->arch.tsc_offset.
      Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      dd259935
    • KarimAllah Ahmed's avatar
      X86/KVM: Properly update 'tsc_offset' to represent the running guest · e79f245d
      KarimAllah Ahmed authored
      Update 'tsc_offset' on vmentry/vmexit of L2 guests to ensure that it always
      captures the TSC_OFFSET of the running guest whether it is the L1 or L2
      guest.
      
      Cc: Paolo Bonzini <pbonzini@redhat.com>
      Cc: Radim Krčmář <rkrcmar@redhat.com>
      Cc: kvm@vger.kernel.org
      Cc: linux-kernel@vger.kernel.org
      Reviewed-by: default avatarJim Mattson <jmattson@google.com>
      Suggested-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      Signed-off-by: default avatarKarimAllah Ahmed <karahmed@amazon.de>
      [AMD changes, fix update_ia32_tsc_adjust_msr. - Paolo]
      Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      e79f245d
    • Linus Torvalds's avatar
      Linux 4.17-rc1 · 60cc43fc
      Linus Torvalds authored
      60cc43fc
    • Linus Torvalds's avatar
      Merge tag 'for-4.17-part2-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux · e37563bb
      Linus Torvalds authored
      Pull more btrfs updates from David Sterba:
       "We have queued a few more fixes (error handling, log replay,
        softlockup) and the rest is SPDX updates that touche almost all files
        so the diffstat is long"
      
      * tag 'for-4.17-part2-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux:
        btrfs: Only check first key for committed tree blocks
        btrfs: add SPDX header to Kconfig
        btrfs: replace GPL boilerplate by SPDX -- sources
        btrfs: replace GPL boilerplate by SPDX -- headers
        Btrfs: fix loss of prealloc extents past i_size after fsync log replay
        Btrfs: clean up resources during umount after trans is aborted
        btrfs: Fix possible softlock on single core machines
        Btrfs: bail out on error during replay_dir_deletes
        Btrfs: fix NULL pointer dereference in log_dir_items
      e37563bb
    • Linus Torvalds's avatar
      Merge tag '4.17-rc1SMB3-Fixes' of git://git.samba.org/sfrench/cifs-2.6 · 09c9b0ea
      Linus Torvalds authored
      Pull cifs fixes from Steve French:
       "SMB3 fixes, a few for stable, and some important cleanup work from
        Ronnie of the smb3 transport code"
      
      * tag '4.17-rc1SMB3-Fixes' of git://git.samba.org/sfrench/cifs-2.6:
        cifs: change validate_buf to validate_iov
        cifs: remove rfc1002 hardcoded constants from cifs_discard_remaining_data()
        cifs: Change SMB2_open to return an iov for the error parameter
        cifs: add resp_buf_size to the mid_q_entry structure
        smb3.11: replace a 4 with server->vals->header_preamble_size
        cifs: replace a 4 with server->vals->header_preamble_size
        cifs: add pdu_size to the TCP_Server_Info structure
        SMB311: Improve checking of negotiate security contexts
        SMB3: Fix length checking of SMB3.11 negotiate request
        CIFS: add ONCE flag for cifs_dbg type
        cifs: Use ULL suffix for 64-bit constant
        SMB3: Log at least once if tree connect fails during reconnect
        cifs: smb2pdu: Fix potential NULL pointer dereference
      09c9b0ea
    • Linus Torvalds's avatar
      Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi · f0d98d85
      Linus Torvalds authored
      Pull SCSI fixes from James Bottomley:
       "This is a set of minor (and safe changes) that didn't make the initial
        pull request plus some bug fixes.
      
        The status handling code is actually a running regression from the
        previous merge window which had an incomplete fix (now reverted) and
        most of the remaining bug fixes are for problems older than the
        current merge window"
      
      [ Side note: this merge also takes the base kernel git repository to 6+
        million objects for the first time. Technically we hit it a couple of
        merges ago already if you count all the tag objects, but now it
        reaches 6M+ objects reachable from HEAD.
      
        I was joking around that that's when I should switch to 5.0, because
        3.0 happened at the 2M mark, and 4.0 happened at 4M objects. But
        probably not, even if numerology is about as good a reason as any.
      
                                                                    - Linus ]
      
      * tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi:
        scsi: devinfo: Add Microsoft iSCSI target to 1024 sector blacklist
        scsi: cxgb4i: silence overflow warning in t4_uld_rx_handler()
        scsi: dpt_i2o: Use after free in I2ORESETCMD ioctl
        scsi: core: Make scsi_result_to_blk_status() recognize CONDITION MET
        scsi: core: Rename __scsi_error_from_host_byte() into scsi_result_to_blk_status()
        Revert "scsi: core: return BLK_STS_OK for DID_OK in __scsi_error_from_host_byte()"
        scsi: aacraid: Insure command thread is not recursively stopped
        scsi: qla2xxx: Correct setting of SAM_STAT_CHECK_CONDITION
        scsi: qla2xxx: correctly shift host byte
        scsi: qla2xxx: Fix race condition between iocb timeout and initialisation
        scsi: qla2xxx: Avoid double completion of abort command
        scsi: qla2xxx: Fix small memory leak in qla2x00_probe_one on probe failure
        scsi: scsi_dh: Don't look for NULL devices handlers by name
        scsi: core: remove redundant assignment to shost->use_blk_mq
      f0d98d85