~kamalmostafa/ubuntu/+source/linux/+git/cosmic:master-next

Last commit made on 2019-01-08
Get this branch:
git clone -b master-next https://git.launchpad.net/~kamalmostafa/ubuntu/+source/linux/+git/cosmic
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

7a6d6ad... by AceLan Kao

UBUNTU: SAUCE: pci/nvme: prevent WDC PC SN720 NVMe from entering D3 and being disabled

BugLink: https://bugs.launchpad.net/bugs/1805775

It leads to the power consumption increases 3.41W during s2idle, while it
consumes much less idle if forbidding put WDC NVMe to D3 and before
entering S2Idle.

Windows doesn't put NVMe to D3 in Modern Standby, and uses its own APST
feature to do the power management. To leverage its APST feature during
s2idle, we can't disable nvme device while suspending, too.

So, here is what we do to the driver:
- Prevent nvme from entering D3,
- Prevent nvme from being disabled when suspending.

Signed-off-by: AceLan Kao <email address hidden>
Acked-by: Seth Forshee <email address hidden>
Acked-by: Kai Heng Feng <email address hidden>
Signed-off-by: Khalid Elmously <email address hidden>

df2fee4... by Kai-Heng Feng

UBUNTU: SAUCE: nvme: add quirk to not call disable function when suspending

BugLink: https://bugs.launchpad.net/bugs/1804588

Call nvme_dev_disable() function leads to the power consumption goes up
to 2.8 Watt during suspend-to-idle, and from Intel FE, they suggest us
to use its own APST feature to do the power management during s2idle.

After D3 is diabled and nvme_dev_disable() is not called while
suspending, the power consumption drops 2.8 Watts during s2idle.

Signed-off-by: Kai-Heng Feng <email address hidden>
Acked-by: Kleber Souza <email address hidden>
Acked-by: AceLan Kao <email address hidden>
Signed-off-by: Khalid Elmously <email address hidden>

1c782e0... by Kai-Heng Feng

UBUNTU: SAUCE: pci: prevent Intel NVMe SSDPEKKF from entering D3

BugLink: https://bugs.launchpad.net/bugs/1804588

It leads to the power consumption increases 2.8W during s2idle, while it
consumes much less idle if forbidding put Intel NVMe to D3 and before
entering S2Idle.

Windows doesn't put NVMe to D3 in Modern Standby, and uses its own APST
feature to do the power management. To leverage its APST feature during
s2idle, we can't disable nvme device while suspending, too.

So, here is what we do to the driver:
- Prevent nvme from entering D3,
- Prevent nvme from being disabled when suspending.

Signed-off-by: Kai-Heng Feng <email address hidden>
Acked-by: Kleber Souza <email address hidden>
Acked-by: AceLan Kao <email address hidden>
Signed-off-by: Khalid Elmously <email address hidden>

1616118... by Chaitra P B <email address hidden>

scsi: mpt3sas: As per MPI-spec, use combined reply queue for SAS3.5 controllers when HBA supports more than 16 MSI-x vectors.

BugLink: https://bugs.launchpad.net/bugs/1810781

Presently driver is using combined reply queue feature when MSI-x vectors >
8 for both SAS3 and SAS3.5 controllers. But as per MPI-spec,

1. For SAS3 controllers, driver should use combined reply queue when HBA
supports more than 8 MSI-x vectors.

2. For SAS3.5 controllers, driver should use combined reply queue when HBA
supports more than 16 MSI-x vectors.

Modified driver code to use combined reply queue for SAS3 controllers when
HBA supports > 8 MSI-x vectors and for SAS3.5 controllers when HBA supports
> 16 MSI-x vectors.

Signed-off-by: Chaitra P B <email address hidden>
Signed-off-by: Martin K. Petersen <email address hidden>
(cherry picked from commit 2b48be65685a23f4ffc7a06858992bc31e98e198)
Signed-off-by: Mauricio Faria de Oliveira <email address hidden>
Acked-by: Khalid Elmously <email address hidden>
Acked-by: Stefan Bader <email address hidden>
Signed-off-by: Khalid Elmously <email address hidden>

b677330... by Kai-Heng Feng

UBUNTU: SAUCE: (noup) USB: usb-storage: Make MMC support optional on ums-realtek

BugLink: https://bugs.launchpad.net/bugs/1806335

Hardware vendors may not pay the MMC royalty, so MMC support needs to be
disabled on Ubuntu pre-installed hardwares.

The current approach is to use an out-of-tree module to disable MMC
support, but it's hard to maintain and it disables secure boot.

Use a new knob "enable_mmc" to enable/disable mmc support, so
pre-installed systems can easily turn MMC off.

Realtek doesn't want this feature in mainline kernel, but they are okay
to have this in Ubuntu's kernel. So let's have it here.

Signed-off-by: Kai-Heng Feng <email address hidden>
Acked-by: Kleber Souza <email address hidden>
Acked-by: AceLan Kao <email address hidden>
Signed-off-by: Khalid Elmously <email address hidden>

3da7f41... by Kai-Heng Feng

USB: usb-storage: Add new IDs to ums-realtek

https://bugs.launchpad.net/bugs/1806335

There are two new Realtek card readers require ums-realtek to work
correctly.

Add the new IDs to support them.

Signed-off-by: Kai-Heng Feng <email address hidden>
Acked-by: Alan Stern <email address hidden>
Cc: stable <email address hidden>
Signed-off-by: Greg Kroah-Hartman <email address hidden>
(cherry picked from commit a84a1bcc992f0545a51d2e120b8ca2ef20e2ea97)
Signed-off-by: Kai-Heng Feng <email address hidden>
Acked-by: Kleber Souza <email address hidden>
Acked-by: AceLan Kao <email address hidden>
Signed-off-by: Khalid Elmously <email address hidden>

0b448b4... by Hui Wang

ALSA: usb-audio: Add vendor and product name for Dell WD19 Dock

BugLink: https://bugs.launchpad.net/bugs/1806532

Like the Dell WD15 Dock, the WD19 Dock (0bda:402e) doens't provide
useful string for the vendor and product names too. In order to share
the UCM with WD15, here we keep the profile_name same as the WD15.

Signed-off-by: Hui Wang <email address hidden>
Signed-off-by: Takashi Iwai <email address hidden>
(cherry picked from commit 8159a6a4a7d2a092d5375f695ecfca22b4562b5f)
Signed-off-by: Hui Wang <email address hidden>
Acked-by: AceLan Kao <email address hidden>
Acked-by: Seth Forshee <email address hidden>
Signed-off-by: Khalid Elmously <email address hidden>

9de9baf... by Andy Whitcroft

UBUNTU: [Packaging] getabis -- support parsing a simple version

BugLink: http://bugs.launchpad.net/bugs/1806380
Signed-off-by: Andy Whitcroft <email address hidden>
Acked-by: Kamal Mostafa <email address hidden>
Acked-by: Seth Forshee <email address hidden>
Signed-off-by: Khalid Elmously <email address hidden>

b7a650e... by Andy Whitcroft

UBUNTU: [Packaging] getabis -- handle all known package combinations

Traditionally we have tried to download all and any packages we can
find. If we have any packages we just assume that what we got is a
consistent set and use it. This leads to incomplete sets being
committed on network failure.

Firstly detect and differentiate transport errors and valid missing
packages. Secondly switch to analysing known good package set
combinations; this relies on the presumption that the publisher
only publishes all or none of a binary package set. This lets us
throw errors when we are unable to find an internally consistent
set of packages.

BugLink: http://bugs.launchpad.net/bugs/1806380
Signed-off-by: Andy Whitcroft <email address hidden>
Acked-by: Kamal Mostafa <email address hidden>
Acked-by: Seth Forshee <email address hidden>
Signed-off-by: Khalid Elmously <email address hidden>

74e1253... by Kai-Heng Feng

igb: Fix an issue that PME is not enabled during runtime suspend

BugLink: https://bugs.launchpad.net/bugs/1806818

I210 ethernet card doesn't wakeup when a cable gets plugged. It's
because its PME is not set.

Since commit 42eca2302146 ("PCI: Don't touch card regs after runtime
suspend D3"), if the PCI state is saved, pci_pm_runtime_suspend() stops
calling pci_finish_runtime_suspend(), which enables the PCI PME.

To fix the issue, let's not to save PCI states when it's runtime
suspend, to let the PCI subsytem enables PME.

Fixes: 42eca2302146 ("PCI: Don't touch card regs after runtime suspend D3")
Signed-off-by: Kai-Heng Feng <email address hidden>
(cherry picked from commit c881c486761fd093d104fa86e373e504aa60f35e git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/next-queue.git dev-queue)
Signed-off-by: Kai-Heng Feng <email address hidden>
Acked-by: Kleber Souza <email address hidden>
Acked-by: Seth Forshee <email address hidden>
Signed-off-by: Khalid Elmously <email address hidden>