Shanker Donthineni
2eca0d6cee
irqchip/gicv3-its: Avoid cache flush beyond ITS_BASERn memory size
...
Function its_alloc_tables() maintains two local variables, "order" and
and "alloc_size", to hold memory size that has been allocated to
ITS_BASEn. We don't always refresh the variable alloc_size whenever
value of the variable order changes, causing the following two
problems.
- Cache flush operation with size more than required.
- Information reported by pr_info is not correct.
Use a helper macro that converts page order to size in bytes instead of
variable "alloc_size" to fix both the problems.
Signed-off-by: Shanker Donthineni <shankerd@codeaurora.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
2016-02-17 17:39:05 +00:00
..
2015-10-14 09:37:47 +02:00
2015-10-13 19:01:23 +02:00
2015-11-04 09:41:05 -08:00
2015-09-22 16:04:43 +02:00
2016-01-27 12:54:33 +01:00
2014-11-09 04:36:38 +00:00
2015-07-27 08:09:38 +02:00
2015-09-16 16:53:38 +02:00
2015-12-29 11:40:46 +01:00
2015-09-16 15:47:51 +02:00
2015-09-16 15:47:51 +02:00
2015-09-16 15:47:51 +02:00
2015-09-16 16:53:38 +02:00
2015-10-13 19:01:23 +02:00
2015-07-11 23:14:23 +02:00
2015-09-16 15:47:51 +02:00
2015-11-17 14:25:58 +01:00
2015-09-29 10:10:53 +02:00
2015-12-16 15:30:50 +00:00
2015-12-29 11:58:53 +01:00
2015-10-16 13:07:13 +01:00
2015-10-16 13:07:15 +01:00
2016-02-17 17:39:05 +00:00
2015-10-15 10:18:48 +02:00
2016-02-11 10:20:02 +00:00
2015-10-13 19:01:23 +02:00
2015-10-01 16:32:54 +02:00
2015-09-16 15:47:51 +02:00
2015-10-13 19:01:23 +02:00
2015-07-11 23:14:23 +02:00
2015-09-16 16:53:38 +02:00
2015-12-18 11:47:13 +00:00
2015-09-16 15:47:51 +02:00
2015-09-16 15:47:51 +02:00
2015-07-11 23:14:23 +02:00
2015-11-11 08:36:38 +01:00
2015-09-16 16:53:38 +02:00
2015-07-11 23:14:23 +02:00
2015-10-13 19:01:23 +02:00
2016-01-29 12:15:50 +01:00
2015-10-13 19:01:23 +02:00
2016-01-06 11:35:13 +01:00
2015-07-11 23:14:23 +02:00
2015-09-16 15:47:51 +02:00
2016-01-24 02:52:20 +01:00
2016-01-20 22:44:13 +09:00
2015-12-15 10:12:03 +01:00
2015-11-24 16:54:19 +00:00
2015-09-29 20:41:00 +02:00
2016-01-26 16:00:14 +01:00
2015-07-28 13:58:13 +02:00
2015-07-11 23:14:23 +02:00
2015-03-03 19:48:53 +00:00
2016-02-02 15:46:40 +01:00
2015-12-03 12:54:11 +00:00
2015-09-16 15:47:51 +02:00
2015-11-03 14:40:01 -08:00
2015-12-29 11:58:53 +01:00
2015-12-01 22:50:16 +01:00
2015-10-13 19:01:23 +02:00
2015-09-16 16:53:38 +02:00
2015-09-16 16:53:38 +02:00
2015-07-11 23:14:23 +02:00
2015-07-11 23:14:23 +02:00
2015-12-30 18:29:02 +01:00
2015-10-01 02:18:38 +02:00
2016-01-31 14:48:58 -08:00
2016-01-24 12:50:56 -08:00
2015-09-16 16:53:38 +02:00