]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite998badbe32fb70dbe47271e85930f06df42542b
treea440d4abdaefbc59cc0d46df91d0c47a8023066a
parent3fe625b0b84d1cb3b2afcc0e7ec2833877ec7a17
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