[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-ppc] [PATCH 66/66] pseries: Add compatible property to root of dev
From: |
Alexander Graf |
Subject: |
[Qemu-ppc] [PATCH 66/66] pseries: Add compatible property to root of device tree |
Date: |
Fri, 8 Mar 2013 21:07:08 +0100 |
From: David Gibson <address@hidden>
Currently, for the pseries machine the device tree supplied by qemu to SLOF
and from there to the guest does not include a 'compatible property' at the
root level. Usually that works fine, since in this case the compatible
property doesn't really give any information not already found in the
'device_type' or 'model' properties.
However, the lack of 'compatible' confuses the bootloader install in the
SLES11 SP2 and SLES11 SP3 installers. This patch therefore adds a token
'compatible' property to work around that.
Signed-off-by: David Gibson <address@hidden>
Cc: address@hidden
Signed-off-by: Alexander Graf <address@hidden>
---
hw/spapr.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/hw/spapr.c b/hw/spapr.c
index e88a27a..fadf70f 100644
--- a/hw/spapr.c
+++ b/hw/spapr.c
@@ -260,6 +260,7 @@ static void *spapr_create_fdt_skel(const char *cpu_model,
_FDT((fdt_begin_node(fdt, "")));
_FDT((fdt_property_string(fdt, "device_type", "chrp")));
_FDT((fdt_property_string(fdt, "model", "IBM pSeries (emulated by
qemu)")));
+ _FDT((fdt_property_string(fdt, "compatible", "qemu,pseries")));
_FDT((fdt_property_cell(fdt, "#address-cells", 0x2)));
_FDT((fdt_property_cell(fdt, "#size-cells", 0x2)));
--
1.6.0.2
- [Qemu-ppc] [PATCH 44/66] target-ppc: Convert CPU definitions, (continued)
- [Qemu-ppc] [PATCH 44/66] target-ppc: Convert CPU definitions, Alexander Graf, 2013/03/08
- [Qemu-ppc] [PATCH 63/66] target-ppc: List alias names alongside CPU models, Alexander Graf, 2013/03/08
- [Qemu-ppc] [PATCH 56/66] Save memory allocation in the elf loader, Alexander Graf, 2013/03/08
- [Qemu-ppc] [PATCH 60/66] PPC: Fix dma interrupt, Alexander Graf, 2013/03/08
- [Qemu-ppc] [PATCH 51/66] target-ppc: Update Coding Style for CPU models, Alexander Graf, 2013/03/08
- [Qemu-ppc] [PATCH 64/66] target-ppc: Report CPU aliases for QMP, Alexander Graf, 2013/03/08
- [Qemu-ppc] [PATCH 58/66] target-ppc: Synchronize FPU state with KVM, Alexander Graf, 2013/03/08
- [Qemu-ppc] [PATCH 62/66] target-ppc: Make host CPU a subclass of the host's CPU model, Alexander Graf, 2013/03/08
- [Qemu-ppc] [PATCH 57/66] target-ppc: Add mechanism for synchronizing SPRs with KVM, Alexander Graf, 2013/03/08
- [Qemu-ppc] [PATCH 65/66] target-ppc: Move CPU aliases out of translate_init.c, Alexander Graf, 2013/03/08
- [Qemu-ppc] [PATCH 66/66] pseries: Add compatible property to root of device tree,
Alexander Graf <=
- [Qemu-ppc] [PATCH 49/66] target-ppc: Turn descriptive CPU family comments into device descriptions, Alexander Graf, 2013/03/08
- [Qemu-ppc] [PATCH 48/66] target-ppc: Set remaining fields on CPU family classes, Alexander Graf, 2013/03/08
- [Qemu-ppc] [PATCH 45/66] target-ppc: Introduce abstract CPU family types, Alexander Graf, 2013/03/08
- [Qemu-ppc] [PATCH 06/66] target-ppc: Inline comma into POWERPC_DEF_SVR() macro, Alexander Graf, 2013/03/08
- [Qemu-ppc] [PATCH 50/66] target-ppc: Turn descriptive CPU model comments into device descriptions, Alexander Graf, 2013/03/08
- [Qemu-ppc] [PATCH 52/66] target-ppc: Split model definitions out of translate_init.c, Alexander Graf, 2013/03/08
- [Qemu-ppc] [PATCH 46/66] target-ppc: Set instruction flags on CPU family classes, Alexander Graf, 2013/03/08
- Re: [Qemu-ppc] [PULL 00/66] ppc patch queue 2013-03-08, Blue Swirl, 2013/03/09