~vicamo/+git/ubuntu-kernel:bug-1886257/touchpad-on-Fujitsu-Lifebook-UH554/eoan

Last commit made on 2020-07-09
Get this branch:
git clone -b bug-1886257/touchpad-on-Fujitsu-Lifebook-UH554/eoan 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-1886257/touchpad-on-Fujitsu-Lifebook-UH554/eoan
Repository:
lp:~vicamo/+git/ubuntu-kernel

Recent commits

0343787... by You-Sheng Yang

Bug 1886257: Input: i8042 - add Fujitsu Lifebook UH554 to nomux/notimeout list

c93bc71... by You-Sheng Yang

Input: i8042 - add Fujitsu Lifebook UH554 to nomux/notimeout list

Similar to AH544, without these quirks, the touchpad is not responsive
on this product. Add it to the nomux/notimeout list alongside other
similar Fujitsu laptops.

BugLink: https://bugs.launchpad.net/bugs/1886257
Signed-off-by: You-Sheng Yang <email address hidden>

8073a78... by Stefan Bader

UBUNTU: Ubuntu-5.3.0-63.57

Signed-off-by: Stefan Bader <email address hidden>

f4ebeea... by Stefan Bader

UBUNTU: link-to-tracker: update tracking bug

BugLink: https://bugs.launchpad.net/bugs/1885495
Properties: no-test-build
Signed-off-by: Stefan Bader <email address hidden>

39ff6e4... by Stefan Bader

UBUNTU: Start new release

Ignore: yes
Signed-off-by: Stefan Bader <email address hidden>

81008f2... by Thadeu Lima de Souza Cascardo

UBUNTU: SAUCE: selftests/seccomp: fix ptrace tests on powerpc

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

As pointed out by Michael Ellerman, the ptrace ABI on powerpc does not
allow or require the return code to be set on syscall entry when
skipping the syscall. It will always return ENOSYS and the return code
must be set on syscall exit.

This code does that, behaving more similarly to strace. It still sets
the return code on entry, which is overridden on powerpc, and it will
always repeat the same on exit. Also, on powerpc, the errno is not
inverted, and depends on ccr.so being set.

This has been tested on powerpc and amd64.

https://lore<email address hidden>/
Signed-off-by: Thadeu Lima de Souza Cascardo <email address hidden>
Acked-by: Andrea Righi <email address hidden>
Acked-by: Juerg Haefliger <email address hidden>
Signed-off-by: Kleber Sacilotto de Souza <email address hidden>

d707c3f... by Waiman Long <email address hidden>

hugetlbfs: take read_lock on i_mmap for PMD sharing

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

A customer with large SMP systems (up to 16 sockets) with application
that uses large amount of static hugepages (~500-1500GB) are
experiencing random multisecond delays. These delays were caused by the
long time it took to scan the VMA interval tree with mmap_sem held.

The sharing of huge PMD does not require changes to the i_mmap at all.
Therefore, we can just take the read lock and let other threads
searching for the right VMA share it in parallel. Once the right VMA is
found, either the PMD lock (2M huge page for x86-64) or the
mm->page_table_lock will be acquired to perform the actual PMD sharing.

Lock contention, if present, will happen in the spinlock. That is much
better than contention in the rwsem where the time needed to scan the
the interval tree is indeterminate.

With this patch applied, the customer is seeing significant performance
improvement over the unpatched kernel.

Link: http://<email address hidden>
Signed-off-by: Waiman Long <email address hidden>
Suggested-by: Mike Kravetz <email address hidden>
Reviewed-by: Mike Kravetz <email address hidden>
Cc: Davidlohr Bueso <email address hidden>
Cc: Peter Zijlstra <email address hidden>
Cc: Ingo Molnar <email address hidden>
Cc: Will Deacon <email address hidden>
Cc: Matthew Wilcox <email address hidden>
Signed-off-by: Andrew Morton <email address hidden>
Signed-off-by: Linus Torvalds <email address hidden>
(cherry picked from commit 930668c34408ba983049322e04f13f03b6f1fafa)
Signed-off-by: Gavin Guo <email address hidden>
Acked-by: Stefan Bader <email address hidden>
Acked-by: Juerg Haefliger <email address hidden>
Signed-off-by: Kleber Sacilotto de Souza <email address hidden>

d9f8e4a... by Kamal Mostafa

UBUNTU: upstream stable to v4.19.129, v5.4.47

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

Ignore: yes
Signed-off-by: Kamal Mostafa <email address hidden>
Signed-off-by: Khalid Elmously <email address hidden>

722f347... by Marc Zyngier <email address hidden>

KVM: arm64: Save the host's PtrAuth keys in non-preemptible context

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

commit ef3e40a7ea8dbe2abd0a345032cd7d5023b9684f upstream.

When using the PtrAuth feature in a guest, we need to save the host's
keys before allowing the guest to program them. For that, we dump
them in a per-CPU data structure (the so called host context).

But both call sites that do this are in preemptible context,
which may end up in disaster should the vcpu thread get preempted
before reentering the guest.

Instead, save the keys eagerly on each vcpu_load(). This has an
increased overhead, but is at least safe.

Cc: <email address hidden>
Reviewed-by: Mark Rutland <email address hidden>
Signed-off-by: Marc Zyngier <email address hidden>
Signed-off-by: Greg Kroah-Hartman <email address hidden>
Signed-off-by: Kamal Mostafa <email address hidden>
Signed-off-by: Khalid Elmously <email address hidden>

8322166... by Jiri Kosina <email address hidden>

block/floppy: fix contended case in floppy_queue_rq()

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

commit 263c61581a38d0a5ad1f5f4a9143b27d68caeffd upstream.

Since the switch of floppy driver to blk-mq, the contended (fdc_busy) case
in floppy_queue_rq() is not handled correctly.

In case we reach floppy_queue_rq() with fdc_busy set (i.e. with the floppy
locked due to another request still being in-flight), we put the request
on the list of requests and return BLK_STS_OK to the block core, without
actually scheduling delayed work / doing further processing of the
request. This means that processing of this request is postponed until
another request comes and passess uncontended.

Which in some cases might actually never happen and we keep waiting
indefinitely. The simple testcase is

 for i in `seq 1 2000`; do echo -en $i '\r'; blkid --info /dev/fd0 2> /dev/null; done

run in quemu. That reliably causes blkid eventually indefinitely hanging
in __floppy_read_block_0() waiting for completion, as the BIO callback
never happens, and no further IO is ever submitted on the (non-existent)
floppy device. This was observed reliably on qemu-emulated device.

Fix that by not queuing the request in the contended case, and return
BLK_STS_RESOURCE instead, so that blk core handles the request
rescheduling and let it pass properly non-contended later.

Fixes: a9f38e1dec107a ("floppy: convert to blk-mq")
Cc: <email address hidden>
Tested-by: Libor Pechacek <email address hidden>
Signed-off-by: Jiri Kosina <email address hidden>
Signed-off-by: Jens Axboe <email address hidden>
Signed-off-by: Greg Kroah-Hartman <email address hidden>
Signed-off-by: Kamal Mostafa <email address hidden>
Signed-off-by: Khalid Elmously <email address hidden>