[siemens/jailhouse] 0efcb4: inmates: arm: Fix GICv3 enabling

5 views
Skip to first unread message

GitHub

unread,
Oct 1, 2016, 3:35:23 AM10/1/16
to jailho...@googlegroups.com
Branch: refs/heads/coverity_scan
Home: https://github.com/siemens/jailhouse
Commit: 0efcb40787a12fcd99274fdca3d9642535cfe1bb
https://github.com/siemens/jailhouse/commit/0efcb40787a12fcd99274fdca3d9642535cfe1bb
Author: Jan Kiszka <jan.k...@siemens.com>
Date: 2016-10-01 (Sat, 01 Oct 2016)

Changed paths:
M inmates/lib/arm/gic-v3.c
M inmates/lib/arm/include/gic.h

Log Message:
-----------
inmates: arm: Fix GICv3 enabling

Found by Coverity: Make sure we only process SGIs, PPIs and SPIs.
Furthermore, we have to select the GICD_ISENABLER register for SPIs
based on the interrupt number first and then write the correct bit
between 0 and 31.

Fixes: 9ee8e1418938 ("arm: basic inmates demos")

Signed-off-by: Jan Kiszka <jan.k...@siemens.com>


GitHub

unread,
Oct 1, 2016, 3:35:38 AM10/1/16
to jailho...@googlegroups.com
Branch: refs/heads/next
Reply all
Reply to author
Forward
0 new messages