~wgrant/ubuntu/+source/linux:zesty/acs-next

Last commit made on 2017-05-30
Get this branch:
git clone -b zesty/acs-next https://git.launchpad.net/~wgrant/ubuntu/+source/linux
Only William Grant can upload to this branch. If you are William Grant please log in for upload directions.

Branch merges

Branch information

Name:
zesty/acs-next
Repository:
lp:~wgrant/ubuntu/+source/linux

Recent commits

6280d7d... by William Grant

Update ABI and changelog.

553605d... by Mark Weiman

pci: Enable overrides for missing ACS capabilities (4.8+)

This an updated version of Alex Williamson's patch from:
https://lkml.org/lkml/2013/5/30/513

Original commit message follows:

5df1635... by Thadeu Lima de Souza Cascardo

UBUNTU: Ubuntu-4.10.0-22.24

Signed-off-by: Thadeu Lima de Souza Cascardo <email address hidden>

87c9c5b... by Alistair Popple <email address hidden>

powerpc/powernv: Fix TCE kill on NVLink2

BugLink: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1690155

Commit 616badd2fb49 ("powerpc/powernv: Use OPAL call for TCE kill on
NVLink2") forced all TCE kills to go via the OPAL call for
NVLink2. However the PHB3 implementation of TCE kill was still being
called directly from some functions which in some circumstances caused
a machine check.

This patch adds an equivalent IODA2 version of the function which uses
the correct invalidation method depending on PHB model and changes all
external callers to use it instead.

Fixes: 616badd2fb49 ("powerpc/powernv: Use OPAL call for TCE kill on NVLink2")
Cc: <email address hidden> # v4.11+
Signed-off-by: Alistair Popple <email address hidden>
Signed-off-by: Michael Ellerman <email address hidden>
(cherry picked from commit 6b3d12a948d27977816a15eb48409a298902a548)
Signed-off-by: Breno Leitao <email address hidden>
Acked-by: Seth Forshee <email address hidden>
Acked-by: Thadeu Lima de Souza Cascardo <email address hidden>
Signed-off-by: Thadeu Lima de Souza Cascardo <email address hidden>

30a0536... by Amey Telawane <email address hidden>

tracing: Use strlcpy() instead of strcpy() in __trace_find_cmdline()

Strcpy is inherently not safe, and strlcpy() should be used instead.
__trace_find_cmdline() uses strcpy() because the comms saved must have a
terminating nul character, but it doesn't hurt to add the extra protection
of using strlcpy() instead of strcpy().

Link: http://<email address hidden>

Signed-off-by: Amey Telawane <email address hidden>
[AmitP: Cherry-picked this commit from CodeAurora kernel/msm-3.10
https://source.codeaurora.org/quic/la/kernel/msm-3.10/commit/?id=2161ae9a70b12cf18ac8e5952a20161ffbccb477]
Signed-off-by: Amit Pundir <email address hidden>
[ Updated change log and removed the "- 1" from len parameter ]
Signed-off-by: Steven Rostedt (VMware) <email address hidden>

(backported from commit e09e28671cda63e6308b31798b997639120e2a21)
CVE-2017-0605

Signed-off-by: Po-Hsu Lin <email address hidden>
Acked-by: Kamal Mostafa <email address hidden>
Acked-by: Seth Forshee <email address hidden>
Signed-off-by: Thadeu Lima de Souza Cascardo <email address hidden>

1b26155... by Agustin Vega-Frias <email address hidden>

perf: qcom: Add L3 cache PMU driver

BugLink: https://bugs.launchpad.net/bugs/1689856

This adds a new dynamic PMU to the Perf Events framework to program
and control the L3 cache PMUs in some Qualcomm Technologies SOCs.

The driver supports a distributed cache architecture where the overall
cache for a socket is comprised of multiple slices each with its own PMU.
Access to each individual PMU is provided even though all CPUs share all
the slices. User space needs to aggregate to individual counts to provide
a global picture.

The driver exports formatting and event information to sysfs so it can
be used by the perf user space tools with the syntaxes:
   perf stat -a -e l3cache_0_0/read-miss/
   perf stat -a -e l3cache_0_0/event=0x21/

Acked-by: Mark Rutland <email address hidden>
Signed-off-by: Agustin Vega-Frias <email address hidden>
[will: fixed sparse issues]
Signed-off-by: Will Deacon <email address hidden>
(cherry picked from commit 3071f13d75f627ed8648535815a0506d50cbc6ed)
Signed-off-by: dann frazier <email address hidden>
Acked-by: Seth Forshee <email address hidden>
Acked-by: Thadeu Lima de Souza Cascardo <email address hidden>
Signed-off-by: Thadeu Lima de Souza Cascardo <email address hidden>

c68bc60... by dann frazier

UBUNTU: [Config] CONFIG_QCOM_L3_PMU=y

BugLink: https://bugs.launchpad.net/bugs/1689856

Signed-off-by: dann frazier <email address hidden>
Acked-by: Seth Forshee <email address hidden>
Acked-by: Thadeu Lima de Souza Cascardo <email address hidden>
Signed-off-by: Thadeu Lima de Souza Cascardo <email address hidden>

ce994f1... by Mark Rutland

arm64: pmuv3: use arm_pmu ACPI framework

BugLink: https://bugs.launchpad.net/bugs/1689661

Now that we have a framework to handle the ACPI bits, make the PMUv3
code use this. The framework is a little different to what was
originally envisaged, and we can drop some unused support code in the
process of moving over to it.

Signed-off-by: Mark Rutland <email address hidden>
Tested-by: Jeremy Linton <email address hidden>
[will: make armv8_pmu_driver_init static]
Signed-off-by: Will Deacon <email address hidden>
(cherry picked from commit f00fa5f4163b40c3ec8590d9a7bd845c19bf8d16)
Signed-off-by: dann frazier <email address hidden>
Acked-by: Seth Forshee <email address hidden>
Acked-by: Thadeu Lima de Souza Cascardo <email address hidden>
Signed-off-by: Thadeu Lima de Souza Cascardo <email address hidden>

d958d57... by Mark Rutland

arm64: pmuv3: handle !PMUv3 when probing

BugLink: https://bugs.launchpad.net/bugs/1689661

When probing via ACPI, we won't know up-front whether a CPU has a PMUv3
compatible PMU. Thus we need to consult ID registers during probe time.

This patch updates our PMUv3 probing code to test for the presence of
PMUv3 functionality before touching an PMUv3-specific registers, and
before updating the struct arm_pmu with PMUv3 data.

When a PMUv3-compatible PMU is not present, probing will return -ENODEV.

Signed-off-by: Mark Rutland <email address hidden>
Cc: Will Deacon <email address hidden>
Signed-off-by: Will Deacon <email address hidden>
(cherry picked from commit f1b36dcb5c316c276ca6faedc50d89d97f90d960)
Signed-off-by: dann frazier <email address hidden>
Acked-by: Seth Forshee <email address hidden>
Acked-by: Thadeu Lima de Souza Cascardo <email address hidden>
Signed-off-by: Thadeu Lima de Souza Cascardo <email address hidden>

ba12354... by Mark Rutland

drivers/perf: arm_pmu: add ACPI framework

BugLink: https://bugs.launchpad.net/bugs/1689661

This patch adds framework code to handle parsing PMU data out of the
MADT, sanity checking this, and managing the association of CPUs (and
their interrupts) with appropriate logical PMUs.

For the time being, we expect that only one PMU driver (PMUv3) will make
use of this, and we simply pass in a single probe function.

This is based on an earlier patch from Jeremy Linton.

Signed-off-by: Mark Rutland <email address hidden>
Tested-by: Jeremy Linton <email address hidden>
Cc: Will Deacon <email address hidden>
Signed-off-by: Will Deacon <email address hidden>
(cherry picked from commit 45736a72fb79b204c1fbdb08a1e1a2aa52c7281a)
Signed-off-by: dann frazier <email address hidden>
Acked-by: Seth Forshee <email address hidden>
Acked-by: Thadeu Lima de Souza Cascardo <email address hidden>
Signed-off-by: Thadeu Lima de Souza Cascardo <email address hidden>