Keerthy
06d43c808d
arm: Set TTB XN bit in case DCACHE_OFF for LPAE mode
...
While we setup the mmu initially we mark set_section_dcache with
DCACHE_OFF flag. In case of non-LPAE mode the DCACHE_OFF macro
is rightly defined with TTB_SECT_XN_MASK set so as to mark all the
4GB XN. In case of LPAE mode XN(Execute-never) bit is not set with
DCACHE_OFF. Hence XN bit is not set by default for DCACHE_OFF which
keeps all the regions execute okay and this leads to random speculative
fetches in random memory regions which was eventually caught by kernel
omap-l3-noc driver.
Fix this to mark the regions as XN by default.
Signed-off-by: Keerthy <j-keerthy@ti.com>
Reviewed-by: Alexander Graf <agraf@suse.de>
Reviewed-by: Tom Rini <trini@konsulko.com>
2016-11-13 15:54:36 -05:00
..
2016-10-08 09:33:36 -04:00
2016-08-26 17:04:46 -04:00
2015-07-20 11:44:38 -07:00
2016-06-24 17:24:37 -04:00
2016-06-06 13:39:19 -04:00
2016-04-25 15:09:47 -04:00
2016-10-06 09:59:11 -07:00
2015-11-12 15:58:59 -05:00
2016-10-04 15:40:59 +02:00
2016-01-13 21:05:22 -05:00
2016-10-06 09:59:11 -07:00
2016-09-06 13:18:19 -04:00
2016-04-06 15:38:56 +02:00
2016-08-26 17:04:46 -04:00
2016-10-24 10:57:16 +02:00
2016-10-24 10:57:16 +02:00
2015-10-30 15:20:56 +01:00
2016-03-25 14:03:28 +01:00
2015-09-02 15:29:14 +02:00
2015-09-02 15:29:14 +02:00
2016-01-03 15:56:36 +01:00
2016-09-06 13:41:42 -04:00
2016-09-06 13:41:42 -04:00
2016-09-27 23:30:20 +02:00
2015-02-25 07:59:50 +01:00
2015-08-24 20:30:37 +02:00
2016-10-30 13:29:06 -06:00
2016-06-13 08:56:35 -04:00
2015-09-11 17:15:14 -04:00
2016-02-24 18:42:50 -05:00
2016-03-26 18:49:28 -04:00
2016-07-21 15:38:13 -04:00
2015-07-03 13:50:53 +05:30
2016-10-30 11:38:04 +01:00
2016-09-27 09:11:02 -07:00
2016-05-31 09:53:56 -07:00
2016-05-31 09:53:56 -07:00
2016-01-19 08:31:21 -05:00
2016-07-16 09:43:12 -04:00
2016-05-31 11:22:59 -07:00
2016-05-31 09:53:56 -07:00
2016-03-02 14:47:16 +01:00
2016-09-22 07:33:21 +02:00
2016-07-19 11:33:53 -07:00
2016-10-26 16:53:16 +02:00
2016-10-08 09:33:13 -04:00
2016-07-15 15:54:57 +02:00
2016-07-14 18:22:43 -04:00
2016-06-02 21:21:43 -04:00
2016-10-06 20:57:42 -04:00
2016-08-05 07:23:57 -04:00
2016-01-20 10:03:58 -05:00
2016-08-26 17:04:46 -04:00
2016-08-05 07:27:25 -04:00
2015-04-14 05:48:09 +02:00
2016-01-19 08:31:21 -05:00
2016-03-15 21:30:19 -04:00
2016-09-26 17:10:56 -04:00
2016-07-15 09:01:43 -07:00
2016-02-29 03:50:15 +09:00
2016-08-05 07:23:57 -04:00
2015-09-11 14:08:06 -04:00
2015-04-16 11:27:15 +02:00
2016-10-06 20:57:40 -04:00
2016-07-14 18:22:18 -04:00
2015-08-12 20:48:06 -04:00
2015-10-22 14:22:28 -04:00
2016-10-02 08:09:55 -04:00
2015-10-17 01:47:31 +02:00
2016-09-14 14:07:29 -07:00
2016-07-15 15:54:58 +02:00
2016-10-08 09:33:34 -04:00
2016-10-06 20:57:40 -04:00
2016-07-14 18:22:16 -04:00
2016-10-06 14:48:14 -04:00
2016-11-13 15:54:36 -05:00
2016-07-14 18:22:24 -04:00
2015-09-28 10:48:24 -04:00
2016-06-02 21:21:43 -04:00