Sam Bobroff e957f6a9b9 spapr: Workaround for broken radix guests
For a little while around 4.9, Linux kernels that saw the radix bit in
ibm,pa-features would attempt to set up the MMU as if they were a
hypervisor, even if they were a guest, which would cause them to
crash.

Work around this by detecting pre-ISA 3.0 guests by their lack of that
bit in option vector 1, and then removing the radix bit from
ibm,pa-features. Note: This now requires regeneration of that node
after CAS negotiation.

Signed-off-by: Sam Bobroff <sam.bobroff@au1.ibm.com>
[dwg: Fix style nits]
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
2017-04-26 12:00:41 +10:00
..
2016-10-04 13:28:07 +01:00
2017-04-25 19:17:25 +08:00
2017-01-27 18:07:59 +01:00
2016-10-04 13:28:09 +01:00
2017-01-27 18:07:59 +01:00
2017-01-24 23:26:52 +03:00
2017-04-20 15:22:41 -03:00
2017-03-15 20:50:14 -04:00
2016-05-18 15:04:27 +03:00
2016-09-08 18:05:21 +04:00
2013-04-08 18:13:10 +02:00
2017-02-28 17:10:00 +00:00
2017-01-27 18:07:59 +01:00
2017-02-28 16:18:49 +00:00
2017-01-27 18:07:59 +01:00
2017-04-21 09:32:09 +02:00
2017-04-24 12:32:12 +01:00
2014-10-23 16:41:25 +02:00
2017-02-28 12:04:48 +01:00
2017-03-01 00:09:28 +04:00
2017-04-21 15:59:27 +01:00
2013-04-08 18:13:10 +02:00