15 Feb, 2017

2 commits

  • commit 8381cdd0e32dd748bd34ca3ace476949948bd793 upstream.

    The -o/--order option is to select column number to sort a diff result.

    It does the job by adding a hpp field at the beginning of the sort list.
    But it should not be added to the output field list as it has no
    callbacks required by a output field.

    During the setup_sorting(), the perf_hpp__setup_output_field() appends
    the given sort keys to the output field if it's not there already.

    Originally it was checked by fmt->list being non-empty. But commit
    3f931f2c4274 ("perf hists: Make hpp setup function generic") changed it
    to check the ->equal callback.

    Anyways, we don't need to add the pseudo hpp field to the output field
    list since it won't be used for output. So just skip fields if they
    have no ->color or ->entry callbacks.

    Signed-off-by: Namhyung Kim
    Acked-by: Jiri Olsa
    Cc: Peter Zijlstra
    Fixes: 3f931f2c4274 ("perf hists: Make hpp setup function generic")
    Link: http://lkml.kernel.org/r/20170118051457.30946-1-namhyung@kernel.org
    Signed-off-by: Arnaldo Carvalho de Melo
    Signed-off-by: Greg Kroah-Hartman

    Namhyung Kim
     
  • commit a1c9f97f0b64e6337d9cfcc08c134450934fdd90 upstream.

    Commit 21e6d8428664 ("perf diff: Use perf_hpp__register_sort_field
    interface") changed list_add() to perf_hpp__register_sort_field().

    This resulted in a behavior change since the field was added to the tail
    instead of the head. So the -o option is mostly ignored due to its
    order in the list.

    This patch fixes it by adding perf_hpp__prepend_sort_field().

    Signed-off-by: Namhyung Kim
    Acked-by: Jiri Olsa
    Cc: Peter Zijlstra
    Fixes: 21e6d8428664 ("perf diff: Use perf_hpp__register_sort_field interface")
    Link: http://lkml.kernel.org/r/20170118051457.30946-2-namhyung@kernel.org
    Signed-off-by: Arnaldo Carvalho de Melo
    Signed-off-by: Greg Kroah-Hartman

    Namhyung Kim
     

26 Jan, 2017

9 commits

  • commit 21f5eda9b8671744539c8295b9df62991fffb2ce upstream.

    Since ef1b144d ("tools/virtio/ringtest: fix run-on-all.sh to work
    without /dev/cpu") run-on-all.sh uses seq 0 $HOST_AFFINITY as the list
    of ids of the CPUs to run the command on (assuming ids of online CPUs
    are consecutive and start from 0), where $HOST_AFFINITY is the highest
    CPU id in the system previously determined using lscpu. This can fail
    on systems with offline CPUs.

    Instead let's use lscpu to determine the list of online CPUs.

    Signed-off-by: Halil Pasic
    Fixes: ef1b144d ("tools/virtio/ringtest: fix run-on-all.sh to work without
    /dev/cpu")
    Reviewed-by: Sascha Silbe
    Signed-off-by: Cornelia Huck
    Signed-off-by: Greg Kroah-Hartman

    Halil Pasic
     
  • commit df21d2fa733035e4d414379960f94b2516b41296 upstream.

    Test uses PMC2 to count the event. But PMC1 is being initialized.
    Patch to fix it.

    Fixes: 3752e453f6ba ('selftests/powerpc: Add tests of PMU EBBs')
    Signed-off-by: Madhavan Srinivasan
    Signed-off-by: Michael Ellerman
    Signed-off-by: Greg Kroah-Hartman

    Madhavan Srinivasan
     
  • commit 621cb4e7837e39d25a5af5a785ad282cdd2b4ce8 upstream.

    This patch modifies the build dependencies on the jitdump support in
    perf. As it stands jitdump was wrongfully made dependent 100% on using
    DWARF. However, the dwarf dependency, only exist if generating the
    source line table in genelf_debug.c. The rest of the support does not
    need DWARF.

    This patch removes the dependency on DWARF for the entire jitdump
    support. It keeps it only for the genelf_debug.c support.

    Signed-off-by: Maciej Debski
    Reviewed-by: Stephane Eranian
    Cc: Anton Blanchard
    Cc: Jiri Olsa
    Cc: Namhyung Kim
    Cc: Peter Zijlstra
    Link: http://lkml.kernel.org/r/1476356383-30100-3-git-send-email-eranian@google.com
    Fixes: e12b202f8fb9 ("perf jitdump: Build only on supported archs")
    [ Make it build only if NO_LIBELF isn't defined, as jitdump.o will only be built in that case ]
    Signed-off-by: Arnaldo Carvalho de Melo
    Signed-off-by: Greg Kroah-Hartman

    Maciej Debski
     
  • commit cf346d5bd4b9d61656df2f72565c9b354ef3ca0d upstream.

    Both register_perl_scripting() and register_python_scripting() allocate
    this variable, fix it by checking if it already was.

    Cc: Adrian Hunter
    Cc: David Ahern
    Cc: Frederic Weisbecker
    Cc: Jiri Olsa
    Cc: Namhyung Kim
    Cc: Tom Zanussi
    Cc: Wang Nan
    Fixes: 7e4b21b84c43 ("perf/scripts: Add Python scripting engine")
    Signed-off-by: Arnaldo Carvalho de Melo
    Signed-off-by: Greg Kroah-Hartman

    Arnaldo Carvalho de Melo
     
  • commit c56cb33b56c13493eeb95612f80e4dd6e35cd109 upstream.

    Since 841e3558b2d ("perf callchain: Recording 'dwarf' callchains do not
    need DWARF unwinding support"), --call-graph dwarf is allowed in 'perf
    record' even without unwind support. A couple of other places don't
    reflect this yet though: the help text should list dwarf as a valid
    record mode and the dump_size config should be respected too.

    Signed-off-by: Rabin Vincent
    Cc: He Kuang
    Fixes: 841e3558b2de ("perf callchain: Recording 'dwarf' callchains do not need DWARF unwinding support")
    Link: http://lkml.kernel.org/r/1470837148-7642-1-git-send-email-rabin.vincent@axis.com
    Signed-off-by: Arnaldo Carvalho de Melo
    Signed-off-by: Greg Kroah-Hartman

    Rabin Vincent
     
  • commit ed6c166cc7dc329736cace3affd2df984fb22ec8 upstream.

    Fixes a perf diff regression issue which was introduced by commit
    5baecbcd9c9a ("perf symbols: we can now read separate debug-info files
    based on a build ID")

    The binary name could be same when perf diff different binaries. Build
    id is used to distinguish between them.
    However, the previous patch assumes the same binary name has same build
    id. So it overwrites the build id according to the binary name,
    regardless of whether the build id is set or not.

    Check the has_build_id in dso__load. If the build id is already set, use
    it.

    Before the fix:

    $ perf diff 1.perf.data 2.perf.data
    # Event 'cycles'
    #
    # Baseline Delta Shared Object Symbol
    # ........ ....... ................ .............................
    #
    99.83% -99.80% tchain_edit [.] f2
    0.12% +99.81% tchain_edit [.] f3
    0.02% -0.01% [ixgbe] [k] ixgbe_read_reg

    After the fix:
    $ perf diff 1.perf.data 2.perf.data
    # Event 'cycles'
    #
    # Baseline Delta Shared Object Symbol
    # ........ ....... ................ .............................
    #
    99.83% +0.10% tchain_edit [.] f3
    0.12% -0.08% tchain_edit [.] f2

    Signed-off-by: Kan Liang
    Cc: Andi Kleen
    CC: Dima Kogan
    Cc: Jiri Olsa
    Cc: Namhyung Kim
    Fixes: 5baecbcd9c9a ("perf symbols: we can now read separate debug-info files based on a build ID")
    Link: http://lkml.kernel.org/r/1481642984-13593-1-git-send-email-kan.liang@intel.com
    Signed-off-by: Arnaldo Carvalho de Melo
    Signed-off-by: Greg Kroah-Hartman

    Kan Liang
     
  • commit 2bd42f3aaa53ebe78b9be6f898b7945dd61f9773 upstream.

    There might be systems where MAP_32BIT is not defined, like some some
    RHEL7 powerpc versions.

    Signed-off-by: Jiri Olsa
    Cc: David Ahern
    Cc: Kyle McMartin
    Cc: Namhyung Kim
    Cc: Peter Zijlstra
    Fixes: 256763b01741 ("perf trace beauty mmap: Add more conditional defines")
    Link: http://lkml.kernel.org/r/1481831814-23683-1-git-send-email-jolsa@kernel.org
    [ Changed the Fixme cset to the one removing the conditional switch case for MAP_32BIT ]
    Signed-off-by: Arnaldo Carvalho de Melo
    Signed-off-by: Greg Kroah-Hartman

    Jiri Olsa
     
  • commit 631ac41b46d293fb3ee43a809776c1663de8d9c6 upstream.

    Removing extra '--' prefix.

    Signed-off-by: Jiri Olsa
    Cc: David Ahern
    Cc: Namhyung Kim
    Cc: Peter Zijlstra
    Fixes: ad16511b0e40 ("perf mem: Add -U/-K (--all-user/--all-kernel) options")
    Link: http://lkml.kernel.org/r/1481538943-21874-2-git-send-email-jolsa@kernel.org
    Signed-off-by: Arnaldo Carvalho de Melo
    Signed-off-by: Greg Kroah-Hartman

    Jiri Olsa
     
  • commit ecf1e2253ea79c6204f4d6a5e756e8fb4aed5a7e upstream.

    Instead of the one when another syscall takes place while another is being
    processed (in another CPU, but we show it serialized, so need to "interrupt"
    the other), and also when finally showing the sys_enter + sys_exit + duration,
    where we were showing the sample->time for the sys_exit, duh.

    Before:

    # perf trace sleep 1

    0.373 ( 0.001 ms): close(fd: 3 ) = 0
    1000.626 (1000.211 ms): nanosleep(rqtp: 0x7ffd6ddddfb0) = 0
    1000.653 ( 0.003 ms): close(fd: 1 ) = 0
    1000.657 ( 0.002 ms): close(fd: 2 ) = 0
    1000.667 ( 0.000 ms): exit_group( )
    #

    After:

    # perf trace sleep 1

    0.336 ( 0.001 ms): close(fd: 3 ) = 0
    0.373 (1000.086 ms): nanosleep(rqtp: 0x7ffe303e9550) = 0
    1000.481 ( 0.002 ms): close(fd: 1 ) = 0
    1000.485 ( 0.001 ms): close(fd: 2 ) = 0
    1000.494 ( 0.000 ms): exit_group( )
    [root@jouet linux]#

    Cc: Adrian Hunter
    Cc: David Ahern
    Cc: Jiri Olsa
    Cc: Namhyung Kim
    Cc: Wang Nan
    Link: http://lkml.kernel.org/n/tip-ecbzgmu2ni6glc6zkw8p1zmx@git.kernel.org
    Fixes: 752fde44fd1c ("perf trace: Support interrupted syscalls")
    Signed-off-by: Arnaldo Carvalho de Melo
    Signed-off-by: Greg Kroah-Hartman

    Arnaldo Carvalho de Melo
     

20 Jan, 2017

2 commits


15 Jan, 2017

1 commit

  • commit 5da889c795b1fbefc9d8f058b54717ab8ab17891 upstream.

    The virtio tools implementation of READ_ONCE() has a single parameter called
    'var', but erroneously refers to 'val' for its cast, and thus won't work unless
    there's a variable of the correct type that happens to be called 'var'.

    Fix this with s/var/val/, making READ_ONCE() work as expected regardless.

    Fixes: a7c490333df3cff5 ("tools/virtio: use virt_xxx barriers")
    Signed-off-by: Mark Rutland
    Cc: Jason Wang
    Cc: Michael S. Tsirkin
    Cc: linux-kernel@vger.kernel.org
    Cc: virtualization@lists.linux-foundation.org
    Signed-off-by: Michael S. Tsirkin
    Reviewed-by: Cornelia Huck
    Reviewed-by: Jason Wang
    Signed-off-by: Greg Kroah-Hartman

    Mark Rutland
     

09 Jan, 2017

1 commit

  • commit edee44be59190bf22d5c6e521f3852b7ff16862f upstream.

    'perf report --tui' exits with error when it finds a sample of zero
    length symbol (i.e. addr == sym->start == sym->end). Actually these are
    valid samples. Don't exit TUI and show report with such symbols.

    Reported-and-Tested-by: Anton Blanchard
    Link: https://lkml.org/lkml/2016/10/8/189
    Signed-off-by: Ravi Bangoria
    Cc: Alexander Shishkin
    Cc: Benjamin Herrenschmidt
    Cc: Chris Riyder
    Cc: linuxppc-dev@lists.ozlabs.org
    Cc: Masami Hiramatsu
    Cc: Michael Ellerman
    Cc: Nicholas Piggin
    Cc: Paul Mackerras
    Cc: Peter Zijlstra
    Link: http://lkml.kernel.org/r/1479804050-5028-1-git-send-email-ravi.bangoria@linux.vnet.ibm.com
    Signed-off-by: Arnaldo Carvalho de Melo
    Signed-off-by: Greg Kroah-Hartman

    Ravi Bangoria
     

10 Dec, 2016

2 commits

  • Pull libnvdimm fixes from Dan Williams:
    "Several fixes to the DSM (ACPI device specific method) marshaling
    implementation.

    I consider these urgent enough to send for 4.9 consideration since
    they fix the kernel's handling of ARS (Address Range Scrub) commands.
    Especially for platforms without machine-check-recovery capabilities,
    successful execution of ARS commands enables the platform to
    potentially break out of an infinite reboot problem if a media error
    is present in the boot path. There is also a one line fix for a
    device-dax read-only mapping regression.

    Commits 9a901f5495e2 ("acpi, nfit: fix extended status translations
    for ACPI DSMs") and 325896ffdf90 ("device-dax: fix private mapping
    restriction, permit read-only") are true regression fixes for changes
    introduced this cycle.

    Commit efda1b5d87cb ("acpi, nfit, libnvdimm: fix / harden ars_status
    output length handling") fixes the kernel's handling of zero-length
    results, this never would have worked in the past, but we only just
    recently discovered a BIOS implementation that emits this arguably
    spec non-compliant result.

    The remaining two commits are additional fall out from thinking
    through the implications of a zero / truncated length result of the
    ARS Status command.

    In order to mitigate the risk that these changes introduce yet more
    regressions they are backstopped by a new unit test in commit
    a7de92dac9f0 ("tools/testing/nvdimm: unit test acpi_nfit_ctl()") that
    mocks up inputs to acpi_nfit_ctl()"

    * 'libnvdimm-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm:
    device-dax: fix private mapping restriction, permit read-only
    tools/testing/nvdimm: unit test acpi_nfit_ctl()
    acpi, nfit: fix bus vs dimm confusion in xlat_status
    acpi, nfit: validate ars_status output buffer size
    acpi, nfit, libnvdimm: fix / harden ars_status output length handling
    acpi, nfit: fix extended status translations for ACPI DSMs

    Linus Torvalds
     
  • This reverts commit 53855d10f4567a0577360b6448d52a863929775b.

    It shouldn't have come in yet - it depends on the changes in linux-next
    that will come in during the next merge window. As Matthew Wilcox says,
    the test suite is broken with the current state without the revert.

    Requested-by: Matthew Wilcox
    Cc: Andrew Morton
    Signed-off-by: Linus Torvalds

    Linus Torvalds
     

08 Dec, 2016

1 commit

  • Patch "lib/radix-tree: Convert to hotplug state machine" breaks the test
    suite as it adds a call to cpuhp_setup_state_nocalls() which is not
    currently emulated in the test suite. Add it, and delete the emulation
    of the old CPU hotplug mechanism.

    Link: http://lkml.kernel.org/r/1480369871-5271-36-git-send-email-mawilcox@linuxonhyperv.com
    Signed-off-by: Matthew Wilcox
    Tested-by: Kirill A. Shutemov
    Cc: Konstantin Khlebnikov
    Cc: Ross Zwisler
    Cc: Matthew Wilcox
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Matthew Wilcox
     

07 Dec, 2016

1 commit

  • A recent flurry of bug discoveries in the nfit driver's DSM marshalling
    routine has highlighted the fact that we do not have unit test coverage
    for this routine. Add a self-test of acpi_nfit_ctl() routine before
    probing the "nfit_test.0" device. This mocks stimulus to acpi_nfit_ctl()
    and if any of the tests fail "nfit_test.0" will be unavailable causing
    the rest of the tests to not run / fail.

    This unit test will also be a place to land reproductions of quirky BIOS
    behavior discovered in the field and ensure the kernel does not regress
    against implementations it has seen in practice.

    Signed-off-by: Dan Williams

    Dan Williams
     

06 Dec, 2016

1 commit

  • For the "lea %(rsp), %rbp" case, we check if there is a rex_prefix.
    But we check 'bytes' which is insn_byte_t[4] in rex_prefix (insn_field
    structure). Therefore, the check is always true.

    Instead, check 'nbytes' which is the right one.

    Signed-off-by: Jiri Slaby
    Acked-by: Josh Poimboeuf
    Cc: Andy Lutomirski
    Cc: Borislav Petkov
    Cc: Brian Gerst
    Cc: Denys Vlasenko
    Cc: H. Peter Anvin
    Cc: Linus Torvalds
    Cc: Peter Zijlstra
    Cc: Thomas Gleixner
    Link: http://lkml.kernel.org/r/20161205105551.25917-1-jslaby@suse.cz
    Signed-off-by: Ingo Molnar

    Jiri Slaby
     

19 Nov, 2016

1 commit

  • Pull ACPI fixes from Rafael Wysocki:
    "They fix an ACPI thermal management regression introduced by a recent
    FADT handling cleanup, an ACPI tools build issue introduced by a
    recent ACPICA commit and a PCC mailbox initialization bug causing
    lockdep to complain loudly.

    Specifics:

    - Revert a recent ACPICA cleanup that attempted to get rid of all
    FADT version 2 legacy, but broke ACPI thermal management on at
    least one system (Rafael Wysocki).

    - Fix cross-compiled builds of ACPI tools that stopped working after
    a recent cleanup related to the handling of header files in ACPICA
    (Lv Zheng).

    - Fix a locking issue in the PCC channel initialization code that
    invokes devm_request_irq() under a spinlock (among other things)
    and causes lockdep to complain (Hoan Tran)"

    * tag 'acpi-4.9-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
    tools/power/acpi: Remove direct kernel source include reference
    mailbox: PCC: Fix lockdep warning when request PCC channel
    Revert "ACPICA: FADT support cleanup"

    Linus Torvalds
     

17 Nov, 2016

1 commit

  • Avoid breaking cross-compiled ACPI tools builds by rearranging the
    handling of kernel header files.

    This patch also contains OUTPUT/srctree cleanups in order to make above fix
    working for various build environments.

    Fixes: e323c02dee59 (ACPICA: MSVC9: Fix inclusion order issue)
    Reported-and-tested-by: Yisheng Xie
    Reported-by: Andy Shevchenko
    Signed-off-by: Lv Zheng
    [ rjw: Changelog ]
    Signed-off-by: Rafael J. Wysocki

    Lv Zheng
     

15 Nov, 2016

1 commit

  • Pull perf fixes from Ingo Molnar:
    "An uncore PMU driver hardware enablement change for Intel SkyLake
    uncore PMUs (Skylake Y, U, H and S platforms), plus a number of
    tooling fixes for the histogram handling/displaying code"

    * 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
    perf/x86/intel/uncore: Add more Intel uncore IMC PCI IDs for SkyLake
    perf hists: Fix column length on --hierarchy
    perf hists browser: Fix column indentation on --hierarchy
    perf hists browser: Show folded sign properly on --hierarchy
    perf hists browser: Fix indentation of folded sign on --hierarchy
    perf hist browser: Fix hierarchy column counts

    Linus Torvalds
     

12 Nov, 2016

2 commits


09 Nov, 2016

5 commits

  • Markus reported that there's a weird behavior on perf top --hierarchy
    regarding the column length.

    Looking at the code, I found a dubious code which affects the symptoms.
    When --hierarchy option is used, the last column length might be
    inaccurate since it skips to update the length on leaf entries.

    I cannot remember why it did and looks like a leftover from previous
    version during the development.

    Anyway, updating the column length often is not harmful. So let's move
    the code out.

    Reported-and-Tested-by: Markus Trippelsdorf
    Signed-off-by: Namhyung Kim
    Cc: Jiri Olsa
    Cc: Peter Zijlstra
    Fixes: 1a3906a7e6b9 ("perf hists: Resort hist entries with hierarchy")
    Link: http://lkml.kernel.org/r/20161108130833.9263-5-namhyung@kernel.org
    Signed-off-by: Arnaldo Carvalho de Melo

    Namhyung Kim
     
  • When horizontall scrolling is used in hierarchy mode, the the right most
    column has unnecessary indentation. Actually it's needed only if some
    of left (overhead) columns were shown.

    Signed-off-by: Namhyung Kim
    Tested-by: Arnaldo Carvalho de Melo
    Tested-by: Markus Trippelsdorf
    Cc: Jiri Olsa
    Cc: Peter Zijlstra
    Link: http://lkml.kernel.org/r/20161108130833.9263-4-namhyung@kernel.org
    Signed-off-by: Arnaldo Carvalho de Melo

    Namhyung Kim
     
  • When horizontal scrolling is used in hierarchy mode, the folded signed
    disappears at the right most column.

    Committer note:

    To test it, run 'perf top --hierarchy, see the '+' symbol at the first
    column, then press the right arrow key, the '+' symbol will disappear,
    this patch fixes that.

    Signed-off-by: Namhyung Kim
    Tested-by: Arnaldo Carvalho de Melo
    Tested-by: Markus Trippelsdorf
    Cc: Jiri Olsa
    Cc: Peter Zijlstra
    Link: http://lkml.kernel.org/r/20161108130833.9263-3-namhyung@kernel.org
    [ Move 'width -= 2' invariant to right after the if/else ]
    Signed-off-by: Arnaldo Carvalho de Melo

    Namhyung Kim
     
  • It should indent 2 spaces for folded sign and a whitespace.

    Signed-off-by: Namhyung Kim
    Tested-by: Markus Trippelsdorf
    Cc: Jiri Olsa
    Cc: Peter Zijlstra
    Link: http://lkml.kernel.org/r/20161108130833.9263-2-namhyung@kernel.org
    Signed-off-by: Arnaldo Carvalho de Melo

    Namhyung Kim
     
  • The perf report/top on TUI supports horizontal scrolling using LEFT and
    RIGHT keys.

    But it calculate the number of columns incorrectly when hierarchy mode
    is enabled so that keep pressing RIGHT key can make the output
    disappeared.

    In the hierarchy mode, all sort keys are collapsed into a single column,
    so it needs to be applied when calculating column numbers.

    Reported-and-Tested-by: Markus Trippelsdorf
    Signed-off-by: Namhyung Kim
    Tested-by: Arnaldo Carvalho de Melo
    Cc: Jiri Olsa
    Cc: Peter Zijlstra
    Link: http://lkml.kernel.org/r/20161024162110.17918-1-namhyung@kernel.org
    Signed-off-by: Arnaldo Carvalho de Melo

    Namhyung Kim
     

01 Nov, 2016

1 commit

  • When converting to a shared library in ac5a181d065d ("cpupower: Add
    cpuidle parts into library"), cpu_freq_cpu_exists() was converted to
    cpupower_is_cpu_online(). cpu_req_cpu_exists() returned 0 on success and
    -ENOSYS on failure whereas cpupower_is_cpu_online returns 1 on success.
    Check for the correct return value in cpufreq-set.

    Link: https://bugzilla.redhat.com/show_bug.cgi?id=1374212
    Fixes: ac5a181d065d (cpupower: Add cpuidle parts into library)
    Reported-by: Julian Seward
    Signed-off-by: Laura Abbott
    Acked-by: Thomas Renninger
    Cc: 4.7+ # 4.7+
    Signed-off-by: Rafael J. Wysocki

    Laura Abbott
     

31 Oct, 2016

3 commits


27 Oct, 2016

1 commit

  • The following commit:

    3732710ff6f2 ("objtool: Improve rare switch jump table pattern detection")

    ... improved objtool's ability to detect GCC switch statement jump
    tables for GCC 6. However the check to allow short jumps with the
    scanned range of instructions wasn't quite right. The pattern detection
    should allow jumps to the indirect jump instruction itself.

    This fixes the following warning:

    drivers/infiniband/sw/rxe/rxe_comp.o: warning: objtool: rxe_completer()+0x315: sibling call from callable instruction with changed frame pointer

    Reported-by: Arnd Bergmann
    Signed-off-by: Josh Poimboeuf
    Cc: Linus Torvalds
    Cc: Peter Zijlstra
    Cc: Thomas Gleixner
    Fixes: 3732710ff6f2 ("objtool: Improve rare switch jump table pattern detection")
    Link: http://lkml.kernel.org/r/20161026153408.2rifnw7bvoc5sex7@treble
    Signed-off-by: Ingo Molnar

    Josh Poimboeuf
     

19 Oct, 2016

2 commits

  • AVX512_4VNNIW - Vector instructions for deep learning enhanced word
    variable precision.
    AVX512_4FMAPS - Vector instructions for deep learning floating-point
    single precision.

    These new instructions are to be used in future Intel Xeon & Xeon Phi
    processors. The bits 2&3 of CPUID[level:0x07, EDX] inform that new
    instructions are supported by a processor.

    The spec can be found in the Intel Software Developer Manual (SDM) or in
    the Instruction Set Extensions Programming Reference (ISE).

    Define new feature flags to enumerate the new instructions in /proc/cpuinfo
    accordingly to CPUID bits and add the required xsave extensions which are
    required for proper operation.

    Signed-off-by: Piotr Luc
    Cc: Denys Vlasenko
    Cc: Peter Zijlstra
    Cc: Brian Gerst
    Cc: Dave Hansen
    Cc: Borislav Petkov
    Cc: Andy Lutomirski
    Cc: Josh Poimboeuf
    Cc: Linus Torvalds
    Link: http://lkml.kernel.org/r/20161018150111.29926-1-piotr.luc@intel.com
    Signed-off-by: Thomas Gleixner

    Piotr Luc
     
  • Pull perf fixes from Ingo Molnar:
    "Four tooling fixes, two kprobes KASAN related fixes and an x86 PMU
    driver fix/cleanup"

    * 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
    perf jit: Fix build issue on Ubuntu
    perf jevents: Handle events including .c and .o
    perf/x86/intel: Remove an inconsistent NULL check
    kprobes: Unpoison stack in jprobe_return() for KASAN
    kprobes: Avoid false KASAN reports during stack copy
    perf header: Set nr_numa_nodes only when we parsed all the data
    perf top: Fix refreshing hierarchy entries on TUI

    Linus Torvalds
     

18 Oct, 2016

1 commit

  • Pull misc fixes from Ingo Molnar:
    "A CPU hotplug debuggability fix and three objtool false positive
    warnings fixes for new GCC6 code generation patterns"

    * 'core-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
    cpu/hotplug: Use distinct name for cpu_hotplug.dep_map
    objtool: Skip all "unreachable instruction" warnings for gcov kernels
    objtool: Improve rare switch jump table pattern detection
    objtool: Support '-mtune=atom' stack frame setup instruction

    Linus Torvalds
     

17 Oct, 2016

2 commits

  • …/kernel/git/acme/linux into perf/urgent

    Pull perf/urgent fixes from Arnaldo Carvalho de Melo:

    - Fix handling of NUMA nodes in perf.data files (Jiri Olsa)

    - Fix scrolling when refreshing 'perf top --tui --hierarchy' entries (Namhyung Kim)

    - Fix building of JIT support on Ubuntu 16.04 (Anton Blanchard)

    - Fix handling of events including .c and .o, that were being treated as
    BPF scripts instead of vendor ones (Wang Nan)

    Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
    Signed-off-by: Ingo Molnar <mingo@kernel.org>

    Ingo Molnar
     
  • When building on Ubuntu 16.04, I get the following error:

    Makefile:49: *** the openjdk development package appears to me missing, install and try again. Stop.

    The problem is that update-java-alternatives has multiple spaces between
    fields, and cut treats each space as a new delimiter:

    java-1.8.0-openjdk-ppc64el 1081 /usr/lib/jvm/java-1.8.0-openjdk-ppc64el

    Fix this by using awk, which handles this fine.

    Signed-off-by: Anton Blanchard
    Reviewed-by: Stephane Eranian
    Cc: Alexander Shishkin
    Cc: Peter Zijlstra
    Link: http://lkml.kernel.org/r/1476325243-15788-1-git-send-email-anton@ozlabs.org
    Signed-off-by: Arnaldo Carvalho de Melo

    Anton Blanchard