]> git.baikalelectronics.ru Git - kernel.git/commit
Merge tag 'renesas-fixes3-for-v4.13' of https://git.kernel.org/pub/scm/linux/kernel...
authorArnd Bergmann <arnd@arndb.de>
Fri, 4 Aug 2017 10:54:41 +0000 (12:54 +0200)
committerArnd Bergmann <arnd@arndb.de>
Fri, 4 Aug 2017 10:54:41 +0000 (12:54 +0200)
commitb91de46413e76c1c9933ac0b8047257662b67907
tree4222a7d89b66f6a730799382f006e84cfc307530
parent97632b847770ee3b8e0d357b0ecabf7fb66318af
parent3497078effc09a1239641020d31cd97ad15c9c33
Merge tag 'renesas-fixes3-for-v4.13' of https://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas into fixes

Pull "Third Round of Renesas ARM Based SoC Fixes for v4.13" from Simon Horman:

Fix deadlock in regulator quirk for R-Car Gen 2 SoCs

The da9063/da9210 regulator quirk for R-Car Gen2 boards uses a bus
notifier, and unregisters the notifier when it is no longer needed.
However, a notifier must not be unregistered from within the call chain.

This bug went unnoticed, as blocking_notifier_chain_unregister() didn't
take the semaphore during early boot. This is no longer the case as of
upstream commit 8afa3cc1e6589209 ("sched/core: Enable might_sleep() and
smp_processor_id() checks early") and a deadlock occurs.

* tag 'renesas-fixes3-for-v4.13' of https://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas:
  ARM: shmobile: rcar-gen2: Fix deadlock in regulator quirk