1. 13 1月, 2019 3 次提交
    • L
      Merge tag 'remove-dma_zalloc_coherent-5.0' of git://git.infradead.org/users/hch/dma-mapping · 66c56cfa
      Linus Torvalds 提交于
      Pull dma_zalloc_coherent() removal from Christoph Hellwig:
       "We've always had a weird situation around dma_zalloc_coherent. To
        safely support mapping the allocations to userspace major
        architectures like x86 and arm have always zeroed allocations from
        dma_alloc_coherent, but a couple other architectures were missing that
        zeroing either always or in corner cases.
      
        Then later we grew anothe dma_zalloc_coherent interface to explicitly
        request zeroing, but that just added __GFP_ZERO to the allocation
        flags, which for some allocators that didn't end up using the page
        allocator ended up being a no-op and still not zeroing the
        allocations.
      
        So for this merge window I fixed up all remaining architectures to
        zero the memory in dma_alloc_coherent, and made dma_zalloc_coherent a
        no-op wrapper around dma_alloc_coherent, which fixes all of the above
        issues.
      
        dma_zalloc_coherent is now pointless and can go away, and Luis helped
        me writing a cocchinelle script and patch series to kill it, which I
        think we should apply now just after -rc1 to finally settle these
        issue"
      
      * tag 'remove-dma_zalloc_coherent-5.0' of git://git.infradead.org/users/hch/dma-mapping:
        dma-mapping: remove dma_zalloc_coherent()
        cross-tree: phase out dma_zalloc_coherent() on headers
        cross-tree: phase out dma_zalloc_coherent()
      66c56cfa
    • L
      Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm · 47334889
      Linus Torvalds 提交于
      Pull KVM fixes from Radim Krčmář:
       "Minor fixes for new code, corner cases, and documentation"
      
      * tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm:
        x86/kvm/nVMX: don't skip emulated instruction twice when vmptr address is not backed
        Documentation/virtual/kvm: Update URL for AMD SEV API specification
        KVM/VMX: Avoid return error when flush tlb successfully in the hv_remote_flush_tlb_with_range()
        kvm: sev: Fail KVM_SEV_INIT if already initialized
        KVM: validate userspace input in kvm_clear_dirty_log_protect()
        KVM: x86: Fix bit shifting in update_intel_pt_cfg
      47334889
    • L
      Merge tag 'drm-fixes-2019-01-11-1' of git://anongit.freedesktop.org/drm/drm · 7b5c8f52
      Linus Torvalds 提交于
      Pull more drm fixes from Daniel Vetter:
       "Dave sends out his pull, everybody remembers holidays are over :-)
      
        Since Dave's already in weekend mode and it was quite a few patches I
        figured better to apply all the pulls and forward them to you. Hence
        here 2nd part of bugfixes for -rc2.
      
        nouveau:
         - backlight fix
         - falcon register access fix
         - fan fix.
      
        i915:
         - Disable PSR for Apple panels
         - Broxton ERR_PTR error state fix
         - Kabylake VECS workaround fix
         - Unwind failure on pinning the gen7 ppgtt
         - GVT workload request allocation fix
      
        core:
         - Fix fb-helper to work correctly with SDL 1.2 bugs
         - Fix lockdep warning in the atomic ioctl and setproperty"
      
      * tag 'drm-fixes-2019-01-11-1' of git://anongit.freedesktop.org/drm/drm:
        drm/nouveau/falcon: avoid touching registers if engine is off
        drm/nouveau: Don't disable polling in fallback mode
        drm/nouveau: register backlight on pascal and newer
        drm: Fix documentation generation for DP_DPCD_QUIRK_NO_PSR
        drm/i915: init per-engine WAs for all engines
        drm/i915: Unwind failure on pinning the gen7 ppgtt
        drm/i915: Skip the ERR_PTR error state
        drm/i915: Disable PSR in Apple panels
        gpu/drm: Fix lock held when returning to user space.
        drm/fb-helper: Ignore the value of fb_var_screeninfo.pixclock
        drm/fb-helper: Partially bring back workaround for bugs of SDL 1.2
        drm/i915/gvt: Fix workload request allocation before request add
      7b5c8f52
  2. 12 1月, 2019 14 次提交
    • L
      Merge branch 'i2c/for-current' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux · 4b3c31c8
      Linus Torvalds 提交于
      Pull i2c fixes from Wolfram Sang:
       "I2C has one core and one driver bugfix for you"
      
      * 'i2c/for-current' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux:
        i2c: tegra: Fix Maximum transfer size
        i2c: dev: prevent adapter retries and timeout being set as minus value
      4b3c31c8
    • L
      Merge tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux · c3405d68
      Linus Torvalds 提交于
      Pull arm64 fixes from Will Deacon:
       "Another handful of arm64 fixes here. Most of the complication comes
        from improving our kpti code to avoid lengthy pauses (30+ seconds)
        during boot when we rewrite the page tables. There are also a couple
        of IORT fixes that came in via Lorenzo.
      
        Summary:
      
         - Don't error in kexec_file_load if kaslr-seed is missing in
           device-tree
      
         - Fix incorrect argument type passed to iort_match_node_callback()
      
         - Fix IORT build failure when CONFIG_IOMMU_API=n
      
         - Fix kpti performance regression with new rodata default option
      
         - Typo fix"
      
      * tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux:
        arm64: kexec_file: return successfully even if kaslr-seed doesn't exist
        ACPI/IORT: Fix rc_dma_get_range()
        arm64: kpti: Avoid rewriting early page tables when KASLR is enabled
        arm64: asm-prototypes: Fix fat-fingered typo in comment
        ACPI/IORT: Fix build when CONFIG_IOMMU_API=n
      c3405d68
    • L
      Merge tag 'ceph-for-5.0-rc2' of git://github.com/ceph/ceph-client · f87092c4
      Linus Torvalds 提交于
      Pull ceph updates from Ilya Dryomov:
       "A patch to allow setting abort_on_full and a fix for an old "rbd
        unmap" edge case, marked for stable"
      
      * tag 'ceph-for-5.0-rc2' of git://github.com/ceph/ceph-client:
        rbd: don't return 0 on unmap if RBD_DEV_FLAG_REMOVING is set
        ceph: use vmf_error() in ceph_filemap_fault()
        libceph: allow setting abort_on_full for rbd
      f87092c4
    • L
      Merge branch 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 40a31da4
      Linus Torvalds 提交于
      Pull perf tooling updates from Ingo Molnar:
       "Tooling changes only: fixes and a few stray improvements.
      
        Most of the diffstat is dominated by a PowerPC related fix of system
        call trace output beautification that allows us to (again) use the
        UAPI header version and sync up with the kernel's version of PowerPC
        system call names in the arch/powerpc/kernel/syscalls/syscall.tbl
        header"
      
      * 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (36 commits)
        tools headers powerpc: Remove unistd.h
        perf powerpc: Rework syscall table generation
        perf symbols: Add 'arch_cpu_idle' to the list of kernel idle symbols
        tools include uapi: Sync linux/if_link.h copy with the kernel sources
        tools include uapi: Sync linux/vhost.h with the kernel sources
        tools include uapi: Sync linux/fs.h copy with the kernel sources
        perf beauty: Switch from using uapi/linux/fs.h to uapi/linux/mount.h
        tools include uapi: Grab a copy of linux/mount.h
        perf top: Lift restriction on using callchains without "sym" in --sort
        tools lib traceevent: Remove tep_data_event_from_type() API
        tools lib traceevent: Rename tep_is_file_bigendian() to tep_file_bigendian()
        tools lib traceevent: Changed return logic of tep_register_event_handler() API
        tools lib traceevent: Changed return logic of trace_seq_printf() and trace_seq_vprintf() APIs
        tools lib traceevent: Rename struct cmdline to struct tep_cmdline
        tools lib traceevent: Initialize host_bigendian at tep_handle allocation
        tools lib traceevent: Introduce new libtracevent API: tep_override_comm()
        perf tests: Add a test for the ARM 32-bit [vectors] page
        perf tools: Make find_vdso_map() more modular
        perf trace: Fix alignment for [continued] lines
        perf trace: Fix ')' placement in "interrupted" syscall lines
        ...
      40a31da4
    • V
      x86/kvm/nVMX: don't skip emulated instruction twice when vmptr address is not backed · 826c1362
      Vitaly Kuznetsov 提交于
      Since commit 09abb5e3 ("KVM: nVMX: call kvm_skip_emulated_instruction
      in nested_vmx_{fail,succeed}") nested_vmx_failValid() results in
      kvm_skip_emulated_instruction() so doing it again in handle_vmptrld() when
      vmptr address is not backed is wrong, we end up advancing RIP twice.
      
      Fixes: fca91f6d ("kvm: nVMX: Set VM instruction error for VMPTRLD of unbacked page")
      Reported-by: NCornelia Huck <cohuck@redhat.com>
      Signed-off-by: NVitaly Kuznetsov <vkuznets@redhat.com>
      Reviewed-by: NSean Christopherson <sean.j.christopherson@intel.com>
      Reviewed-by: NCornelia Huck <cohuck@redhat.com>
      Signed-off-by: NRadim Krčmář <rkrcmar@redhat.com>
      826c1362
    • C
      Documentation/virtual/kvm: Update URL for AMD SEV API specification · cf1754c2
      Christophe de Dinechin 提交于
      The URL of [api-spec] in Documentation/virtual/kvm/amd-memory-encryption.rst
      is no longer valid, replaced space with underscore.
      Signed-off-by: NChristophe de Dinechin <dinechin@redhat.com>
      Reviewed-by: NBrijesh Singh <brijesh.singh@amd.com>
      Signed-off-by: NRadim Krčmář <rkrcmar@redhat.com>
      cf1754c2
    • L
      KVM/VMX: Avoid return error when flush tlb successfully in the hv_remote_flush_tlb_with_range() · b7c1c226
      Lan Tianyu 提交于
      The "ret" is initialized to be ENOTSUPP. The return value of
      __hv_remote_flush_tlb_with_range() will be Or with "ret" when ept
      table potiners are mismatched. This will cause return ENOTSUPP even if
      flush tlb successfully. This patch is to fix the issue and set
      "ret" to 0.
      
      Fixes: a5c214da ("KVM/VMX: Change hv flush logic when ept tables are mismatched.")
      Signed-off-by: NLan Tianyu <Tianyu.Lan@microsoft.com>
      Signed-off-by: NRadim Krčmář <rkrcmar@redhat.com>
      b7c1c226
    • D
      kvm: sev: Fail KVM_SEV_INIT if already initialized · 3f14a89d
      David Rientjes 提交于
      By code inspection, it was found that multiple calls to KVM_SEV_INIT
      could deplete asid bits and overwrite kvm_sev_info's regions_list.
      
      Multiple calls to KVM_SVM_INIT is not likely to occur with QEMU, but this
      should likely be fixed anyway.
      
      This code is serialized by kvm->lock.
      
      Fixes: 1654efcb ("KVM: SVM: Add KVM_SEV_INIT command")
      Reported-by: NCfir Cohen <cfir@google.com>
      Signed-off-by: NDavid Rientjes <rientjes@google.com>
      Signed-off-by: NRadim Krčmář <rkrcmar@redhat.com>
      3f14a89d
    • T
      KVM: validate userspace input in kvm_clear_dirty_log_protect() · 98938aa8
      Tomas Bortoli 提交于
      The function at issue does not fully validate the content of the
      structure pointed by the log parameter, though its content has just been
      copied from userspace and lacks validation. Fix that.
      
      Moreover, change the type of n to unsigned long as that is the type
      returned by kvm_dirty_bitmap_bytes().
      Signed-off-by: NTomas Bortoli <tomasbortoli@gmail.com>
      Reported-by: syzbot+028366e52c9ace67deb3@syzkaller.appspotmail.com
      [Squashed the fix from Paolo. - Radim.]
      Signed-off-by: NRadim Krčmář <rkrcmar@redhat.com>
      98938aa8
    • G
      KVM: x86: Fix bit shifting in update_intel_pt_cfg · d14eff1b
      Gustavo A. R. Silva 提交于
      ctl_bitmask in pt_desc is of type u64. When an integer like 0xf is
      being left shifted more than 32 bits, the behavior is undefined.
      
      Fix this by adding suffix ULL to integer 0xf.
      
      Addresses-Coverity-ID: 1476095 ("Bad bit shift operation")
      Fixes: 6c0f0bba ("KVM: x86: Introduce a function to initialize the PT configuration")
      Signed-off-by: NGustavo A. R. Silva <gustavo@embeddedor.com>
      Reviewed-by: NWei Yang <richardw.yang@linux.intel.com>
      Reviewed-by: NLuwei Kang <luwei.kang@intel.com>
      Signed-off-by: NRadim Krčmář <rkrcmar@redhat.com>
      d14eff1b
    • L
      Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · e8af37f3
      Linus Torvalds 提交于
      Pull x86 fixes from Ingo Molnar:
       "A 32-bit build fix, CONFIG_RETPOLINE fixes and rename CONFIG_RESCTRL
        to CONFIG_X86_RESCTRL"
      
      * 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86, modpost: Replace last remnants of RETPOLINE with CONFIG_RETPOLINE
        x86/cache: Rename config option to CONFIG_X86_RESCTRL
        samples/seccomp: Fix 32-bit build
      e8af37f3
    • L
      Merge tag 'acpi-5.0-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm · 8e1b295b
      Linus Torvalds 提交于
      Pull ACPI fixes from Rafael Wysocki:
       "Fix a build failure introduced recently, fix the xpower PMIC ACPI
        driver, clean up the handling of duplicate entries in _PRx power
        resource lists and fix addresses in NUMA-related messages on 32-bit
        with PAE.
      
        Specifics:
      
         - Fix build failures with both CONFIG_NLS and CONFIG_PCI unset that
           can occur since ACPI can be built without PCI now (Sinan Kaya).
      
         - Clean up the handling of duplicate entries in power resource lists
           returned by _PRx evaluation to avoid triggering WARN_ON() on
           attempts to add duplicate symlinks in sysfs (Hans de Goede).
      
         - Fix issues with the TS current-source switching on systems using
           the xpower PMIC by avoiding to update unrelated bits in the TS
           pin-ctrl register and avoiding to unconditionally enable TS
           current-source on systems where it is not used (Hans de Goede).
      
         - Fix addresses in NUMA-related messages on 32-bit with PAE which can
           be truncated due to integer type conversions (Chao Fan)"
      
      * tag 'acpi-5.0-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
        ACPI / PMIC: xpower: Fix TS-pin current-source handling
        ACPI: NUMA: Use correct type for printing addresses on i386-PAE
        ACPI: power: Skip duplicate power resource references in _PRx
        ACPI: Fix build failure when CONFIG_NLS is set to 'n'
      8e1b295b
    • L
      Merge tag 'pm-5.0-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm · f4f31fff
      Linus Torvalds 提交于
      Pull power management updates from Rafael Wysocki:
       "These fix fallout after starting to use hrtimers in the runtime PM
        framework, fix a few cpufreq issues, fix a recently broken reference
        to cpuidle documentation, update MAINTAINERS entries for cpufreq and
        cpuidle and make the recently added system suspend and resume support
        in devfreq actually work.
      
        Specifics:
      
         - Prevent integer overflows from occurring on 32-bit when converting
           milliseconds to nanoseconds in the runtime PM framework and update
           comments that still refer to jiffies in it (Vincent Guittot,
           Ladislav Michl).
      
         - Fix the SCMI cpufreq driver to always use the same frequency units
           for arch_set_freq_scale() and make the scale-invariant load
           tracking acutally work with this driver (Quentin Perret).
      
         - Fix freeing of dynamic OPPs in the SCPI and SCMI cpufreq drivers
           broken during the 4.20 defelopment cycle (Viresh Kumar).
      
         - Prevent the cpufreq core from attempting to return the current
           frequency of offline CPUs (Sudeep Holla).
      
         - Add devfreq suspend and resume hooks (missed previously) to the PM
           core to make the recently added system suspend and resume support
           in devfreq actually work (Lukasz Luba).
      
         - Update MAINTAINERS entries for cpufreq and cpuidle, mostly to add
           references to new/current documentation to them (Rafael Wysocki).
      
         - Fix a recently broken reference to cpuidle documentation (Otto
           Sabart)"
      
      * tag 'pm-5.0-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
        PM-runtime: Fix autosuspend_delay on 32bits arch
        PM-runtime: Fix 'jiffies' in comments after switch to hrtimers
        cpufreq: scmi: Fix frequency invariance in slow path
        doc: trace: fix reference to cpuidle documentation file
        cpufreq: check if policy is inactive early in __cpufreq_get()
        cpufreq: scpi/scmi: Fix freeing of dynamic OPPs
        cpuidle / Documentation: Update cpuidle MAINTAINERS entry
        cpufreq / Documentation: Update cpufreq MAINTAINERS entry
        PM: sleep: call devfreq suspend/resume
      f4f31fff
    • L
      Merge tag 'drm-fixes-2019-01-11' of git://anongit.freedesktop.org/drm/drm · 385c59c7
      Linus Torvalds 提交于
      Pull drm fixes from Dave Airlie:
       "Not a huge amount for rc2, assume the usual quiet period, and rc3 will
        be most of it.
      
        amdgpu:
         - Powerplay fixes
         - Virtual display pinning fixes
         - Golden register updates for Vega
         - Pitch and gem size validation fixes
         - SR-IOV init error fix
         - Pagetables in system RAM disable for some Raven system
         - DP-MST resume fixes
      
        tc358767 bridge:
         - fix to work with displayport connector"
      
      * tag 'drm-fixes-2019-01-11' of git://anongit.freedesktop.org/drm/drm: (26 commits)
        drm/amdgpu: disable system memory page tables for now
        drm/amdgpu: set WRITE_BURST_LENGTH to 64B to workaround SDMA1 hang
        drm/amdgpu: fix CPDMA hang in PRT mode for VEGA20
        drm/bridge: tc358767: use DP connector if no panel set
        drm/bridge: tc358767: fix output H/V syncs
        drm/bridge: tc358767: reject modes which require too much BW
        drm/bridge: tc358767: fix initial DP0/1_SRCCTRL value
        drm/bridge: tc358767: fix single lane configuration
        drm/bridge: tc358767: add defines for DP1_SRCCTRL & PHY_2LANE
        drm/bridge: tc358767: add bus flags
        drm/dp_mst: Add __must_check to drm_dp_mst_topology_mgr_resume()
        drm/amdgpu: Don't fail resume process if resuming atomic state fails
        drm/amdgpu: Don't ignore rc from drm_dp_mst_topology_mgr_resume()
        drm/amdgpu: validate user GEM object size
        drm/amdgpu: validate user pitch alignment
        drm/amd/powerplay: drop the unnecessary uclk hard min setting
        drm/amd/powerplay: avoid possible buffer overflow
        drm/amd/powerplay: create pp_od_clk_voltage device file under OD support
        drm/amd/powerplay: update OD support flag for SKU with no OD capabilities
        drm/amdgpu: make gfx9 enter into rlc safe mode when set MGCG
        ...
      385c59c7
  3. 11 1月, 2019 21 次提交
  4. 10 1月, 2019 2 次提交
    • R
      tools headers powerpc: Remove unistd.h · 15c03092
      Ravi Bangoria 提交于
      We use syscall.tbl to generate system call table on powerpc.
      
      The unistd.h copy is no longer required now. Remove it.
      Signed-off-by: NRavi Bangoria <ravi.bangoria@linux.ibm.com>
      Cc: Jiri Olsa <jolsa@redhat.com>
      Cc: Michael Ellerman <mpe@ellerman.id.au>
      Cc: Namhyung Kim <namhyung@kernel.org>
      Cc: linuxppc-dev@lists.ozlabs.org
      Link: http://lkml.kernel.org/r/20190110094936.3132-2-ravi.bangoria@linux.ibm.comSigned-off-by: NArnaldo Carvalho de Melo <acme@redhat.com>
      15c03092
    • R
      perf powerpc: Rework syscall table generation · 02061318
      Ravi Bangoria 提交于
      Commit aff85039 ("powerpc: add system call table generation
      support") changed how systemcall table is generated for powerpc.
      Incorporate these changes into perf as well.
      
      Committer testing:
      
        $ podman run --entrypoint=/bin/sh --privileged -v /home/acme/git:/git --rm -ti docker.io/acmel/linux-perf-tools-build-ubuntu:18.04-x-powerpc64
        perfbuilder@d7a7af166a80:/git/perf$ head -2 /etc/os-release
        NAME="Ubuntu"
        VERSION="18.04.1 LTS (Bionic Beaver)"
        perfbuilder@d7a7af166a80:/git/perf$
        perfbuilder@d7a7af166a80:/git/perf$ make ARCH=powerpc CROSS_COMPILE=powerpc64-linux-gnu- EXTRA_CFLAGS= -C /git/linux/tools/perf O=/tmp/build/perf
        make: Entering directory '/git/linux/tools/perf'
          BUILD:   Doing 'make -j8' parallel build
          HOSTCC   /tmp/build/perf/fixdep.o
          HOSTLD   /tmp/build/perf/fixdep-in.o
          LINK     /tmp/build/perf/fixdep
        Warning: Kernel ABI header at 'tools/include/uapi/linux/mman.h' differs from latest version at 'include/uapi/linux/mman.h'
        diff -u tools/include/uapi/linux/mman.h include/uapi/linux/mman.h
        sh: 1: command: Illegal option -c
      
        Auto-detecting system features:
        ...                         dwarf: [ on  ]
        ...            dwarf_getlocations: [ on  ]
        ...                         glibc: [ on  ]
        ...                          gtk2: [ OFF ]
        ...                      libaudit: [ OFF ]
        ...                        libbfd: [ OFF ]
        ...                        libelf: [ on  ]
        ...                       libnuma: [ OFF ]
        ...        numa_num_possible_cpus: [ OFF ]
        ...                       libperl: [ OFF ]
        ...                     libpython: [ OFF ]
        ...                      libslang: [ OFF ]
        ...                     libcrypto: [ OFF ]
        ...                     libunwind: [ OFF ]
        ...            libdw-dwarf-unwind: [ on  ]
        ...                          zlib: [ on  ]
        ...                          lzma: [ OFF ]
        ...                     get_cpuid: [ OFF ]
        ...                           bpf: [ on  ]
      
        Makefile.config:445: No sys/sdt.h found, no SDT events are defined, please install systemtap-sdt-devel or systemtap-sdt-dev
        Makefile.config:491: No libunwind found. Please install libunwind-dev[el] >= 1.1 and/or set LIBUNWIND_DIR
        Makefile.config:583: No libcrypto.h found, disables jitted code injection, please install libssl-devel or libssl-dev
        Makefile.config:598: slang not found, disables TUI support. Please install slang-devel, libslang-dev or libslang2-dev
        Makefile.config:612: GTK2 not found, disables GTK2 support. Please install gtk2-devel or libgtk2.0-dev
        Makefile.config:639: Missing perl devel files. Disabling perl scripting support, please install perl-ExtUtils-Embed/libperl-dev
        Makefile.config:666: No python interpreter was found: disables Python support - please install python-devel/python-dev
        Makefile.config:721: No bfd.h/libbfd found, please install binutils-dev[el]/zlib-static/libiberty-dev to gain symbol demangling
        Makefile.config:750: No liblzma found, disables xz kernel module decompression, please install xz-devel/liblzma-dev
        Makefile.config:763: No numa.h found, disables 'perf bench numa mem' benchmark, please install numactl-devel/libnuma-devel/libnuma-dev
        Makefile.config:814: No libbabeltrace found, disables 'perf data' CTF format support, please install libbabeltrace-dev[el]/libbabeltrace-ctf-dev
        Makefile.config:840: No alternatives command found, you need to set JDIR= to point to the root of your Java directory
          GEN      /tmp/build/perf/common-cmds.h
        <SNIP>
          CC       /tmp/build/perf/util/syscalltbl.o
        <SNIP>
          LD       /tmp/build/perf/libperf-in.o
          AR       /tmp/build/perf/libperf.a
          LINK     /tmp/build/perf/perf
        make: Leaving directory '/git/linux/tools/perf'
        perfbuilder@d7a7af166a80:/git/perf$ head /tmp/build/perf/arch/powerpc/include/generated/asm/syscalls_64.c
        static const char *syscalltbl_powerpc_64[] = {
        	[0] = "restart_syscall",
        	[1] = "exit",
        	[2] = "fork",
        	[3] = "read",
        	[4] = "write",
        	[5] = "open",
        	[6] = "close",
        	[7] = "waitpid",
        	[8] = "creat",
        perfbuilder@d7a7af166a80:/git/perf$ tail /tmp/build/perf/arch/powerpc/include/generated/asm/syscalls_64.c
        	[381] = "pwritev2",
        	[382] = "kexec_file_load",
        	[383] = "statx",
        	[384] = "pkey_alloc",
        	[385] = "pkey_free",
        	[386] = "pkey_mprotect",
        	[387] = "rseq",
        	[388] = "io_pgetevents",
        };
        #define SYSCALLTBL_POWERPC_64_MAX_ID 388
        perfbuilder@d7a7af166a80:/git/perf$ head /tmp/build/perf/arch/powerpc/include/generated/asm/syscalls_32.c
        static const char *syscalltbl_powerpc_32[] = {
        	[0] = "restart_syscall",
        	[1] = "exit",
        	[2] = "fork",
        	[3] = "read",
        	[4] = "write",
        	[5] = "open",
        	[6] = "close",
        	[7] = "waitpid",
        	[8] = "creat",
        perfbuilder@d7a7af166a80:/git/perf$ tail /tmp/build/perf/arch/powerpc/include/generated/asm/syscalls_32.c
        	[381] = "pwritev2",
        	[382] = "kexec_file_load",
        	[383] = "statx",
        	[384] = "pkey_alloc",
        	[385] = "pkey_free",
        	[386] = "pkey_mprotect",
        	[387] = "rseq",
        	[388] = "io_pgetevents",
        };
        #define SYSCALLTBL_POWERPC_32_MAX_ID 388
        perfbuilder@d7a7af166a80:/git/perf$
      Signed-off-by: NRavi Bangoria <ravi.bangoria@linux.ibm.com>
      Reported-by: NArnaldo Carvalho de Melo <acme@redhat.com>
      Tested-by: NArnaldo Carvalho de Melo <acme@redhat.com>
      Cc: Jiri Olsa <jolsa@redhat.com>
      Cc: Michael Ellerman <mpe@ellerman.id.au>
      Cc: Namhyung Kim <namhyung@kernel.org>
      Cc: linuxppc-dev@lists.ozlabs.org
      Link: http://lkml.kernel.org/r/20190110094936.3132-1-ravi.bangoria@linux.ibm.comSigned-off-by: NArnaldo Carvalho de Melo <acme@redhat.com>
      02061318