No description
Find a file
Daniel Jordan e6ce0e0807 padata: make padata_do_parallel find alternate callback CPU
padata_do_parallel currently returns -EINVAL if the callback CPU isn't
in the callback cpumask.

pcrypt tries to prevent this situation by keeping its own callback
cpumask in sync with padata's and checks that the callback CPU it passes
to padata is valid.  Make padata handle this instead.

padata_do_parallel now takes a pointer to the callback CPU and updates
it for the caller if an alternate CPU is used.  Overall behavior in
terms of which callback CPUs are chosen stays the same.

Prepares for removal of the padata cpumask notifier in pcrypt, which
will fix a lockdep complaint about nested acquisition of the CPU hotplug
lock later in the series.

Signed-off-by: Daniel Jordan <daniel.m.jordan@oracle.com>
Acked-by: Steffen Klassert <steffen.klassert@secunet.com>
Cc: Herbert Xu <herbert@gondor.apana.org.au>
Cc: Lai Jiangshan <jiangshanlai@gmail.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Tejun Heo <tj@kernel.org>
Cc: linux-crypto@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2019-09-13 21:15:40 +10:00
arch arm64: dts: imx8mq: Add CAAM node 2019-09-13 21:15:38 +10:00
block
certs
crypto padata: make padata_do_parallel find alternate callback CPU 2019-09-13 21:15:40 +10:00
Documentation padata: allocate workqueue internally 2019-09-13 21:15:39 +10:00
drivers random: Use wait_event_freezable() in add_hwgenerator_randomness() 2019-09-09 23:48:41 +10:00
fs fs: cifs: move from the crypto cipher API to the new DES library interface 2019-08-22 14:57:34 +10:00
include padata: make padata_do_parallel find alternate callback CPU 2019-09-13 21:15:40 +10:00
init
ipc
kernel padata: make padata_do_parallel find alternate callback CPU 2019-09-13 21:15:40 +10:00
lib crypto: sha256 - Remove sha256/224_init code duplication 2019-09-05 14:54:54 +10:00
LICENSES
mm
net bluetooth: switch to AES library 2019-07-26 14:58:12 +10:00
samples
scripts
security
sound
tools crypto: Remove orphan tools/crypto directory 2019-07-26 22:08:05 +10:00
usr
virt
.clang-format
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS MAINTAINERS: nx crypto: Fix typo in a filepath 2019-08-22 14:39:36 +10:00
Makefile Linus 5.3-rc1 2019-07-21 14:05:38 -07:00
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.