- 06 Apr, 2016 40 commits
-
-
Mark Rutland authored
BugLink: http://bugs.launchpad.net/bugs/1559350 Nothing outside of drivers/perf/arm_pmu.c should call armpmu_register any more, so it no longer needs to be in include/linux/perf/arm_pmu.h. Additionally, by folding it in to arm_pmu_device_probe we can allow drivers to override struct pmu fields without getting blatted by the armpmu code. This patch folds armpmu_register into arm_pmu_device_probe. The logging to the console is moved to after the PMU is successfully registered with the core perf code. Signed-off-by: Mark Rutland <mark.rutland@arm.com> Suggested-by: Will Deacon <will.deacon@arm.com> Cc: Drew Richardson <drew.richardson@arm.com> Cc: Pawel Moll <pawel.moll@arm.com> Signed-off-by: Will Deacon <will.deacon@arm.com> (cherry picked from commit 86cb273b601488fb02d5706c61a09ee267474aad) Signed-off-by: dann frazier <dann.frazier@canonical.com> Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
-
Luck, Tony authored
BugLink: http://bugs.launchpad.net/bugs/1559904 Large memory Haswell-EX systems with multiple DIMMs per channel were sometimes reporting the wrong DIMM. Found three problems: 1) Debug printouts for socket and channel interleave were not interpreting the register fields correctly. The socket interleave field is a 2^X value (0=1, 1=2, 2=4, 3=8). The channel interleave is X+1 (0=1, 1=2, 2=3. 3=4). 2) Actual use of the socket interleave value didn't interpret as 2^X 3) Conversion of address to channel address was complicated, and wrong. Signed-off-by: Tony Luck <tony.luck@intel.com> Acked-by: Aristeu Rozanski <arozansk@redhat.com> Cc: Borislav Petkov <bp@alien8.de> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Mauro Carvalho Chehab <mchehab@osg.samsung.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: linux-edac@vger.kernel.org Cc: stable@vger.kernel.org Signed-off-by: Ingo Molnar <mingo@kernel.org> (cherry picked from commit eb1af3b7) Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
-
Andy Whitcroft authored
This support is completely duplicated in the initramfs code. As things stand we attempt this PNP when we do not have the devices we could use loaded and will not be able to load until the initramfs is loaded. Therefore disable this support in the kernel and rely on the initramfs-tools code. BugLink: http://bugs.launchpad.net/bugs/1259861Signed-off-by: Andy Whitcroft <apw@canonical.com>
-
Andy Whitcroft authored
Ignore: yes Signed-off-by: Andy Whitcroft <apw@canonical.com>
-
Tim Gardner authored
Ignore: yes Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
-
Tim Gardner authored
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
-
Frederic Barrat authored
BugLink: http://bugs.launchpad.net/bugs/1557001 https://patchwork.ozlabs.org/patch/599445/ Failure to synchronize the PSL timebase currently prevents the initialization of the cxl card, thus rendering the card useless. This is too extreme for a feature which is rarely used, if at all. No hardware AFUs or software is currently using PSL timebase. This patch still tries to synchronize the PSL timebase when the card is initialized, but ignores the error if it can't. Instead, it reports a status via /sys. Signed-off-by: Frederic Barrat <fbarrat@linux.vnet.ibm.com> Acked-by: Michael Neuling <mikey@neuling.org> Acked-by: Ian Munsie <imunsie@au1.ibm.com> Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
-
Tyler Hicks authored
BugLink: http://bugs.launchpad.net/bugs/1379535 Disabled by default until the AppArmor kernel code is deemed safe enough to handle untrusted policy. Only developers of container technologies should turn this on until that time. If this sysctl is set to non-zero and a process with CAP_MAC_ADMIN in the root namespace has created an AppArmor policy namespace, unprivileged processes will be able to change to a profile in the newly created AppArmor policy namespace and, if the profile allows CAP_MAC_ADMIN and appropriate file permissions, will be able to load policy in the respective policy namespace. Signed-off-by: Tyler Hicks <tyhicks@canonical.com> Signed-off-by: John Johansen <john.johansen@canonical.com> Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
-
John Johansen authored
BugLink: http://bugs.launchpad.net/bugs/1379535 This is a sync and squash of the apparmor 3.5-beta1 snapshot. The set of patches in this squash are available in git://kernel.ubuntu.com/jj/ubuntu-xenial.git using the the tag apparmor-3.5-beta1-presuash-snapshot This fixes multiple bugs and adds the policy namespace stacking features. BugLink: http://bugs.launchpad.net/bugs/1379535Signed-off-by: John Johansen <john.johansen@canonical.com> Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
-
John Johansen authored
BugLink: http://bugs.launchpad.net/bugs/1379535 This reverts commit 41689645. Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
-
John Johansen authored
BugLink: http://bugs.launchpad.net/bugs/1379535 This reverts commit 6bfc18ae. Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
-
John Johansen authored
BugLink: http://bugs.launchpad.net/bugs/1379535 This reverts commit 9b306795. Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
-
John Johansen authored
BugLink: http://bugs.launchpad.net/bugs/1379535 This reverts commit 14bc1e20. Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
-
John Johansen authored
BugLink: http://bugs.launchpad.net/bugs/1379535 This reverts commit 53f139d6. Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
-
John Johansen authored
BugLink: http://bugs.launchpad.net/bugs/1379535 This reverts commit c5e6ac51. Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
-
John Johansen authored
BugLink: http://bugs.launchpad.net/bugs/1379535 This reverts commit 1e7328d5. Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
-
John Johansen authored
BugLink: http://bugs.launchpad.net/bugs/1379535 This reverts commit 5a22abd4. Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
-
John Johansen authored
Revert "UBUNTU: SAUCE: (no-up): apparmor: fix for failed mediation of socket that is being shutdown" BugLink: http://bugs.launchpad.net/bugs/1379535 This reverts commit e35fe568. Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
-
John Johansen authored
BugLink: http://bugs.launchpad.net/bugs/1379535 This reverts commit f970350049bdb24c3b3bdf4ef8c162833c4f2dd8. Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
-
John Johansen authored
BugLink: http://bugs.launchpad.net/bugs/1379535 This reverts commit bcc4061cfc6cc47f311b0666eef5f69ee5bf392d. Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
-
John Johansen authored
BugLink: http://bugs.launchpad.net/bugs/1379535 This reverts commit 949769a80df6a9446e63d56a1d7aa7da11cb4d9c. Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
-
John Johansen authored
Revert "UBUNTU: SAUCE: apparmor: Disallow update of cred when then subjective != the objective cred" BugLink: http://bugs.launchpad.net/bugs/1379535 This reverts commit 1f95c6b69724417ab7039e924ec1a46cdc2f3a03. Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
-
John Johansen authored
BugLink: http://bugs.launchpad.net/bugs/1379535 This reverts commit 8a6a317400fcd5e4eebfc20665ca0b3e8dbc8217. Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
-
John Johansen authored
BugLink: http://bugs.launchpad.net/bugs/1379535 This reverts commit c8cf841fc8307461847036d2be2ad27791be485b. Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
-
John Johansen authored
Revert "UBUNTU: SAUCE: apparmor: Fix: ensure aa_get_newest will trip debugging if the replacedby is not setup" BugLink: http://bugs.launchpad.net/bugs/1379535 This reverts commit 9b02a4b233d1b5b9ec3cb4353b894089a1bf9ea0. Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
-
John Johansen authored
BugLink: http://bugs.launchpad.net/bugs/1379535 This reverts commit a74bd8e71cad1328bf5b933aeb7ac75d9f350c87. Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
-
John Johansen authored
Revert "UBUNTU: SAUCE: apparmor: add underscores to indicate aa_label_next_not_in_set() use needs locking" BugLink: http://bugs.launchpad.net/bugs/1379535 This reverts commit ee2d7f94c7e6c72e8cbaafc37e78d50a7bbd2323. Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
-
John Johansen authored
BugLink: http://bugs.launchpad.net/bugs/1379535 This reverts commit 919e68433341077eec6b72c268447e2883f5c0b8. Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
-
John Johansen authored
BugLink: http://bugs.launchpad.net/bugs/1379535 This reverts commit 3ceb6a970f5eec7580ec740ed493b07c142984f2. Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
-
John Johansen authored
BugLink: http://bugs.launchpad.net/bugs/1379535 This reverts commit a62647332d731a4d498d7a99d52926d5b0df739a. Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
-
John Johansen authored
BugLink: http://bugs.launchpad.net/bugs/1379535 This reverts commit 2928259cc7e695219d348927e7557e4a83fc92c8. Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
-
John Johansen authored
BugLink: http://bugs.launchpad.net/bugs/1379535 This reverts commit 4cce60ba994d9c9e58d731c14cb257ca2c4ddeb6. Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
-
John Johansen authored
BugLink: http://bugs.launchpad.net/bugs/1379535 This reverts commit 981d09c847dd7a382c069e81b4dd9ae0b180d698. Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
-
John Johansen authored
BugLink: http://bugs.launchpad.net/bugs/1379535 This reverts commit c6a6d05f05cea01eece5d29f0bb9537c401315d1. Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
-
John Johansen authored
Revert "UBUNTU: SAUCE: apparmor: Fix: convert replacedby update to be protected by the labelset lock" BugLink: http://bugs.launchpad.net/bugs/1379535 This reverts commit 6b05f95e2bd24c98400eae1c25d36a10242e7f5b. Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
-
John Johansen authored
BugLink: http://bugs.launchpad.net/bugs/1379535 This reverts commit 7e0977f6bb9ce90dcd316a3bf4c43546aac9f444. Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
-
John Johansen authored
BugLink: http://bugs.launchpad.net/bugs/1379535 This reverts commit b91470b3c68da4e10aeacfa4dac142327123093f. Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
-
John Johansen authored
BugLink: http://bugs.launchpad.net/bugs/1379535 This reverts commit 2c30f8bde8c7986abcd2d18b4fa21565eede7dca. Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
-
John Johansen authored
Revert "UBUNTU: SAUCE: apparmor: Fix: now that insert can force replacement use it instead of remove_and_insert" BugLink: http://bugs.launchpad.net/bugs/1379535 This reverts commit 7c2edd90b522bb373a6be6971ba8a3cfbc99ed1d. Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
-
John Johansen authored
BugLink: http://bugs.launchpad.net/bugs/1379535 This reverts commit cfc72134ff8c7fba8f3e0711f900826e817eed5c. Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
-