David Gibson 425f0b7adb spapr: Clean up RMA size calculation
Move the calculation of the Real Mode Area (RMA) size into a helper
function.  While we're there clean it up and correct it in a few ways:
  * Add comments making it clearer where the various constraints come from
  * Remove a pointless check that the RMA fits within Node 0 (we've just
    clamped it so that it does)

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Greg Kurz <groug@kaod.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
2020-03-17 15:08:47 +11:00
..
2020-02-19 16:50:00 +00:00
2020-02-21 09:15:03 +11:00
2020-02-21 09:15:04 +11:00
2020-02-19 16:50:00 +00:00
2020-03-17 09:41:14 +11:00
2019-12-17 10:39:48 +11:00
2020-03-17 15:08:47 +11:00