]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/log
mirror_ubuntu-zesty-kernel.git
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>
7 years agoUBUNTU: SAUCE: (namespace) posix_acl: Export posix_acl_fix_xattr_userns() to modules
Seth Forshee [Fri, 8 Jul 2016 20:57:51 +0000 (15:57 -0500)]
UBUNTU: SAUCE: (namespace) posix_acl: Export posix_acl_fix_xattr_userns() to modules

Fuse will make use of this function to provide backwards-
compatible acl support when proper posix acl support is added.
Add a check to return immediately if the to and from namespaces
are the same, and remove equivalent checks from its callers.

Also return an error code to indicate to callers whether or not
the conversion of the id between the user namespaces was
successful. For a valid xattr the id will continue to be changed
regardless to maintain the current behaviour for existing
callers, so they do not require updates to handle failed
conversions.

Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
7 years agoUBUNTU: SAUCE: (namespace) fs: Allow CAP_SYS_ADMIN in s_user_ns to freeze and thaw...
Seth Forshee [Sun, 15 Feb 2015 20:35:35 +0000 (14:35 -0600)]
UBUNTU: SAUCE: (namespace) fs: Allow CAP_SYS_ADMIN in s_user_ns to freeze and thaw filesystems

The user in control of a super block should be allowed to freeze
and thaw it. Relax the restrictions on the FIFREEZE and FITHAW
ioctls to require CAP_SYS_ADMIN in s_user_ns.

Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
7 years agoUBUNTU: SAUCE: (namespace) capabilities: Allow privileged user in s_user_ns to set...
Seth Forshee [Tue, 26 Apr 2016 19:36:30 +0000 (14:36 -0500)]
UBUNTU: SAUCE: (namespace) capabilities: Allow privileged user in s_user_ns to set security.* xattrs

A privileged user in s_user_ns will generally have the ability to
manipulate the backing store and insert security.* xattrs into
the filesystem directly. Therefore the kernel must be prepared to
handle these xattrs from unprivileged mounts, and it makes little
sense for commoncap to prevent writing these xattrs to the
filesystem. The capability and LSM code have already been updated
to appropriately handle xattrs from unprivileged mounts, so it
is safe to loosen this restriction on setting xattrs.

The exception to this logic is that writing xattrs to a mounted
filesystem may also cause the LSM inode_post_setxattr or
inode_setsecurity callbacks to be invoked. SELinux will deny the
xattr update by virtue of applying mountpoint labeling to
unprivileged userns mounts, and Smack will deny the writes for
any user without global CAP_MAC_ADMIN, so loosening the
capability check in commoncap is safe in this respect as well.

Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
Acked-by: Serge Hallyn <serge.hallyn@canonical.com>
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
7 years agoUBUNTU: SAUCE: (namespace) fs: Allow superblock owner to access do_remount_sb()
Seth Forshee [Tue, 26 Apr 2016 19:36:29 +0000 (14:36 -0500)]
UBUNTU: SAUCE: (namespace) fs: Allow superblock owner to access do_remount_sb()

Superblock level remounts are currently restricted to global
CAP_SYS_ADMIN, as is the path for changing the root mount to
read only on umount. Loosen both of these permission checks to
also allow CAP_SYS_ADMIN in any namespace which is privileged
towards the userns which originally mounted the filesystem.

Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
Acked-by: "Eric W. Biederman" <ebiederm@xmission.com>
Acked-by: Serge Hallyn <serge.hallyn@canonical.com>
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
7 years agoUBUNTU: SAUCE: (namespace) fs: Don't remove suid for CAP_FSETID for userns root
Seth Forshee [Tue, 26 Apr 2016 19:36:28 +0000 (14:36 -0500)]
UBUNTU: SAUCE: (namespace) fs: Don't remove suid for CAP_FSETID for userns root

Expand the check in should_remove_suid() to keep privileges for
CAP_FSETID in s_user_ns rather than init_user_ns.

--EWB Changed from ns_capable(sb->s_user_ns, ) to capable_wrt_inode_uidgid

Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
Acked-by: Serge Hallyn <serge.hallyn@canonical.com>
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
7 years agoUBUNTU: SAUCE: (namespace) fs: Allow superblock owner to change ownership of inodes
Eric W. Biederman [Sat, 2 Jul 2016 14:54:25 +0000 (09:54 -0500)]
UBUNTU: SAUCE: (namespace) fs: Allow superblock owner to change ownership of inodes

Allow users with CAP_SYS_CHOWN over the superblock of a filesystem to
chown files.  Ordinarily the capable_wrt_inode_uidgid check is
sufficient to allow access to files but when the underlying filesystem
has uids or gids that don't map to the current user namespace it is
not enough, so the chown permission checks need to be extended to
allow this case.

Calling chown on filesystem nodes whose uid or gid don't map is
necessary if those nodes are going to be modified as writing back
inodes which contain uids or gids that don't map is likely to cause
filesystem corruption of the uid or gid fields.

Once chown has been called the existing capable_wrt_inode_uidgid
checks are sufficient, to allow the owner of a superblock to do anything
the global root user can do with an appropriate set of capabilities.

For the proc filesystem this relaxation of permissions is not safe, as
some files are owned by users (particularly GLOBAL_ROOT_UID) outside
of the control of the mounter of the proc and that would be unsafe to
grant chown access to.  So update setattr on proc to disallow changing
files whose uids or gids are outside of proc's s_user_ns.

The original version of this patch was written by: Seth Forshee.  I
have rewritten and rethought this patch enough so it's really not the
same thing (certainly it needs a different description), but he
deserves credit for getting out there and getting the conversation
started, and finding the potential gotcha's and putting up with my
semi-paranoid feedback.

Inspired-by: Seth Forshee <seth.forshee@canonical.com>
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
[ saf: Context adjustments in proc ]
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
7 years agoUBUNTU: SAUCE: (namespace) mtd: Check permissions towards mtd block device inode...
Seth Forshee [Wed, 7 Oct 2015 19:53:33 +0000 (14:53 -0500)]
UBUNTU: SAUCE: (namespace) mtd: Check permissions towards mtd block device inode when mounting

Unprivileged users should not be able to mount mtd block devices
when they lack sufficient privileges towards the block device
inode.  Update mount_mtd() to validate that the user has the
required access to the inode at the specified path. The check
will be skipped for CAP_SYS_ADMIN, so privileged mounts will
continue working as before.

Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
7 years agoUBUNTU: SAUCE: (namespace) block_dev: Check permissions towards block device inode...
Seth Forshee [Wed, 7 Oct 2015 19:49:47 +0000 (14:49 -0500)]
UBUNTU: SAUCE: (namespace) block_dev: Check permissions towards block device inode when mounting

Unprivileged users should not be able to mount block devices when
they lack sufficient privileges towards the block device inode.
Update blkdev_get_by_path() to validate that the user has the
required access to the inode at the specified path. The check
will be skipped for CAP_SYS_ADMIN, so privileged mounts will
continue working as before.

Acked-by: Serge Hallyn <serge.hallyn@canonical.com>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
7 years agoUBUNTU: SAUCE: (namespace) block_dev: Support checking inode permissions in lookup_bdev()
Seth Forshee [Fri, 31 Jul 2015 17:58:34 +0000 (12:58 -0500)]
UBUNTU: SAUCE: (namespace) block_dev: Support checking inode permissions in lookup_bdev()

When looking up a block device by path no permission check is
done to verify that the user has access to the block device inode
at the specified path. In some cases it may be necessary to
check permissions towards the inode, such as allowing
unprivileged users to mount block devices in user namespaces.

Add an argument to lookup_bdev() to optionally perform this
permission check. A value of 0 skips the permission check and
behaves the same as before. A non-zero value specifies the mask
of access rights required towards the inode at the specified
path. The check is always skipped if the user has CAP_SYS_ADMIN.

All callers of lookup_bdev() currently pass a mask of 0, so this
patch results in no functional change. Subsequent patches will
add permission checks where appropriate.

Acked-by: Serge Hallyn <serge.hallyn@canonical.com>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
7 years agoUBUNTU: Start new release
Tim Gardner [Tue, 22 Nov 2016 14:52:22 +0000 (07:52 -0700)]
UBUNTU: Start new release

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

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: rebase to v4.9-rc6
Tim Gardner [Mon, 21 Nov 2016 14:23:44 +0000 (07:23 -0700)]
UBUNTU: rebase to v4.9-rc6

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: SAUCE: UEFI: bpf: disable bpf when module security is enabled
Tim Gardner [Thu, 17 Nov 2016 19:18:05 +0000 (12:18 -0700)]
UBUNTU: SAUCE: UEFI: bpf: disable bpf when module security is enabled

BPF carnage - Hi, It looks like CONFIG_BPF_EVENTS needs to be disabled
in secure boot environments since you can read kernel memory (and
hence, the hibernation image signing key) by attaching an eBPF program
to a tracepoint through a perf_event_open() fd which uses bpf_probe_read()
and either bpf_trace_printk() or bpf_probe_write_user(). (Or, rather,
kernel memory _reads_ need to be added to the threat model if a private
key is held in kernel memory.) -Kees -- Kees Cook Nexus Security

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
Conflicts:
kernel/bpf/syscall.c

7 years agoUBUNTU: [Config] Move some powerpc kernel modules to the main kernel package
Tim Gardner [Thu, 17 Nov 2016 17:42:46 +0000 (10:42 -0700)]
UBUNTU: [Config] Move some powerpc kernel modules to the main kernel package

BugLink: http://bugs.launchpad.net/bugs/1642228
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: Start new release
Tim Gardner [Tue, 15 Nov 2016 18:01:26 +0000 (11:01 -0700)]
UBUNTU: Start new release

Ignore: yes
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: Ubuntu-4.9.0-1.2
Tim Gardner [Mon, 14 Nov 2016 21:29:34 +0000 (14:29 -0700)]
UBUNTU: Ubuntu-4.9.0-1.2

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: [Config] Disable powerpc64-emb for FTBS
Tim Gardner [Mon, 14 Nov 2016 21:13:05 +0000 (16:13 -0500)]
UBUNTU: [Config] Disable powerpc64-emb for FTBS

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: zfs: remove the never implemented aio_fsync file operation
Tim Gardner [Mon, 14 Nov 2016 16:21:53 +0000 (09:21 -0700)]
UBUNTU: zfs: remove the never implemented aio_fsync file operation

Fixes FTBS, see commit 723c038475b78edc9327eb952f95f9881cc9d79d ('fs: remove
the never implemented aio_fsync file operation')

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: rebase to v4.9-rc5
Tim Gardner [Mon, 14 Nov 2016 14:16:59 +0000 (07:16 -0700)]
UBUNTU: rebase to v4.9-rc5

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: SAUCE: hio: splitting bio in the entry of .make_request_fn
Ming Lei [Thu, 3 Nov 2016 01:20:01 +0000 (09:20 +0800)]
UBUNTU: SAUCE: hio: splitting bio in the entry of .make_request_fn

BugLink: http://bugs.launchpad.net/bugs/1638700
From v4.3, the incoming bio can be very big[1], and it is
required to split it first in .make_request_fn(), so
we need to do that for hio.c too.

[1] c66a14d07c136cc3(block: simplify bio_add_page())

Signed-off-by: Ming Lei <ming.lei@canonical.com>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Acked-by: Tim Gardner <tim.gardner@canonical.com>
Acked-by: Seth Forshee <seth.forshee@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: SAUCE: hio: set bi_error field to signal an I/O error on a BIO
Kamal Mostafa [Wed, 2 Nov 2016 19:35:15 +0000 (12:35 -0700)]
UBUNTU: SAUCE: hio: set bi_error field to signal an I/O error on a BIO

BugLink: http://bugs.launchpad.net/bugs/1638700
The hio driver needs to accommodate handling the following which was
introduced in 4.3-rc1:

  commit 4246a0b63bd8f56a1469b12eafeb875b1041a451
  Author: Christoph Hellwig <hch@lst.de>
  Date:   Mon Jul 20 15:29:37 2015 +0200

    block: add a bi_error field to struct bio

Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Leann Ogasawara <leann.ogasawara@canonical.com>
Acked-by: Tim Gardner <tim.gardner@canonical.com>
Acked-by: Seth Forshee <seth.forshee@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: [Config] Enforce CONFIG_HIO
Leann Ogasawara [Fri, 21 Oct 2016 13:21:37 +0000 (06:21 -0700)]
UBUNTU: [Config] Enforce CONFIG_HIO

BugLink: http://bugs.launchpad.net/bugs/1635594
Signed-off-by: Leann Ogasawara <leann.ogasawara@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
Acked-by: Andy Whitcroft <andy.whitcroft@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: SAUCE: hio: Makefile and Kconfig
Kamal Mostafa [Thu, 14 Jul 2016 21:36:15 +0000 (14:36 -0700)]
UBUNTU: SAUCE: hio: Makefile and Kconfig

BugLink: http://bugs.launchpad.net/bugs/1635594
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Acked-by: Brad Figg <brad.figg@canonical.com>
Acked-by: Tim Gardner <tim.gardner@canonical.com>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
BugLink: http://bugs.launchpad.net/bugs/1635594
Signed-off-by: Andy Whitcroft <apw@canonical.com>
Acked-by: Leann Ogasawara <leann.ogasawara@canonical.com>
Acked-by: Stefan Bader <stefan.bader@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: [config] enable CONFIG_HIO (Huawei ES3000_V2 PCIe SSD driver)
Kamal Mostafa [Thu, 14 Jul 2016 21:36:30 +0000 (14:36 -0700)]
UBUNTU: [config] enable CONFIG_HIO (Huawei ES3000_V2 PCIe SSD driver)

BugLink: http://bugs.launchpad.net/bugs/1635594
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Acked-by: Brad Figg <brad.figg@canonical.com>
Acked-by: Tim Gardner <tim.gardner@canonical.com>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
BugLink: http://bugs.launchpad.net/bugs/1635594
Signed-off-by: Andy Whitcroft <apw@canonical.com>
Acked-by: Leann Ogasawara <leann.ogasawara@canonical.com>
Acked-by: Stefan Bader <stefan.bader@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: SAUCE: hio: port to v4.8 base
Andy Whitcroft [Fri, 21 Oct 2016 08:55:32 +0000 (09:55 +0100)]
UBUNTU: SAUCE: hio: port to v4.8 base

BugLink: http://bugs.launchpad.net/bugs/1635594
Signed-off-by: Andy Whitcroft <apw@canonical.com>
Acked-by: Leann Ogasawara <leann.ogasawara@canonical.com>
Acked-by: Stefan Bader <stefan.bader@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: SAUCE: hio: fix mask maybe-uninitialized warning
Kamal Mostafa [Thu, 14 Jul 2016 19:47:36 +0000 (12:47 -0700)]
UBUNTU: SAUCE: hio: fix mask maybe-uninitialized warning

BugLink: http://bugs.launchpad.net/bugs/1635594
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Acked-by: Brad Figg <brad.figg@canonical.com>
Acked-by: Tim Gardner <tim.gardner@canonical.com>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
BugLink: http://bugs.launchpad.net/bugs/1635594
Signed-off-by: Andy Whitcroft <apw@canonical.com>
Acked-by: Leann Ogasawara <leann.ogasawara@canonical.com>
Acked-by: Stefan Bader <stefan.bader@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: SAUCE: hio: use alloc_cpumask_var to avoid -Wframe-larger-than
Kamal Mostafa [Thu, 14 Jul 2016 17:57:12 +0000 (10:57 -0700)]
UBUNTU: SAUCE: hio: use alloc_cpumask_var to avoid -Wframe-larger-than

BugLink: http://bugs.launchpad.net/bugs/1635594
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Acked-by: Brad Figg <brad.figg@canonical.com>
Acked-by: Tim Gardner <tim.gardner@canonical.com>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
BugLink: http://bugs.launchpad.net/bugs/1635594
Signed-off-by: Andy Whitcroft <apw@canonical.com>
Acked-by: Leann Ogasawara <leann.ogasawara@canonical.com>
Acked-by: Stefan Bader <stefan.bader@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: SAUCE: hio: blk_queue make_request_fn now returns a blk_qc_t
Kamal Mostafa [Thu, 14 Jul 2016 17:55:36 +0000 (10:55 -0700)]
UBUNTU: SAUCE: hio: blk_queue make_request_fn now returns a blk_qc_t

BugLink: http://bugs.launchpad.net/bugs/1635594
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Acked-by: Brad Figg <brad.figg@canonical.com>
Acked-by: Tim Gardner <tim.gardner@canonical.com>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
BugLink: http://bugs.launchpad.net/bugs/1635594
Signed-off-by: Andy Whitcroft <apw@canonical.com>
Acked-by: Leann Ogasawara <leann.ogasawara@canonical.com>
Acked-by: Stefan Bader <stefan.bader@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: SAUCE: hio: bio_endio() no longer takes errors arg
Kamal Mostafa [Thu, 14 Jul 2016 17:52:53 +0000 (10:52 -0700)]
UBUNTU: SAUCE: hio: bio_endio() no longer takes errors arg

BugLink: http://bugs.launchpad.net/bugs/1635594
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Acked-by: Brad Figg <brad.figg@canonical.com>
Acked-by: Tim Gardner <tim.gardner@canonical.com>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
BugLink: http://bugs.launchpad.net/bugs/1635594
Signed-off-by: Andy Whitcroft <apw@canonical.com>
Acked-by: Leann Ogasawara <leann.ogasawara@canonical.com>
Acked-by: Stefan Bader <stefan.bader@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: SAUCE: import Huawei ES3000_V2 (2.1.0.23)
Huawei SSD DEV Team [Thu, 14 Jul 2016 16:13:36 +0000 (09:13 -0700)]
UBUNTU: SAUCE: import Huawei ES3000_V2 (2.1.0.23)

BugLink: http://bugs.launchpad.net/bugs/1635594
Source: http://support.huawei.com/enterprisesearch/ebgSearch#sp.keyword=HUAWEI%20ES3000%20V2%20Driver%20SRC

  Huawei SSD device driver
  Copyright (c) 2016, Huawei Technologies Co., Ltd.

  This program is free software; you can redistribute it and/or modify it
  under the terms and conditions of the GNU General Public License,
  version 2, as published by the Free Software Foundation.

  This program is distributed in the hope it will be useful, but WITHOUT
  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
  more details.

Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Acked-by: Brad Figg <brad.figg@canonical.com>
Acked-by: Tim Gardner <tim.gardner@canonical.com>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
BugLink: http://bugs.launchpad.net/bugs/1635594
Signed-off-by: Andy Whitcroft <apw@canonical.com>
Acked-by: Leann Ogasawara <leann.ogasawara@canonical.com>
Acked-by: Stefan Bader <stefan.bader@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: Start new release
Tim Gardner [Tue, 8 Nov 2016 15:03:04 +0000 (08:03 -0700)]
UBUNTU: Start new release

Ignore: yes
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: Ubuntu-4.9.0-0.1
Tim Gardner [Mon, 7 Nov 2016 20:26:10 +0000 (15:26 -0500)]
UBUNTU: Ubuntu-4.9.0-0.1

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: [Config] CONFIG_QCOM_Q6V5_PIL=n, CONFIG_QCOM_WCNSS_PIL=n
Tim Gardner [Mon, 7 Nov 2016 19:24:49 +0000 (12:24 -0700)]
UBUNTU: [Config] CONFIG_QCOM_Q6V5_PIL=n, CONFIG_QCOM_WCNSS_PIL=n

Causes FTBS on armhf/arm64

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: rebase to v4.9-rc4
Tim Gardner [Sun, 6 Nov 2016 14:02:00 +0000 (07:02 -0700)]
UBUNTU: rebase to v4.9-rc4

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: rebase to v4.9-rc3
Tim Gardner [Sun, 30 Oct 2016 14:21:10 +0000 (08:21 -0600)]
UBUNTU: rebase to v4.9-rc3

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: [Config] linux-tools-common and linux-cloud-tools-common are one per series
Andy Whitcroft [Fri, 28 Oct 2016 13:59:34 +0000 (14:59 +0100)]
UBUNTU: [Config] linux-tools-common and linux-cloud-tools-common are one per series

BugLink: http://bugs.launchpad.net/bugs/1637473
Signed-off-by: Andy Whitcroft <apw@canonical.com>
7 years agoUBUNTU: [Packaging] handle both linux-lts* and linux-hwe* as backports
Andy Whitcroft [Fri, 28 Oct 2016 13:23:37 +0000 (14:23 +0100)]
UBUNTU: [Packaging] handle both linux-lts* and linux-hwe* as backports

BugLink: http://bugs.launchpad.net/bugs/1637473
Signed-off-by: Andy Whitcroft <apw@canonical.com>
7 years agoUBUNTU: [Config] update Vcs-Git to zesty
Tim Gardner [Fri, 28 Oct 2016 15:07:03 +0000 (09:07 -0600)]
UBUNTU: [Config] update Vcs-Git to zesty

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: SAUCE: nvme: improve performance for virtual NVMe devices
Rob Nelson [Tue, 17 Nov 2015 23:47:27 +0000 (15:47 -0800)]
UBUNTU: SAUCE: nvme: improve performance for virtual NVMe devices

This change provides a mechanism to reduce the number of MMIO doorbell
writes for the NVMe driver. When running in a virtualized environment
like QEMU, the cost of an MMIO is quite hefy here. The main idea for
the patch is provide the device two memory location locations:
 1) to store the doorbell values so they can be lookup without the doorbell
    MMIO write
 2) to store an event index.
I believe the doorbell value is obvious, the event index not so much.
Similar to the virtio specificaiton, the virtual device can tell the
driver (guest OS) not to write MMIO unless you are writing past this
value.

FYI: doorbell values are written by the nvme driver (guest OS) and the
event index is written by the virtual device (host OS).

The patch implements a new admin command that will communicate where
these two memory locations reside. If the command fails, the nvme
driver will work as before without any optimizations.

Contributions:
  Eric Northup <digitaleric@google.com>
  Frank Swiderski <fes@google.com>
  Ted Tso <tytso@mit.edu>
  Keith Busch <keith.busch@intel.com>

Just to give an idea on the performance boost with the vendor
extension: Running fio [1], a stock NVMe driver I get about 200K read
IOPs with my vendor patch I get about 1000K read IOPs. This was
running with a null device i.e. the backing device simply returned
success on every read IO request.

[1] Running on a 4 core machine:
  fio --time_based --name=benchmark --runtime=30
  --filename=/dev/nvme0n1 --nrfiles=1 --ioengine=libaio --iodepth=32
  --direct=1 --invalidate=1 --verify=0 --verify_fatal=0 --numjobs=4
  --rw=randread --blocksize=4k --randrepeat=false

Signed-off-by: Rob Nelson <rlnelson@google.com>
[mlin: port for upstream]
Signed-off-by: Ming Lin <mlin@kernel.org>
[koike: updated for current APIs]
Signed-off-by: Helen Mae Koike Fornazier <helen.koike@collabora.co.uk>
Conflicts:
drivers/nvme/host/Kconfig
drivers/nvme/host/pci.c

7 years agoUBUNTU: [Config] CONFIG_VIRTIO_BLK=m, CONFIG_VIRTIO_NET=m
Tim Gardner [Thu, 27 Oct 2016 21:18:48 +0000 (15:18 -0600)]
UBUNTU: [Config] CONFIG_VIRTIO_BLK=m, CONFIG_VIRTIO_NET=m

BugLink: http://bugs.launchpad.net/bugs/1637303
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: [Config] CONFIG_TIGON3=m for all arches
Tim Gardner [Thu, 27 Oct 2016 21:15:51 +0000 (15:15 -0600)]
UBUNTU: [Config] CONFIG_TIGON3=m for all arches

BugLink: http://bugs.launchpad.net/bugs/1637303
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: [Config] CONFIG_NVME_VENDOR_EXT_GOOGLE=y
Tim Gardner [Thu, 27 Oct 2016 19:51:00 +0000 (13:51 -0600)]
UBUNTU: [Config] CONFIG_NVME_VENDOR_EXT_GOOGLE=y

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: [Config] CONFIG_VFIO_PCI=y for ppc64el
Tim Gardner [Thu, 27 Oct 2016 17:12:47 +0000 (11:12 -0600)]
UBUNTU: [Config] CONFIG_VFIO_PCI=y for ppc64el

BugLink: http://bugs.launchpad.net/bugs/1636733
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: [Config] Include mlx5 in main package
Tim Gardner [Thu, 27 Oct 2016 13:02:14 +0000 (07:02 -0600)]
UBUNTU: [Config] Include mlx5 in main package

BugLink: http://bugs.launchpad.net/bugs/1635223
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: [Config] CONFIG_VFIO_NOIOMMU=y
Tim Gardner [Wed, 26 Oct 2016 20:02:31 +0000 (14:02 -0600)]
UBUNTU: [Config] CONFIG_VFIO_NOIOMMU=y

BugLink: http://bugs.launchpad.net/bugs/1634050
This feature requires a kernel command line parameter before it is enabled.

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: [Config] Enable zfs build
Tim Gardner [Wed, 26 Oct 2016 18:27:06 +0000 (12:27 -0600)]
UBUNTU: [Config] Enable zfs build

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: SAUCE: Update zfs to e02aaf17f15ad274fa1f24c9c826f1477911ea3f
Tim Gardner [Wed, 26 Oct 2016 18:23:52 +0000 (12:23 -0600)]
UBUNTU: SAUCE: Update zfs to e02aaf17f15ad274fa1f24c9c826f1477911ea3f

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: SAUCE: Update spl to ae7eda1dde8aebc298a013254dcd90f7fa42171a
Tim Gardner [Wed, 26 Oct 2016 18:20:47 +0000 (12:20 -0600)]
UBUNTU: SAUCE: Update spl to ae7eda1dde8aebc298a013254dcd90f7fa42171a

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: rebase to v4.9-rc2
Tim Gardner [Wed, 26 Oct 2016 17:23:11 +0000 (11:23 -0600)]
UBUNTU: rebase to v4.9-rc2

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: [Config] switch squashfs to single threaded decode
Andy Whitcroft [Wed, 26 Oct 2016 16:47:57 +0000 (17:47 +0100)]
UBUNTU: [Config] switch squashfs to single threaded decode

There is some issue with squashfs decoding when done in a multi-threaded
manner which leads to large memory consumption.  Either we have a leak
or more probabally we have pathalogical case leading to horrible internal
fragmentation.  For the moment turn it off while it can be investigated.

BugLink: http://bugs.launchpad.net/bugs/1636847
Signed-off-by: Andy Whitcroft <apw@canonical.com>
Acked-by: Brad Figg <brad.figg@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: [Config] Enable KPROBES on arm64
dann frazier [Fri, 7 Oct 2016 22:57:30 +0000 (16:57 -0600)]
UBUNTU: [Config] Enable KPROBES on arm64

BugLink: http://bugs.launchpad.net/bugs/1634271
Signed-off-by: dann frazier <dann.frazier@canonical.com>
7 years agoUBUNTU: [Config] Add ipvlan to the generic inclusion list
Tim Gardner [Tue, 18 Oct 2016 20:49:13 +0000 (13:49 -0700)]
UBUNTU: [Config] Add ipvlan to the generic inclusion list

BugLink: http://bugs.launchpad.net/bugs/1634705
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: [Config] CONFIG_REGULATOR_TPS65217=n for powerpc
Tim Gardner [Tue, 18 Oct 2016 22:00:58 +0000 (15:00 -0700)]
UBUNTU: [Config] CONFIG_REGULATOR_TPS65217=n for powerpc

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: [Config] CONFIG_REGULATOR_TPS65217=n for arm64
Tim Gardner [Tue, 18 Oct 2016 21:24:49 +0000 (14:24 -0700)]
UBUNTU: [Config] CONFIG_REGULATOR_TPS65217=n for arm64

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: disable ZFS and tools
Tim Gardner [Tue, 18 Oct 2016 18:30:11 +0000 (11:30 -0700)]
UBUNTU: disable ZFS and tools

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: disable vbox
Tim Gardner [Tue, 18 Oct 2016 18:12:21 +0000 (11:12 -0700)]
UBUNTU: disable vbox

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: [Config] CONFIG_MFD_TPS65217=n for ppc64el
Tim Gardner [Tue, 18 Oct 2016 02:37:58 +0000 (19:37 -0700)]
UBUNTU: [Config] CONFIG_MFD_TPS65217=n for ppc64el

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agodropped.txt
Tim Gardner [Mon, 17 Oct 2016 23:20:31 +0000 (16:20 -0700)]
dropped.txt

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: Start new release
Tim Gardner [Mon, 17 Oct 2016 03:54:21 +0000 (20:54 -0700)]
UBUNTU: Start new release

Ignore: yes
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: Ubuntu-4.8.0-25.27
Seth Forshee [Thu, 13 Oct 2016 02:58:11 +0000 (21:58 -0500)]
UBUNTU: Ubuntu-4.8.0-25.27

Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
7 years agoRevert "UBUNTU: SAUCE: (no-up) If zone is so small that watermarks are the same,...
Seth Forshee [Thu, 13 Oct 2016 00:25:00 +0000 (19:25 -0500)]
Revert "UBUNTU: SAUCE: (no-up) If zone is so small that watermarks are the same, stop zone balance."

BugLink: http://bugs.launchpad.net/bugs/1632894
This reverts commit 6d748af3bb9d0b670e7d72da11faaf79a45120f5,
which was errantly deemed appropriate to yakkety but is not
needed.

Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
Acked-by: Jay Vosburgh <jay.vosburgh@canonical.com>
Acked-by: Brad Figg <brad.figg@canonical.com>
7 years agoUBUNTU: Start new release
Seth Forshee [Thu, 13 Oct 2016 02:49:50 +0000 (21:49 -0500)]
UBUNTU: Start new release

Ignore: yes
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
7 years agoUBUNTU: Ubuntu-4.8.0-24.26
Seth Forshee [Wed, 12 Oct 2016 15:25:50 +0000 (10:25 -0500)]
UBUNTU: Ubuntu-4.8.0-24.26

Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
7 years agoUBUNTU: SAUCE: (no-up) If zone is so small that watermarks are the same, stop zone...
Gavin Guo [Wed, 12 Oct 2016 01:13:35 +0000 (09:13 +0800)]
UBUNTU: SAUCE: (no-up) If zone is so small that watermarks are the same, stop zone balance.

BugLink: http://bugs.launchpad.net/bugs/1518457
On an AWS t2.micro instance (Xeon E5-2670, 991MiB of memory).
Occasionally (about once a day), kswapd0 falls into a busy loop and
spins on 100% CPU usage indefinitely. Reject to do the zone balance
when the memory is too small.

Signed-off-by: Dan Streetman <dan.streetman@canonical.com>
Signed-off-by: Gavin Guo <gavin.guo@canonical.com>
Tested-by: Jay Vosburgh <jay.vosburgh@canonical.com>
Acked-by: Leann Ogasawara <leann.ogasawara@canonical.com>
Acked-by: Brad Figg <brad.figg@canonical.com>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
7 years agoUBUNTU: Start new release
Seth Forshee [Wed, 12 Oct 2016 15:02:07 +0000 (10:02 -0500)]
UBUNTU: Start new release

Ignore: yes
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
7 years agoUBUNTU: Ubuntu-4.8.0-23.25
Seth Forshee [Tue, 11 Oct 2016 21:35:11 +0000 (16:35 -0500)]
UBUNTU: Ubuntu-4.8.0-23.25

Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
7 years agoUBUNTU: [Config] Enable live patching on powerpc/ppc64el
Tim Gardner [Mon, 10 Oct 2016 15:54:39 +0000 (09:54 -0600)]
UBUNTU: [Config] Enable live patching on powerpc/ppc64el

BugLink: http://bugs.launchpad.net/bugs/1626983
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
Acked-by: Leann Ogasawara <leann.ogasawara@canonical.com>
Acked-by: Brad Figg <brad.figg@canonical.com>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
7 years agoUBUNTU: [Config] CONFIG_AUFS_XATTR=y
Tim Gardner [Mon, 10 Oct 2016 15:01:09 +0000 (09:01 -0600)]
UBUNTU: [Config] CONFIG_AUFS_XATTR=y

BugLink: http://bugs.launchpad.net/bugs/1557776
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
Acked-by: Leann Ogasawara <leann.ogasawara@canonical.com>
Acked-by: Brad Figg <brad.figg@canonical.com>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
7 years agoUBUNTU: SAUCE: (no-up) include/linux/security.h -- fix syntax error with CONFIG_SECUR...
Andy Whitcroft [Thu, 6 Oct 2016 13:22:12 +0000 (14:22 +0100)]
UBUNTU: SAUCE: (no-up) include/linux/security.h -- fix syntax error with CONFIG_SECURITYFS=n

commit c2ac27f7a443 ("securityfs: update interface to allow
inode_ops, and setup from vfs") introduced a syntax error
in include/linux/security.h when CONFIG_SECURITYFS is not set.
This is exercised by the zfcpdump-kernel for s390x.

BugLink: http://bugs.launchpad.net/bugs/1630990
Signed-off-by: Andy Whitcroft <apw@canonical.com>
Acked-by: Colin King <colin.king@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: Start new release
Seth Forshee [Tue, 11 Oct 2016 21:25:28 +0000 (16:25 -0500)]
UBUNTU: Start new release

Ignore: yes
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
7 years agoUBUNTU: Ubuntu-4.8.0-22.24
Andy Whitcroft [Sat, 8 Oct 2016 08:12:42 +0000 (09:12 +0100)]
UBUNTU: Ubuntu-4.8.0-22.24

Signed-off-by: Andy Whitcroft <apw@canonical.com>
7 years agoUBUNTU: Start new release
Tim Gardner [Fri, 7 Oct 2016 15:41:51 +0000 (09:41 -0600)]
UBUNTU: Start new release

Ignore: yes
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: Ubuntu-4.8.0-21.23
Tim Gardner [Tue, 4 Oct 2016 16:14:45 +0000 (10:14 -0600)]
UBUNTU: Ubuntu-4.8.0-21.23

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: Start new release
Tim Gardner [Tue, 4 Oct 2016 14:01:54 +0000 (08:01 -0600)]
UBUNTU: Start new release

Ignore: yes
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: Ubuntu-4.8.0-20.22
Tim Gardner [Mon, 3 Oct 2016 01:25:35 +0000 (19:25 -0600)]
UBUNTU: Ubuntu-4.8.0-20.22

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: Start new release
Tim Gardner [Mon, 3 Oct 2016 01:18:00 +0000 (19:18 -0600)]
UBUNTU: Start new release

Ignore: yes
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: Ubuntu-4.8.0-19.21
Tim Gardner [Thu, 29 Sep 2016 18:20:35 +0000 (12:20 -0600)]
UBUNTU: Ubuntu-4.8.0-19.21

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: [Config] CONFIG_HARDENED_USERCOPY_PAGESPAN=n
Tim Gardner [Thu, 29 Sep 2016 16:50:14 +0000 (10:50 -0600)]
UBUNTU: [Config] CONFIG_HARDENED_USERCOPY_PAGESPAN=n

BugLink: http://bugs.launchpad.net/bugs/1627198
According to the config option help text, this should not
have been enabled.

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: SAUCE: nbd: Only delay uevent until connected
Stefan Bader [Thu, 29 Sep 2016 16:19:25 +0000 (18:19 +0200)]
UBUNTU: SAUCE: nbd: Only delay uevent until connected

Just a hack until it is understood what actually generates the
uevent which also triggers a partition scan.

Commit 37091fdd831f28a6509008542174ed324dd645bc (in 4.8-rc1)
  nbd: Create size change events for userspace

tries to do the right thing and add a change event at the right
time, but doing so made things actually worse.

The only thing which this patch changes is that i_size and the
capacity are touched multiple times. Both actions do not look
like they could cause a change event being triggered in any way.
Still it does happen and whatever is doing this, it also causes
a partition scan.

So without this change when connecting a file image with qemu-nbd
there was only one change event and no partitions added. However
in some rare cases there were two change events on the main nbd
device and partitions were added.

One thought I had was maybe something like inotify notes the
change to bdev->bd_inode->i_size and triggers the partition
scan when the capacity is already >0. But only changing the
order but not update all variables whenever any of the related
ioctl calls is made is not working. This somehow leave only the
longer time the changes are exposed until nbd sends its own
change event as some sort of explanation.

BugLink: http://bugs.launchpad.net/bugs/1628336
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agosecurityfs: update interface to allow inode_ops, and setup from vfs fns
John Johansen [Sun, 24 Jul 2016 23:06:14 +0000 (16:06 -0700)]
securityfs: update interface to allow inode_ops, and setup from vfs fns

BugLink: http://bugs.launchpad.net/bugs/1611078
Signed-off-by: John Johansen <john.johansen@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: [Config] CONFIG_ZONE_DMA=y for generic
Tim Gardner [Wed, 28 Sep 2016 16:17:26 +0000 (10:17 -0600)]
UBUNTU: [Config] CONFIG_ZONE_DMA=y for generic

BugLink: http://bugs.launchpad.net/bugs/1628523
Config regression from https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1534647

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: [Config] armhf: disable ARCH_ZX
Paolo Pisati [Wed, 28 Sep 2016 11:22:25 +0000 (13:22 +0200)]
UBUNTU: [Config] armhf: disable ARCH_ZX

BugLink: http://bugs.launchpad.net/bugs/1628503
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: [Config] missing modules in armhf/s390x
Tim Gardner [Tue, 27 Sep 2016 21:09:31 +0000 (15:09 -0600)]
UBUNTU: [Config] missing modules in armhf/s390x

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: [Config] CONFIG_NET_SWITCHDEV=y for amd64/arm64
Tim Gardner [Tue, 27 Sep 2016 19:45:03 +0000 (13:45 -0600)]
UBUNTU: [Config] CONFIG_NET_SWITCHDEV=y for amd64/arm64

BugLink: http://bugs.launchpad.net/bugs/1628241
It is possible NET_SWITCHDEV may be required for armhf, but
leave it off until we know for sure.

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: firmware: Update bnx2x to 7.13.1.0
Tim Gardner [Tue, 27 Sep 2016 19:15:49 +0000 (13:15 -0600)]
UBUNTU: firmware: Update bnx2x to 7.13.1.0

BugLink: http://bugs.launchpad.net/bugs/1628009
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: [Config] Enable CONFIG_IBMVNIC=m
Leann Ogasawara [Tue, 27 Sep 2016 18:54:38 +0000 (11:54 -0700)]
UBUNTU: [Config] Enable CONFIG_IBMVNIC=m

Also enforce this in the annotations file.

BugLink: http://bugs.launchpad.net/bugs/1628187
Signed-off-by: Leann Ogasawara <leann.ogasawara@canonical.com>
7 years agoUBUNTU: [Config] skip Ubuntu-4.8.0-18.20
Tim Gardner [Tue, 27 Sep 2016 15:30:06 +0000 (09:30 -0600)]
UBUNTU: [Config] skip Ubuntu-4.8.0-18.20

That version was used during Beta2 testing but was never published
outside of a PPA. However, the tag has been pushed should we ever
want to retrieve it.

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: [Config] armhf: MFD_TPS65217=y && REGULATOR_TPS65217=y
Paolo Pisati [Mon, 26 Sep 2016 14:44:34 +0000 (16:44 +0200)]
UBUNTU: [Config] armhf: MFD_TPS65217=y && REGULATOR_TPS65217=y

BugLink: http://bugs.launchpad.net/bugs/1628112
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
Acked-by: Stefan Bader <stefan.bader@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: Rebase to v4.8-rc8
Leann Ogasawara [Mon, 26 Sep 2016 02:45:29 +0000 (19:45 -0700)]
UBUNTU: Rebase to v4.8-rc8

Signed-off-by: Leann Ogasawara <leann.ogasawara@canonical.com>
7 years agoUBUNTU: Start new release
Leann Ogasawara [Sun, 25 Sep 2016 19:13:39 +0000 (12:13 -0700)]
UBUNTU: Start new release

Ignore: yes
Signed-off-by: Leann Ogasawara <leann.ogasawara@canonical.com>
7 years agoUBUNTU: Ubuntu-4.8.0-17.19
Leann Ogasawara [Sun, 25 Sep 2016 04:32:14 +0000 (21:32 -0700)]
UBUNTU: Ubuntu-4.8.0-17.19

Signed-off-by: Leann Ogasawara <leann.ogasawara@canonical.com>
7 years agoUBUNTU: Remove squashfs udeb
Leann Ogasawara [Sat, 24 Sep 2016 23:36:47 +0000 (16:36 -0700)]
UBUNTU: Remove squashfs udeb

BugLink: http://bugs.launchpad.net/bugs/1593134
CONFIG_SQUASHFS=y results in an empty squashfs udeb.

Signed-off-by: Leann Ogasawara <leann.ogasawara@canonical.com>
7 years agoUBUNTU: Add d-i support for ata_generic
Leann Ogasawara [Sat, 24 Sep 2016 21:36:23 +0000 (14:36 -0700)]
UBUNTU: Add d-i support for ata_generic

BugLink: http://bugs.launchpad.net/bugs/1627322
Add ata_generic to d-i as a future preventative measure in case this is enabled
as a module.

Signed-off-by: Leann Ogasawara <leann.ogasawara@canonical.com>
7 years agoUBUNTU: [Config] Enforce CONFIG_BLK_DEV_SD=y,CONFIG_BLK_DEV_SR=y
Tim Gardner [Sat, 24 Sep 2016 15:07:01 +0000 (09:07 -0600)]
UBUNTU: [Config] Enforce CONFIG_BLK_DEV_SD=y,CONFIG_BLK_DEV_SR=y

BugLink: http://bugs.launchpad.net/bugs/1627330
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
7 years agoUBUNTU: [Config] Enforce CONFIG_ATA_PIIX=y for amd64/i386
Tim Gardner [Sat, 24 Sep 2016 14:52:03 +0000 (08:52 -0600)]
UBUNTU: [Config] Enforce CONFIG_ATA_PIIX=y for amd64/i386

BugLink: http://bugs.launchpad.net/bugs/1627324
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>