Russell King
716a3dc200
ARM: Add arm_memblock_steal() to allocate memory away from the kernel
...
Several platforms are now using the memblock_alloc+memblock_free+
memblock_remove trick to obtain memory which won't be mapped in the
kernel's page tables. Most platforms do this (correctly) in the
->reserve callback. However, OMAP has started to call these functions
outside of this callback, and this is extremely unsafe - memory will
not be unmapped, and could well be given out after memblock is no
longer responsible for its management.
So, provide arm_memblock_steal() to perform this function, and ensure
that it panic()s if it is used inappropriately. Convert everyone
over, including OMAP.
As a result, OMAP with OMAP4_ERRATA_I688 enabled will panic on boot
with this change. Mark this option as BROKEN and make it depend on
BROKEN. OMAP needs to be fixed, or 137d105d50 (ARM: OMAP4: Fix
errata i688 with MPU interconnect barriers.) reverted until such
time it can be fixed correctly.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk >
2012-01-13 15:02:35 +00:00
..
2011-12-16 14:01:03 -08:00
2012-01-05 13:25:27 +00:00
2012-01-09 14:39:59 -08:00
2012-01-05 13:25:27 +00:00
2012-01-09 14:39:59 -08:00
2012-01-05 13:25:27 +00:00
2012-01-09 16:16:29 +00:00
2012-01-05 13:25:27 +00:00
2012-01-09 17:06:36 +00:00
2012-01-05 13:25:27 +00:00
2012-01-05 13:25:27 +00:00
2011-09-20 15:57:39 -07:00
2011-09-20 15:57:39 -07:00
2012-01-09 14:39:59 -08:00
2012-01-05 13:25:27 +00:00
2012-01-05 13:25:27 +00:00
2012-01-05 13:25:27 +00:00
2012-01-09 14:39:59 -08:00
2012-01-05 13:25:27 +00:00
2012-01-05 13:25:27 +00:00
2012-01-05 13:25:27 +00:00
2012-01-05 13:25:27 +00:00
2012-01-05 13:25:27 +00:00
2012-01-05 13:25:27 +00:00
2012-01-09 14:39:59 -08:00
2012-01-05 13:25:27 +00:00
2012-01-05 13:25:27 +00:00
2012-01-11 18:53:05 -08:00
2011-05-26 12:11:54 -07:00
2012-01-05 13:25:27 +00:00
2012-01-09 17:06:36 +00:00
2011-07-04 04:11:08 -07:00
2011-05-31 06:17:02 -07:00
2011-11-17 17:09:30 +00:00
2012-01-05 13:25:27 +00:00
2011-03-07 20:02:21 -07:00
2011-05-13 07:08:18 -07:00
2011-10-07 01:44:20 -06:00
2011-03-07 20:03:12 -07:00
2011-03-09 18:44:28 -07:00
2012-01-09 14:39:22 -08:00
2011-03-07 20:04:03 -07:00
2011-03-07 20:04:03 -07:00
2012-01-09 14:39:22 -08:00
2011-10-07 00:52:58 -06:00
2011-11-04 18:07:11 -07:00
2011-11-04 18:07:11 -07:00
2011-03-07 20:04:03 -07:00
2011-03-07 20:21:17 -07:00
2011-12-13 10:46:43 -08:00
2011-12-13 10:46:43 -08:00
2011-09-14 16:01:21 -06:00
2011-09-14 16:01:21 -06:00
2011-11-06 19:44:47 -08:00
2011-09-14 16:01:21 -06:00
2011-09-14 16:01:21 -06:00
2011-09-14 16:01:21 -06:00
2011-09-14 16:01:21 -06:00
2011-09-14 16:01:21 -06:00
2011-09-14 16:01:21 -06:00
2011-07-09 19:15:05 -06:00
2011-07-09 19:15:05 -06:00
2011-11-17 17:09:30 +00:00
2011-11-17 17:09:30 +00:00
2011-07-10 05:56:30 -06:00
2011-03-07 20:02:57 -07:00
2011-07-26 17:09:31 -07:00
2011-11-17 17:09:30 +00:00
2011-08-10 02:20:43 -07:00
2011-07-04 18:43:27 +03:00
2011-07-04 18:43:27 +03:00
2011-12-13 10:46:44 -08:00
2012-01-09 14:39:59 -08:00
2011-11-17 17:09:30 +00:00
2011-12-13 10:46:44 -08:00
2011-12-16 14:01:03 -08:00
2011-12-08 11:29:02 -08:00
2012-01-10 11:08:21 -08:00
2011-03-22 04:53:42 -03:00
2011-12-06 20:27:02 +00:00
2011-11-08 03:16:46 -07:00
2011-10-04 09:52:23 -07:00
2011-10-07 01:01:22 -06:00
2011-10-07 00:52:58 -06:00
2011-11-07 12:27:10 -08:00
2011-10-04 09:52:23 -07:00
2011-06-29 01:11:37 -07:00
2011-10-31 19:30:45 -04:00
2011-05-12 02:52:06 -07:00
2011-05-12 02:52:06 -07:00
2011-03-29 14:47:57 +02:00
2011-12-09 12:32:53 -08:00
2011-12-08 16:26:20 -08:00
2011-11-03 08:05:35 -07:00
2011-11-17 17:09:30 +00:00
2011-12-13 10:46:45 -08:00
2011-12-16 14:01:03 -08:00
2011-08-26 11:46:01 +02:00
2011-12-13 10:46:44 -08:00
2012-01-13 15:02:35 +00:00
2011-11-07 12:27:10 -08:00
2012-01-09 14:39:59 -08:00
2011-10-17 09:12:40 +01:00
2012-01-12 08:00:30 -08:00
2011-06-01 02:25:04 -07:00
2011-03-31 11:26:23 -03:00
2011-12-16 14:36:59 -07:00
2011-06-01 02:25:04 -07:00
2012-01-13 15:02:35 +00:00
2011-12-08 11:29:01 -08:00
2011-07-09 19:14:06 -06:00
2011-11-08 03:16:13 -07:00
2011-07-09 19:14:06 -06:00
2011-07-09 19:14:08 -06:00
2011-12-16 01:34:46 -07:00
2011-12-16 01:34:46 -07:00
2011-11-08 03:16:46 -07:00
2011-11-08 03:16:46 -07:00
2011-11-08 03:16:46 -07:00
2011-11-08 03:16:46 -07:00
2012-01-09 14:39:59 -08:00
2011-11-23 14:45:37 -08:00
2011-09-24 13:28:57 +05:30
2011-09-24 13:28:57 +05:30
2011-09-24 13:28:57 +05:30
2011-03-10 22:17:45 -07:00
2011-12-13 10:50:58 -08:00
2011-09-15 12:09:37 -07:00
2011-12-08 11:29:00 -08:00
2011-12-08 11:29:00 -08:00
2011-11-07 12:27:10 -08:00
2011-12-08 11:29:01 -08:00
2012-01-13 15:02:35 +00:00
2011-12-08 11:29:00 -08:00
2011-12-08 11:29:00 -08:00
2011-12-08 11:29:01 -08:00
2011-12-13 10:46:43 -08:00
2011-03-11 09:39:58 -08:00
2011-03-11 09:39:58 -08:00
2011-09-15 16:35:47 -07:00
2011-12-14 16:05:26 -08:00
2011-12-16 14:01:03 -08:00
2011-12-08 11:29:01 -08:00
2011-06-29 04:45:16 -07:00
2012-01-05 12:55:03 +00:00
2011-12-08 11:29:01 -08:00
2011-09-15 11:39:10 -07:00
2011-09-14 17:20:44 -06:00
2011-11-04 17:41:07 -07:00
2011-11-04 17:41:07 -07:00
2011-09-15 11:39:10 -07:00
2011-09-15 11:39:10 -07:00
2011-09-15 11:39:10 -07:00
2011-09-15 11:39:10 -07:00
2011-11-17 17:09:30 +00:00
2011-07-09 19:15:06 -06:00
2012-01-09 14:39:59 -08:00
2012-01-05 12:57:16 +00:00
2011-12-16 14:00:23 -08:00
2011-12-16 14:36:58 -07:00
2011-12-16 14:00:23 -08:00
2011-12-16 14:36:58 -07:00
2011-12-16 14:36:58 -07:00
2011-07-08 02:18:24 -07:00
2011-11-17 17:09:30 +00:00
2011-07-10 05:56:31 -06:00
2011-12-13 10:48:54 -08:00
2011-11-17 17:09:30 +00:00
2011-11-17 17:09:30 +00:00
2011-12-14 16:05:26 -08:00
2011-06-30 08:47:35 +01:00
2011-12-08 11:29:01 -08:00
2011-09-15 12:09:21 -07:00
2012-01-05 12:55:03 +00:00
2011-03-07 20:05:08 -07:00
2011-11-01 20:22:01 -07:00
2011-03-17 19:28:15 -07:00
2011-12-18 23:00:26 +00:00
2011-11-23 14:43:01 -08:00
2011-11-23 14:43:01 -08:00
2011-12-16 04:26:29 -07:00
2011-12-13 10:50:58 -08:00
2011-10-31 19:30:50 -04:00
2011-11-17 17:09:30 +00:00
2011-11-17 17:09:30 +00:00
2011-09-15 12:09:22 -07:00
2011-09-15 12:09:22 -07:00
2011-11-17 17:09:30 +00:00
2011-09-21 09:36:21 -07:00
2011-09-15 11:39:10 -07:00
2012-01-09 14:20:39 -08:00
2011-11-17 17:09:30 +00:00
2011-11-17 17:09:30 +00:00
2011-11-17 17:09:30 +00:00
2011-11-17 17:09:30 +00:00
2011-09-15 12:09:08 -07:00