[GIT PULL] locking/urgent for v5.9-rc6

From: Borislav Petkov
Date: Sun Sep 20 2020 - 15:51:35 EST


Hi Linus,

please pull two fixes from the locking/urgent pile.

Thx.

---

The following changes since commit fc3abb53250a90ba2150eebd182137c136f4d25a:

Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid (2020-09-02 12:55:46 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git tags/locking_urgent_for_v5.9_rc6

for you to fetch changes up to e6b1a44eccfcab5e5e280be376f65478c3b2c7a2:

locking/percpu-rwsem: Use this_cpu_{inc,dec}() for read_count (2020-09-16 16:26:56 +0200)

----------------------------------------------------------------
* Fix lockdep's detection of "USED" <- "IN-NMI" inversions, from Peter
Zijlstra.

* Make percpu-rwsem operations on the semaphore's ->read_count IRQ-safe
because it can be used in an IRQ context, from Hou Tao.

----------------------------------------------------------------
Hou Tao (1):
locking/percpu-rwsem: Use this_cpu_{inc,dec}() for read_count

peterz@xxxxxxxxxxxxx (1):
locking/lockdep: Fix "USED" <- "IN-NMI" inversions

include/linux/percpu-rwsem.h | 8 ++++----
kernel/locking/lockdep.c | 35 +++++++++++++++++++++++++++++------
kernel/locking/lockdep_internals.h | 2 ++
kernel/locking/percpu-rwsem.c | 4 ++--
4 files changed, 37 insertions(+), 12 deletions(-)
--
Regards/Gruss,
Boris.

SUSE Software Solutions Germany GmbH, GF: Felix Imendörffer, HRB 36809, AG Nürnberg