~vicamo/+git/ubuntu-kernel:bug-1856103/new-device-ids-for-cmp-v/focal

Last commit made on 2020-03-23
Get this branch:
git clone -b bug-1856103/new-device-ids-for-cmp-v/focal https://git.launchpad.net/~vicamo/+git/ubuntu-kernel
Only You-Sheng Yang can upload to this branch. If you are You-Sheng Yang please log in for upload directions.

Branch merges

Branch information

Name:
bug-1856103/new-device-ids-for-cmp-v/focal
Repository:
lp:~vicamo/+git/ubuntu-kernel

Recent commits

4d9232e... by You-Sheng Yang

Bug 1856103: New device IDs for CMP-V

b251d11... by Jarkko Nikula <email address hidden>

i2c: i801: Add support for Intel Comet Lake PCH-V

Add support for Intel Comet Lake PCH-V which is based on Intel Kaby
Lake. Difference between it and other Comet Lake variants is that former
uses previous iTCO version 4 and latter use version 6 like Intel Cannon
Lake PCH.

Signed-off-by: Jarkko Nikula <email address hidden>
Reviewed-by: Jean Delvare <email address hidden>
Signed-off-by: Wolfram Sang <email address hidden>
(backported from commit f53938d2c79ae3c768dc92b1c3d898dfe820a491)
Signed-off-by: You-Sheng Yang <email address hidden>

c35edbc... by Jarkko Nikula <email address hidden>

spi: pxa2xx: Add support for Intel Comet Lake PCH-V

Add support for Intel Comet Lake PCH-V which has the same LPSS than on
Intel Kaby lake unlike other Intel Comet Lake PCH variants that are based
on Intel Cannon Lake PCH LPSS.

Signed-off-by: Jarkko Nikula <email address hidden>

Link: https://<email address hidden>
Signed-off-by: Mark Brown <email address hidden>
(cherry picked from commit 6157d4c255609da28f5a271ec1d56d74beb4c8be)
Signed-off-by: You-Sheng Yang <email address hidden>

a4aed94... by Andy Shevchenko <email address hidden>

mfd: intel-lpss: Add Intel Comet Lake PCH-V PCI IDs

Intel Comet Lake PCH-V has the same LPSS than Intel Kaby Lake.
Add the new IDs to the list of supported devices.

Signed-off-by: Andy Shevchenko <email address hidden>
(cherry picked from
https://<email address hidden>/)
Signed-off-by: You-Sheng Yang <email address hidden>

a30d514... by Mika Westerberg <email address hidden>

mtd: spi-nor: intel-spi: Add support for Intel Comet Lake-V SPI serial flash

Intel Comet Lake-V has the same SPI serial flash controller as Kaby
Lake. Add Comet Lake-V PCI ID to the driver list of supported devices.

Signed-off-by: Mika Westerberg <email address hidden>
Signed-off-by: Tudor Ambarus <email address hidden>
(cherry picked from commit 701a1676f313dbae578f31da4e06c5487c8aa7bb)
Signed-off-by: You-Sheng Yang <email address hidden>

08623b9... by Mika Westerberg <email address hidden>

pinctrl: sunrisepoint: Add Coffee Lake-S ACPI ID

Intel Coffee Lake-S PCH has the same GPIO hardware than Sunrisepoint-H
PCH but the ACPI ID is different. Add this new ACPI ID to the list of
supported devices.

Signed-off-by: Mika Westerberg <email address hidden>
Signed-off-by: Andy Shevchenko <email address hidden>
(cherry picked from commit 899b7e3374b253888b048dd06338e043e4b7637c)
Signed-off-by: You-Sheng Yang <email address hidden>

25a9e21... by Kai-Heng Feng

USB: Disable LPM on WD19's Realtek Hub

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

Realtek Hub (0bda:0x0487) used in Dell Dock WD19 sometimes drops off the
bus when bringing underlying ports from U3 to U0.

Disabling LPM on the hub during setting link state is not enough, so
let's disable LPM completely for this hub.

Acked-by: Alan Stern <email address hidden>
Signed-off-by: Kai-Heng Feng <email address hidden>
Cc: stable <email address hidden>
Link: https://<email address hidden>
Signed-off-by: Greg Kroah-Hartman <email address hidden>
(cherry picked from commit b63e48fb50e1ca71db301ca9082befa6f16c55c4 linux-next)
Signed-off-by: Kai-Heng Feng <email address hidden>
Signed-off-by: Seth Forshee <email address hidden>

15db953... by Mathias Nyman

xhci: Finetune host initiated USB3 rootport link suspend and resume

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

Depending on the current link state the steps to resume the link to U0
varies. The normal case when a port is suspended (U3) we set the link
to U0 and wait for a port event when U3exit completed and port moved to
U0.

If the port is in U1/U2, then no event is issued, just set link to U0

If port is in Resume or Recovery state then the device has already
initiated resume, and this host initiated resume is racing against it.
Port event handler for device initiated resume will set link to U0,
just wait for the port to reach U0 before returning.

Signed-off-by: Mathias Nyman <email address hidden>
Link: https://<email address hidden>
Signed-off-by: Greg Kroah-Hartman <email address hidden>
(cherry picked from commit ceca49382ac20e06ce04c21279c7f2868c4ec1d4 linux-next)
Signed-off-by: Kai-Heng Feng <email address hidden>
Signed-off-by: Seth Forshee <email address hidden>

becdf39... by Kai-Heng Feng

xhci: Wait until link state trainsits to U0 after setting USB_SS_PORT_LS_U0

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

Like U3 case, xHCI spec doesn't specify the upper bound of U0 transition
time. The 20ms is not enough for some devices.

Intead of polling PLS or PLC, we can facilitate the port change event to
know that the link transits to U0 is completed.

While at it, also separate U0 and U3 case to make the code cleaner.

[variable rename to u3exit, and skip completion for usb2 ports -Mathias ]
Signed-off-by: Kai-Heng Feng <email address hidden>
Signed-off-by: Mathias Nyman <email address hidden>
Link: https://<email address hidden>
Signed-off-by: Greg Kroah-Hartman <email address hidden>
(cherry picked from commit 0200b9f790b0fc9e9a42f685f5ad54b23fe959f4 linux-next)
Signed-off-by: Kai-Heng Feng <email address hidden>
Signed-off-by: Seth Forshee <email address hidden>

86374f8... by Kai-Heng Feng

xhci: Ensure link state is U3 after setting USB_SS_PORT_LS_U3

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

The xHCI spec doesn't specify the upper bound of U3 transition time. For
some devices 20ms is not enough, so we need to make sure the link state
is in U3 before further actions.

I've tried to use U3 Entry Capability by setting U3 Entry Enable in
config register, however the port change event for U3 transition
interrupts the system suspend process.

For now let's use the less ideal method by polling PLS.

[use usleep_range(), and shorten the delay time while polling -Mathias]
Signed-off-by: Kai-Heng Feng <email address hidden>
Signed-off-by: Mathias Nyman <email address hidden>
Link: https://<email address hidden>
Signed-off-by: Greg Kroah-Hartman <email address hidden>
(cherry picked from commit eb002726fac7cefb98ff39ddb89e150a1c24fe85 linux-next)
Signed-off-by: Kai-Heng Feng <email address hidden>
Signed-off-by: Seth Forshee <email address hidden>