Jiaxun Yang
6902759965
hw/intc/loongson_liointc: Fix per core ISR handling
...
Per core ISR is a set of 32-bit registers spaced by 8 bytes.
This patch fixed calculation of it's size and also added check
of alignment at reading & writing.
Fixes: Coverity CID 1438965 and CID 1438967
Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Reviewed-by: Huacai Chen <chenhuacai@kernel.org>
Message-Id: <20210112012527.28927-1-jiaxun.yang@flygoat.com>
[PMD: Added Coverity CID]
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
2021-02-21 18:41:46 +01:00
..
2021-01-22 18:26:40 +01:00
2021-02-05 08:52:59 -05:00
2021-01-12 21:19:02 +00:00
2020-12-10 12:15:18 -05:00
2021-02-16 13:50:38 +00:00
2021-01-04 23:24:44 +01:00
2020-12-10 12:15:18 -05:00
2021-02-15 15:10:14 +01:00
2021-02-02 17:00:54 +00:00
2021-02-08 16:57:38 +11:00
2020-09-22 16:48:29 -04:00
2020-12-10 12:15:07 -05:00
2021-02-04 15:58:54 +01:00
2021-02-03 10:15:50 +00:00
2021-01-29 10:47:28 +00:00
2021-01-04 23:24:44 +01:00
2020-12-18 15:20:17 -05:00
2021-02-16 14:12:54 +00:00
2021-02-16 17:15:39 +01:00
2021-02-15 15:10:14 +01:00
2021-01-08 15:13:38 +00:00
2021-02-21 18:41:46 +01:00
2020-09-18 14:12:32 -04:00
2021-01-08 15:13:38 +00:00
2021-01-04 23:24:44 +01:00
2020-12-10 12:15:18 -05:00
2021-02-11 21:56:42 +01:00
2021-02-01 17:07:34 -05:00
2020-12-15 12:51:55 -05:00
2021-02-21 18:41:46 +01:00
2021-02-11 11:50:14 +00:00
2020-12-10 12:15:08 -05:00
2021-02-10 14:50:11 +11:00
2020-12-15 21:24:31 +00:00
2020-08-21 06:30:25 -04:00
2021-02-08 15:15:32 +01:00
2020-12-15 12:04:30 +00:00
2021-02-05 08:52:58 -05:00
2021-01-17 06:42:54 -05:00
2021-02-10 15:42:20 +00:00
2020-08-27 14:04:55 -04:00
2021-02-10 14:50:11 +11:00
2021-01-01 22:57:15 +00:00
2021-02-10 09:23:28 +00:00
2021-01-16 14:34:46 -08:00
2021-01-18 11:51:26 +01:00
2020-12-10 12:15:06 -05:00
2021-02-08 16:57:38 +11:00
2021-02-08 14:43:55 +01:00
2021-02-20 00:19:13 +01:00
2021-01-18 10:05:06 +00:00
2021-01-04 23:24:44 +01:00
2020-12-10 12:15:08 -05:00
2021-01-06 11:41:37 +00:00
2020-12-10 12:15:18 -05:00
2021-02-02 17:00:55 +00:00
2021-02-11 11:50:14 +00:00
2021-01-25 20:56:38 -05:00
2020-11-15 16:40:30 +01:00
2020-08-21 06:30:33 -04:00
2021-02-17 14:29:12 +01:00
2021-02-08 15:15:32 +01:00
2021-02-18 08:16:42 +00:00
2021-01-29 15:54:44 +00:00
2021-02-05 08:52:58 -05:00
2020-08-21 06:30:33 -04:00
2020-12-15 12:51:55 -05:00
2021-02-09 20:53:56 +00:00
2021-02-10 09:23:28 +00:00