~kamalmostafa/ubuntu/+source/linux/+git/xenial:huawei-hio

Last commit made on 2016-07-15
Get this branch:
git clone -b huawei-hio https://git.launchpad.net/~kamalmostafa/ubuntu/+source/linux/+git/xenial
Only Kamal Mostafa can upload to this branch. If you are Kamal Mostafa please log in for upload directions.

Branch merges

Branch information

Recent commits

0f29851... by Kamal Mostafa

UBUNTU: SAUCE: hio: Makefile and Kconfig

BugLink: http://bugs.launchpad.net/bugs/1603483

Signed-off-by: Kamal Mostafa <email address hidden>

0c6e443... by Kamal Mostafa

UBUNTU: [config] enable CONFIG_HIO (Huawei ES3000_V2 PCIe SSD driver)

BugLink: http://bugs.launchpad.net/bugs/1603483

Signed-off-by: Kamal Mostafa <email address hidden>

2bae7a2... by Kamal Mostafa

UBUNTU: SAUCE: hio: fix mask maybe-uninitialized warning

BugLink: http://bugs.launchpad.net/bugs/1603483

Signed-off-by: Kamal Mostafa <email address hidden>

6d24a75... by Kamal Mostafa

UBUNTU: SAUCE: hio: use alloc_cpumask_var to avoid -Wframe-larger-than

BugLink: http://bugs.launchpad.net/bugs/1603483

Signed-off-by: Kamal Mostafa <email address hidden>

ecb4189... by Kamal Mostafa

UBUNTU: SAUCE: hio: blk_queue make_request_fn now returns a blk_qc_t

BugLink: http://bugs.launchpad.net/bugs/1603483

Signed-off-by: Kamal Mostafa <email address hidden>

0fdcd71... by Kamal Mostafa

UBUNTU: SAUCE: hio: bio_endio() no longer takes errors arg

BugLink: http://bugs.launchpad.net/bugs/1603483

Signed-off-by: Kamal Mostafa <email address hidden>

b6f64d9... by Huawei SSD DEV Team <>

UBUNTU: SAUCE: import Huawei ES3000_V2 (2.1.0.23)

BugLink: http://bugs.launchpad.net/bugs/1603483

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 <email address hidden>

eca03d1... by Tejun Heo

percpu: fix synchronization between synchronous map extension and chunk destruction

For non-atomic allocations, pcpu_alloc() can try to extend the area
map synchronously after dropping pcpu_lock; however, the extension
wasn't synchronized against chunk destruction and the chunk might get
freed while extension is in progress.

This patch fixes the bug by putting most of non-atomic allocations
under pcpu_alloc_mutex to synchronize against pcpu_balance_work which
is responsible for async chunk management including destruction.

Signed-off-by: Tejun Heo <email address hidden>
Reported-and-tested-by: Alexei Starovoitov <email address hidden>
Reported-by: Vlastimil Babka <email address hidden>
Reported-by: Sasha Levin <email address hidden>
Cc: <email address hidden> # v3.18+
Fixes: 1a4d76076cda ("percpu: implement asynchronous chunk population")
(cherry picked from commit 6710e594f71ccaad8101bc64321152af7cd9ea28)
CVE-2016-4794
BugLink: https://bugs.launchpad.net/bugs/1581871
Signed-off-by: Luis Henriques <email address hidden>
Acked-by: Christopher Arges <email address hidden>
Signed-off-by: Kamal Mostafa <email address hidden>

7784873... by Tejun Heo

percpu: fix synchronization between chunk->map_extend_work and chunk destruction

Atomic allocations can trigger async map extensions which is serviced
by chunk->map_extend_work. pcpu_balance_work which is responsible for
destroying idle chunks wasn't synchronizing properly against
chunk->map_extend_work and may end up freeing the chunk while the work
item is still in flight.

This patch fixes the bug by rolling async map extension operations
into pcpu_balance_work.

Signed-off-by: Tejun Heo <email address hidden>
Reported-and-tested-by: Alexei Starovoitov <email address hidden>
Reported-by: Vlastimil Babka <email address hidden>
Reported-by: Sasha Levin <email address hidden>
Cc: <email address hidden> # v3.18+
Fixes: 9c824b6a172c ("percpu: make sure chunk->map array has available space")
(cherry picked from commit 4f996e234dad488e5d9ba0858bc1bae12eff82c3)
CVE-2016-4794
BugLink: https://bugs.launchpad.net/bugs/1581871
Signed-off-by: Luis Henriques <email address hidden>
Acked-by: Christopher Arges <email address hidden>
Signed-off-by: Kamal Mostafa <email address hidden>

45abaa5... by Greg Kroah-Hartman <email address hidden>

Linux 4.4.15

BugLink: http://bugs.launchpad.net/bugs/1601952

Signed-off-by: Tim Gardner <email address hidden>
Signed-off-by: Kamal Mostafa <email address hidden>