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
Nicolas Saenz Julienne d537afa08e firmware: raspberrypi: Keep count of all consumers
[ Upstream commit 1e7c57355a3bc617fc220234889e49fe722a6305 ]

When unbinding the firmware device we need to make sure it has no
consumers left. Otherwise we'd leave them with a firmware handle
pointing at freed memory.

Keep a reference count of all consumers and introduce rpi_firmware_put()
which will permit automatically decrease the reference count upon
unbinding consumer drivers.

Suggested-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Nicolas Saenz Julienne <nsaenzjulienne@suse.de>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Stephen Boyd <sboyd@kernel.org>
Reviewed-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Stable-dep-of: 5bca3688bdbc ("Input: raspberrypi-ts - fix refcount leak in rpi_ts_probe")
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-05-17 11:35:52 +02:00
arch powerpc/rtas: use memmove for potentially overlapping buffer copy 2023-05-17 11:35:50 +02:00
block
certs
crypto
Documentation
drivers firmware: raspberrypi: Keep count of all consumers 2023-05-17 11:35:52 +02:00
fs NFSv4.1: Always send a RECLAIM_COMPLETE after establishing lease 2023-05-17 11:35:51 +02:00
include firmware: raspberrypi: Keep count of all consumers 2023-05-17 11:35:52 +02:00
init
ipc
kernel perf/core: Fix hardlockup failure caused by perf throttle 2023-05-17 11:35:50 +02:00
lib
LICENSES
mm
net tcp/udp: Fix memleaks of sk and zerocopy skbs with TX timestamp. 2023-05-17 11:35:45 +02:00
samples
scripts scripts/gdb: bail early if there are no generic PD 2023-05-17 11:35:48 +02:00
security
sound ASoC: es8316: Handle optional IRQ assignment 2023-05-17 11:35:46 +02:00
tools
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.