~dannf/ubuntu/+source/linux/+git/xenial:lp1630038-x

Last commit made on 2016-10-07
Get this branch:
git clone -b lp1630038-x https://git.launchpad.net/~dannf/ubuntu/+source/linux/+git/xenial
Only dann frazier can upload to this branch. If you are dann frazier please log in for upload directions.

Branch merges

Branch information

Name:
lp1630038-x
Repository:
lp:~dannf/ubuntu/+source/linux/+git/xenial

Recent commits

d00b6c1... by Sunil Goutham <email address hidden>

net: thunderx: Don't set RX_PACKET_DIS while initializing

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

Setting BGXX_SPUX_MISC_CONTROL::RX_PACKET_DIS is not needed as
packet reception is anyway disabled by BGXX_CMRX_CONFIG::DATA_PKT_RX_EN.
Also setting RX_PACKET_DIS causes a bogus remote fault condition
which delays link detection.

Signed-off-by: Sunil Goutham <email address hidden>
Signed-off-by: David S. Miller <email address hidden>
(backported from commit 93db2cf8caa1fa69cb833175cc5d30a7d178d53b)
Signed-off-by: dann frazier <email address hidden>

162e766... by Greg Kroah-Hartman <email address hidden>

Linux 4.4.24

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

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

4c9d827... by Takashi Iwai

ALSA: hda - Add the top speaker pin config for HP Spectre x360

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

commit 0eec880966e77bdbee0112989a2be67d92e39929 upstream.

HP Spectre x360 with CX20724 codec has two speaker outputs while the
BIOS sets up only the bottom one (NID 0x17) and disables the top one
(NID 0x1d).

This patch adds a fixup simply defining the proper pincfg for NID 0x1d
so that the top speaker works as is.

Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=169071
Signed-off-by: Takashi Iwai <email address hidden>
Signed-off-by: Greg Kroah-Hartman <email address hidden>

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

1071be0... by Hui Wang

ALSA: hda - Fix headset mic detection problem for several Dell laptops

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

commit 3f640970a41429f0a076c01270bbd014c9eae61c upstream.

One of the laptops has the codec ALC256 on it, applying the
ALC255_FIXUP_DELL1_MIC_NO_PRESENCE can fix the problem, the rest
of laptops have the codec ALC295 on them, they are similar to machines
with ALC225, applying the ALC269_FIXUP_DELL1_MIC_NO_PRESENCE can fix
the problem.

Signed-off-by: Hui Wang <email address hidden>
Signed-off-by: Takashi Iwai <email address hidden>
Signed-off-by: Greg Kroah-Hartman <email address hidden>

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

9fddfea... by Prarit Bhargava <email address hidden>

ACPICA: acpi_get_sleep_type_data: Reduce warnings

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

commit a59b679ab85635737947310323f2f2bcfa0664a7 upstream.

ACPICA commit 7bb77313091e52a846df4c9c2bea90be31bfb9d8

Eliminate warnings for "not found" _Sx errors, since these
are optional. Original NOT_FOUND status is still returned.

Original changes by Prarit Bhargava.
ACPICA BZ 1208.

Link: https://github.com/acpica/acpica/commit/7bb77313
Link: https://bugs.acpica.org/show_bug.cgi?id=1208
Signed-off-by: Prarit Bhargava <email address hidden>
Signed-off-by: Bob Moore <email address hidden>
Signed-off-by: Lv Zheng <email address hidden>
Signed-off-by: Rafael J. Wysocki <email address hidden>
Cc: "Charles (Chas) Williams" <email address hidden>
Signed-off-by: Greg Kroah-Hartman <email address hidden>

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

de48e86... by Hui Wang

ALSA: hda - Adding one more ALC255 pin definition for headset problem

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

commit 392c9da24a994f238c5d7ea611c6245be4617014 upstream.

We have two new Dell laptop models, they have the same ALC255 pin
definition, but not in the pin quirk table yet, as a result, the
headset microphone can't work. After adding the definition in the
table, the headset microphone works well.

Signed-off-by: Hui Wang <email address hidden>
Signed-off-by: Takashi Iwai <email address hidden>
Signed-off-by: Greg Kroah-Hartman <email address hidden>

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

18d0ef3... by Greg Kroah-Hartman <email address hidden>

Revert "usbtmc: convert to devm_kzalloc"

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

commit ab21b63e8aedfc73565dd9cdd51eb338341177cb upstream.

This reverts commit e6c7efdcb76f11b04e3d3f71c8d764ab75c9423b.

Turns out it was totally wrong. The memory is supposed to be bound to
the kref, as the original code was doing correctly, not the
device/driver binding as the devm_kzalloc() would cause.

This fixes an oops when read would be called after the device was
unbound from the driver.

Reported-by: Ladislav Michl <email address hidden>
Cc: Andy Shevchenko <email address hidden>
Signed-off-by: Greg Kroah-Hartman <email address hidden>

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

0b53e0b... by Kyle Jones <email address hidden>

USB: serial: cp210x: Add ID for a Juniper console

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

commit decc5360f23e9efe0252094f47f57f254dcbb3a9 upstream.

Signed-off-by: Kyle Jones <email address hidden>
Signed-off-by: Greg Kroah-Hartman <email address hidden>

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

ae776c8... by Ksenija Stanojevic <email address hidden>

Staging: fbtft: Fix bug in fbtft-core

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

commit fc1e2c8ea85e109acf09e74789e9b852f6eed251 upstream.

Commit 367e8560e8d7a62d96e9b1d644028a3816e04206 introduced a bug
in fbtft-core where fps is always 0, this is because variable
update_time is not assigned correctly.

Signed-off-by: Ksenija Stanojevic <email address hidden>
Fixes: 367e8560e8d7 ("Staging: fbtbt: Replace timespec with ktime_t")
Signed-off-by: Greg Kroah-Hartman <email address hidden>

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

1ce0633... by Greg Kroah-Hartman <email address hidden>

usb: misc: legousbtower: Fix NULL pointer deference

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

commit 2fae9e5a7babada041e2e161699ade2447a01989 upstream.

This patch fixes a NULL pointer dereference caused by a race codition in
the probe function of the legousbtower driver. It re-structures the
probe function to only register the interface after successfully reading
the board's firmware ID.

The probe function does not deregister the usb interface after an error
receiving the devices firmware ID. The device file registered
(/dev/usb/legousbtower%d) may be read/written globally before the probe
function returns. When tower_delete is called in the probe function
(after an r/w has been initiated), core dev structures are deleted while
the file operation functions are still running. If the 0 address is
mappable on the machine, this vulnerability can be used to create a
Local Priviege Escalation exploit via a write-what-where condition by
remapping dev->interrupt_out_buffer in tower_write. A forged USB device
and local program execution would be required for LPE. The USB device
would have to delay the control message in tower_probe and accept
the control urb in tower_open whilst guest code initiated a write to the
device file as tower_delete is called from the error in tower_probe.

This bug has existed since 2003. Patch tested by emulated device.

Reported-by: James Patrick-Evans <email address hidden>
Tested-by: James Patrick-Evans <email address hidden>
Signed-off-by: James Patrick-Evans <email address hidden>
Signed-off-by: Greg Kroah-Hartman <email address hidden>

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