core: Add explicit 1:1 mappings in ranges properties
core: Add explicit 1:1 mappings in ranges properties

Currently skiboot adds an empty ranges property for each PCI bridge,
representing a 1:1 mapping, which the kernel can later update if needed.
However this does not appear to be the case, which leads to an issue in
the kernel where the translation of assigned-addresses properties is
mishandled and prematurely drops the PCI memory flags (ie. the first
cell of an address).

Instead, explicitly describe a 1:1 mapping in each bridge's ranges
property, allowing assigned-addresses to be properly handled.

Signed-off-by: Sam Mendoza-Jonas <f16bed56189e249fe4ca8ed10a1ecae60e8ceac0@mendozajonas.com>
Acked-by: Benjamin Herrenschmidt <a7089bb6e7e92505d88aaff006cbdd60cc9120b6@kernel.crashing.org>
Signed-off-by: Stewart Smith <ec31ab75ddf977353c8f660f92ea8b23f64aef25@linux.vnet.ibm.com>

legoater/skiboot,qemu/skiboot,legoater/skiboot,legoater/skiboot,shenki/skiboot,stewart-ibm/skiboot,open-power/skiboot,open-power/skiboot,mikey/skiboot,legoater/skiboot,legoater/skiboot,stewart-ibm/skiboot,mikey/skiboot,qemu/skiboot,shenki/skiboot,qemu/skiboot,shenki/skiboot,qemu/skiboot,mikey/skiboot,shenki/skiboot,open-power/skiboot,stewart-ibm/skiboot,open-power/skiboot,open-power/skiboot,shenki/skiboot,qemu/skiboot