31 May, 2019

24 commits

  • Based on 1 normalized pattern(s):

    this program is free software you can redistribute it and or modify
    it under the terms of the gnu general public license as published by
    the free software foundation either version 2 of the license or at
    your option any later version

    extracted by the scancode license scanner the SPDX license identifier

    GPL-2.0-or-later

    has been chosen to replace the boilerplate/reference in 3029 file(s).

    Signed-off-by: Thomas Gleixner
    Reviewed-by: Allison Randal
    Cc: linux-spdx@vger.kernel.org
    Link: https://lkml.kernel.org/r/20190527070032.746973796@linutronix.de
    Signed-off-by: Greg Kroah-Hartman

    Thomas Gleixner
     
  • Based on 1 normalized pattern(s):

    this program is free software you can redistribute it and or modify
    it under the terms of the gnu general public license as published by
    the free software foundation either version 2 of the license or at
    your option any later version you should have received a copy of the
    gnu general public license along with this program if not write to
    the free software foundation inc 675 mass ave cambridge ma 02139 usa

    extracted by the scancode license scanner the SPDX license identifier

    GPL-2.0-or-later

    has been chosen to replace the boilerplate/reference in 35 file(s).

    Signed-off-by: Thomas Gleixner
    Reviewed-by: Armijn Hemel
    Reviewed-by: Richard Fontana
    Reviewed-by: Allison Randal
    Cc: linux-spdx@vger.kernel.org
    Link: https://lkml.kernel.org/r/20190527070032.655028468@linutronix.de
    Signed-off-by: Greg Kroah-Hartman

    Thomas Gleixner
     
  • Based on 1 normalized pattern(s):

    this program is free software you can redistribute it and or modify
    it under the terms of the gnu general public license as published by
    the free software foundation either version 2 or at your option any
    later version this program is distributed in the hope that it will
    be useful but without any warranty without even the implied warranty
    of merchantability or fitness for a particular purpose see the gnu
    general public license for more details you should have received a
    copy of the gnu general public license along with this program if
    not write to the free software foundation inc 59 temple place suite
    330 boston ma 02111 1307 usa

    extracted by the scancode license scanner the SPDX license identifier

    GPL-2.0-or-later

    has been chosen to replace the boilerplate/reference in 42 file(s).

    Signed-off-by: Thomas Gleixner
    Reviewed-by: Richard Fontana
    Reviewed-by: Allison Randal
    Reviewed-by: Kate Stewart
    Cc: linux-spdx@vger.kernel.org
    Link: https://lkml.kernel.org/r/20190524100845.259718220@linutronix.de
    Signed-off-by: Greg Kroah-Hartman

    Thomas Gleixner
     
  • Based on 1 normalized pattern(s):

    licensed under the gpl 2 or later

    extracted by the scancode license scanner the SPDX license identifier

    GPL-2.0-or-later

    has been chosen to replace the boilerplate/reference in 82 file(s).

    Signed-off-by: Thomas Gleixner
    Reviewed-by: Allison Randal
    Reviewed-by: Kate Stewart
    Reviewed-by: Richard Fontana
    Cc: linux-spdx@vger.kernel.org
    Link: https://lkml.kernel.org/r/20190524100845.150836982@linutronix.de
    Signed-off-by: Greg Kroah-Hartman

    Thomas Gleixner
     
  • Based on 1 normalized pattern(s):

    this program is free software you can redistribute it and or modify
    it under the terms of the gnu general public license as published by
    the free software foundation either version 2 of the license or at
    your option any later version this program is distributed in the
    hope that it will be useful but without any warranty without even
    the implied warranty of merchantability or fitness for a particular
    purpose see the gnu general public license for more details you
    should have received a copy of the gnu general public license along
    with this kernel if not write to the free software foundation inc
    675 mass ave cambridge ma 02139 usa

    extracted by the scancode license scanner the SPDX license identifier

    GPL-2.0-or-later

    has been chosen to replace the boilerplate/reference in 1 file(s).

    Signed-off-by: Thomas Gleixner
    Reviewed-by: Allison Randal
    Reviewed-by: Kate Stewart
    Reviewed-by: Richard Fontana
    Cc: linux-spdx@vger.kernel.org
    Link: https://lkml.kernel.org/r/20190524100845.038326898@linutronix.de
    Signed-off-by: Greg Kroah-Hartman

    Thomas Gleixner
     
  • Based on 1 normalized pattern(s):

    this program is free software you can redistribute it and or modify
    it under the [therms] of the gnu general public license as published
    by the free software foundation either version 2 of the license or
    at your option any later version this program is distributed in the
    hope that it will be useful but without any warranty without even
    the implied warranty of merchantability or fitness for a particular
    purpose see the gnu general public license for more details you
    should have received a copy of the gnu general public license along
    with this program if not write to the free software foundation inc
    59 temple place suite 330 boston ma 02111 1307 usa

    extracted by the scancode license scanner the SPDX license identifier

    GPL-2.0-or-later

    has been chosen to replace the boilerplate/reference in 2 file(s).

    Signed-off-by: Thomas Gleixner
    Reviewed-by: Allison Randal
    Reviewed-by: Richard Fontana
    Cc: linux-spdx@vger.kernel.org
    Link: https://lkml.kernel.org/r/20190524100844.941364072@linutronix.de
    Signed-off-by: Greg Kroah-Hartman

    Thomas Gleixner
     
  • Based on 1 normalized pattern(s):

    this program is free software you can redistribute it and or modify
    it under the terms of the gnu general public license as published by
    the free software foundation either version 2 of the license or at
    your option any later version this program is distributed in the
    hope that it will be useful but without any warranty without even
    the implied warranty of merchantability or fitness for a particular
    purpose see the gnu general public license for more details you
    should have received a copy of the gnu general public license along
    with this program if not write to the free software foundation inc
    59 temple place suite 330 boston ma 021110 1307 usa

    extracted by the scancode license scanner the SPDX license identifier

    GPL-2.0-or-later

    has been chosen to replace the boilerplate/reference in 84 file(s).

    Signed-off-by: Thomas Gleixner
    Reviewed-by: Richard Fontana
    Reviewed-by: Allison Randal
    Reviewed-by: Kate Stewart
    Cc: linux-spdx@vger.kernel.org
    Link: https://lkml.kernel.org/r/20190524100844.756442981@linutronix.de
    Signed-off-by: Greg Kroah-Hartman

    Thomas Gleixner
     
  • Based on 1 normalized pattern(s):

    this program is free software you can redistribute it and or modify
    it under the therms of the gnu general public license as published
    by the free software foundation either version 2 of the license or
    at your option any later version this program is distributed in the
    hope that it will be useful but without any warranty without even
    the implied warranty of merchantability or fitness for a particular
    purpose see the gnu general public license for more details

    extracted by the scancode license scanner the SPDX license identifier

    GPL-2.0-or-later

    has been chosen to replace the boilerplate/reference in 1 file(s).

    Signed-off-by: Thomas Gleixner
    Reviewed-by: Richard Fontana
    Reviewed-by: Kate Stewart
    Reviewed-by: Allison Randal
    Cc: linux-spdx@vger.kernel.org
    Link: https://lkml.kernel.org/r/20190524100844.655184195@linutronix.de
    Signed-off-by: Greg Kroah-Hartman

    Thomas Gleixner
     
  • Based on 1 normalized pattern(s):

    this program is free software you can redistribute it and or modify
    it under the terms of the gnu general public license version 2 as
    published by the free software foundation or at your option any
    later version this program is distributed in the hope that it will
    be useful but without any warranty without even the implied warranty
    of merchantability or fitness for a particular purpose see the gnu
    general public license for more details

    extracted by the scancode license scanner the SPDX license identifier

    GPL-2.0-or-later

    has been chosen to replace the boilerplate/reference in 1 file(s).

    Signed-off-by: Thomas Gleixner
    Reviewed-by: Kate Stewart
    Reviewed-by: Allison Randal
    Reviewed-by: Richard Fontana
    Cc: linux-spdx@vger.kernel.org
    Link: https://lkml.kernel.org/r/20190524100844.561472061@linutronix.de
    Signed-off-by: Greg Kroah-Hartman

    Thomas Gleixner
     
  • Based on 1 normalized pattern(s):

    this program is free software you can redistribute it and or modify
    it under the terms of the gnu general public license as published by
    the free software foundation inc 675 mass ave cambridge ma 02139 usa
    either version 2 of the license or at your option any later version
    incorporated herein by reference

    extracted by the scancode license scanner the SPDX license identifier

    GPL-2.0-or-later

    has been chosen to replace the boilerplate/reference in 4 file(s).

    Signed-off-by: Thomas Gleixner
    Reviewed-by: Richard Fontana
    Reviewed-by: Allison Randal
    Reviewed-by: Kate Stewart
    Cc: linux-spdx@vger.kernel.org
    Link: https://lkml.kernel.org/r/20190524100844.465381181@linutronix.de
    Signed-off-by: Greg Kroah-Hartman

    Thomas Gleixner
     
  • Based on 1 normalized pattern(s):

    this program is free software you can redistribute it and or modify
    it under the terms of gnu general public license as published by the
    free software foundation either version 2 of the license or at your
    option any later version you should have received a copy of the gnu
    general public license along with this program if not see http www
    gnu org licenses

    extracted by the scancode license scanner the SPDX license identifier

    GPL-2.0-or-later

    has been chosen to replace the boilerplate/reference in 2 file(s).

    Signed-off-by: Thomas Gleixner
    Reviewed-by: Richard Fontana
    Reviewed-by: Kate Stewart
    Reviewed-by: Allison Randal
    Cc: linux-spdx@vger.kernel.org
    Link: https://lkml.kernel.org/r/20190524100844.276644418@linutronix.de
    Signed-off-by: Greg Kroah-Hartman

    Thomas Gleixner
     
  • Based on 1 normalized pattern(s):

    this code is free software you may copy modify and distribute it
    subject to the terms and conditions of the gnu general public
    license version 2 or any later version at your convenience

    extracted by the scancode license scanner the SPDX license identifier

    GPL-2.0-or-later

    has been chosen to replace the boilerplate/reference in 1 file(s).

    Signed-off-by: Thomas Gleixner
    Reviewed-by: Allison Randal
    Reviewed-by: Richard Fontana
    Reviewed-by: Kate Stewart
    Cc: linux-spdx@vger.kernel.org
    Link: https://lkml.kernel.org/r/20190524100844.176622298@linutronix.de
    Signed-off-by: Greg Kroah-Hartman

    Thomas Gleixner
     
  • Based on 1 normalized pattern(s):

    this program is free software you can redistribute it and or modify
    it under the terms of the gnu general public license as published by
    the free software foundation either version 2 of the license or any
    later version

    extracted by the scancode license scanner the SPDX license identifier

    GPL-2.0-or-later

    has been chosen to replace the boilerplate/reference in 1 file(s).

    Signed-off-by: Thomas Gleixner
    Reviewed-by: Kate Stewart
    Reviewed-by: Richard Fontana
    Reviewed-by: Allison Randal
    Cc: linux-spdx@vger.kernel.org
    Link: https://lkml.kernel.org/r/20190524100844.067492367@linutronix.de
    Signed-off-by: Greg Kroah-Hartman

    Thomas Gleixner
     
  • Based on 1 normalized pattern(s):

    this program is free software you can redistribute it and or modify it
    under the terms of the gnu general public license as published by the
    free software foundation either version 2 of the license or at your
    option any later version this program is distributed in the hope that it
    will be useful but without any warranty without even the implied warranty
    of merchantability or fitness for a particular purpose see the gnu
    general public license for more details

    extracted by the scancode license scanner the SPDX license identifier

    GPL-2.0-or-later

    has been chosen to replace the boilerplate/reference in 1 file(s).

    Signed-off-by: Thomas Gleixner
    Reviewed-by: Allison Randal
    Reviewed-by: Richard Fontana
    Reviewed-by: Kate Stewart
    Cc: linux-spdx@vger.kernel.org
    Link: https://lkml.kernel.org/r/20190524100843.971812365@linutronix.de
    Signed-off-by: Greg Kroah-Hartman

    Thomas Gleixner
     
  • Based on 1 normalized pattern(s):

    is available under the gpl v2 or later

    this program is free software you can redistribute it and or modify it
    under the terms of the gnu general public license as published by the
    free software foundation either version 2 of the license or at your
    option any later version

    extracted by the scancode license scanner the SPDX license identifier

    GPL-2.0-or-later

    has been chosen to replace the boilerplate/reference in 1 file(s).

    Signed-off-by: Thomas Gleixner
    Reviewed-by: Richard Fontana
    Reviewed-by: Kate Stewart
    Reviewed-by: Allison Randal
    Cc: linux-spdx@vger.kernel.org
    Link: https://lkml.kernel.org/r/20190524100843.876362585@linutronix.de
    Signed-off-by: Greg Kroah-Hartman

    Thomas Gleixner
     
  • Based on 1 normalized pattern(s):

    this source code is free software you can redistribute it and or
    modify it under the terms of the gnu general public license as
    published by the free software foundation either version 2 of the
    license or at your option any later version

    extracted by the scancode license scanner the SPDX license identifier

    GPL-2.0-or-later

    has been chosen to replace the boilerplate/reference in 1 file(s).

    Signed-off-by: Thomas Gleixner
    Reviewed-by: Kate Stewart
    Reviewed-by: Allison Randal
    Reviewed-by: Richard Fontana
    Cc: linux-spdx@vger.kernel.org
    Link: https://lkml.kernel.org/r/20190524100843.782742400@linutronix.de
    Signed-off-by: Greg Kroah-Hartman

    Thomas Gleixner
     
  • Based on 1 normalized pattern(s):

    this program is free software you can redistribute it and or modify
    it under the terms of the gnu general public license as published by
    the free software foundation either version 2 of the license or at
    your option any later version this program is distributed in the
    hope that it will be useful but without any warranty without even
    the implied warranty of merchantability or fitness for a particular
    purpose see the gnu general public license for more details the full
    gnu general public license is in this distribution in the file
    called copying

    extracted by the scancode license scanner the SPDX license identifier

    GPL-2.0-or-later

    has been chosen to replace the boilerplate/reference in 1 file(s).

    Signed-off-by: Thomas Gleixner
    Reviewed-by: Kate Stewart
    Reviewed-by: Allison Randal
    Cc: linux-spdx@vger.kernel.org
    Link: https://lkml.kernel.org/r/20190524100843.594454135@linutronix.de
    Signed-off-by: Greg Kroah-Hartman

    Thomas Gleixner
     
  • Based on 1 normalized pattern(s):

    this program is free software you can redistribute it and or modify it
    under the terms of the gnu general public license as published by the
    free software foundation either version 2 of the license or at your
    option any later version this program is distributed in the hope that it
    will be useful but without any warranty without even the implied warranty
    of merchantability or fitness for a particular purpose see the gnu
    general public license for more details you should have received a copy
    of the gnu general public license along with this program if not write to
    the free software foundation inc 675 mass ave cambridge ma 02139 usa

    extracted by the scancode license scanner the SPDX license identifier

    GPL-2.0-or-later

    has been chosen to replace the boilerplate/reference in 4 file(s).

    Signed-off-by: Thomas Gleixner
    Reviewed-by: Richard Fontana
    Reviewed-by: Kate Stewart
    Reviewed-by: Allison Randal
    Cc: linux-spdx@vger.kernel.org
    Link: https://lkml.kernel.org/r/20190524100843.499675784@linutronix.de
    Signed-off-by: Greg Kroah-Hartman

    Thomas Gleixner
     
  • Based on 1 normalized pattern(s):

    this program is free software you can redistribute it and or modify it
    under the terms of the gnu general public license as published by the
    free software foundation either version 2 of the license or any later
    version this program is distributed in the hope that it will be useful
    but without any warranty without even the implied warranty of
    merchantability or fitness for a particular purpose see the gnu general
    public license for more details

    extracted by the scancode license scanner the SPDX license identifier

    GPL-2.0-or-later

    has been chosen to replace the boilerplate/reference in 1 file(s).

    Signed-off-by: Thomas Gleixner
    Reviewed-by: Kate Stewart
    Reviewed-by: Allison Randal
    Reviewed-by: Richard Fontana
    Reviewed-by: Daniel M German
    Cc: linux-spdx@vger.kernel.org
    Link: https://lkml.kernel.org/r/20190524100843.397682032@linutronix.de
    Signed-off-by: Greg Kroah-Hartman

    Thomas Gleixner
     
  • Based on 1 normalized pattern(s):

    this program is free software you can redistribute it and or modify
    it under the terms of the gnu general public license as published by
    the free software foundation either version 2 of the license or at
    your option any later version this program is distributed in the
    hope that it will be useful but without any warranty without even
    the implied warranty of merchantability or fitness for a particular
    purpose see the gnu library general public license for more details
    you should have received a copy of the gnu general public license
    along with this program if not write to the free software foundation
    inc 59 temple place suite 330 boston ma 02111 1307 usa

    extracted by the scancode license scanner the SPDX license identifier

    GPL-2.0-or-later

    has been chosen to replace the boilerplate/reference in 10 file(s).

    Signed-off-by: Thomas Gleixner
    Reviewed-by: Richard Fontana
    Reviewed-by: Allison Randal
    Reviewed-by: Kate Stewart
    Reviewed-by: Armijn Hemel
    Cc: linux-spdx@vger.kernel.org
    Link: https://lkml.kernel.org/r/20190527063114.579638220@linutronix.de
    Link: https://lkml.kernel.org/r/20190524100843.303899865@linutronix.de
    Signed-off-by: Greg Kroah-Hartman

    Thomas Gleixner
     
  • Based on 1 normalized pattern(s):

    this program is free software you can redistribute it and or
    modify it under the terms of the gnu general public license as
    published by the free software foundation either version 2 or at
    your option any later version this program is distributed in the
    hope that it will be useful but without any warranty without even
    the implied warranty of merchantability or fitness for a particular
    purpose see the gnu general public license for more details

    extracted by the scancode license scanner the SPDX license identifier

    GPL-2.0-or-later

    has been chosen to replace the boilerplate/reference in 1 file(s).

    Signed-off-by: Thomas Gleixner
    Reviewed-by: Allison Randal
    Reviewed-by: Kate Stewart
    Reviewed-by: Richard Fontana
    Reviewed-by: Daniel M German
    Reviewed-by: Armijn Hemel
    Cc: linux-spdx@vger.kernel.org
    Link: https://lkml.kernel.org/r/20190527063114.489565842@linutronix.de
    Link: https://lkml.kernel.org/r/20190524100843.207819312@linutronix.de
    Signed-off-by: Greg Kroah-Hartman

    Thomas Gleixner
     
  • Based on 1 normalized pattern(s):

    this program is free software you can redistribute it and or modify it
    under the terms of the gnu general public license as published by the
    free software foundation either version 2 of the license or at your
    option any later version

    extracted by the scancode license scanner the SPDX license identifier

    GPL-2.0-or-later

    has been chosen to replace the boilerplate/reference in 1 file(s).

    Signed-off-by: Thomas Gleixner
    Reviewed-by: Richard Fontana
    Reviewed-by: Kate Stewart
    Reviewed-by: Allison Randal
    Reviewed-by: Daniel M German
    Reviewed-by: Armijn Hemel
    Cc: linux-spdx@vger.kernel.org
    Link: https://lkml.kernel.org/r/20190527063114.385641227@linutronix.de
    Link: https://lkml.kernel.org/r/20190524100843.113522467@linutronix.de
    Signed-off-by: Greg Kroah-Hartman

    Thomas Gleixner
     
  • Based on 1 normalized pattern(s):

    this file is released under gplv2 or later

    extracted by the scancode license scanner the SPDX license identifier

    GPL-2.0-or-later

    has been chosen to replace the boilerplate/reference in 1 file(s).

    Signed-off-by: Thomas Gleixner
    Reviewed-by: Richard Fontana
    Reviewed-by: Kate Stewart
    Reviewed-by: Allison Randal
    Reviewed-by: Armijn Hemel
    Cc: linux-spdx@vger.kernel.org
    Link: https://lkml.kernel.org/r/20190527063114.295960793@linutronix.de
    Link: https://lkml.kernel.org/r/20190524100843.018830140@linutronix.de
    Signed-off-by: Greg Kroah-Hartman

    Thomas Gleixner
     
  • Based on 1 normalized pattern(s):

    this program is free software you can redistribute it and or modify it
    under the terms of the gnu general public license as published by the
    free software foundation either version 2 of the license or at your
    option any later version this program is distributed in the hope that it
    will be useful but without any warranty without even the implied warranty
    of merchantability or fitness for a particular purpose see the gnu
    general public license for more details

    extracted by the scancode license scanner the SPDX license identifier

    GPL-2.0-or-later

    has been chosen to replace the boilerplate/reference in 2 file(s).

    Signed-off-by: Thomas Gleixner
    Reviewed-by: Kate Stewart
    Reviewed-by: Allison Randal
    Reviewed-by: Richard Fontana
    Reviewed-by: Armijn Hemel
    Cc: linux-spdx@vger.kernel.org
    Link: https://lkml.kernel.org/r/20190527063114.206914251@linutronix.de
    Link: https://lkml.kernel.org/r/20190524100842.915521339@linutronix.de
    Signed-off-by: Greg Kroah-Hartman

    Thomas Gleixner
     

27 May, 2019

3 commits

  • Linus Torvalds
     
  • Pull tracing warning fix from Steven Rostedt:
    "Make the GCC 9 warning for sub struct memset go away.

    GCC 9 now warns about calling memset() on partial structures when it
    goes across multiple fields. This adds a helper for the place in
    tracing that does this type of clearing of a structure"

    * tag 'trace-v5.2-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace:
    tracing: Silence GCC 9 array bounds warning

    Linus Torvalds
     
  • Pull KVM fixes from Paolo Bonzini:
    "The usual smattering of fixes and tunings that came in too late for
    the merge window, but should not wait four months before they appear
    in a release.

    I also travelled a bit more than usual in the first part of May, which
    didn't help with picking up patches and reports promptly"

    * tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm: (33 commits)
    KVM: x86: fix return value for reserved EFER
    tools/kvm_stat: fix fields filter for child events
    KVM: selftests: Wrap vcpu_nested_state_get/set functions with x86 guard
    kvm: selftests: aarch64: compile with warnings on
    kvm: selftests: aarch64: fix default vm mode
    kvm: selftests: aarch64: dirty_log_test: fix unaligned memslot size
    KVM: s390: fix memory slot handling for KVM_SET_USER_MEMORY_REGION
    KVM: x86/pmu: do not mask the value that is written to fixed PMUs
    KVM: x86/pmu: mask the result of rdpmc according to the width of the counters
    x86/kvm/pmu: Set AMD's virt PMU version to 1
    KVM: x86: do not spam dmesg with VMCS/VMCB dumps
    kvm: Check irqchip mode before assign irqfd
    kvm: svm/avic: fix off-by-one in checking host APIC ID
    KVM: selftests: do not blindly clobber registers in guest asm
    KVM: selftests: Remove duplicated TEST_ASSERT in hyperv_cpuid.c
    KVM: LAPIC: Expose per-vCPU timer_advance_ns to userspace
    KVM: LAPIC: Fix lapic_timer_advance_ns parameter overflow
    kvm: vmx: Fix -Wmissing-prototypes warnings
    KVM: nVMX: Fix using __this_cpu_read() in preemptible context
    kvm: fix compilation on s390
    ...

    Linus Torvalds
     

26 May, 2019

6 commits

  • Pull /dev/random fix from Ted Ts'o:
    "Fix a soft lockup regression when reading from /dev/random in early
    boot"

    * tag 'random_for_linus_stable' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/random:
    random: fix soft lockup when trying to read from an uninitialized blocking pool

    Linus Torvalds
     
  • Fixes: eb9d1bf079bb: "random: only read from /dev/random after its pool has received 128 bits"
    Reported-by: kernel test robot
    Signed-off-by: Theodore Ts'o

    Theodore Ts'o
     
  • Starting with GCC 9, -Warray-bounds detects cases when memset is called
    starting on a member of a struct but the size to be cleared ends up
    writing over further members.

    Such a call happens in the trace code to clear, at once, all members
    after and including `seq` on struct trace_iterator:

    In function 'memset',
    inlined from 'ftrace_dump' at kernel/trace/trace.c:8914:3:
    ./include/linux/string.h:344:9: warning: '__builtin_memset' offset
    [8505, 8560] from the object at 'iter' is out of the bounds of
    referenced subobject 'seq' with type 'struct trace_seq' at offset
    4368 [-Warray-bounds]
    344 | return __builtin_memset(p, c, size);
    | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~

    In order to avoid GCC complaining about it, we compute the address
    ourselves by adding the offsetof distance instead of referring
    directly to the member.

    Since there are two places doing this clear (trace.c and trace_kdb.c),
    take the chance to move the workaround into a single place in
    the internal header.

    Link: http://lkml.kernel.org/r/20190523124535.GA12931@gmail.com

    Signed-off-by: Miguel Ojeda
    [ Removed unnecessary parenthesis around "iter" ]
    Signed-off-by: Steven Rostedt (VMware)

    Miguel Ojeda
     
  • Pull ext4 fixes from Ted Ts'o:
    "Bug fixes (including a regression fix) for ext4"

    * tag 'ext4_for_linus_stable' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4:
    ext4: fix dcache lookup of !casefolded directories
    ext4: do not delete unlinked inode from orphan list on failed truncate
    ext4: wait for outstanding dio during truncate in nojournal mode
    ext4: don't perform block validity checks on the journal inode

    Linus Torvalds
     
  • Pull libnvdimm fixes from Dan Williams:

    - Fix a regression that disabled device-mapper dax support

    - Remove unnecessary hardened-user-copy overhead (>30%) for dax
    read(2)/write(2).

    - Fix some compilation warnings.

    * tag 'libnvdimm-fixes-5.2-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm:
    libnvdimm/pmem: Bypass CONFIG_HARDENED_USERCOPY overhead
    dax: Arrange for dax_supported check to span multiple devices
    libnvdimm: Fix compilation warnings with W=1

    Linus Torvalds
     
  • Pull tracing fixes from Steven Rostedt:
    "Tom Zanussi sent me some small fixes and cleanups to the histogram
    code and I forgot to incorporate them.

    I also added a small clean up patch that was sent to me a while ago
    and I just noticed it"

    * tag 'trace-v5.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace:
    kernel/trace/trace.h: Remove duplicate header of trace_seq.h
    tracing: Add a check_val() check before updating cond_snapshot() track_val
    tracing: Check keys for variable references in expressions too
    tracing: Prevent hist_field_var_ref() from accessing NULL tracing_map_elts

    Linus Torvalds
     

25 May, 2019

7 commits

  • Found by visual inspection, this wasn't caught by my xfstest, since it's
    effect is ignoring positive dentries in the cache the fallback just goes
    to the disk. it was introduced in the last iteration of the
    case-insensitive patch.

    d_compare should return 0 when the entries match, so make sure we are
    correctly comparing the entire string if the encoding feature is set and
    we are on a case-INsensitive directory.

    Fixes: b886ee3e778e ("ext4: Support case-insensitive file name lookups")
    Signed-off-by: Gabriel Krisman Bertazi
    Signed-off-by: Theodore Ts'o

    Gabriel Krisman Bertazi
     
  • Pull SCSI fixes from James Bottomley:
    "This is the same set of patches sent in the merge window as the final
    pull except that Martin's read only rework is replaced with a simple
    revert of the original change that caused the regression.

    Everything else is an obvious fix or small cleanup"

    * tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi:
    Revert "scsi: sd: Keep disk read-only when re-reading partition"
    scsi: bnx2fc: fix incorrect cast to u64 on shift operation
    scsi: smartpqi: Reporting unhandled SCSI errors
    scsi: myrs: Fix uninitialized variable
    scsi: lpfc: Update lpfc version to 12.2.0.2
    scsi: lpfc: add check for loss of ndlp when sending RRQ
    scsi: lpfc: correct rcu unlock issue in lpfc_nvme_info_show
    scsi: lpfc: resolve lockdep warnings
    scsi: qedi: remove set but not used variables 'cdev' and 'udev'
    scsi: qedi: remove memset/memcpy to nfunc and use func instead
    scsi: qla2xxx: Add cleanup for PCI EEH recovery

    Linus Torvalds
     
  • Pull block fixes from Jens Axboe:

    - NVMe pull request from Keith, with fixes from a few folks.

    - bio and sbitmap before atomic barrier fixes (Andrea)

    - Hang fix for blk-mq freeze and unfreeze (Bob)

    - Single segment count regression fix (Christoph)

    - AoE now has a new maintainer

    - tools/io_uring/ Makefile fix, and sync with liburing (me)

    * tag 'for-linus-20190524' of git://git.kernel.dk/linux-block: (23 commits)
    tools/io_uring: sync with liburing
    tools/io_uring: fix Makefile for pthread library link
    blk-mq: fix hang caused by freeze/unfreeze sequence
    block: remove the bi_seg_{front,back}_size fields in struct bio
    block: remove the segment size check in bio_will_gap
    block: force an unlimited segment size on queues with a virt boundary
    block: don't decrement nr_phys_segments for physically contigous segments
    sbitmap: fix improper use of smp_mb__before_atomic()
    bio: fix improper use of smp_mb__before_atomic()
    aoe: list new maintainer for aoe driver
    nvme-pci: use blk-mq mapping for unmanaged irqs
    nvme: update MAINTAINERS
    nvme: copy MTFA field from identify controller
    nvme: fix memory leak for power latency tolerance
    nvme: release namespace SRCU protection before performing controller ioctls
    nvme: merge nvme_ns_ioctl into nvme_ioctl
    nvme: remove the ifdef around nvme_nvm_ioctl
    nvme: fix srcu locking on error return in nvme_get_ns_from_disk
    nvme: Fix known effects
    nvme-pci: Sync queues on reset
    ...

    Linus Torvalds
     
  • …/git/shuah/linux-kselftest

    Pull Kselftest fixes from Shuah Khan:

    - Two fixes to regressions introduced in kselftest Makefile test run
    output refactoring work (Kees Cook)

    - Adding Atom support to syscall_arg_fault test (Tong Bo)

    * tag 'linux-kselftest-5.2-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest:
    selftests/timers: Add missing fflush(stdout) calls
    selftests: Remove forced unbuffering for test running
    selftests/x86: Support Atom for syscall_arg_fault test

    Linus Torvalds
     
  • Pull Devicetree fixes from Rob Herring:

    - Update checkpatch.pl to use DT vendor-prefixes.yaml

    - Fix DT binding references to files converted to DT schema

    - Clean-up Arm CPU binding examples to match schema

    - Add Sifive block versioning scheme documentation

    - Pass binding directory base to validation tools for reference lookups

    * tag 'devicetree-fixes-for-5.2' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux:
    checkpatch.pl: Update DT vendor prefix check
    dt: bindings: mtd: replace references to nand.txt with nand-controller.yaml
    dt-bindings: interrupt-controller: arm,gic: Fix schema errors in example
    dt-bindings: arm: Clean up CPU binding examples
    dt: fix refs that were renamed to json with the same file name
    dt-bindings: Pass binding directory to validation tools
    dt-bindings: sifive: describe sifive-blocks versioning

    Linus Torvalds
     
  • Pule more SPDX updates from Greg KH:
    "Here is another set of reviewed patches that adds SPDX tags to
    different kernel files, based on a set of rules that are being used to
    parse the comments to try to determine that the license of the file is
    "GPL-2.0-or-later".

    Only the "obvious" versions of these matches are included here, a
    number of "non-obvious" variants of text have been found but those
    have been postponed for later review and analysis.

    These patches have been out for review on the linux-spdx@vger mailing
    list, and while they were created by automatic tools, they were
    hand-verified by a bunch of different people, all whom names are on
    the patches are reviewers"

    * tag 'spdx-5.2-rc2-2' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core: (85 commits)
    treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 125
    treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 123
    treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 122
    treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 121
    treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 120
    treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 119
    treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 118
    treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 116
    treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 114
    treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 113
    treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 112
    treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 111
    treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 110
    treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 106
    treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 105
    treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 104
    treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 103
    treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 102
    treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 101
    treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 98
    ...

    Linus Torvalds
     
  • The kernel test robot has reported that the use of __this_cpu_add()
    causes bug messages like:

    BUG: using __this_cpu_add() in preemptible [00000000] code: ...

    Given the imprecise nature of the count and the possibility of resetting
    the count and doing the measurement again, this is not really a big
    problem to use the unprotected __this_cpu_*() functions.

    To make the preemption checking code happy, the this_cpu_*() functions
    will be used if CONFIG_DEBUG_PREEMPT is defined.

    The imprecise nature of the locking counts are also documented with
    the suggestion that we should run the measurement a few times with the
    counts reset in between to get a better picture of what is going on
    under the hood.

    Fixes: a8654596f0371 ("locking/rwsem: Enable lock event counting")
    Suggested-by: Linus Torvalds
    Signed-off-by: Waiman Long
    Signed-off-by: Linus Torvalds

    Waiman Long