]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/log
mirror_ubuntu-zesty-kernel.git
7 years agoUBUNTU: Update annotation enforcement for CONFIG_USB_[E|O|U|X]HCI_HCD
Leann Ogasawara [Sat, 24 Sep 2016 21:20:29 +0000 (14:20 -0700)]
UBUNTU: Update annotation enforcement for CONFIG_USB_[E|O|U|X]HCI_HCD

BugLink: http://bugs.launchpad.net/bugs/1627323
Signed-off-by: Leann Ogasawara <leann.ogasawara@canonical.com>
7 years agoUBUNTU: [Config] CONFIG_GOLDFISH=n
Luis Henriques [Fri, 23 Sep 2016 15:39:35 +0000 (16:39 +0100)]
UBUNTU: [Config] CONFIG_GOLDFISH=n

BugLink: http://bugs.launchpad.net/bugs/1627052
Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
Acked-by: Stefan Bader <stefan.bader@canonical.com>
7 years agoRevert "UBUNTU: SAUCE: Clear Linux: bootstats: add printk's to measure boot time...
Tim Gardner [Fri, 23 Sep 2016 15:05:03 +0000 (09:05 -0600)]
Revert "UBUNTU: SAUCE: Clear Linux: bootstats: add printk's to measure boot time in more detail"

BugLink: http://bugs.launchpad.net/bugs/1626104
This reverts commit 18b27273904ac9a79b3a84c0f8933b40203a365e.

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
 Conflicts:
init/main.c

7 years agoUBUNTU: Start new release
Tim Gardner [Fri, 23 Sep 2016 12:46:57 +0000 (06:46 -0600)]
UBUNTU: Start new release

Ignore: yes
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: [Config] Enable CONFIG_QUICC_ENGINE=y
Leann Ogasawara [Sat, 24 Sep 2016 20:37:59 +0000 (13:37 -0700)]
UBUNTU: [Config] Enable CONFIG_QUICC_ENGINE=y

Avoids the following build failure on powerpc

drivers/built-in.o: In function `qe_usb_clock_set':
drivers/soc/fsl/qe/usb.c:25: undefined reference to `qe_immr'
drivers/soc/fsl/qe/usb.c:25: undefined reference to `qe_immr'
drivers/soc/fsl/qe/usb.c:48: undefined reference to `cmxgcr_lock'
drivers/soc/fsl/qe/usb.c:48: undefined reference to `cmxgcr_lock'
drivers/soc/fsl/qe/usb.c:46: undefined reference to `qe_setbrg'
Makefile:965: recipe for target 'vmlinux' failed
make[2]: *** [vmlinux] Error 1

Signed-off-by: Leann Ogasawara <leann.ogasawara@canonical.com>
7 years agoUBUNTU: [Config] Enable CONFIG_ACPI_HED=y for arm64
Leann Ogasawara [Sat, 24 Sep 2016 18:59:21 +0000 (11:59 -0700)]
UBUNTU: [Config] Enable CONFIG_ACPI_HED=y for arm64

This brings this in alignment with the annotations file.

Signed-off-by: Leann Ogasawara <leann.ogasawara@canonical.com>
7 years agoUBUNTU: [Config] Enable CONFIG_ACPI_PCI_SLOT=y for arm64
Leann Ogasawara [Sat, 24 Sep 2016 18:54:16 +0000 (11:54 -0700)]
UBUNTU: [Config] Enable CONFIG_ACPI_PCI_SLOT=y for arm64

This brings this in alignment with the annotations file.

Signed-off-by: Leann Ogasawara <leann.ogasawara@canonical.com>
7 years agoUBUNTU: [Config] s390x -- CONFIG_ECRYPT_FS=y
Andy Whitcroft [Sat, 24 Sep 2016 17:26:28 +0000 (18:26 +0100)]
UBUNTU: [Config] s390x -- CONFIG_ECRYPT_FS=y

Signed-off-by: Andy Whitcroft <apw@canonical.com>
7 years agoUBUNTU: [Config] s390x -- CONFIG_SQUASHFS=y
Andy Whitcroft [Sat, 24 Sep 2016 17:24:08 +0000 (18:24 +0100)]
UBUNTU: [Config] s390x -- CONFIG_SQUASHFS=y

Signed-off-by: Andy Whitcroft <apw@canonical.com>
7 years agoUBUNTU: s390x -- DEBUG_RODATA is now valid
Andy Whitcroft [Sat, 24 Sep 2016 17:20:32 +0000 (18:20 +0100)]
UBUNTU: s390x -- DEBUG_RODATA is now valid

Signed-off-by: Andy Whitcroft <apw@canonical.com>
7 years agoUBUNTU: [Config] apply xenial configuration annotations
Andy Whitcroft [Sat, 24 Sep 2016 16:49:14 +0000 (17:49 +0100)]
UBUNTU: [Config] apply xenial configuration annotations

Signed-off-by: Andy Whitcroft <apw@canonical.com>
7 years agoannotations: pull back to xenial
Andy Whitcroft [Sat, 24 Sep 2016 07:54:59 +0000 (08:54 +0100)]
annotations: pull back to xenial

Signed-off-by: Andy Whitcroft <apw@canonical.com>
7 years agoUBUNTU: Ubuntu-4.8.0-16.17
Tim Gardner [Thu, 22 Sep 2016 22:30:02 +0000 (16:30 -0600)]
UBUNTU: Ubuntu-4.8.0-16.17

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: [Config] CONFIG_ACPI_IORT=y
dann frazier [Thu, 22 Sep 2016 03:34:15 +0000 (21:34 -0600)]
UBUNTU: [Config] CONFIG_ACPI_IORT=y

BugLink: http://bugs.launchpad.net/bugs/1626631
Signed-off-by: dann frazier <dann.frazier@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: [Config] CONFIG_ATA=y
Tim Gardner [Thu, 22 Sep 2016 20:11:32 +0000 (14:11 -0600)]
UBUNTU: [Config] CONFIG_ATA=y

BugLink: http://bugs.launchpad.net/bugs/1626394
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: [Config] Xenial device settings sync with arm64
Tim Gardner [Thu, 22 Sep 2016 20:00:35 +0000 (14:00 -0600)]
UBUNTU: [Config] Xenial device settings sync with arm64

BugLink: http://bugs.launchpad.net/bugs/1626543
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: [Config] Xenial device settings sync with armhf
Tim Gardner [Thu, 22 Sep 2016 19:15:58 +0000 (13:15 -0600)]
UBUNTU: [Config] Xenial device settings sync with armhf

BugLink: http://bugs.launchpad.net/bugs/1626543
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: [Config] CONFIG_MTD_UBI_GLUEBI=m
Tim Gardner [Thu, 22 Sep 2016 17:48:08 +0000 (11:48 -0600)]
UBUNTU: [Config] CONFIG_MTD_UBI_GLUEBI=m

BugLink: http://bugs.launchpad.net/bugs/1626543
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: [Config] Xenial device settings sync with i386
Tim Gardner [Thu, 22 Sep 2016 17:45:10 +0000 (11:45 -0600)]
UBUNTU: [Config] Xenial device settings sync with i386

BugLink: http://bugs.launchpad.net/bugs/1626543
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: [Config] Xenial device settings sync with amd64
Tim Gardner [Wed, 21 Sep 2016 13:02:27 +0000 (07:02 -0600)]
UBUNTU: [Config] Xenial device settings sync with amd64

BugLink: http://bugs.launchpad.net/bugs/1626543
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: [Config] CONFIG_BLK_DEV_NVME_SCSI=y
Tim Gardner [Wed, 21 Sep 2016 14:38:59 +0000 (08:38 -0600)]
UBUNTU: [Config] CONFIG_BLK_DEV_NVME_SCSI=y

BugLink: http://bugs.launchpad.net/bugs/1626543
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: [Config] CONFIG_OF=y for all arches
Tim Gardner [Wed, 21 Sep 2016 13:41:56 +0000 (07:41 -0600)]
UBUNTU: [Config] CONFIG_OF=y for all arches

BugLink: http://bugs.launchpad.net/bugs/1626543
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: [Config] CONFIG_MAC80211_RC_MINSTREL_VHT=y for all arches
Tim Gardner [Wed, 21 Sep 2016 13:21:10 +0000 (07:21 -0600)]
UBUNTU: [Config] CONFIG_MAC80211_RC_MINSTREL_VHT=y for all arches

BugLink: http://bugs.launchpad.net/bugs/1626543
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: [Config] CONFIG_VMD=m
Tim Gardner [Wed, 21 Sep 2016 13:16:25 +0000 (07:16 -0600)]
UBUNTU: [Config] CONFIG_VMD=m

BugLink: http://bugs.launchpad.net/bugs/1626543
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: [Config] CONFIG_USERFAULTFD=y
Tim Gardner [Thu, 22 Sep 2016 13:55:30 +0000 (07:55 -0600)]
UBUNTU: [Config] CONFIG_USERFAULTFD=y

BugLink: http://bugs.launchpad.net/bugs/1626149
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: [Config] CONFIG_SLUB=y
Tim Gardner [Thu, 22 Sep 2016 13:46:38 +0000 (07:46 -0600)]
UBUNTU: [Config] CONFIG_SLUB=y

BugLink: http://bugs.launchpad.net/bugs/1626564
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: Start new release
Tim Gardner [Thu, 22 Sep 2016 12:52:20 +0000 (06:52 -0600)]
UBUNTU: Start new release

Ignore: yes
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: add nls_cp437 to the generic.inclusion-list
Leann Ogasawara [Wed, 21 Sep 2016 22:43:16 +0000 (15:43 -0700)]
UBUNTU: add nls_cp437 to the generic.inclusion-list

BugLink: http://bugs.launchpad.net/bugs/1626158
Add a precautionary measure in the event CONFIG_NLS_CODEPAGE_437 reverts
back to being enabled as a module.

Signed-off-by: Leann Ogasawara <leann.ogasawara@canonical.com>
7 years agoUBUNTU: Ubuntu-4.8.0-15.16
Tim Gardner [Wed, 21 Sep 2016 20:07:38 +0000 (14:07 -0600)]
UBUNTU: Ubuntu-4.8.0-15.16

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: [Config] CONFIG_VFAT_FS=y
Tim Gardner [Wed, 21 Sep 2016 19:56:36 +0000 (13:56 -0600)]
UBUNTU: [Config] CONFIG_VFAT_FS=y

BugLink: http://bugs.launchpad.net/bugs/1626158
Fails to boot in Qemu otherwise.

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: [Config] CONFIG_NLS_CODEPAGE_437=y
Tim Gardner [Wed, 21 Sep 2016 19:48:56 +0000 (13:48 -0600)]
UBUNTU: [Config] CONFIG_NLS_CODEPAGE_437=y

BugLink: http://bugs.launchpad.net/bugs/1626158
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: [Config] CONFIG_FAT_DEFAULT_IOCHARSET=iso8859-1
Tim Gardner [Wed, 21 Sep 2016 18:44:55 +0000 (12:44 -0600)]
UBUNTU: [Config] CONFIG_FAT_DEFAULT_IOCHARSET=iso8859-1

BugLink: http://bugs.launchpad.net/bugs/1626158
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: SAUCE: seccomp: log actions even when audit is disabled
Tyler Hicks [Wed, 21 Sep 2016 18:04:35 +0000 (13:04 -0500)]
UBUNTU: SAUCE: seccomp: log actions even when audit is disabled

https://launchpad.net/bugs/1626194

Upstream commit 96368701e1c89057bbf39222e965161c68a85b4b changed the
auditing behavior of seccomp so that actions are only logged when the
audit subsystem is enabled. A default install of Ubuntu does not include
the audit userspace and simply enabling the audit subsystem, without
filtering some audit events, would result in more audit records hitting
the system log than usual.

This patch undoes the functional change in upstream commit
96368701e1c89057bbf39222e965161c68a85b4b and goes back to the old
behavior of logging seccomp actions even when audit is not enabled.

Signed-off-by: Tyler Hicks <tyhicks@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: Start new release
Tim Gardner [Wed, 21 Sep 2016 12:41:27 +0000 (06:41 -0600)]
UBUNTU: Start new release

Ignore: yes
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: Ubuntu-4.8.0-14.15
Leann Ogasawara [Tue, 20 Sep 2016 20:57:46 +0000 (13:57 -0700)]
UBUNTU: Ubuntu-4.8.0-14.15

Signed-off-by: Leann Ogasawara <leann.ogasawara@canonical.com>
7 years agoUBUNTU: SAUCE: overlayfs: Enable user namespace mounts
Seth Forshee [Mon, 27 Jul 2015 14:16:54 +0000 (09:16 -0500)]
UBUNTU: SAUCE: overlayfs: Enable user namespace mounts

Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
Signed-off-by: Leann Ogasawara <leann.ogasawara@canonical.com>
7 years agoUBUNTU: SAUCE: overlayfs: Propogate nosuid from lower and upper mounts
Seth Forshee [Thu, 21 Jan 2016 21:37:53 +0000 (15:37 -0600)]
UBUNTU: SAUCE: overlayfs: Propogate nosuid from lower and upper mounts

An overlayfs mount using an upper or lower directory from a
nosuid filesystem bypasses this restriction. Change this so
that if any lower or upper directory is nosuid at mount time the
overlayfs superblock is marked nosuid. This requires some
additions at the vfs level since nosuid currently only applies to
mounts, so a SB_I_NOSUID flag is added along with a helper
function to check a path for nosuid in both the mount and the
superblock.

BugLink: http://bugs.launchpad.net/bugs/1534961
BugLink: http://bugs.launchpad.net/bugs/1535150
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
Signed-off-by: Leann Ogasawara <leann.ogasawara@canonical.com>
7 years agoUBUNTU: SAUCE: overlayfs: Be more careful about copying up sxid files
Seth Forshee [Thu, 21 Jan 2016 17:52:04 +0000 (11:52 -0600)]
UBUNTU: SAUCE: overlayfs: Be more careful about copying up sxid files

When an overlayfs filesystem's lowerdir is on a nosuid filesystem
but the upperdir is not, it's possible to copy up an sxid file or
stick directory into upperdir without changing the mode by
opening the file rw in the overlayfs mount without writing to it.
This makes it possible to bypass the nosuid restriction on the
lowerdir mount.

It's a bad idea in general to let the mounter copy up a sxid file
if the mounter wouldn't have had permission to create the sxid
file in the first place. Therefore change ovl_set_xattr to
exclude these bits when initially setting the mode, then set the
full mode after setting the user for the inode. This allows copy
up for non-sxid files to work as before but causes copy up to
fail for the cases where the user could not have created the sxid
inode in upperdir.

BugLink: http://bugs.launchpad.net/bugs/1534961
BugLink: http://bugs.launchpad.net/bugs/1535150
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
Signed-off-by: Leann Ogasawara <leann.ogasawara@canonical.com>
7 years agoUBUNTU: SAUCE: overlayfs: Skip permission checking for trusted.overlayfs.* xattrs
Seth Forshee [Tue, 19 Jan 2016 19:12:02 +0000 (13:12 -0600)]
UBUNTU: SAUCE: overlayfs: Skip permission checking for trusted.overlayfs.* xattrs

The original mounter had CAP_SYS_ADMIN in the user namespace
where the mount happened, and the vfs has validated that the user
has permission to do the requested operation. This is sufficient
for allowing the kernel to write these specific xattrs, so we can
bypass the permission checks for these xattrs.

To support this, export __vfs_setxattr_noperm and add an similar
__vfs_removexattr_noperm which is also exported. Use these when
setting or removing trusted.overlayfs.* xattrs.

BugLink: http://bugs.launchpad.net/bugs/1531747
BugLink: http://bugs.launchpad.net/bugs/1534961
BugLink: http://bugs.launchpad.net/bugs/1535150
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
Signed-off-by: Leann Ogasawara <leann.ogasawara@canonical.com>
7 years agoUBUNTU: [Config] Enabled some networking options
Tim Gardner [Tue, 20 Sep 2016 20:48:13 +0000 (14:48 -0600)]
UBUNTU: [Config] Enabled some networking options

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: [Config] CONFIG_PROCESSOR_SELECT=y
Tim Gardner [Tue, 20 Sep 2016 20:28:17 +0000 (14:28 -0600)]
UBUNTU: [Config] CONFIG_PROCESSOR_SELECT=y

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: [Config] CONFIG_WQ_POWER_EFFICIENT_DEFAULT=y
Tim Gardner [Tue, 20 Sep 2016 20:26:02 +0000 (14:26 -0600)]
UBUNTU: [Config] CONFIG_WQ_POWER_EFFICIENT_DEFAULT=y

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: [Config] CONFIG_CLEANCACHE=y
Tim Gardner [Tue, 20 Sep 2016 20:23:32 +0000 (14:23 -0600)]
UBUNTU: [Config] CONFIG_CLEANCACHE=y

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: [Config] CONFIG_PM_WAKELOCKS=y
Tim Gardner [Tue, 20 Sep 2016 20:10:34 +0000 (14:10 -0600)]
UBUNTU: [Config] CONFIG_PM_WAKELOCKS=y

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: Start new release
Tim Gardner [Tue, 20 Sep 2016 18:00:31 +0000 (12:00 -0600)]
UBUNTU: Start new release

Ignore: yes
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: Ubuntu-4.8.0-13.14
Tim Gardner [Tue, 20 Sep 2016 17:17:41 +0000 (11:17 -0600)]
UBUNTU: Ubuntu-4.8.0-13.14

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: [Config] Add some CRC crypto modules to d-i
Tim Gardner [Tue, 20 Sep 2016 17:05:47 +0000 (11:05 -0600)]
UBUNTU: [Config] Add some CRC crypto modules to d-i

BugLink: http://bugs.launchpad.net/bugs/1625728
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: [Config] CONFIG_VFIO=m for ppc64el
Tim Gardner [Tue, 20 Sep 2016 16:51:43 +0000 (10:51 -0600)]
UBUNTU: [Config] CONFIG_VFIO=m for ppc64el

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: SAUCE: [nf,v2] netfilter: x_tables: don't rely on well-behaving userspace
Florian Westphal [Thu, 10 Mar 2016 16:26:39 +0000 (17:26 +0100)]
UBUNTU: SAUCE: [nf,v2] netfilter: x_tables: don't rely on well-behaving userspace

BugLink: http://bugs.launchpad.net/bugs/1555338
Ben Hawkes says:

 In the mark_source_chains function (net/ipv4/netfilter/ip_tables.c) it
 is possible for a user-supplied ipt_entry structure to have a large
 next_offset field. This field is not bounds checked prior to writing a
 counter value at the supplied offset.

Problem is that xt_entry_foreach() macro stops iterating once e->next_offset
is out of bounds, assuming this is the last entry.

With malformed data thats not necessarily the case so we can
write outside of allocated area later as we might not have walked the
entire blob.

Fix this by simplifying mark_source_chains -- it already has to check
if nextoff is in range to catch invalid jumps, so just do the check
when we move to a next entry as well.

Also, check that the offset meets the xtables_entry alignment.

Reported-by: Ben Hawkes <hawkes@google.com>
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Chris J. Arges <chris.j.arges@canonical.com>
Acked-by: Brad Figg <brad.figg@canonical.com>
Signed-off-by: Brad Figg <brad.figg@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: SAUCE: (no-up) ACPI: Disable Windows 8 compatibility for some Lenovo ThinkPads
Seth Forshee [Fri, 20 Sep 2013 18:03:41 +0000 (13:03 -0500)]
UBUNTU: SAUCE: (no-up) ACPI: Disable Windows 8 compatibility for some Lenovo ThinkPads

The AML implementation for brightness control on several ThinkPads
contains a workaround to meet a Windows 8 requirement of 101 brightness
levels [1]. The implementation is flawed, as only 16 of the brighness
values reported by _BCL affect a change in brightness. _BCM silently
discards the rest of the values. Disabling Windows 8 compatibility on
these machines reverts them to the old behavior, making _BCL only report
the 16 brightness levels which actually work. Add a quirk to do this
along with a dmi callback to disable Win8 compatibility.

[1] http://msdn.microsoft.com/en-us/library/windows/hardware/jj128256.aspx

BugLink: http://bugs.launchpad.net/bugs/1183856
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: SAUCE: (no-up) Added quirk to recognize GE0301 3G modem as an interface.
Manoj Iyer [Mon, 6 Apr 2009 15:58:49 +0000 (10:58 -0500)]
UBUNTU: SAUCE: (no-up) Added quirk to recognize GE0301 3G modem as an interface.

Rejected by upstream, but continue to carry anyway.
http://lkml.indiana.edu/hypermail/linux/kernel/1303.1/03158.html

OriginalAuthor: Timo Aaltonen <tjaalton@ubuntu.com>
BugLink: http://bugs.launchpad.net/bugs/348861
Signed-off-by: Manoj Iyer <manoj.iyer@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
Signed-off-by: Andy Whitcroft <apw@canonical.com>
Acked-by: Tim Gardner <tim.gardner@canonical.com>
Acked-by: Stefan Bader <stefan.bader@canonical.com>
7 years agoUBUNTU: SAUCE: fan: add VXLAN implementation
Jay Vosburgh [Wed, 11 Nov 2015 13:04:50 +0000 (13:04 +0000)]
UBUNTU: SAUCE: fan: add VXLAN implementation

Generify the fan mapping support and utilise that to implement fan
mappings over vxlan transport.

Expose the existance of this functionality (when the module is loaded)
via an additional sysctl marker.

Signed-off-by: Jay Vosburgh <jay.vosburgh@canonical.com>
[apw@canonical.com: added feature marker for fan over vxlan.]
Signed-off-by: Andy Whitcroft <apw@canonical.com>
Conflicts:
drivers/net/vxlan.c
include/uapi/linux/if_link.h
net/ipv4/ipip.c

Signed-off-by: Andy Whitcroft <apw@canonical.com>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
7 years agoUBUNTU: [Config] CONFIG_TOUCHSCREEN_ELAN=m for all arches
Tim Gardner [Mon, 19 Sep 2016 16:50:10 +0000 (10:50 -0600)]
UBUNTU: [Config] CONFIG_TOUCHSCREEN_ELAN=m for all arches

BugLink: http://bugs.launchpad.net/bugs/1625259
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: Start new release
Tim Gardner [Mon, 19 Sep 2016 16:51:01 +0000 (10:51 -0600)]
UBUNTU: Start new release

Ignore: yes
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: Ubuntu-4.8.0-12.13
Tim Gardner [Mon, 19 Sep 2016 15:25:02 +0000 (09:25 -0600)]
UBUNTU: Ubuntu-4.8.0-12.13

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: [Config] CONFIG_SCSI_DEBUG=m for all arches
Tim Gardner [Mon, 19 Sep 2016 14:55:28 +0000 (08:55 -0600)]
UBUNTU: [Config] CONFIG_SCSI_DEBUG=m for all arches

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: rebase to v4.8-rc7
Tim Gardner [Mon, 19 Sep 2016 12:39:53 +0000 (06:39 -0600)]
UBUNTU: rebase to v4.8-rc7

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: Start new release
Tim Gardner [Mon, 19 Sep 2016 12:35:50 +0000 (06:35 -0600)]
UBUNTU: Start new release

Ignore: yes
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: Ubuntu-4.8.0-11.12
Leann Ogasawara [Sat, 17 Sep 2016 19:46:37 +0000 (12:46 -0700)]
UBUNTU: Ubuntu-4.8.0-11.12

Signed-off-by: Leann Ogasawara <leann.ogasawara@canonical.com>
7 years agoUBUNTU: [Config] Set CONFIG_SECURITY_APPARMOR_UNCONFINED_INIT=y
Leann Ogasawara [Sat, 17 Sep 2016 16:52:23 +0000 (09:52 -0700)]
UBUNTU: [Config] Set CONFIG_SECURITY_APPARMOR_UNCONFINED_INIT=y

CONFIG_SECURITY_APPARMOR_STATS is not set
CONFIG_SECURITY_APPARMOR_UNCONFINED_INIT=y

Signed-off-by: Leann Ogasawara <leann.ogasawara@canonical.com>
7 years agoUBUNTU: [Debian] d-i -- fix dtb handling in new kernel-wedge form
Andy Whitcroft [Fri, 16 Sep 2016 03:08:24 +0000 (04:08 +0100)]
UBUNTU: [Debian] d-i -- fix dtb handling in new kernel-wedge form

Signed-off-by: Andy Whitcroft <apw@canonical.com>
7 years agoUBUNTU: [Debian] Dynamically determine linux udebs package name
Tim Gardner [Fri, 16 Sep 2016 13:55:25 +0000 (07:55 -0600)]
UBUNTU: [Debian] Dynamically determine linux udebs package name

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: Start new release
Tim Gardner [Fri, 16 Sep 2016 15:16:11 +0000 (09:16 -0600)]
UBUNTU: Start new release

Ignore: yes
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: Ubuntu-4.8.0-10.11
Tim Gardner [Thu, 15 Sep 2016 20:21:19 +0000 (14:21 -0600)]
UBUNTU: Ubuntu-4.8.0-10.11

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: SAUCE: Enable vbox build
Tim Gardner [Thu, 15 Sep 2016 20:19:50 +0000 (14:19 -0600)]
UBUNTU: SAUCE: Enable vbox build

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: ubuntu: vbox -- update to 5.1.6-dfsg-1
Tim Gardner [Thu, 15 Sep 2016 19:36:40 +0000 (13:36 -0600)]
UBUNTU: ubuntu: vbox -- update to 5.1.6-dfsg-1

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: Start new release
Tim Gardner [Thu, 15 Sep 2016 13:11:20 +0000 (07:11 -0600)]
UBUNTU: Start new release

Ignore: yes
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: Ubuntu-4.8.0-9.10
Tim Gardner [Thu, 15 Sep 2016 03:24:35 +0000 (21:24 -0600)]
UBUNTU: Ubuntu-4.8.0-9.10

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: [Config] CONFIG_XGENE_DMA=m
dann frazier [Wed, 14 Sep 2016 21:04:22 +0000 (15:04 -0600)]
UBUNTU: [Config] CONFIG_XGENE_DMA=m

Signed-off-by: dann frazier <dann.frazier@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: [Config] CONFIG_ARM64_ACPI_PARKING_PROTOCOL=y
dann frazier [Wed, 14 Sep 2016 20:57:55 +0000 (14:57 -0600)]
UBUNTU: [Config] CONFIG_ARM64_ACPI_PARKING_PROTOCOL=y

Needed by X-Gene systems in ACPI mode.

Signed-off-by: dann frazier <dann.frazier@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: [Config] CONFIG_EDAC_XGENE=m
dann frazier [Wed, 14 Sep 2016 21:00:21 +0000 (15:00 -0600)]
UBUNTU: [Config] CONFIG_EDAC_XGENE=m

Signed-off-by: dann frazier <dann.frazier@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: [Config] Disable CONFIG_POWER_RESET_XGENE
dann frazier [Wed, 14 Sep 2016 21:03:02 +0000 (15:03 -0600)]
UBUNTU: [Config] Disable CONFIG_POWER_RESET_XGENE

Reset is handled by the syscon driver.

Signed-off-by: dann frazier <dann.frazier@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: [Config] Enable CONFIG_GPIO_XGENE*
dann frazier [Wed, 14 Sep 2016 21:02:27 +0000 (15:02 -0600)]
UBUNTU: [Config] Enable CONFIG_GPIO_XGENE*

Signed-off-by: dann frazier <dann.frazier@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: d-i: initrd needs ext4 and scsi modules
Manoj Iyer [Wed, 14 Sep 2016 02:44:55 +0000 (21:44 -0500)]
UBUNTU: d-i: initrd needs ext4 and scsi modules

Ubuntu builds scsi disk support and ext4 as modules, these modules
are needed for d-i's initrd to be able to install the system.

Signed-off-by: Manoj Iyer <manoj.iyer@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: [Config] arm64: CONFIG_FRAMEBUFFER_CONSOLE=y
dann frazier [Tue, 13 Sep 2016 18:46:53 +0000 (12:46 -0600)]
UBUNTU: [Config] arm64: CONFIG_FRAMEBUFFER_CONSOLE=y

Signed-off-by: dann frazier <dann.frazier@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: [Config] arm64: CONFIG_DRM_AST=m
dann frazier [Tue, 13 Sep 2016 18:01:37 +0000 (12:01 -0600)]
UBUNTU: [Config] arm64: CONFIG_DRM_AST=m

Cavium Thunder-X CRBs include ASPEED graphics.

Signed-off-by: dann frazier <dann.frazier@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: [Config] arm64: CONFIG_NUMA_BALANCING_DEFAULT_ENABLED=y
dann frazier [Tue, 13 Sep 2016 17:59:56 +0000 (11:59 -0600)]
UBUNTU: [Config] arm64: CONFIG_NUMA_BALANCING_DEFAULT_ENABLED=y

Signed-off-by: dann frazier <dann.frazier@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: [Config] arm64: CONFIG_PCI_HOST_THUNDER_*=y
dann frazier [Tue, 13 Sep 2016 17:52:05 +0000 (11:52 -0600)]
UBUNTU: [Config] arm64: CONFIG_PCI_HOST_THUNDER_*=y

Signed-off-by: dann frazier <dann.frazier@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: [Config] arm64: CONFIG_ARCH_THUNDER=y
dann frazier [Tue, 13 Sep 2016 17:50:23 +0000 (11:50 -0600)]
UBUNTU: [Config] arm64: CONFIG_ARCH_THUNDER=y

Signed-off-by: dann frazier <dann.frazier@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: Start new release
Tim Gardner [Mon, 12 Sep 2016 16:26:48 +0000 (10:26 -0600)]
UBUNTU: Start new release

Ignore: yes
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: Ubuntu-4.8.0-8.9
Tim Gardner [Mon, 12 Sep 2016 16:11:31 +0000 (10:11 -0600)]
UBUNTU: Ubuntu-4.8.0-8.9

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: SAUCE: (noup) Update spl to 0.6.5.8-0ubuntu1, zfs to 0.6.5.8-0ubuntu1
Tim Gardner [Wed, 17 Aug 2016 14:26:11 +0000 (08:26 -0600)]
UBUNTU: SAUCE: (noup) Update spl to 0.6.5.8-0ubuntu1, zfs to 0.6.5.8-0ubuntu1

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: rebase to v4.8-rc6
Tim Gardner [Mon, 12 Sep 2016 12:41:47 +0000 (06:41 -0600)]
UBUNTU: rebase to v4.8-rc6

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: Start new release
Tim Gardner [Fri, 9 Sep 2016 16:54:09 +0000 (10:54 -0600)]
UBUNTU: Start new release

Ignore: yes
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: Ubuntu-4.8.0-7.8
Tim Gardner [Thu, 24 Jul 2014 13:28:11 +0000 (07:28 -0600)]
UBUNTU: Ubuntu-4.8.0-7.8

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: SAUCE: Return TCMU-generated sense data to fabric module
Michael Cyr [Fri, 26 Aug 2016 19:06:45 +0000 (14:06 -0500)]
UBUNTU: SAUCE: Return TCMU-generated sense data to fabric module

BugLink: http://bugs.launchpad.net/bugs/1615665
If an error status is passed to target_complete_cmd, then by default it
queues the command to target_complete_failure_work, which will generate
Logical Unit Communication Failure sense data, overwriting any sense data
already set in the command.  This means that any sense data returned by
TCMU does not get returned to the fabric module.

This change implements a transport_complete function for target-user which
will set the SCF_TRANSPORT_TASK_SENSE flag if we have valid sense data,
which will cause target_complete_cmd to queue the command to
target_complete_ok_work instead of target_complete_failure_work.

Signed-off-by: Michael Cyr <mikecyr@linux.vnet.ibm.com>
Reviewed-by: Andy Grover <agrover@redhat.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: SAUCE: PCI: Workaround to enable poweroff on Mac Pro 11
Chen Yu [Fri, 19 Aug 2016 17:25:57 +0000 (10:25 -0700)]
UBUNTU: SAUCE: PCI: Workaround to enable poweroff on Mac Pro 11

BugLink: http://bugs.launchpad.net/bugs/1587714
People reported that they can not do a poweroff nor a
suspend to ram on their Mac Pro 11. After some investigations
it was found that, once the PCI bridge 0000:00:1c.0 reassigns its
mm windows to ([mem 0x7fa00000-0x7fbfffff] and
[mem 0x7fc00000-0x7fdfffff 64bit pref]), the region of ACPI
io resource 0x1804 becomes unaccessible immediately, where the
ACPI Sleep register is located, as a result neither poweroff(S5)
nor suspend to ram(S3) works.

As suggested by Bjorn, further testing shows that, there is an
unreported device may be (using) conflict with above aperture,
which brings unpredictable result such as the failure of accessing
the io port, which blocks the poweroff(S5). Besides if we reassign
the memory aperture to the other place, the poweroff works again.

As we do not find any resource declared in _CRS which contain above
memory aperture, and Mac OS does not use this pci bridge neither, we
choose a simple workaround to clear the hotplug flag(suggested by
Yinghai Lu), thus do not allocate any resource for this pci bridge,
and thereby no conflict anymore.

Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=103211
Cc: Bjorn Helgaas <bhelgaas@google.com>
Cc: Rafael J. Wysocki <rafael@kernel.org>
Cc: Lukas Wunner <lukas@wunner.de>
Signed-off-by: Chen Yu <yu.c.chen@intel.com>
Reference: https://patchwork.kernel.org/patch/9289777/
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: SAUCE: powerpc/pseries: Increase RMA size to 512MB.
Sukadev Bhattiprolu [Thu, 18 Aug 2016 02:41:49 +0000 (22:41 -0400)]
UBUNTU: SAUCE: powerpc/pseries: Increase RMA size to 512MB.

BugLink: http://bugs.launchpad.net/bugs/1614309
When trying to boot large kernel and initrd images on large systems
(with hundreds of CPUs and Terabytes of memory), we sometimes run out
of memory for the flattened device tree (FDT).

Increase the memory allocated for the Real Mode Area (RMA) to 512MB to
allow more room for the FDT.

Signed-off-by: Sukadev Bhattiprolu <sukadev@linux.vnet.ibm.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
Conflicts:
arch/powerpc/kernel/prom_init.c

7 years agoUBUNTU: SAUCE: security,perf: Allow further restriction of perf_event_open
Ben Hutchings [Tue, 16 Aug 2016 16:27:00 +0000 (10:27 -0600)]
UBUNTU: SAUCE: security,perf: Allow further restriction of perf_event_open

https://lkml.org/lkml/2016/1/11/587

The GRKERNSEC_PERF_HARDEN feature extracted from grsecurity.  Adds the
option to disable perf_event_open() entirely for unprivileged users.
This standalone version doesn't include making the variable read-only
(or renaming it).

When kernel.perf_event_open is set to 3 (or greater), disallow all
access to performance events by users without CAP_SYS_ADMIN.
Add a Kconfig symbol CONFIG_SECURITY_PERF_EVENTS_RESTRICT that
makes this value the default.

This is based on a similar feature in grsecurity
(CONFIG_GRKERNSEC_PERF_HARDEN).  This version doesn't include making
the variable read-only.  It also allows enabling further restriction
at run-time regardless of whether the default is changed.

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: SAUCE: sstep.c: #include <asm/cpu_has_feature.h>
Tim Gardner [Wed, 10 Aug 2016 19:25:59 +0000 (13:25 -0600)]
UBUNTU: SAUCE: sstep.c: #include <asm/cpu_has_feature.h>

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: SAUCE: Clear Linux: init: do_mounts: recreate /dev/root
Miguel Bernal Marin [Fri, 20 Nov 2015 20:01:26 +0000 (14:01 -0600)]
UBUNTU: SAUCE: Clear Linux: init: do_mounts: recreate /dev/root

Rootfs shows as is mounted in /dev/root, but this devices is not present in
/dev directory.

Signed-off-by: Miguel Bernal Marin <miguel.bernal.marin@linux.intel.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: SAUCE: Clear Linux: reduce e1000e boot time by tightening sleep ranges
Arjan van de Ven [Thu, 7 Jul 2016 21:26:54 +0000 (15:26 -0600)]
UBUNTU: SAUCE: Clear Linux: reduce e1000e boot time by tightening sleep ranges

The e1000e driver is a great user of the usleep_range() API,
and has any nice ranges that in principle help power management.

However the ranges that are used only during system startup are
very long (and can add easily 100 msec to the boot time) while
the power savings of such long ranges is irrelevant due to the
one-off, boot only, nature of these functions.

This patch shrinks some of the longest ranges to be shorter
(while still using a power friendly 1 msec range); this saves
100msec+ of boot time on my BDW NUCs

Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: SAUCE: Clear Linux: Initialize ata before graphics
Arjan van de Ven [Fri, 3 Jun 2016 04:36:32 +0000 (23:36 -0500)]
UBUNTU: SAUCE: Clear Linux: Initialize ata before graphics

ATA init is the long pole in the boot process, and its asynchronous.
move the graphics init after it so that ata and graphics initialize
in parallel

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: SAUCE: Clear Linux: smpboot: reuse timer calibration
Arjan van de Ven [Wed, 11 Feb 2015 23:28:14 +0000 (17:28 -0600)]
UBUNTU: SAUCE: Clear Linux: smpboot: reuse timer calibration

NO point recalibrating for known-constant tsc... saves 200ms+ of boot time.

Author:    Arjan van de Ven <arjan@linux.intel.com>

Signed-off-by: Miguel Bernal Marin <miguel.bernal.marin@linux.intel.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: SAUCE: Clear Linux: fix initcall timestamps
Arjan van de Ven [Fri, 3 Jun 2016 04:36:32 +0000 (23:36 -0500)]
UBUNTU: SAUCE: Clear Linux: fix initcall timestamps

Print more finegrained initcall timings

use the tsc instead of the jiffies clock for initcall_debug

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: SAUCE: Clear Linux: bootstats: add printk's to measure boot time in more...
Arjan van de Ven [Wed, 11 Feb 2015 22:05:23 +0000 (16:05 -0600)]
UBUNTU: SAUCE: Clear Linux: bootstats: add printk's to measure boot time in more detail

Few distro-tweaks to add printk's to visualize boot time better

Author:    Arjan van de Ven <arjan@linux.intel.com>

Signed-off-by: Miguel Bernal Marin <miguel.bernal.marin@linux.intel.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: SAUCE: Clear Linux: ksm-wakeups
Arjan van de Ven [Mon, 14 Mar 2016 17:06:46 +0000 (11:06 -0600)]
UBUNTU: SAUCE: Clear Linux: ksm-wakeups

reduce wakeups in ksm by adding rounding (aligning) when the sleep times are 1 second or longer

Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: SAUCE: Clear Linux: silence rapl
Arjan van de Ven [Mon, 14 Mar 2016 17:22:09 +0000 (11:22 -0600)]
UBUNTU: SAUCE: Clear Linux: silence rapl

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: SAUCE: Clear Linux: i8042: decrease debug message level to info
Arjan van de Ven [Tue, 23 Jun 2015 06:26:52 +0000 (01:26 -0500)]
UBUNTU: SAUCE: Clear Linux: i8042: decrease debug message level to info

Author:    Arjan van de Ven <arjan@linux.intel.com>

Signed-off-by: Miguel Bernal Marin <miguel.bernal.marin@linux.intel.com>
Signed-off-by: Jose Carlos Venegas Munoz <jos.c.venegas.munoz@intel.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: SAUCE: UEFI: KEYS: Add a system blacklist keyring
Josh Boyer [Fri, 26 Oct 2012 16:36:24 +0000 (12:36 -0400)]
UBUNTU: SAUCE: UEFI: KEYS: Add a system blacklist keyring

This adds an additional keyring that is used to store certificates that
are blacklisted.  This keyring is searched first when loading signed modules
and if the module's certificate is found, it will refuse to load.  This is
useful in cases where third party certificates are used for module signing.

Signed-off-by: Josh Boyer <jwboyer@fedoraproject.org>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>