3032e10da7
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> |
||
---|---|---|
Documentation | ||
LICENSES | ||
arch | ||
block | ||
certs | ||
crypto | ||
drivers | ||
fs | ||
include | ||
init | ||
ipc | ||
kernel | ||
lib | ||
mm | ||
net | ||
samples | ||
scripts | ||
security | ||
sound | ||
tools | ||
usr | ||
virt | ||
.clang-format | ||
.cocciconfig | ||
.get_maintainer.ignore | ||
.gitattributes | ||
.gitignore | ||
.mailmap | ||
COPYING | ||
CREDITS | ||
Kbuild | ||
Kconfig | ||
MAINTAINERS | ||
Makefile | ||
README |
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.