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-16 10:01:50 -07:00
2007-10-17 22:30:09 +10:00
2007-09-14 08:51:48 -05:00
2007-10-18 14:37:28 -07:00
2007-10-17 08:42:51 -07:00
2007-08-17 11:01:51 +10:00
2007-10-03 09:11:56 +10:00
2007-10-19 23:22:55 +02:00
2007-10-03 07:20:18 -05:00
2007-11-01 07:13:43 -05:00
2007-09-19 15:25:34 +10:00
2007-08-17 11:01:51 +10:00
2007-10-22 21:19:59 +02:00
2007-11-13 16:22:43 +11:00
2007-10-17 22:30:09 +10:00
2007-10-03 20:36:36 -05:00
2007-10-11 13:36:52 -05:00
2007-10-11 13:36:52 -05:00
2007-10-11 13:36:52 -05:00
2007-11-08 14:15:34 +11:00
2007-10-11 13:36:52 -05:00
2007-10-22 21:19:59 +02:00
2007-11-08 14:15:30 +11:00
2007-09-20 07:36:52 -05:00
2007-10-22 21:19:59 +02:00
2007-10-19 23:22:55 +02:00
2007-10-16 09:43:10 -07:00
2007-10-19 23:21:04 +02:00
2007-10-12 14:05:18 +10:00
2007-10-03 11:48:44 +10:00
2007-10-19 11:53:51 -07:00
2007-10-04 11:02:54 -05:00
2007-11-01 07:15:30 -05:00
2007-08-17 11:01:52 +10:00
2007-10-17 22:30:07 +10:00
2007-10-17 22:30:07 +10:00
2007-08-17 11:01:53 +10:00
2007-10-03 11:48:44 +10:00
2007-09-19 15:25:34 +10:00
2007-10-03 15:31:35 +10:00
2007-09-22 14:49:22 +10:00
2007-11-09 22:39:38 +01:00
2007-11-08 14:15:33 +11:00
2007-11-01 07:13:43 -05:00
2007-10-03 11:48:43 +10:00
2007-10-16 09:42:49 -07:00
2007-10-17 08:42:45 -07:00
2007-08-17 11:01:53 +10:00
2007-10-11 20:39:36 +10:00
2007-11-08 14:15:30 +11:00
2007-10-16 09:42:50 -07:00
2007-10-12 14:05:18 +10:00
2007-10-12 14:05:18 +10:00
2007-10-12 14:05:18 +10:00
2007-10-16 09:42:50 -07:00
2007-10-04 11:02:54 -05:00
2007-11-08 14:15:34 +11:00
2007-10-17 08:42:55 -07:00
2007-10-17 08:42:55 -07:00
2007-09-14 01:33:22 +10:00
2007-10-11 14:36:47 +10:00
2007-11-09 15:27:54 -08:00
2007-10-19 11:53:43 -07:00
2007-09-19 21:13:17 -05:00
2007-10-03 20:35:43 -05:00
2007-10-11 20:25:25 +10:00
2007-10-12 14:51:01 -07:00
2007-11-08 14:15:33 +11:00