~ubuntu-kernel/ubuntu/+source/linux/+git/unstable:master-4.20

Last commit made on 2019-01-15
Get this branch:
git clone -b master-4.20 https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/unstable
Members of Ubuntu Kernel Repositories can upload to this branch. Log in for directions.

Branch merges

Branch information

Recent commits

e639107... by Kai-Heng Feng

UBUNTU: SAUCE: Add r8822be to signature inclusion list

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

r8822be is sent and maintained by <email address hidden>, so it's in a good
shape. Let's add it to signature inclusion list.

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

a84cc9f... by Seth Forshee

UBUNTU: [Config] CONFIG_RTLWIFI_DEBUG_ST=n

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

This is very similar to the CONFIG_RTLWIFI_DEBUG option for the
non-staging driver, and since that is disabled it should also be
disabled in the staging driver, especially now that the staging
driver will be signed.

Acked-by: Khalid Elmously <email address hidden>
Signed-off-by: Seth Forshee <email address hidden>

ff2b5f8... by Seth Forshee

UBUNTU: SAUCE: staging: rtlwifi: allow RTLWIFI_DEBUG_ST to be disabled

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

Also default the option to off as with RTLWIFI_DEBUG, which seems
like a more reasonable default.

Acked-by: Khalid Elmously <email address hidden>
Signed-off-by: Seth Forshee <email address hidden>

c721686... by Seth Forshee

UBUNTU: SAUCE: selftests: disable some failing networking tests

The test_bpf.sh and psock_snd.sh network selftests are failing.
These are not new failures, as they also fail in cosmic's 4.18
kernel, however they are now causing failures in ADT. Disable
the tests temporarily until we have fixes.

Signed-off-by: Seth Forshee <email address hidden>

aa3da69... by tglx

UBUNTU: SAUCE: posix-cpu-timers: Unbreak timer rearming

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

The recent commit which prevented a division by 0 issue in the alarm timer
code broke posix CPU timers as an unwanted side effect.

The reason is that the common rearm code checks for timer->it_interval
being 0 now. What went unnoticed is that the posix cpu timer setup does not
initialize timer->it_interval as it stores the interval in CPU timer
specific storage. The reason for the separate storage is historical as the
posix CPU timers always had a 64bit nanoseconds representation internally
while timer->it_interval is type ktime_t which used to be a modified
timespec representation on 32bit machines.

Instead of reverting the offending commit and fixing the alarmtimer issue
in the alarmtimer code, store the interval in timer->it_interval at CPU
timer setup time so the common code check works. This also repairs the
existing inconistency of the posix CPU timer code which kept a single shot
timer armed despite of the interval being 0.

The separate storage can be removed in mainline, but that needs to be a
separate commit as the current one has to be backported to stable kernels.

Fixes: 0e334db6bb4b ("posix-timers: Fix division by zero bug")
Reported-by: H.J. Lu <email address hidden>
Signed-off-by: Thomas Gleixner <email address hidden>
Cc: <email address hidden>
Cc: Peter Zijlstra <email address hidden>
Cc: John Stultz <email address hidden>

Link: https://<email address hidden>
Signed-off-by: Seth Forshee <email address hidden>

8df1fba... by Kai-Heng Feng

memstick: rtsx_usb_ms: Support runtime power management

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

In order to let host's parent device, rtsx_usb, to use USB remote wake
up signaling to do card detection, it needs to be suspended. Hence it's
necessary to add runtime PM support for the memstick host.

To keep memstick host stays suspended when it's not in use, convert the
card detection function from kthread to delayed_work, which can be
scheduled when the host is resumed and can be canceled when the host is
suspended.

Put the device to suspend when there's no card and the power mode is
MEMSTICK_POWER_OFF.

Signed-off-by: Kai-Heng Feng <email address hidden>
Tested-by: Oleksandr Natalenko <email address hidden>
Signed-off-by: Ulf Hansson <email address hidden>
(cherry picked from commit 6827ca573c03385439fdfc8b512d556dc7c54fc9)
Acked-by: Colin Ian King <email address hidden>
Acked-by: Kai-Heng Feng <email address hidden>
Signed-off-by: Seth Forshee <email address hidden>

d91e5a1... by Kai-Heng Feng

memstick: rtsx_usb_ms: Use ms_dev() helper

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

Use ms_dev() helper for consistency.

Signed-off-by: Kai-Heng Feng <email address hidden>
Tested-by: Oleksandr Natalenko <email address hidden>
Signed-off-by: Ulf Hansson <email address hidden>
(cherry picked from commit ba9d5f83735fc00297e39ba5cd9ece1c61eb3995)
Acked-by: Colin Ian King <email address hidden>
Acked-by: Kai-Heng Feng <email address hidden>
Signed-off-by: Seth Forshee <email address hidden>

683c902... by Kai-Heng Feng

memstick: Prevent memstick host from getting runtime suspended during card detection

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

We can use MEMSTICK_POWER_{ON,OFF} along with pm_runtime_{get,put}
helpers to let memstick host support runtime pm.

The rpm count may go down to zero before the memstick host powers on, so
the host can be runtime suspended.

So before doing card detection, increment the rpm count to avoid the
host gets runtime suspended. Balance the rpm count after card detection
is done.

Signed-off-by: Kai-Heng Feng <email address hidden>
Tested-by: Oleksandr Natalenko <email address hidden>
Signed-off-by: Ulf Hansson <email address hidden>
(cherry picked from commit e03e303edf1c63e6dd455ccd568c74e93ef3ba8c)
Acked-by: Colin Ian King <email address hidden>
Acked-by: Kai-Heng Feng <email address hidden>
Signed-off-by: Seth Forshee <email address hidden>

d3d26e2... by Kai-Heng Feng

misc: rtsx_usb: Use USB remote wakeup signaling for card insertion detection

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

Although rtsx_usb doesn't support card removal detection, card insertion
will resume rtsx_usb by USB remote wakeup signaling.

When rtsx_usb gets resumed, also resumes its child devices,
rtsx_usb_sdmmc and rtsx_usb_ms, to notify them there's a card in its
slot.

Signed-off-by: Kai-Heng Feng <email address hidden>
Tested-by: Oleksandr Natalenko <email address hidden>
Signed-off-by: Ulf Hansson <email address hidden>
(cherry picked from commit 883a87ddf2f118fbce617b1b3472b8224803eb14)
Acked-by: Colin Ian King <email address hidden>
Acked-by: Kai-Heng Feng <email address hidden>
Signed-off-by: Seth Forshee <email address hidden>

731d4a6... by Kai-Heng Feng

memstick: rtsx_usb_ms: Add missing pm_runtime_disable() in probe function

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

If the probe fails, we should use pm_runtime_disable() to balance
pm_runtime_enable().

Add missing pm_runtime_disable() for rtsx_usb_ms.

Signed-off-by: Kai-Heng Feng <email address hidden>
Tested-by: Oleksandr Natalenko <email address hidden>
Signed-off-by: Ulf Hansson <email address hidden>
(cherry picked from commit 01a7e8e066a505933b43a8df6da1ae1a1e7bddf2)
Acked-by: Colin Ian King <email address hidden>
Acked-by: Kai-Heng Feng <email address hidden>
Signed-off-by: Seth Forshee <email address hidden>