misc: fastrpc: Reference count channel context
Bjorn Andersson authored

The channel context is referenced from the fastrpc user and might as
user space holds the file descriptor open outlive the fastrpc device,
which is removed when the remote processor is shutting down.

Reference count the channel context in order to retain this object until
all references has been relinquished.
Signed-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: default avatarMayank Chopra <mak.chopra@codeaurora.org>
Signed-off-by: default avatarAbhinav Asati <asatiabhi@codeaurora.org>
Signed-off-by: default avatarVamsi Singamsetty <vamssi@codeaurora.org>
Signed-off-by: default avatarSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20190829092926.12037-2-srinivas.kandagatla@linaro.org

Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
278d56f9
Name Last commit Last update
Documentation firmware: rsu: document sysfs interface
LICENSES LICENSES: Rename other to deprecated
arch Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
block block: remove REQ_NOWAIT_INLINE
certs Revert "Merge tag 'keys-acl-20190703' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs"
crypto Merge tag 'usb-5.3-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb
drivers misc: fastrpc: Reference count channel context
fs Merge tag '5.3-rc6-smb3-fixes' of git://git.samba.org/sfrench/cifs-2.6
include firmware: stratix10-svc: extend svc to support new RSU features
init Merge branch 'work.mount0' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
ipc Merge branch 'work.mount0' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
kernel Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
lib test_firmware: add support for request_firmware_into_buf
mm mm: memcontrol: fix percpu vmstats and vmevents flush
net Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
samples auxdisplay: Fix a typo in cfag12864b-example.c
scripts Merge tag 'spdx-5.3-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/spdx
security keys: ensure that ->match_free() is called in request_key_and_link()
sound Merge tag 'sound-5.3-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound
tools selftests: firmware: Add request_firmware_into_buf tests
usr kbuild: enable arch/s390/include/uapi/asm/zcrypt.h for uapi header test
virt Merge tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux
.clang-format Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
.cocciconfig scripts: add Linux .cocciconfig for coccinelle
.get_maintainer.ignore Opt out of scripts/get_maintainer.pl
.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.