[Qemu-devel] [PATCH v4 0/3] ARM virt: Silence dtc warnings

Eric Auger posted 3 patches 5 years, 10 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/1530044492-24921-1-git-send-email-eric.auger@redhat.com
Test checkpatch passed
Test docker-mingw@fedora passed
Test docker-quick@centos7 passed
Test s390x passed
device_tree.c                | 55 ++++++++++++++++++++++++++++++++++
hw/arm/boot.c                | 41 ++++++++++++++------------
hw/arm/virt.c                | 70 +++++++++++++++++++++++++-------------------
include/sysemu/device_tree.h | 16 ++++++++++
4 files changed, 134 insertions(+), 48 deletions(-)
[Qemu-devel] [PATCH v4 0/3] ARM virt: Silence dtc warnings
Posted by Eric Auger 5 years, 10 months ago
When running dtc on the guest /proc/device-tree, we get the
following warnings: "Warning (unit_address_vs_reg): Node <name>
has a reg or ranges property, but no unit name", with name:
/intc, /intc/its, /intc/v2m, /memory.

This series removes those warnings by adding the unit address to
the corresponding node names.

This is based on Peter's target-arm.next

Best Regards

Eric

History:
v3 -> v4:
- rebased on Peter's target-arm.next

v2 -> v3:
- only nop root /memory and /memory@unit-address nodes
- remove a deprecated comment

v1 -> v2:
- nop existing node-name and node-name@unit-address nodes and
  add our owns.
- added 1st patch device_tree: Add qemu_fdt_node_unit_path

Eric Auger (3):
  device_tree: Add qemu_fdt_node_unit_path
  hw/arm/virt: Silence dtc /intc warnings
  hw/arm/virt: Silence dtc /memory warning

 device_tree.c                | 55 ++++++++++++++++++++++++++++++++++
 hw/arm/boot.c                | 41 ++++++++++++++------------
 hw/arm/virt.c                | 70 +++++++++++++++++++++++++-------------------
 include/sysemu/device_tree.h | 16 ++++++++++
 4 files changed, 134 insertions(+), 48 deletions(-)

-- 
2.5.5


Re: [Qemu-devel] [PATCH v4 0/3] ARM virt: Silence dtc warnings
Posted by Peter Maydell 5 years, 10 months ago
On 26 June 2018 at 21:21, Eric Auger <eric.auger@redhat.com> wrote:
> When running dtc on the guest /proc/device-tree, we get the
> following warnings: "Warning (unit_address_vs_reg): Node <name>
> has a reg or ranges property, but no unit name", with name:
> /intc, /intc/its, /intc/v2m, /memory.
>
> This series removes those warnings by adding the unit address to
> the corresponding node names.
>
> This is based on Peter's target-arm.next
>
> Best Regards
>


Applied to target-arm.next, thanks.

-- PMM