Becky Bruce
b64f87c16f
[POWERPC] Avoid unpaired stwcx. on some processors
...
The context switch code in the kernel issues a dummy stwcx. to clear the
reservation, as recommended by the architecture. However, some processors
can have issues if this stwcx to address A occurs while the reservation
is already held to a different address B. To avoid this problem, the dummy
stwcx. needs to be paired with a dummy lwarx to the same address.
This adds the dummy lwarx, and creates a cpu feature bit to indicate
which cpus are affected. Tested on mpc8641_hpcn_defconfig in
arch/powerpc; build tested in arch/ppc.
Signed-off-by: Becky Bruce <becky.bruce@freescale.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2007-11-13 16:22:43 +11:00
..
2007-10-11 20:40:48 +10:00
2007-08-22 22:43:29 -05:00
2007-07-19 10:04:45 -07:00
2007-08-17 11:01:58 +10:00
2007-10-19 11:53:41 -07:00
2007-07-31 21:12:07 -07:00
2007-07-10 22:00:56 +10:00
2007-10-09 21:01:56 +10:00
2007-10-03 09:11:56 +10:00
2007-11-05 11:38:29 -08:00
2007-07-16 09:05:48 -07:00
2007-10-11 09:14:31 -05:00
2007-10-04 15:47:05 -05:00
2007-11-13 16:22:43 +11:00
2007-10-15 14:29:49 -04:00
2007-10-15 14:29:49 -04:00
2007-10-23 09:13:14 +02:00
2007-10-17 08:43:00 -07:00
2007-09-14 01:33:22 +10:00
2007-07-17 10:23:11 -07:00
2007-10-17 08:42:55 -07:00
2007-10-11 09:14:31 -05:00
2007-08-22 22:43:29 -05:00
2007-07-11 13:24:40 +10:00
2007-08-22 22:43:29 -05:00
2007-10-17 22:30:08 +10:00
2007-10-20 00:32:32 +02:00
2007-10-08 08:38:50 -05:00
2007-10-04 11:02:04 -05:00
2007-10-08 08:38:15 -05:00
2007-10-19 23:22:55 +02:00
2007-10-19 11:53:41 -07:00
2007-09-14 01:33:20 +10:00
2007-10-17 08:42:55 -07:00
2007-10-16 09:42:50 -07:00
2007-08-22 22:43:29 -05:00
2007-10-16 09:43:10 -07:00
2007-08-17 11:01:58 +10:00
2007-10-12 14:05:17 +10:00
2007-10-19 11:53:41 -07:00
2007-07-03 03:00:28 -05:00
2007-08-20 07:28:48 -05:00
2007-10-12 14:05:17 +10:00
2007-08-20 07:28:48 -05:00
2007-07-10 00:33:51 -05:00
2007-08-22 22:43:29 -05:00
2007-10-21 12:43:04 -06:00
2007-10-03 13:25:27 +10:00
2007-08-17 11:01:52 +10:00
2007-10-17 22:30:07 +10:00
2007-07-20 14:25:22 +10:00
2007-07-20 21:42:24 +02:00
2007-10-20 00:36:33 +02:00
2007-10-12 14:05:17 +10:00
2007-07-26 11:35:18 -07:00
2007-10-12 14:05:17 +10:00
2007-07-16 17:58:08 -07:00
2007-10-03 11:48:44 +10:00
2007-09-19 15:25:34 +10:00
2007-09-19 15:25:34 +10:00
2007-11-01 07:15:30 -05:00
2007-10-16 09:42:51 -07:00
2007-07-20 21:41:34 +02:00
2007-09-14 08:53:36 -05:00
2007-09-22 14:49:21 +10:00
2007-08-22 15:21:47 +10:00
2007-09-14 01:33:25 +10:00
2007-10-16 09:43:21 -07:00
2007-10-08 08:38:57 -05:00
2007-10-08 08:38:15 -05:00
2007-08-17 13:22:28 -05:00
2007-09-17 15:15:04 +10:00
2007-09-22 14:49:21 +10:00
2007-10-22 21:20:03 +02:00
2007-10-17 08:42:47 -07:00
2007-10-16 09:42:50 -07:00
2007-07-20 21:41:55 +02:00
2007-08-10 21:04:21 +10:00
2007-09-19 15:12:19 +10:00
2007-11-08 14:15:32 +11:00
2007-10-17 08:43:00 -07:00
2007-07-10 22:03:29 +10:00
2007-07-31 15:39:38 -07:00
2007-11-08 14:15:31 +11:00
2007-10-03 12:02:43 +10:00
2007-11-09 03:51:14 -06:00
2007-10-16 09:42:50 -07:00
2007-10-17 08:42:53 -07:00
2007-10-08 08:38:15 -05:00
2007-10-08 08:38:15 -05:00
2007-10-03 20:35:43 -05:00
2007-07-17 21:42:44 -04:00
2007-10-11 20:40:44 +10:00
2007-10-03 07:23:14 -05:00