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
..
2017-04-05 17:23:52 +02:00
2016-10-04 13:28:07 +01:00
2017-04-25 14:14:17 +01:00
2017-01-27 18:08:00 +01:00
2017-04-21 15:59:27 +01:00
2017-01-20 11:15:06 +00:00
2017-03-27 12:14:45 +02:00
2016-05-18 15:04:27 +03:00
2017-04-02 21:17:47 +02:00
2017-04-05 17:23:52 +02:00
2017-01-27 18:07:59 +01:00
2017-02-24 10:37:21 +00:00
2017-02-28 20:40:36 +01:00
2017-02-02 18:48:06 +00:00
2016-01-29 15:07:25 +00:00
2017-03-01 23:09:46 +00:00
2017-04-24 12:32:12 +01:00
2016-10-28 18:17:24 +03:00
2016-09-15 15:32:22 +03:00
2017-04-21 15:59:27 +01:00