Paul Mundt
8b395265f8
sh: Fix fatal oops in copy_user_page() on sh4a (SH7780).
...
We had a pretty interesting oops happening, where copy_user_page()
was down()'ing p3map_sem[] with a bogus offset (particularly, an
offset that hadn't been initialized with sema_init(), due to the
mismatch between cpu_data->dcache.n_aliases and what was assumed
based off of the old CACHE_ALIAS value).
Luckily, spinlock debugging caught this for us, and so we drop
the old hardcoded CACHE_ALIAS for sh4 completely and rely on the
run-time probed cpu_data->dcache.alias_mask. This in turn gets
the p3map_sem[] index right, and everything works again.
While we're at it, also convert to 4-level page tables..
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2006-09-27 14:38:02 +09:00
..
2005-06-29 18:45:19 +01:00
2006-09-27 13:30:08 +09:00
2006-09-27 14:38:02 +09:00
2005-06-29 18:45:19 +01:00
2006-04-26 12:56:16 +01:00
2006-09-27 13:42:57 +09:00
2006-09-27 13:56:28 +09:00
2006-07-02 13:58:48 -07:00
2006-04-26 12:56:16 +01:00
2006-09-27 11:16:20 +09:00
2006-03-28 09:16:08 -08:00
2006-09-27 12:31:01 +09:00
2005-09-07 16:57:21 -07:00
2006-09-27 12:31:01 +09:00
2006-04-26 12:56:16 +01:00
2006-09-27 14:31:40 +09:00
2006-09-27 14:09:26 +09:00
2006-09-27 12:31:01 +09:00
2006-01-16 23:15:28 -08:00
2006-04-26 12:56:16 +01:00
2006-04-26 12:56:16 +01:00
2005-11-07 07:53:41 -08:00
2005-07-26 14:35:41 -07:00
2005-09-07 16:57:38 -07:00
2006-09-27 12:31:01 +09:00
2006-07-02 13:58:48 -07:00
2006-01-16 23:15:28 -08:00
2006-01-08 20:13:39 -08:00
2006-04-26 12:56:16 +01:00
2006-09-27 13:42:57 +09:00
2006-06-29 10:26:23 -07:00
2006-04-26 12:56:16 +01:00
2006-01-16 23:15:28 -08:00
2006-04-26 12:56:16 +01:00
2006-01-10 08:01:34 -08:00
2006-02-01 08:53:20 -08:00
2006-02-01 08:53:20 -08:00
2006-02-01 08:53:20 -08:00
2006-04-26 12:56:16 +01:00
2006-06-18 12:58:53 +01:00
2006-01-16 23:15:27 -08:00
2006-04-26 12:56:16 +01:00
2006-04-26 12:56:16 +01:00
2006-04-26 12:56:16 +01:00
2006-04-26 12:56:16 +01:00
2006-02-01 08:53:19 -08:00
2006-02-15 15:32:22 -08:00
2006-01-09 15:59:19 -08:00
2006-09-27 13:11:57 +09:00
2005-07-12 17:21:56 -04:00
2006-09-26 08:48:51 -07:00
2006-09-26 08:48:51 -07:00
2006-03-25 08:22:56 -08:00
2006-09-27 14:20:54 +09:00
2006-09-21 08:36:50 +01:00
2006-07-03 15:27:01 -07:00
2005-10-30 17:37:27 -08:00
2006-04-26 12:56:16 +01:00
2006-09-27 14:26:53 +09:00
2006-07-02 13:58:48 -07:00
2006-09-27 11:16:20 +09:00
2006-09-27 14:32:57 +09:00
2006-06-29 16:58:06 -07:00
2005-09-10 10:06:21 -07:00
2005-09-10 10:06:21 -07:00
2006-03-26 08:57:00 -08:00
2006-09-27 14:05:52 +09:00
2006-03-26 08:57:15 -08:00
2006-01-16 23:15:28 -08:00
2006-04-26 12:56:16 +01:00
2005-09-07 16:57:35 -07:00
2006-09-27 14:36:44 +09:00
2006-09-27 12:31:01 +09:00