arch/tile changes for v3.15
Linus,
Please pull the following changes for 3.15 from:
git://git.kernel.org/pub/scm/linux/kernel/git/cmetcalf/linux-tile.git master
These fix a few stray build issues seen in linux-next, and also add the minimal required support for perf to tilegx.
Thanks!
Chris Metcalf (2):
tile: don't use __get_cpu_var() with structure-typed arguments arch/tile: remove unused variable 'devcap'
Henrik Austad (1):
tile: avoid overflow in ns2cycles
Kerry Sheh (1):
tile: Fix vDSO compilation issue with allyesconfig
Zhigang Lu (4):
tile: Add support for handling PMC hardware
tile: Enable NMIs on return from handle_nmi() without errors tile/perf: Support perf_events on tilegx and tilepro perf tools: Allow building for tile
arch/tile/Kconfig | 6 + arch/tile/include/asm/perf_event.h | 22 + arch/tile/include/asm/pmc.h | 64 +++ arch/tile/kernel/Makefile | 2 + arch/tile/kernel/intvec_32.S | 24 +- arch/tile/kernel/intvec_64.S | 24 +- arch/tile/kernel/irq.c | 18 + arch/tile/kernel/messaging.c | 4 +- arch/tile/kernel/pci.c | 2 - arch/tile/kernel/perf_event.c | 1005 ++++++++++++++++++++++++++++++++++++ arch/tile/kernel/pmc.c | 121 +++++ arch/tile/kernel/time.c | 10 +- arch/tile/kernel/vdso/Makefile | 2 +- tools/perf/config/Makefile.arch | 3 +- tools/perf/perf.h | 8 + 15 files changed, 1295 insertions(+), 20 deletions(-) create mode 100644 arch/tile/include/asm/perf_event.h create mode 100644 arch/tile/include/asm/pmc.h create mode 100644 arch/tile/kernel/perf_event.c create mode 100644 arch/tile/kernel/pmc.c
Signature · 2 lines
Chris Metcalf, Tilera Corp. http://www.tilera.com