OSDN Git Service

dt-bindings: xen: Clarify "reg" purpose
authorOleksandr Tyshchenko <oleksandr_tyshchenko@epam.com>
Thu, 9 Dec 2021 20:05:36 +0000 (22:05 +0200)
committerJuergen Gross <jgross@suse.com>
Thu, 6 Jan 2022 08:53:44 +0000 (09:53 +0100)
commit54bb4a91b281e1b21235a4bc175e1293e787c016
treea440d4abdaefbc59cc0d46df91d0c47a8023066a
parentb2371587fe0c02657db89b67b72efc581bd3f7a0
dt-bindings: xen: Clarify "reg" purpose

Xen on Arm has gained new support recently to calculate and report
extended regions (unused address space) safe to use for external
mappings. These regions are reported via "reg" property under
"hypervisor" node in the guest device-tree. As region 0 is reserved
for grant table space (always present), the indexes for extended
regions are 1...N.

No device-tree bindings update is needed (except clarifying the text)
as guest infers the presence of extended regions from the number
of regions in "reg" property.

While at it, remove the following sentence:
"This property is unnecessary when booting Dom0 using ACPI."
for "reg" and "interrupts" properties as the initialization is not
done via device-tree "hypervisor" node in that case anyway.

Signed-off-by: Oleksandr Tyshchenko <oleksandr_tyshchenko@epam.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
Acked-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/1639080336-26573-7-git-send-email-olekstysh@gmail.com
Signed-off-by: Juergen Gross <jgross@suse.com>
Documentation/devicetree/bindings/arm/xen.txt