No description
  • C 98.2%
  • Assembly 1%
  • Makefile 0.3%
  • Shell 0.2%
  • Python 0.1%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jarkko Nikula 1357bf0ca5 i2c: designware-pci: Fix BUG_ON during device removal
commit 9be8bc4dd6177cf992b93b0bd014c4f611283896 upstream.

Function i2c_dw_pci_remove() -> pci_free_irq_vectors() ->
pci_disable_msi() -> free_msi_irqs() will throw a BUG_ON() for MSI
enabled device since the driver has not released the requested IRQ before
calling the pci_free_irq_vectors().

Here driver requests an IRQ using devm_request_irq() but automatic
release happens only after remove callback. Fix this by explicitly
freeing the IRQ before calling pci_free_irq_vectors().

Fixes: 21aa3983d6 ("i2c: designware-pci: Switch over to MSI interrupts")
Cc: stable@vger.kernel.org # v5.4+
Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-03-18 07:17:53 +01:00
arch x86/ioremap: Map EFI runtime services data as encrypted for SEV 2020-03-18 07:17:53 +01:00
block blk-iocost: fix incorrect vtime comparison in iocg_is_idle() 2020-03-18 07:17:52 +01:00
certs
crypto
Documentation cifs_atomic_open(): fix double-put on late allocation failure 2020-03-18 07:17:51 +01:00
drivers i2c: designware-pci: Fix BUG_ON during device removal 2020-03-18 07:17:53 +01:00
fs fscrypt: don't evict dirty inodes after removing key 2020-03-18 07:17:53 +01:00
include cgroup: Iterate tasks that did not finish do_exit() 2020-03-18 07:17:48 +01:00
init
ipc
kernel workqueue: don't use wq_select_unbound_cpu() for bound works 2020-03-18 07:17:50 +01:00
lib
LICENSES
mm
net netfilter: x_tables: xt_mttg_seq_next should increase position index 2020-03-18 07:17:50 +01:00
samples
scripts
security
sound
tools ktest: Add timeout for ssh sync testing 2020-03-18 07:17:51 +01:00
usr
virt
.clang-format
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS
Makefile
README

Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.