]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/log
mirror_ubuntu-zesty-kernel.git
7 years agoUBUNTU: Ubuntu-4.10.0-4.6
Seth Forshee [Tue, 24 Jan 2017 13:13:37 +0000 (07:13 -0600)]
UBUNTU: Ubuntu-4.10.0-4.6

Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
7 years agoUBUNTU: Start new release
Seth Forshee [Tue, 24 Jan 2017 13:11:07 +0000 (07:11 -0600)]
UBUNTU: Start new release

Ignore: yes
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
7 years agoUBUNTU: Ubuntu-4.10.0-3.5
Seth Forshee [Mon, 23 Jan 2017 21:48:58 +0000 (15:48 -0600)]
UBUNTU: Ubuntu-4.10.0-3.5

Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
7 years agoUBUNTU: rebase to v4.10-rc5
Tim Gardner [Mon, 23 Jan 2017 12:49:59 +0000 (05:49 -0700)]
UBUNTU: rebase to v4.10-rc5

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: [Config] Update annotations for 4.10
Seth Forshee [Sun, 22 Jan 2017 23:51:00 +0000 (17:51 -0600)]
UBUNTU: [Config] Update annotations for 4.10

Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
7 years agoUBUNTU: [Config] Fix up s390x config options changed during 4.10 rebase
Seth Forshee [Thu, 19 Jan 2017 22:05:12 +0000 (16:05 -0600)]
UBUNTU: [Config] Fix up s390x config options changed during 4.10 rebase

Fix the following options mistakenly changed during the rebase
from 4.9 to 4.10.

 - CONFIG_I2C was selected by CONFIG_SFC_FALCON but should be
   disabled because s390x lacks hw support. Revert these and
   related options, and enforce the CONFIG_I2C values to prevent
   this in the future.

 - Change CONFIG_LPC_SCH from m to n.

 - Change CONFIG_NVMEM from m to n.

 - Change CONFIG_REGULATOR from m to n.

Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
7 years agoUBUNTU: [Config] powerpc: Add kvm-hv and kvm-pr to the generic inclusion list
Tim Gardner [Thu, 19 Jan 2017 18:43:49 +0000 (11:43 -0700)]
UBUNTU: [Config] powerpc: Add kvm-hv and kvm-pr to the generic inclusion list

BugLink: http://bugs.launchpad.net/bugs/1657734
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: [Config] Bump CONFIG_NR_CPUS up to 256 on arm64
dann frazier [Thu, 19 Jan 2017 00:45:51 +0000 (17:45 -0700)]
UBUNTU: [Config] Bump CONFIG_NR_CPUS up to 256 on arm64

Signed-off-by: dann frazier <dann.frazier@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: [Config] Move Amazon ENA network driver to the main kernel package
Seth Forshee [Thu, 19 Jan 2017 15:29:05 +0000 (09:29 -0600)]
UBUNTU: [Config] Move Amazon ENA network driver to the main kernel package

BugLink: http://bugs.launchpad.net/bugs/1657767
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
7 years agoblock: relax check on sg gap
Ming Lei [Sat, 17 Dec 2016 10:49:09 +0000 (18:49 +0800)]
block: relax check on sg gap

BugLink: http://bugs.launchpad.net/bugs/1657539
If the last bvec of the 1st bio and the 1st bvec of the next
bio are physically contigious, and the latter can be merged
to last segment of the 1st bio, we should think they don't
violate sg gap(or virt boundary) limit.

Both Vitaly and Dexuan reported lots of unmergeable small bios
are observed when running mkfs on Hyper-V virtual storage, and
performance becomes quite low. This patch fixes that performance
issue.

The same issue should exist on NVMe, since it sets virt boundary too.

Reported-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Reported-by: Dexuan Cui <decui@microsoft.com>
Tested-by: Dexuan Cui <decui@microsoft.com>
Cc: Keith Busch <keith.busch@intel.com>
Signed-off-by: Ming Lei <ming.lei@canonical.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
(cherry picked from linux-next commit 729204ef49ec00b788ce23deb9eb922a5769f55d)
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: [Config] CONFIG_DEFAULT_IOSCHED=cfq
Tim Gardner [Wed, 18 Jan 2017 18:43:34 +0000 (11:43 -0700)]
UBUNTU: [Config] CONFIG_DEFAULT_IOSCHED=cfq

Hi there,

after several days of running (way too) many tests, I've got some data
to show that it may be a good idea to drop the DEADLINE I/O scheduler
for Zesty and move to CFQ with buffered writeback throttling (WBT) +
WBT_MQ (WBT multi-queu) enabled.

We originally moved to DEADLINE because of the issues with slow I/O (say
to flash drives) causing applications to hang while blocked on the slow
I/O being flushed out.  It seems that with the recent 4.10 WBT driver
and (possibly other block driver changes) we see some performance
benefits also with CFQ, namely:

1. Faster boots. On a 8 thread Xeon CPU E3-1275 I'm seeing a reduction
in usertime boots from 33.92s (Deadline) to ~24.5s (CFQ)

See: http://kernel.ubuntu.com/~cking/wbt/iosched-boot.ods

2. Faster build times (yay!) and better performance when writing across
multiple devices (especially when one of these is a slow flash device).

See: http://kernel.ubuntu.com/~cking/wbt/blk-mq-sq.ods

There are some places where CFQ + MQ is less performant than CFQ + MQ +
SQ, and vice-versa.  However, my general feeling for Zesty is that we
should give this a try as it seems to work well. The config changes are:

1. disable CONFIG_DEFAULT_DEADLINE
2. enable CONFIG_DEFAULT_CFQ
3. enable CONFIG_BLK_WBT
4. enable CONFIG_BLK_WBT_MQ

This will give us plenty of time to give this a good test in the next
few months and revert them if we find any problematic corner cases.
(The win on boot time, build times and writes to slow devices) is
probably the most compelling choice for these changes IMHO.

Colin King

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: Enable vbox build
Seth Forshee [Wed, 18 Jan 2017 13:39:02 +0000 (07:39 -0600)]
UBUNTU: Enable vbox build

Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
7 years agoUBUNTU: SAUCE: vbox -- remove .readlink assignment
Seth Forshee [Wed, 18 Jan 2017 14:44:42 +0000 (08:44 -0600)]
UBUNTU: SAUCE: vbox -- remove .readlink assignment

Since 76fca90e9f3a "vfs: default to generic_readlink()" the vfs
will default to generic_readlink if the fs .readlink callback s
NULL.

Fixes FTBFS with 4.10 kernels.

Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
7 years agoUBUNTU: ubuntu: vbox -- Update to 5.1.14-dfsg-1
Seth Forshee [Wed, 18 Jan 2017 13:37:59 +0000 (07:37 -0600)]
UBUNTU: ubuntu: vbox -- Update to 5.1.14-dfsg-1

Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
7 years agoUBUNTU: SAUCE: (no-up) i915: Remove MODULE_FIRMWARE statements for unreleased firmware
Seth Forshee [Tue, 17 Jan 2017 21:19:39 +0000 (15:19 -0600)]
UBUNTU: SAUCE: (no-up) i915: Remove MODULE_FIRMWARE statements for unreleased firmware

BugLink: http://bugs.launchpad.net/bugs/1626740
Intel has added MODULE_FIRMWARE statements to i915 which refer to
firmware files that they have not yet pushed out to upstream
linux-firmware. This causes the following warnings when
generating the initrd:

 W: Possible missing firmware /lib/firmware/i915/kbl_guc_ver9_14.bin for module i915
 W: Possible missing firmware /lib/firmware/i915/bxt_guc_ver8_7.bin for module i915

This firmware is clearly optional, and the warnings have been
generating a lot of confusion for users. Remove the offending
MODULE_FIRMWARE statements until Intel makes these files
available.

Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
7 years agoUBUNTU: [Config] CONFIG_KMSG_IDS=y for s390
Tim Gardner [Tue, 17 Jan 2017 14:26:31 +0000 (07:26 -0700)]
UBUNTU: [Config] CONFIG_KMSG_IDS=y for s390

BugLink: http://bugs.launchpad.net/bugs/1628889
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: Start new release
Tim Gardner [Tue, 17 Jan 2017 14:12:57 +0000 (07:12 -0700)]
UBUNTU: Start new release

Ignore: yes
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: Ubuntu-4.10.0-2.4
Tim Gardner [Mon, 16 Jan 2017 15:44:41 +0000 (08:44 -0700)]
UBUNTU: Ubuntu-4.10.0-2.4

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: rebase to v4.10-rc4
Tim Gardner [Mon, 16 Jan 2017 14:26:17 +0000 (07:26 -0700)]
UBUNTU: rebase to v4.10-rc4

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: [Config] Correct the note URL for LATENCYTOP
Tim Gardner [Thu, 12 Jan 2017 15:17:42 +0000 (08:17 -0700)]
UBUNTU: [Config] Correct the note URL for LATENCYTOP

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: [Config] Add IBM power drivers to the inclusion list
Tim Gardner [Mon, 9 Jan 2017 23:12:19 +0000 (16:12 -0700)]
UBUNTU: [Config] Add IBM power drivers to the inclusion list

BugLink: http://bugs.launchpad.net/bugs/1655002
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: [Config] linux-source Provides should not be a macro
Tim Gardner [Wed, 11 Jan 2017 14:12:13 +0000 (07:12 -0700)]
UBUNTU: [Config] linux-source Provides should not be a macro

Addresses a review comment from Adam Conrad:

debian.master/control.stub.in:
 - when changing linux-source to SRCPKGNAME-source, you also changed the
   Provides, which doesn't make sense.  That should change back.

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: Start new release
Tim Gardner [Wed, 11 Jan 2017 14:18:09 +0000 (07:18 -0700)]
UBUNTU: Start new release

Ignore: yes
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: Ubuntu-4.10.0-1.3
Seth Forshee [Mon, 9 Jan 2017 17:42:47 +0000 (11:42 -0600)]
UBUNTU: Ubuntu-4.10.0-1.3

Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
7 years agoUBUNTU: rebase to 4.10-rc3
Seth Forshee [Mon, 9 Jan 2017 20:36:47 +0000 (14:36 -0600)]
UBUNTU: rebase to 4.10-rc3

Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
7 years agoUBUNTU: Start new release
Seth Forshee [Mon, 9 Jan 2017 17:20:40 +0000 (11:20 -0600)]
UBUNTU: Start new release

Ignore: yes
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
7 years agoUBUNTU: Ubuntu-4.10.0-0.2
Seth Forshee [Sat, 7 Jan 2017 05:45:16 +0000 (23:45 -0600)]
UBUNTU: Ubuntu-4.10.0-0.2

Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
7 years agoUBUNTU: [Config] Disble stack protector for powerpc-smp
Seth Forshee [Fri, 6 Jan 2017 17:18:41 +0000 (11:18 -0600)]
UBUNTU: [Config] Disble stack protector for powerpc-smp

Fixes FTBFS:

 arch/powerpc/platforms/built-in.o: In function `bootx_add_display_props':
 /<<PKGBUILDDIR>>/arch/powerpc/platforms/powermac/bootx_init.c:211: undefined reference to `__stack_chk_fail_local'
 arch/powerpc/platforms/built-in.o: In function `bootx_scan_dt_build_struct':
 /<<PKGBUILDDIR>>/arch/powerpc/platforms/powermac/bootx_init.c:350: undefined reference to `__stack_chk_fail_local'
 arch/powerpc/platforms/built-in.o: In function `bootx_init':
 /<<PKGBUILDDIR>>/arch/powerpc/platforms/powermac/bootx_init.c:596: undefined reference to `__stack_chk_fail_local'
 ld: .tmp_vmlinux1: hidden symbol `__stack_chk_fail_local' isn't defined
 ld: final link failed: Bad value

Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
7 years agoUBUNTU: [Config] Update and enforce IMA options
Seth Forshee [Fri, 6 Jan 2017 15:58:11 +0000 (09:58 -0600)]
UBUNTU: [Config] Update and enforce IMA options

BugLink: http://bugs.launchpad.net/bugs/1643652
Set CONFIG_IMA_KEXEC=y for supported powerpc architectures.
Update the annotations for this option, and mark all IMA options
for enforcment. Remove notes for options which have no prompt and
are thus not included in the annotations file.

Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
7 years agoUBUNTU: Start new release
Seth Forshee [Sat, 7 Jan 2017 05:38:52 +0000 (23:38 -0600)]
UBUNTU: Start new release

Ignore: yes
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
7 years agoUBUNTU: Ubuntu-4.10.0-0.1
Seth Forshee [Thu, 5 Jan 2017 16:48:07 +0000 (10:48 -0600)]
UBUNTU: Ubuntu-4.10.0-0.1

Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
7 years agoUBUNTU: disable ZFS build
Seth Forshee [Thu, 5 Jan 2017 19:27:37 +0000 (13:27 -0600)]
UBUNTU: disable ZFS build

Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
7 years agoUBUNTU: disable vbox build
Seth Forshee [Thu, 5 Jan 2017 17:38:10 +0000 (11:38 -0600)]
UBUNTU: disable vbox build

Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
7 years agoUBUNTU: SAUCE: aufs -- remove .readlink assignment
Seth Forshee [Thu, 5 Jan 2017 17:26:02 +0000 (11:26 -0600)]
UBUNTU: SAUCE: aufs -- remove .readlink assignment

Since 76fca90e9f3a "vfs: default to generic_readlink()" the vfs
will default to generic_readlink if the fs .readlink callback is
NULL.

Fixes FTBFS with 4.10 kernels.

Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
7 years agoUBUNTU: rebase to v4.10-rc2
Seth Forshee [Thu, 5 Jan 2017 16:01:58 +0000 (10:01 -0600)]
UBUNTU: rebase to v4.10-rc2

Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
7 years agoUBUNTU: [Config] CONFIG_IPDDP=n
Seth Forshee [Wed, 4 Jan 2017 16:08:38 +0000 (10:08 -0600)]
UBUNTU: [Config] CONFIG_IPDDP=n

BugLink: http://bugs.launchpad.net/bugs/1559772
This module isn't being actively maintained, and when it is
enabled it prevents a newer userspace implementation from
working.

Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
7 years agoUBUNTU: [Config] Update annotations with recent config changes
Seth Forshee [Wed, 14 Dec 2016 20:38:13 +0000 (14:38 -0600)]
UBUNTU: [Config] Update annotations with recent config changes

Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
7 years agoUBUNTU: Start new release
Seth Forshee [Wed, 4 Jan 2017 22:14:39 +0000 (16:14 -0600)]
UBUNTU: Start new release

Ignore: yes
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
7 years agoUBUNTU: Ubuntu-4.9.0-11.12
Tim Gardner [Mon, 12 Dec 2016 15:58:45 +0000 (08:58 -0700)]
UBUNTU: Ubuntu-4.9.0-11.12

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: SAUCE: Add '-fno-pie -no-pie' to cflags for x86 selftests
Seth Forshee [Fri, 9 Dec 2016 19:21:56 +0000 (13:21 -0600)]
UBUNTU: SAUCE: Add '-fno-pie -no-pie' to cflags for x86 selftests

This fixes a build error due to gcc generating position-
independent code by default in Ubuntu.

Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
7 years agoUBUNTU: SAUCE: (no-up) aufs: for v4.9-rc1, support setattr_prepare()
J. R. Okajima [Thu, 8 Dec 2016 00:07:42 +0000 (09:07 +0900)]
UBUNTU: SAUCE: (no-up) aufs: for v4.9-rc1, support setattr_prepare()

Signed-off-by: J. R. Okajima <hooanon05g@gmail.com>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
7 years agoUBUNTU: rebase to v4.9
Tim Gardner [Mon, 12 Dec 2016 13:45:04 +0000 (06:45 -0700)]
UBUNTU: rebase to v4.9

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: Start new release
Tim Gardner [Mon, 12 Dec 2016 13:41:23 +0000 (06:41 -0700)]
UBUNTU: Start new release

Ignore: yes
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUbuntu-4.9.0-10.11
Tim Gardner [Fri, 9 Dec 2016 03:39:30 +0000 (20:39 -0700)]
Ubuntu-4.9.0-10.11

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: [Config] Restore powerpc64-emb
Tim Gardner [Fri, 9 Dec 2016 03:24:52 +0000 (20:24 -0700)]
UBUNTU: [Config] Restore powerpc64-emb

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: [Config] CONFIG_FSL_FMAN=y for powerpc
Tim Gardner [Thu, 8 Dec 2016 16:25:53 +0000 (09:25 -0700)]
UBUNTU: [Config] CONFIG_FSL_FMAN=y for powerpc

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: d-i initrd needs additional usb modules to support the merlin platform
Craig Magina [Thu, 8 Dec 2016 10:39:31 +0000 (11:39 +0100)]
UBUNTU: d-i initrd needs additional usb modules to support the merlin platform

BugLink: https://launchpad.net/bugs/1625222
Ubuntu builds the uas and xhci-plat-hcd usb drivers as modules, these
module are needed for d-i to use usb in the installer on the merlin platform.

Signed-off-by: Craig Magina <craig.magina@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: [Config] Enable aufs
Seth Forshee [Tue, 6 Dec 2016 13:52:57 +0000 (07:52 -0600)]
UBUNTU: [Config] Enable aufs

Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
7 years agoUBUNTU: SAUCE: aufs -- Add flags argument to aufs_rename()
Seth Forshee [Tue, 6 Dec 2016 15:51:01 +0000 (09:51 -0600)]
UBUNTU: SAUCE: aufs -- Add flags argument to aufs_rename()

Starting with Linux 4.9-rc1 the rename2 inode operation has
replaced the rename op, so filesystem rename implementations
require an extra flags argument. Add the argument to fix the
FTBFS with Linux 4.9, but since aufs doesn't support any of the
flags return an error if it is non-zero.

Fixes FTBFS with 4.9 kernels.

Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
7 years agoUBUNTU: SAUCE: aufs -- Convert to use xattr handlers
Seth Forshee [Tue, 6 Dec 2016 15:27:46 +0000 (09:27 -0600)]
UBUNTU: SAUCE: aufs -- Convert to use xattr handlers

Starting with Linux 4.9-rc1 the {get,set,remove}xattr inode
operations have been removed, and filesystems are required to use
xattr handlers instead. There's some partially implemented xattr
handlers commented out in aufs already. Finish those handlers and
convert aufs over to use them.

Fixes FTBFS with 4.9 kernels.

Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
7 years agoUBUNTU: SAUCE: Import aufs driver
Seth Forshee [Wed, 7 Dec 2016 21:20:37 +0000 (15:20 -0600)]
UBUNTU: SAUCE: Import aufs driver

Import aufs4.x-rcN 20161010 from https://github.com/sfjro/aufs4-standalone
commit f858de65a9b2d7a6cebd4d90a65aa23799dca9e8.

Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
Conflicts:
mm/memory.c

7 years agoUBUNTU: Ubuntu-4.9.0-9.10
Tim Gardner [Wed, 7 Dec 2016 15:55:31 +0000 (08:55 -0700)]
UBUNTU: Ubuntu-4.9.0-9.10

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: [Config] CONFIG_ARM64_ERRATUM_845719=y
Ming Lei [Tue, 6 Dec 2016 17:20:03 +0000 (01:20 +0800)]
UBUNTU: [Config] CONFIG_ARM64_ERRATUM_845719=y

BugLink: http://bugs.launchpad.net/bugs/1647793
Looks this option is missed in Yakkety, and should have been
enabled. It is enabled on Xenial, and used for workaround
the issue of "Cortex-A53: 845719: a load might read incorrect data".

Signed-off-by: Ming Lei <ming.lei@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: Build vbox for ARCH=x86
Seth Forshee [Mon, 5 Dec 2016 20:06:37 +0000 (14:06 -0600)]
UBUNTU: Build vbox for ARCH=x86

ARCH is now set to x86 for both i386 and amd64. Also re-enable
the vbox build.

Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
7 years agoUBUNTU: ubuntu: vbox -- Update to 5.1.10-dfsg-2
Seth Forshee [Mon, 5 Dec 2016 20:05:22 +0000 (14:05 -0600)]
UBUNTU: ubuntu: vbox -- Update to 5.1.10-dfsg-2

Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
7 years agoUBUNTU: SAUCE: hio: update to Huawei ES3000_V2 (2.1.0.28)
Kamal Mostafa [Mon, 5 Dec 2016 19:35:56 +0000 (11:35 -0800)]
UBUNTU: SAUCE: hio: update to Huawei ES3000_V2 (2.1.0.28)

BugLink: http://bugs.launchpad.net/bugs/1646643
Update to latest upstream driver version, from:
http://support.huawei.com/enterprise/SoftwareVersionActionNew!showVDetailNew?lang=en&idAbsPath=fixnode01%7C7919749%7C9856522%7C9856629%7C21242728&pid=21242728&vrc=21243470%7C21243471%7C21243473%7C21992501&from=soft&tab=bz&bz_vr=21243471&bz_vrc=&nbz_vr=null

Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: Start new release
Tim Gardner [Mon, 5 Dec 2016 20:02:44 +0000 (13:02 -0700)]
UBUNTU: Start new release

Ignore: yes
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: Ubuntu-4.9.0-8.9
Tim Gardner [Mon, 5 Dec 2016 19:44:43 +0000 (12:44 -0700)]
UBUNTU: Ubuntu-4.9.0-8.9

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: SAUCE: xr-usb-serial: only build for x86
Tim Gardner [Mon, 5 Dec 2016 19:35:05 +0000 (12:35 -0700)]
UBUNTU: SAUCE: xr-usb-serial: only build for x86

Causes FTBS on at least s390x

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: Start new release
Tim Gardner [Mon, 5 Dec 2016 19:36:02 +0000 (12:36 -0700)]
UBUNTU: Start new release

Ignore: yes
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: Ubuntu-4.9.0-7.8
Tim Gardner [Mon, 5 Dec 2016 18:19:54 +0000 (11:19 -0700)]
UBUNTU: Ubuntu-4.9.0-7.8

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: SAUCE: cdc-acm: Exclude Exar USB serial ports
Wen-chien Jesse Sung [Fri, 2 Dec 2016 09:11:04 +0000 (17:11 +0800)]
UBUNTU: SAUCE: cdc-acm: Exclude Exar USB serial ports

BugLink: https://launchpad.net/bugs/1645591
These devices are handled by vendor driver ubuntu/xr-usb-serial.

Signed-off-by: Wen-chien Jesse Sung <jesse.sung@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: SAUCE: xr-usb-serial: interface for switching modes
Darren Wu [Fri, 2 Dec 2016 09:11:03 +0000 (17:11 +0800)]
UBUNTU: SAUCE: xr-usb-serial: interface for switching modes

BugLink: https://launchpad.net/bugs/1645591
Add an interface for mode switching between RS232 and RS422/485.

Signed-off-by: Darren Wu <darren.wu@canonical.com>
Signed-off-by: Wen-chien Jesse Sung <jesse.sung@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: SAUCE: xr-usb-serial: Driver for Exar USB serial ports
Wen-chien Jesse Sung [Fri, 2 Dec 2016 09:11:02 +0000 (17:11 +0800)]
UBUNTU: SAUCE: xr-usb-serial: Driver for Exar USB serial ports

BugLink: https://launchpad.net/bugs/1645591
Import USB UART driver from
https://www.exar.com/design-tools/software-drivers

Product Family: USB UART
Part Numbers:
XR21V1410, XR21V1412, XR21V1414,
XR21B1411, XR21B1420, XR21B1422,
XR21B1424, XR22801, XR22802,
XR22804
Operating system: Linux 3.6.x and newer
Driver version: 1A
Release date: January 2015

Signed-off-by: Wen-chien Jesse Sung <jesse.sung@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: rebase to v4.9-rc8
Tim Gardner [Mon, 5 Dec 2016 14:46:53 +0000 (07:46 -0700)]
UBUNTU: rebase to v4.9-rc8

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: Start new release
Tim Gardner [Mon, 5 Dec 2016 14:42:25 +0000 (07:42 -0700)]
UBUNTU: Start new release

Ignore: yes
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: Ubuntu-4.9.0-6.7
Tim Gardner [Fri, 2 Dec 2016 04:02:19 +0000 (21:02 -0700)]
UBUNTU: Ubuntu-4.9.0-6.7

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: Set build_arch=x86 for i386
Tim Gardner [Fri, 2 Dec 2016 03:51:06 +0000 (20:51 -0700)]
UBUNTU: Set build_arch=x86 for i386

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: Start new release
Tim Gardner [Fri, 2 Dec 2016 04:00:58 +0000 (21:00 -0700)]
UBUNTU: Start new release

Ignore: yes
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: Ubuntu-4.9.0-5.6
Tim Gardner [Thu, 1 Dec 2016 18:56:49 +0000 (11:56 -0700)]
UBUNTU: Ubuntu-4.9.0-5.6

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: Set build_arch=x86 for amd64 and x32
Seth Forshee [Thu, 1 Dec 2016 18:18:28 +0000 (12:18 -0600)]
UBUNTU: Set build_arch=x86 for amd64 and x32

The kernel build infrastructure expects the value of ARCH to be
the same as the architecture subdirectory in arch/*. The values
for amd64 and x32 are not, so fix them to be what the kernel
expects.

This fixes a build problem with the perf tools.

Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
7 years agoUBUNTU: [Debian] restore tools build
Tim Gardner [Thu, 1 Dec 2016 14:08:00 +0000 (07:08 -0700)]
UBUNTU: [Debian] restore tools build

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: Start new release
Tim Gardner [Thu, 1 Dec 2016 14:06:52 +0000 (07:06 -0700)]
UBUNTU: Start new release

Ignore: yes
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: Ubuntu-4.9.0-4.5
Tim Gardner [Wed, 30 Nov 2016 20:42:32 +0000 (13:42 -0700)]
UBUNTU: Ubuntu-4.9.0-4.5

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: [Config] CONFIG_NR_CPUS=8192 for amd64
Tim Gardner [Wed, 30 Nov 2016 20:39:31 +0000 (13:39 -0700)]
UBUNTU: [Config] CONFIG_NR_CPUS=8192 for amd64

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: SAUCE: Add rtl drivers to signature inclusion list
Tim Gardner [Wed, 30 Nov 2016 20:04:39 +0000 (13:04 -0700)]
UBUNTU: SAUCE: Add rtl drivers to signature inclusion list

BugLink: http://bugs.launchpad.net/bugs/1642368
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: [Debian] Suppress module signing for staging drivers
Tim Gardner [Wed, 16 Nov 2016 17:28:21 +0000 (10:28 -0700)]
UBUNTU: [Debian] Suppress module signing for staging drivers

BugLink: http://bugs.launchpad.net/bugs/1642368
Prevent staging drivers from being loadable in a secure boot environment.

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: [Config] Update annotations
Seth Forshee [Tue, 29 Nov 2016 04:02:48 +0000 (22:02 -0600)]
UBUNTU: [Config] Update annotations

Update the annotations file based on the current configurations.
Add bug numbers for some options, and flag some options for
review which require another look.

Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
7 years agoUBUNTU: [Config] Set CONFIG_ZONE_DMA=m for amd64-generic
Seth Forshee [Mon, 28 Nov 2016 16:03:19 +0000 (10:03 -0600)]
UBUNTU: [Config] Set CONFIG_ZONE_DMA=m for amd64-generic

Also update annotations, adding a note with the bug number.

Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
7 years agoUBUNTU: [Config] Set CONFIG_PWM_PCA9685=m for amd64 and i386
Seth Forshee [Mon, 21 Nov 2016 16:07:36 +0000 (10:07 -0600)]
UBUNTU: [Config] Set CONFIG_PWM_PCA9685=m for amd64 and i386

Also update annotations.

Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
7 years agoUBUNTU: [Config] Set CONFIG_WLAN_VENDOR_TI=y for all supported kernels
Seth Forshee [Mon, 21 Nov 2016 15:55:28 +0000 (09:55 -0600)]
UBUNTU: [Config] Set CONFIG_WLAN_VENDOR_TI=y for all supported kernels

When disabled this hides a number of options that the annotations
file says should be enabled, so enable it.

Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
7 years agoUBUNTU: [Config] Fix up CONFIG_I2C_SLAVE values
Seth Forshee [Fri, 18 Nov 2016 19:37:40 +0000 (13:37 -0600)]
UBUNTU: [Config] Fix up CONFIG_I2C_SLAVE values

The annotations file says this should be =n on all architectures
except for armhf, but it is currently =y on several others. This
is because it's being selected by CONFIG_I2C_EMEV2, which is only
really relevant for armhf, and CONFIG_I2C_RCAR, which is only
relevant on armhf and arm64. Disable CONFIG_I2C_EMEV2 and
CONFIG_I2C_SLAVE for all other architectures, and update the
annotations file entry for CONFIG_I2C_EMEV2 accordingly.

Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
7 years agoUBUNTU: [Config] Set CONFIG_KEXEC=y for all architectures
Seth Forshee [Tue, 15 Nov 2016 17:13:43 +0000 (11:13 -0600)]
UBUNTU: [Config] Set CONFIG_KEXEC=y for all architectures

Also update the annotations file.

Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
7 years agoUBUNTU: [Config] Fix s390x config carnage
Seth Forshee [Tue, 15 Nov 2016 16:36:49 +0000 (10:36 -0600)]
UBUNTU: [Config] Fix s390x config carnage

In all the config carnage during the yakkety cycle some of the
s390x config options got changed by mistake. Try to fix this
based on xenial's config and the git history from yakkety.

Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
7 years agoUBUNTU: [Config] Enable various drivers for ARM platforms
Seth Forshee [Tue, 15 Nov 2016 19:45:04 +0000 (13:45 -0600)]
UBUNTU: [Config] Enable various drivers for ARM platforms

Currently a number of drivers relevant to platforms supported in
the armhf and/or arm64 kernels are disabled. Enable them.

Also enable some options which appear to have been disabled by
mistake.

Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
7 years agoUBUNTU: [Debian] config-check -- Make it easier to find annotations syntax errors
Seth Forshee [Tue, 22 Nov 2016 14:32:17 +0000 (08:32 -0600)]
UBUNTU: [Debian] config-check -- Make it easier to find annotations syntax errors

The errors from eval due to malformed annotations values often
are not very helpful in tracking down the source of the error.
Make this easier by printing the name of the confguration option
along with the error string.

Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
7 years agoUBUNTU: [Config] CONFIG_IMA=y
Tim Gardner [Mon, 28 Nov 2016 19:56:39 +0000 (12:56 -0700)]
UBUNTU: [Config] CONFIG_IMA=y

BugLink: http://bugs.launchpad.net/bugs/1643652
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: Start new release
Tim Gardner [Mon, 28 Nov 2016 19:57:36 +0000 (12:57 -0700)]
UBUNTU: Start new release

Ignore: yes
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: Ubuntu-4.9.0-3.4
Tim Gardner [Mon, 28 Nov 2016 15:12:20 +0000 (08:12 -0700)]
UBUNTU: Ubuntu-4.9.0-3.4

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: rebase to v4.9-rc7
Tim Gardner [Mon, 28 Nov 2016 03:33:01 +0000 (20:33 -0700)]
UBUNTU: rebase to v4.9-rc7

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: SAUCE: (noup) Update spl to 0.6.5.8-0ubuntu7, zfs to 0.6.5.8-2ubuntu1
Tim Gardner [Wed, 23 Nov 2016 15:56:38 +0000 (08:56 -0700)]
UBUNTU: SAUCE: (noup) Update spl to 0.6.5.8-0ubuntu7, zfs to 0.6.5.8-2ubuntu1

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoRevert "UBUNTU: SAUCE: overlayfs: Skip permission checking for trusted.overlayfs...
Tim Gardner [Wed, 23 Nov 2016 16:13:25 +0000 (09:13 -0700)]
Revert "UBUNTU: SAUCE: overlayfs: Skip permission checking for trusted.overlayfs.* xattrs"

This reverts commit acb0bcdbf914e0786352fd5c547c91b19327b225.

Causes FTBS

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: SAUCE: (namespace) block_dev: Forbid unprivileged mounting when device is...
Seth Forshee [Mon, 19 Sep 2016 20:46:26 +0000 (15:46 -0500)]
UBUNTU: SAUCE: (namespace) block_dev: Forbid unprivileged mounting when device is opened for writing

For unprivileged mounts to be safe the user must not be able to
make changes to the backing store while it is mounted. This patch
takes a step towards preventing this by refusing to mount in a
user namepspace if the block device is open for writing and
refusing attempts to open the block device for writing by non-
root while it is mounted in a user namespace.

To prevent this from happening we use i_writecount in the inodes
of the bdev filesystem similarly to how it is used for regular
files. Whenever the device is opened for writing i_writecount
is checked; if it is negative the open returns -EBUSY, otherwise
i_writecount is incremented. On mount, a positive i_writecount
results in mount_bdev returning -EBUSY, otherwise i_writecount
is decremented. Opens by root and mounts from init_user_ns do not
check nor modify i_writecount.

Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
7 years agoUBUNTU: SAUCE: (namespace) ext4: Add module parameter to enable user namespace mounts
Seth Forshee [Tue, 9 Feb 2016 19:26:34 +0000 (13:26 -0600)]
UBUNTU: SAUCE: (namespace) ext4: Add module parameter to enable user namespace mounts

This is still an experimental feature, so disable it by default
and allow it only when the system administrator supplies the
userns_mounts=true module parameter.

Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
7 years agoUBUNTU: SAUCE: (namespace) ext4: Add support for unprivileged mounts from user namespaces
Seth Forshee [Sat, 18 Oct 2014 11:02:09 +0000 (13:02 +0200)]
UBUNTU: SAUCE: (namespace) ext4: Add support for unprivileged mounts from user namespaces

Support unprivileged mounting of ext4 volumes from user
namespaces. This requires the following changes:

 - Perform all uid, gid, and projid conversions to/from disk
   relative to s_user_ns. In many cases this will already be
   handled by the vfs helper functions. This also requires
   updates to handle cases where ids may not map into s_user_ns.
   A new helper, projid_valid_eq(), is added to help with this.

 - Update most capability checks to check for capabilities in
   s_user_ns rather than init_user_ns. These mostly reflect
   changes to the filesystem that a user in s_user_ns could
   already make externally by virtue of having write access to
   the backing device.

 - Restrict unsafe options in either the mount options or the
   ext4 superblock. Currently the only concerning option is
   errors=panic, and this is made to require CAP_SYS_ADMIN in
   init_user_ns.

 - Verify that unprivileged users have the required access to the
   journal device at the path passed via the journal_path mount
   option.

   Note that for the journal_path and the journal_dev mount
   options, and for external journal devices specified in the
   ext4 superblock, devcgroup restrictions will be enforced by
   __blkdev_get(), (via blkdev_get_by_dev()), ensuring that the
   user has been granted appropriate access to the block device.

 - Set the FS_USERNS_MOUNT flag on the filesystem types supported
   by ext4.

sysfs attributes for ext4 mounts remain writable only by real
root.

Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
7 years agoUBUNTU: SAUCE: (namespace) fuse: Allow user namespace mounts
Seth Forshee [Thu, 2 Oct 2014 20:51:41 +0000 (15:51 -0500)]
UBUNTU: SAUCE: (namespace) fuse: Allow user namespace mounts

Acked-by: Miklos Szeredi <mszeredi@redhat.com>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
7 years agoUBUNTU: SAUCE: (namespace) fuse: Restrict allow_other to the superblock's namespace...
Seth Forshee [Thu, 2 Oct 2014 20:34:45 +0000 (15:34 -0500)]
UBUNTU: SAUCE: (namespace) fuse: Restrict allow_other to the superblock's namespace or a descendant

Unprivileged users are normally restricted from mounting with the
allow_other option by system policy, but this could be bypassed
for a mount done with user namespace root permissions. In such
cases allow_other should not allow users outside the userns
to access the mount as doing so would give the unprivileged user
the ability to manipulate processes it would otherwise be unable
to manipulate. Restrict allow_other to apply to users in the same
userns used at mount or a descendant of that namespace. Also
export current_in_userns() for use by fuse when built as a
module.

Acked-by: Serge Hallyn <serge.hallyn@canonical.com>
Acked-by: Miklos Szeredi <mszeredi@redhat.com>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
7 years agoUBUNTU: SAUCE: (namespace) fuse: Translate ids in posix acl xattrs
Seth Forshee [Wed, 24 Aug 2016 16:47:05 +0000 (11:47 -0500)]
UBUNTU: SAUCE: (namespace) fuse: Translate ids in posix acl xattrs

Fuse currently lacks comprehensive support for posix ACLs, but
some fuse filesystems process the acl xattrs internally. For this
to continue to work the ids within the xattrs need to be mapped
into s_user_ns when written to the filesystem and mapped from
s_user_ns when read.

Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
7 years agoUBUNTU: SAUCE: (namespace) fuse: Support fuse filesystems outside of init_user_ns
Seth Forshee [Thu, 26 Jun 2014 16:58:11 +0000 (11:58 -0500)]
UBUNTU: SAUCE: (namespace) fuse: Support fuse filesystems outside of init_user_ns

In order to support mounts from namespaces other than
init_user_ns, fuse must translate uids and gids to/from the
userns of the process servicing requests on /dev/fuse. This
patch does that, with a couple of restrictions on the namespace:

 - The userns for the fuse connection is fixed to the namespace
   from which /dev/fuse is opened.

 - The namespace must be the same as s_user_ns.

These restrictions simplify the implementation by avoiding the
need to pass around userns references and by allowing fuse to
rely on the checks in inode_change_ok for ownership changes.
Either restriction could be relaxed in the future if needed.

For cuse the namespace used for the connection is also simply
current_user_ns() at the time /dev/cuse is opened.

Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
7 years agoUBUNTU: SAUCE: (namespace) fuse: Add support for pid namespaces
Seth Forshee [Wed, 2 Jul 2014 21:29:19 +0000 (16:29 -0500)]
UBUNTU: SAUCE: (namespace) fuse: Add support for pid namespaces

When the userspace process servicing fuse requests is running in
a pid namespace then pids passed via the fuse fd are not being
translated into that process' namespace. Translation is necessary
for the pid to be useful to that process.

Since no use case currently exists for changing namespaces all
translations can be done relative to the pid namespace in use
when fuse_conn_init() is called. For fuse this translates to
mount time, and for cuse this is when /dev/cuse is opened. IO for
this connection from another namespace will return errors.

Requests from processes whose pid cannot be translated into the
target namespace will have a value of 0 for in.h.pid.

File locking changes based on previous work done by Eric
Biederman.

Acked-by: Miklos Szeredi <mszeredi@redhat.com>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>