Alexey Kardashevskiy
a46622fd07
spapr_hcall: Fix little-endian resource handling in H_SET_MODE
...
This changes resource code definitions to ones used in the host kernel.
This fixes H_SET_MODE_RESOURCE_LE (switch between big endian and
little endian) to sync registers from KVM before changing LPCR value.
This adds a set_spr() helper to update an SPR in a CPU's context to avoid
possible races and makes use of it to change LPCR.
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Reviewed-by: Greg Kurz <gkurz@linux.vnet.ibm.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
2014-03-20 02:39:33 +01:00
..
2014-02-10 10:27:00 +02:00
2014-02-14 16:22:31 +01:00
2013-06-07 14:55:33 +02:00
2014-02-14 21:12:05 +01:00
2013-12-17 20:12:51 +00:00
2013-12-24 18:02:18 +01:00
2014-02-03 14:04:00 +00:00
2014-02-14 16:22:32 +01:00
2014-03-11 13:27:27 +02:00
2013-04-24 11:50:18 -05:00
2014-02-26 17:20:00 +00:00
2014-02-14 21:11:53 +01:00
2014-02-14 16:22:31 +01:00
2013-04-08 18:13:10 +02:00
2013-07-29 21:06:27 +02:00
2013-04-08 18:13:10 +02:00
2013-07-29 00:27:35 +02:00
2013-11-05 17:47:30 +01:00
2014-02-08 14:50:48 +00:00
2014-02-27 10:01:40 +00:00
2014-02-10 10:27:00 +02:00
2014-03-11 13:27:27 +02:00
2014-03-20 02:39:33 +01:00
2014-02-27 09:51:25 +01:00
2014-03-14 10:06:55 +01:00
2013-04-13 13:51:45 +02:00
2013-06-02 18:13:54 +03:00
2013-12-17 20:12:51 +00:00
2013-04-08 18:13:10 +02:00
2014-03-13 15:33:04 +00:00
2014-03-13 03:49:48 +01:00
2014-03-13 13:19:46 +00:00
2013-09-10 11:14:41 +02:00
2013-04-15 15:16:01 +02:00
2014-03-05 03:06:46 +01:00
2013-04-08 18:13:10 +02:00
2014-02-10 10:23:35 +02:00
2013-06-27 15:38:35 -05:00
2014-02-20 17:28:08 +00:00
2013-10-14 17:11:44 +03:00
2014-03-11 13:25:48 +02:00
2013-11-05 18:06:52 +01:00
2014-02-04 15:51:45 +01:00
2014-03-13 01:21:57 +01:00
2014-02-14 21:12:04 +01:00
2014-03-13 14:42:24 +01:00
2013-04-08 18:13:10 +02:00
2013-04-08 18:13:10 +02:00
2014-03-12 20:13:02 +01:00
2013-05-01 20:55:21 +04:00
2013-10-14 17:11:44 +03:00
2014-02-18 15:39:12 +01:00