Linux kernel source tree for SHARP Brain series (PW-SH1 or later)
Go to file
Horia Geantă 3032e10da7 MLK-25151 crypto: caam/jr - fix shared IRQ line handling
There are cases when the interrupt status register (JRINTR) is non-zero,
even though there was no interrupt generated for the corresponding
job ring.

For example JRINTR=0x0000_0008 - i.e. JRINTR[HALT]=b'10 - indicates that
the input job ring underwent a flush of all on-going jobs and processing
of still-existing jobs (sitting in the ring) has been halted.
This doesn't mean there's currently anything to do for this job ring.

Make sure the shared IRQ line is correctly handled by updating
the condition for returning IRQ_NONE, otherwise we could reach situations
like:
1. interrupt handler clearing JRINTR (and thus also the JRINTR[HALT]
field) while corresponding job ring is suspended and then
2. that job ring failing on resume path, due to expecting
JRINTR[HALT]=b'10 and reading instead JRINTR[HALT]=b'00.

Signed-off-by: Horia Geantă <horia.geanta@nxp.com>
Reviewed-by: Franck LENORMAND <franck.lenormand@nxp.com>
(cherry picked from commit 905aeeabe9517b1c672472052b65c28176b341d3)
Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
2021-04-27 10:41:50 +00:00
Documentation This is the 5.4.112 stable release 2021-04-14 10:08:08 +00:00
LICENSES LICENSES: Rename other to deprecated 2019-05-03 06:34:32 -06:00
arch This is the 5.4.114 stable release 2021-04-21 15:34:08 +00:00
block This is the 5.4.113 stable release 2021-04-16 21:56:09 +00:00
certs certs: Fix blacklist flag type confusion 2021-03-04 10:26:29 +01:00
crypto This is the 5.4.107 stable release 2021-03-21 19:31:52 +00:00
drivers MLK-25151 crypto: caam/jr - fix shared IRQ line handling 2021-04-27 10:41:50 +00:00
fs readdir: make sure to verify directory entry for legacy interfaces too 2021-04-21 12:56:16 +02:00
include This is the 5.4.114 stable release 2021-04-21 15:34:08 +00:00
init init/Kconfig: make COMPILE_TEST depend on HAS_IOMEM 2021-04-10 13:34:32 +02:00
ipc ipc/util.c: sysvipc_find_ipc() incorrectly updates position index 2020-05-20 08:20:16 +02:00
kernel This is the 5.4.114 stable release 2021-04-21 15:34:08 +00:00
lib This is the 5.4.106 stable release 2021-03-18 10:27:50 +00:00
mm This is the 5.4.110 stable release 2021-04-08 07:56:04 +00:00
net This is the 5.4.114 stable release 2021-04-21 15:34:08 +00:00
samples This is the 5.4.106 stable release 2021-03-18 10:27:50 +00:00
scripts This is the 5.4.104 stable release 2021-03-09 11:23:29 +00:00
security This is the 5.4.109 stable release 2021-04-06 08:12:40 +00:00
sound This is the 5.4.114 stable release 2021-04-21 15:34:08 +00:00
tools This is the 5.4.113 stable release 2021-04-16 21:56:09 +00:00
usr MLK-24874-6: include: uapi: mxc_asrc: fix the UAPI_HEADER_TEST failure 2020-11-17 15:09:21 +08:00
virt This is the 5.4.106 stable release 2021-03-18 10:27:50 +00:00
.clang-format clang-format: Update with the latest for_each macro list 2019-08-31 10:00:51 +02:00
.cocciconfig scripts: add Linux .cocciconfig for coccinelle 2016-07-22 12:13:39 +02:00
.get_maintainer.ignore Opt out of scripts/get_maintainer.pl 2019-05-16 10:53:40 -07:00
.gitattributes .gitattributes: set git diff driver for C source code files 2016-10-07 18:46:30 -07:00
.gitignore Modules updates for v5.4 2019-09-22 10:34:46 -07:00
.mailmap ARM: SoC fixes 2019-11-10 13:41:59 -08:00
COPYING COPYING: use the new text with points to the license files 2018-03-23 12:41:45 -06:00
CREDITS MAINTAINERS: Remove Simon as Renesas SoC Co-Maintainer 2019-10-10 08:12:51 -07:00
Kbuild kbuild: do not descend to ./Kbuild when cleaning 2019-08-21 21:03:58 +09:00
Kconfig docs: kbuild: convert docs to ReST and rename to *.rst 2019-06-14 14:21:21 -06:00
MAINTAINERS Merge tag 'v5.4.70' into imx_5.4.y 2020-10-08 17:46:51 +08:00
Makefile Linux 5.4.114 2021-04-21 12:56:18 +02:00
README Drop all 00-INDEX files from Documentation/ 2018-09-09 15:08:58 -06: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.