On 16.02.2012, at 21:41, Scott Wood wrote:
> On 02/16/2012 01:38 PM, Avi Kivity wrote:
>> On 02/16/2012 09:34 PM, Alexander Graf wrote:
>>> On 16.02.2012, at 20:24, Avi Kivity wrote:
>>>
>>>> On 02/15/2012 04:08 PM, Alexander Graf wrote:
>>>
nfused by this?
Also, this new 'x' bit needs to be documented. Plus, we need a SLOF update to
make use of it.
Alex
>
> Suggested by: Alexander Graf
>
> Signed-off-by: Avik Sil
> ---
> vl.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> dif
On 11.10.2012, at 15:36, Riku Voipio wrote:
> Hi Alexander,
>
> On 21 August 2012 16:47, Peter Maydell wrote:
>>> +#define TARGET_FS_IOC_GETFLAGS TARGET_IORU('f', 1)
>>
>> This and the SETFLAGS one in the next patch fail the consistency
>> check that an x86_64-on-x86_64 linux-user binary perfo
On 12.10.2012, at 00:59, David Gibson wrote:
> On Thu, Oct 11, 2012 at 07:34:42AM +0530, Avik Sil wrote:
>> This patch adds nvram specified boot device into qemu default
>> boot_devices list. This helps firmware to boot from nvram specified
>> boot device if no -boot option is specified.
>
> I r
On 12.10.2012, at 02:28, David Gibson wrote:
> On Fri, Oct 12, 2012 at 02:03:00AM +0200, Alexander Graf wrote:
>>
>> On 12.10.2012, at 00:59, David Gibson wrote:
>>
>>> On Thu, Oct 11, 2012 at 07:34:42AM +0530, Avik Sil wrote:
>>>> This patch adds nvr
On 02.10.2012, at 09:33, Jens Freimann wrote:
> From: Heinz Graalfs
>
> This implements the sclp signal quiesce event via the SCLP Event
> Facility.
> This allows to gracefully shutdown a guest by using system_powerdown
> notifiers. It creates a service interrupt that will trigger a
> Read Even
direction.
Signed-off-by: Alexander Graf
---
memory.c |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/memory.c b/memory.c
index 4f3ade0..d2f2fd6 100644
--- a/memory.c
+++ b/memory.c
@@ -1217,6 +1217,7 @@ void memory_region_add_eventfd(MemoryRegion *mr,
};
unsigned i
On 16.10.2012, at 05:44, Avik Sil wrote:
> On 10/12/2012 05:33 AM, Alexander Graf wrote:
>>
>> On 12.10.2012, at 00:59, David Gibson wrote:
>>
>>> On Thu, Oct 11, 2012 at 07:34:42AM +0530, Avik Sil wrote:
>>>> This patch adds nvram specified boot
-boot and -bootindex
On 15.10.2012, at 12:17, Juan Quintela wrote:
>
> Hi
>
> Please send in any agenda topics you are interested in.
>
> Later, Juan.
> --
> To unsubscribe from this list: send the line "unsubscribe kvm" in
> the body of a message to majord...@vger.kernel.org
> More majordomo
On 18.10.2012, at 03:18, Benjamin Herrenschmidt
wrote:
> On Thu, 2012-10-18 at 11:09 +1100, David Gibson wrote:
>
That's horrible; if you use -boot just once it will clobber a
persistent NVRAM's boot order. I see that a means of changing the
default boot order from management
On 18.10.2012, at 07:50, David Gibson wrote:
> Currently the ppcemb_tlb_t struct, used on a number of embedded ppc models
> to represent a TLB entry contains a target_phys_addr_t. That works
> reasonably for now, but is troublesome for saving the state, which we'll
> want to do in future. tar
On 19.10.2012, at 10:24, David Gibson wrote:
> On Thu, Oct 18, 2012 at 08:32:54AM +0200, Alexander Graf wrote:
>>
>>
>> On 18.10.2012, at 03:18, Benjamin Herrenschmidt
>> wrote:
>>
>>> On Thu, 2012-10-18 at 11:09 +1100, David Gibson wrote:
>
On 22.10.2012, at 16:03, Eric Blake wrote:
> On 10/22/2012 08:23 AM, Michael S. Tsirkin wrote:
>> On Mon, Oct 22, 2012 at 07:00:56AM -0600, Eric Blake wrote:
>>> On 10/22/2012 07:16 AM, Michael S. Tsirkin wrote:
>>>
I worry about need to maintain bug for bug compatibility on the
unlik
On 23.10.2012, at 12:09, Avik Sil wrote:
> This patch makes default boot order machine specific instead of
> set globally. The default boot order can be set per machine in
> QEMUMachine default_machine_opts, or by the command line using
> -machine ,boot=, or by standard -boot
> option. This allow
On 23.10.2012, at 15:24, Anthony Liguori wrote:
> Alexander Graf writes:
>
>> On 23.10.2012, at 12:09, Avik Sil wrote:
>>
>>> This patch makes default boot order machine specific instead of
>>> set globally. The default boot order can be set per machine in
On 24.10.2012, at 00:43, David Gibson wrote:
> On Tue, Oct 23, 2012 at 12:20:08PM +0200, Alexander Graf wrote:
>>
>> On 23.10.2012, at 12:09, Avik Sil wrote:
>>
>>> This patch makes default boot order machine specific instead of
>>> set globally. The de
On 25.10.2012, at 16:38, Avik Sil wrote:
> Hi,
>
> This patch series implements requirement 1 of the mailing list discussion
> [1], i.e., to allow a machine to specify if it wants a default boot order or
> not.
Looks a lot better now :).
I'll leave this on the ML for a few more days to give
On 25.10.2012, at 22:50, Peter Maydell wrote:
> On 25 October 2012 21:18, Anthony Liguori wrote:
>> The other approach to this would be:
>>
>> static QEMUMachine pseries_machine = {
>>.no_boot_order = 1,
>> };
>>
>> Which I think is what Peter is suggesting. I'm not a huge fan of this
>>
On 25.10.2012, at 22:57, Alexander Graf wrote:
>
> On 25.10.2012, at 22:50, Peter Maydell wrote:
>
>> On 25 October 2012 21:18, Anthony Liguori wrote:
>>> The other approach to this would be:
>>>
>>> static QEMUMachine pseries_machine = {
>>
On 29.10.2012, at 06:21, Olivia Yin wrote:
> This is the first part of the patches which remove rom related functions in
> loader.c The second part will optimize memory regions which use rom_ptr.
>
> These patches are against the master branch of git://git.qemu.org/qemu.git.
>
> The v2 patches
Missing patch description
On 29.10.2012, at 06:21, Olivia Yin wrote:
> Signed-off-by: Olivia Yin
> ---
> hw/loader.c | 39 +++
> hw/loader.h | 18 ++
> 2 files changed, 57 insertions(+), 0 deletions(-)
>
> diff --git a/hw/loader.c b/hw/loade
On 29.10.2012, at 06:21, Olivia Yin wrote:
> Signed-off-by: Olivia Yin
> ---
> hw/loader.c | 64 ++
> 1 files changed, 42 insertions(+), 22 deletions(-)
>
> diff --git a/hw/loader.c b/hw/loader.c
> index cadf58f..9e2c3c8 100644
> --- a/hw
On 29.10.2012, at 06:21, Olivia Yin wrote:
> Signed-off-by: Olivia Yin
> ---
> hw/cirrus_vga.c |6 +-
> hw/pc.c |6 +-
> hw/pc_sysfw.c | 14 +++---
> hw/pci.c| 10 --
> hw/sga.c|6 +-
> hw/vga-isa.c|6 +-
> 6 files chang
On 29.10.2012, at 09:48, Alexander Graf wrote:
>
> On 29.10.2012, at 06:21, Olivia Yin wrote:
>
>> Signed-off-by: Olivia Yin
>> ---
>> hw/cirrus_vga.c |6 +-
>> hw/pc.c |6 +-
>> hw/pc_sysfw.c | 14 +++---
>>
d-off-by: Alexander Graf
---
target-ppc/mmu_helper.c |2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/target-ppc/mmu_helper.c b/target-ppc/mmu_helper.c
index 4a9bb5b..811f47f 100644
--- a/target-ppc/mmu_helper.c
+++ b/target-ppc/mmu_helper.c
@@ -1509,10 +1509,8 @@ static
://repo.or.cz/qemu/agraf.git ppc-for-upstream
Alexander Graf (16):
PPC: Bamboo: Fix memory size DT property
PPC: 440: Emulate DCBR0
ac97: convert PIO to new memory api read/write
virtio-pci: convert PIO to new memory api read/write
es1370: convert PIO to new memory api read
Signed-off-by: Alexander Graf
---
hw/virtio-pci.c | 126 +-
1 files changed, 49 insertions(+), 77 deletions(-)
diff --git a/hw/virtio-pci.c b/hw/virtio-pci.c
index c7f20c3..9603150 100644
--- a/hw/virtio-pci.c
+++ b/hw/virtio-pci.c
@@ -374,79
Signed-off-by: Alexander Graf
---
hw/rtl8139.c | 78 ++---
1 files changed, 36 insertions(+), 42 deletions(-)
diff --git a/hw/rtl8139.c b/hw/rtl8139.c
index 10ced8b..e3aa8bf 100644
--- a/hw/rtl8139.c
+++ b/hw/rtl8139.c
@@ -3187,38 +3187,6
other problems, so this patch
makes duplicate registrations a bug, to prevent the old behaviour from
hiding other bugs.
Signed-off-by: David Gibson
Signed-off-by: Alexander Graf
---
hw/spapr_hcall.c |3 +--
hw/spapr_rtas.c |9 +
2 files changed, 10 insertions(+), 2 deletions(-)
.
Signed-off-by: Li Zhang
Acked-by: Alexander Graf
Signed-off-by: Alexander Graf
---
hw/nseries.c |3 ++-
hw/pc_piix.c |2 +-
hw/ppc_newworld.c | 19 +++
hw/ppc_oldworld.c |2 +-
hw/ppc_prep.c |2 +-
hw/pxa2xx.c |4 ++--
hw/realview.c
Signed-off-by: Alexander Graf
---
hw/mc146818rtc.c | 19 +++
1 files changed, 11 insertions(+), 8 deletions(-)
diff --git a/hw/mc146818rtc.c b/hw/mc146818rtc.c
index 332a77d..98839f2 100644
--- a/hw/mc146818rtc.c
+++ b/hw/mc146818rtc.c
@@ -383,7 +383,8 @@ static void
Signed-off-by: Alexander Graf
---
hw/i8254.c | 20 +++-
1 files changed, 11 insertions(+), 9 deletions(-)
diff --git a/hw/i8254.c b/hw/i8254.c
index 77bd5e8..bea5f92 100644
--- a/hw/i8254.c
+++ b/hw/i8254.c
@@ -111,7 +111,8 @@ static void pit_latch_count(PITChannelState *s
Signed-off-by: Alexander Graf
---
hw/pc.c | 19 +++
1 files changed, 11 insertions(+), 8 deletions(-)
diff --git a/hw/pc.c b/hw/pc.c
index 16de04c..a02b397 100644
--- a/hw/pc.c
+++ b/hw/pc.c
@@ -421,7 +421,8 @@ typedef struct Port92State {
qemu_irq *a20_out
Signed-off-by: Alexander Graf
---
hw/pckbd.c | 48 +++-
1 files changed, 27 insertions(+), 21 deletions(-)
diff --git a/hw/pckbd.c b/hw/pckbd.c
index 000c7f0..5bb3e0a 100644
--- a/hw/pckbd.c
+++ b/hw/pckbd.c
@@ -194,7 +194,8 @@ static void
: Alexander Graf
---
hw/spapr_hcall.c| 26 ++
target-ppc/cpu.h|7 +++
target-ppc/translate_init.c |7 ---
3 files changed, 21 insertions(+), 19 deletions(-)
diff --git a/hw/spapr_hcall.c b/hw/spapr_hcall.c
index 762493a..621dabd 100644
On 29.10.2012, at 11:38, Peter Maydell wrote:
> On 29 October 2012 10:25, Alexander Graf wrote:
>> From: Peter Maydell
>>
>> Following commit 4be403c81 TARGET_PHYS_ADDR_BITS is always 64,
>> and it's only used in one place (that commit removed all the
>>
Signed-off-by: Alexander Graf
---
hw/m48t59.c | 24 ++--
1 files changed, 14 insertions(+), 10 deletions(-)
diff --git a/hw/m48t59.c b/hw/m48t59.c
index 9eb1a09..9e8e692 100644
--- a/hw/m48t59.c
+++ b/hw/m48t59.c
@@ -27,6 +27,7 @@
#include "sysemu.h"
#include
The DCBR0 register on 440 is used to implement system reset. The same
register is used on 405 as well, so just reuse the code.
Signed-off-by: Alexander Graf
---
target-ppc/translate_init.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/target-ppc/translate_init.c b
Signed-off-by: Alexander Graf
---
hw/es1370.c | 46 --
1 files changed, 36 insertions(+), 10 deletions(-)
diff --git a/hw/es1370.c b/hw/es1370.c
index e34234c..e0c9729 100644
--- a/hw/es1370.c
+++ b/hw/es1370.c
@@ -908,18 +908,44 @@ static void
Signed-off-by: Alexander Graf
---
hw/vmport.c | 21 -
1 files changed, 12 insertions(+), 9 deletions(-)
diff --git a/hw/vmport.c b/hw/vmport.c
index a4f52ee..3ab3a14 100644
--- a/hw/vmport.c
+++ b/hw/vmport.c
@@ -54,7 +54,8 @@ void vmport_register(unsigned char command
Signed-off-by: Alexander Graf
---
hw/xen_platform.c | 48 ++--
1 files changed, 38 insertions(+), 10 deletions(-)
diff --git a/hw/xen_platform.c b/hw/xen_platform.c
index 890eb72..a54e7a2 100644
--- a/hw/xen_platform.c
+++ b/hw/xen_platform.c
From: Bharat Bhushan
it was wrongly using serial_hds[0] instead of serial_hds[1]
Signed-off-by: Bharat Bhushan
Reviewed-by: Andreas Färber
Signed-off-by: Alexander Graf
---
hw/ppc/e500.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/hw/ppc/e500.c b/hw/ppc/e500.c
On 29.10.2012, at 12:01, Andreas Färber wrote:
> Am 29.10.2012 11:25, schrieb Alexander Graf:
>> Hi Blue / Aurelien,
>>
>> This is my current patch queue for ppc. Please pull.
>
> Alex, this does not include my refactoring patches. Do you want them to
> go th
On PPC, we don't have PIO. So usually PIO space behind a PCI bridge is
accessible via MMIO. Do this mapping explicitly by mapping the PIO space
of our PCI bus into a memory region that lives in memory space.
Signed-off-by: Alexander Graf
---
hw/ppc/e500.c|3 +--
hw/ppce500_pci.c |
Device tree properties need to be specified in big endian. Fix the
bamboo memory size property accordingly.
Signed-off-by: Alexander Graf
CC: qemu-sta...@nongnu.org
---
hw/ppc440_bamboo.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/hw/ppc440_bamboo.c b/hw
Now that all users of old_portio are gone, we can remove the hack
that enabled us to support them.
Signed-off-by: Alexander Graf
---
hw/spapr_pci.c | 44 +---
hw/spapr_pci.h |2 +-
2 files changed, 2 insertions(+), 44 deletions(-)
diff --git a/hw
Signed-off-by: Alexander Graf
---
hw/ac97.c | 109 +---
1 files changed, 89 insertions(+), 20 deletions(-)
diff --git a/hw/ac97.c b/hw/ac97.c
index 0f561fa..ce6a1dc 100644
--- a/hw/ac97.c
+++ b/hw/ac97.c
@@ -1226,32 +1226,101 @@ static
onality
to be able to send a shutdown event to the guest. At least with modern
guest kernels and a userspace that is up and running, this means that
system_powerdown from the qemu monitor should now work correctly on pseries
guests.
Signed-off-by: David Gibson
Signed-off-by: Alexander Graf
-
Signed-off-by: Alexander Graf
---
hw/serial.c | 30 +-
1 files changed, 17 insertions(+), 13 deletions(-)
diff --git a/hw/serial.c b/hw/serial.c
index ae84b22..60283ea 100644
--- a/hw/serial.c
+++ b/hw/serial.c
@@ -26,6 +26,7 @@
#include "serial.h"
#inc
On 29.10.2012, at 13:13, Jens Freimann wrote:
> From: Heinz Graalfs
>
> This code adds console support by implementing SCLP's ASCII Console
> Data event. This is the same console as LPARs ASCII console or z/VMs
> sysascii.
>
> The console can be specified manually with something like
> -chard
On 29.10.2012, at 13:13, Jens Freimann wrote:
> Hi Alex,
>
> this is our current s390 patch queue. The SCLP patches only received minor
> review comments
> last time they were posted and have been tested internally for a while now.
> The same applies
> to Christian's sync regs patch.
Thanks,
When using -initrd in the virtio machine, we need to indicate the initrd
start and size inside the kernel image. These parameters need to be stored
in native endianness.
Signed-off-by: Alexander Graf
Acked-by: Richard Henderson
Acked-by: Christian Borntraeger
---
hw/s390-virtio.c |4
:
git://repo.or.cz/qemu/agraf.git s390-for-upstream
Alexander Graf (1):
s390x: fix -initrd in virtio machine
Christian Borntraeger (1):
s390: use sync regs for register transfer
Heinz Graalfs (5):
s390/kvm_stat: correct sys_perf_event_open syscall number
s390: sclp base
When using -initrd in the virtio machine, we need to indicate the initrd
start and size inside the kernel image. These parameters need to be stored
in native endianness.
Signed-off-by: Alexander Graf
Acked-by: Richard Henderson
Acked-by: Christian Borntraeger
---
hw/s390-virtio.c |4
iesce (via
system_powerdown) and the ASCII console.
Further down the road the sclp line mode console and configuration
change events (e.g. cpu hotplug) can be implemented.
Signed-off-by: Heinz Graalfs
Signed-off-by: Christian Borntraeger
Signed-off-by: Jens Freimann
Signed-off-by: Alexander Graf
--
: Jens Freimann
Signed-off-by: Alexander Graf
---
target-s390x/kvm.c | 112 ++-
1 files changed, 92 insertions(+), 20 deletions(-)
diff --git a/target-s390x/kvm.c b/target-s390x/kvm.c
index 07edf93..e19a44d 100644
--- a/target-s390x/kvm.c
+++ b
future we could add additional commands for hotplug, call
home and event handling.
Signed-off-by: Heinz Graalfs
Signed-off-by: Christian Borntraeger
Signed-off-by: Jens Freimann
Signed-off-by: Alexander Graf
---
hw/s390x/Makefile.objs |1 +
hw/s390x/sclp.c| 118
:
git://repo.or.cz/qemu/agraf.git s390-for-upstream
Alexander Graf (1):
s390x: fix -initrd in virtio machine
Christian Borntraeger (1):
s390: use sync regs for register transfer
Heinz Graalfs (5):
s390/kvm_stat: correct sys_perf_event_open syscall number
s390: sclp base
On 28.10.2012, at 12:04, Blue Swirl wrote:
> Signed-off-by: Blue Swirl
Acked-by: Alexander Graf
Alex
> ---
> target-ppc/cpu.h|6 --
> target-ppc/mmu_helper.c | 11 ++-
> 2 files changed, 6 insertions(+), 11 deletions(-)
>
> diff --git a/target-p
On 28.10.2012, at 12:04, Blue Swirl wrote:
> Add missing 'static' qualifiers.
>
> Signed-off-by: Blue Swirl
Acked-by: Alexander Graf
Alex
is used from map
syscall_numbers; other architectures can extend this.
Signed-off-by: Heinz Graalfs
Signed-off-by: Jens Freimann
Signed-off-by: Alexander Graf
---
scripts/kvm/kvm_stat | 11 +--
1 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/scripts/kvm/kvm_stat b
event that is interpreted by linux guests as ctrl-alt-del.
Signed-off-by: Heinz Graalfs
Signed-off-by: Christian Borntraeger
Signed-off-by: Jens Freimann
Signed-off-by: Alexander Graf
---
hw/s390x/Makefile.objs|1 +
hw/s390x/event-facility.c |7 +++
hw/s390x/sclpquiesce.c| 123
fs
Signed-off-by: Christian Borntraeger
Signed-off-by: Jens Freimann
Signed-off-by: Alexander Graf
---
hw/s390x/Makefile.objs |2 +-
hw/s390x/sclpconsole.c | 306
2 files changed, 307 insertions(+), 1 deletions(-)
create mode 10064
rrently has the following patches. Please let me
know if I did forget any uncontroversial ones :).
Alexander Graf (2):
s390x: fix s390 virtio aliases
kvm: Update kernel headers
Christian Borntraeger (1):
s390: stop target cpu on sigp initial reset
Jens Freimann (1):
s390: make k
Alexander Graf (2):
s390x: fix s390 virtio aliases
kvm: Update kernel headers
Christian Borntraeger (1):
s390: stop target cpu on sigp initial reset
Jens Freimann (1):
s390: make kvm_stat work on s390
hw/qdev-monitor.c| 27 ---
linux
From: Christian Borntraeger
We must not run the target cpu after an initial reset. This makes
system_reset more reliable for smp guests.
Signed-off-by: Christian Borntraeger
Signed-off-by: Alexander Graf
---
target-s390x/kvm.c |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff
On 15.06.2012, at 17:10, Christian Borntraeger wrote:
> By default qemu will use MAP_PRIVATE for guest pages. This will write
> protect pages and thus break on s390 systems that dont support this feature.
> Therefore qemu has a hack to always use MAP_SHARED for s390. But MAP_SHARED
> has other pr
On 12.06.2012, at 16:57, Jeng-fang Wang wrote:
> Yes, you can refer to AR10040-03-POK, Service-Call Logical Processor
> Architecture for S/390 and z/Architecture, Figure 2-6 Minimum storage
> increment and subincrement size. :)
>
Is that one publicly available anywhere?
Alex
On 18.06.2012, at 15:41, Christian Borntraeger wrote:
> On 18/06/12 15:33, Alexander Graf wrote:
>>
>> On 18.06.2012, at 14:35, Christian Borntraeger wrote:
>>
>>> Alex,
>>>
>>> are you going to pull the non-controversial patches?
>>&
Corresponding kvm.git hash: 4e3c8a1b1c
Signed-off-by: Alexander Graf
---
linux-headers/asm-s390/kvm.h |5 +
linux-headers/linux/kvm.h|1 +
2 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/linux-headers/asm-s390/kvm.h b/linux-headers/asm-s390/kvm.h
index 9607667
From: Jens Freimann
Add s390_exit_reasons so kvm_stat doesn't crash when called on s390.
Look for 'vendor_id' in /proc/cpuinfo as well, instead of just for
'flags', so we can determine if we run on S390.
Signed-off-by: Jens Freimann
Signed-off-by: Alexander Graf
selection code. This way we fix commands like
-device virtio-blk on s390x which with this patch applied select the
correct virtio-blk-s390 device rather than virtio-blk-pci.
Reported-by: Christian Borntraeger
Signed-off-by: Anthony Liguori
Signed-off-by: Alexander Graf
---
hw/qdev-monitor.c
On 15.06.2012, at 15:33, Kevin Wolf wrote:
> From: Paolo Bonzini
>
> Either FIEMAP, or SEEK_DATA+SEEK_HOLE can be used to implement the
> is_allocated callback for raw files. On Linux ext4, btrfs and XFS
> all support it.
>
> Signed-off-by: Paolo Bonzini
> Signed-off-by: Kevin Wolf
> ---
>
On 07.06.2012, at 23:09, Blue Swirl wrote:
> On Tue, Jun 5, 2012 at 11:52 PM, Alexander Graf wrote:
>> Today we have two separate places where we keep information which device
>> is where:
>>
>> - hw/ppce500_mpc8544ds.c to instantiate all devices
>> - pc-bio
On 09.06.2012, at 03:02, Peter Crosthwaite wrote:
> On Fri, Jun 8, 2012 at 10:46 PM, Alexander Graf wrote:
>>
>> On 07.06.2012, at 02:28, Peter Crosthwaite wrote:
>>
>>> On Thu, Jun 7, 2012 at 1:58 AM, Alexander Graf wrote:
>>>> On 06
On 09.06.2012, at 13:34, Benjamin Herrenschmidt wrote:
> On Sat, 2012-06-09 at 20:53 +1000, Benjamin Herrenschmidt wrote:
>> Hi folks !
>
> (After some discussion with Andreas ...)
>
>> I'm looking at sorting out the state save/restore of target-ppc (which
>> means understanding in general how
On 19.06.2012, at 20:39, Blue Swirl wrote:
> On Tue, Jun 19, 2012 at 12:54 PM, Alexander Graf wrote:
>>
>> On 07.06.2012, at 23:09, Blue Swirl wrote:
>>
>>> On Tue, Jun 5, 2012 at 11:52 PM, Alexander Graf wrote:
>>>> Today we have two separate pla
Signed-off-by: Alexander Graf
---
hw/ppce500_mpc8544ds.c |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/hw/ppce500_mpc8544ds.c b/hw/ppce500_mpc8544ds.c
index 28c7c8c..a078e24 100644
--- a/hw/ppce500_mpc8544ds.c
+++ b/hw/ppce500_mpc8544ds.c
@@ -101,6 +101,7 @@ static int
Signed-off-by: Alexander Graf
---
hw/ppce500_mpc8544ds.c |5 +
pc-bios/mpc8544ds.dtb | Bin 1972 -> 1924 bytes
pc-bios/mpc8544ds.dts |5 -
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/hw/ppce500_mpc8544ds.c b/hw/ppce500_mpc8544ds.c
index 3ec9013..c046
Signed-off-by: Alexander Graf
---
v2 -> v3:
- use snprintf
- use new multi-cell setting api
---
hw/ppce500_mpc8544ds.c | 16
1 files changed, 16 insertions(+), 0 deletions(-)
diff --git a/hw/ppce500_mpc8544ds.c b/hw/ppce500_mpc8544ds.c
index c68e994..5c2b6ab 100
which was the only way to boot the mpc8544ds
machine. This patch only manifests said requirement in the build system.
Signed-off-by: Alexander Graf
---
hw/ppc/Makefile.objs |2 +-
hw/ppce500_mpc8544ds.c |5 -
2 files changed, 1 insertions(+), 6 deletions(-)
diff --git a/h
Due to popular demand, let's clean up the soc node a bit and use
more recent dt notions.
Requested-by: Scott Wood
Signed-off-by: Alexander Graf
---
hw/ppce500_mpc8544ds.c |9 -
1 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/hw/ppce500_mpc8544ds.c
Signed-off-by: Alexander Graf
---
v2 -> v3:
- use snprintf
- use new multi-cell setting api
---
hw/ppce500_mpc8544ds.c |9 +
pc-bios/mpc8544ds.dts |6 --
2 files changed, 9 insertions(+), 6 deletions(-)
diff --git a/hw/ppce500_mpc8544ds.c b/hw/ppce500_mpc8544d
ation about the guest
configuration.
Signed-off-by: Alexander Graf
---
hw/ppce500_mpc8544ds.c | 18 ++
qemu-config.c |4
2 files changed, 22 insertions(+), 0 deletions(-)
diff --git a/hw/ppce500_mpc8544ds.c b/hw/ppce500_mpc8544ds.c
index 880ed55..7c6edc2 100644
If anyone outside of QEMU wants to mess with a QEMU generated device tree,
he needs to know which range phandles are valid in. So let's expose a
machine option that an external program can use to set the start allocate
id for phandles in QEMU.
Signed-off-by: Alexander Graf
---
v2
so - map devices above 32bit.
Signed-off-by: Alexander Graf
---
hw/ppce500_mpc8544ds.c | 28 ++--
1 files changed, 18 insertions(+), 10 deletions(-)
diff --git a/hw/ppce500_mpc8544ds.c b/hw/ppce500_mpc8544ds.c
index c6a09bb..bf48bc7 100644
--- a/hw/ppce500_mpc8544ds.c
we got rid
of the binary device tree.
Signed-off-by: Alexander Graf
---
device_tree.c |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/device_tree.c b/device_tree.c
index 2905f9a..967c97a 100644
--- a/device_tree.c
+++ b/device_tree.c
@@ -174,11 +174,13 @@ int
On 19.06.2012, at 22:18, Benjamin Herrenschmidt wrote:
> On Tue, 2012-06-19 at 13:31 +0200, Andreas Färber wrote:
>> Tab alert. :)
>
> Argh :-) Gotta get an emacs config for use with qemu :-)
So do you want to resend? I can just fix it on the fly too.
Alex
Some times in the device tree, we find an array of 2 u32 cells that
really are a single u64 value. This patch adds a helper to make the
creation of these easy.
Signed-off-by: Alexander Graf
Reviewed-by: Peter Crosthwaite
---
v1 -> v2:
- rename cell64 -> u64
---
device_tree.c
When generating serial port device tree nodes, we duplicate quite a bit
of code, because there are 2 of them in the mpc8544ds board we emulate.
Shove the generating code into a function, so we duplicate less code.
Signed-off-by: Alexander Graf
---
v2 -> v3:
- use snprintf
---
We want to be able to override the automatically created device tree
by using the -dtb option. Implement this for the mpc8544ds machine.
Signed-off-by: Alexander Graf
---
hw/ppce500_mpc8544ds.c | 26 ++
1 files changed, 22 insertions(+), 4 deletions(-)
diff --git a/hw
Signed-off-by: Alexander Graf
---
hw/ppce500_mpc8544ds.c |1 +
pc-bios/mpc8544ds.dtb | Bin 1924 -> 1904 bytes
pc-bios/mpc8544ds.dts |3 ---
3 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/hw/ppce500_mpc8544ds.c b/hw/ppce500_mpc8544ds.c
index c046206..54e7ec7 100
Our subnode creation helper can't handle creation of root subnodes,
like "/memory". Fix this by allowing the parent node to be an empty
string, indicating the root node.
Signed-off-by: Alexander Graf
Reviewed-by: Peter Crosthwaite
---
device_tree.c |7 ++-
1 files change
Now that all of the device tree bits are generated during runtime, we
can get rid of the device tree blob and instead start from scratch with
an empty device tree.
Signed-off-by: Alexander Graf
---
Makefile |1 -
hw/ppce500_mpc8544ds.c |8 +---
pc-bios/mpc8544ds.dtb
that allows us
to pass the cells as arguments.
Signed-off-by: Alexander Graf
---
device_tree.h | 12
1 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/device_tree.h b/device_tree.h
index 4378685..1e671e2 100644
--- a/device_tree.h
+++ b/device_tree.h
@@ -25,4 +25,16
Due to popular demand, we're updating the way we generate the MPIC
node and interrupt lines based on what the current state of art is.
Requested-by: Scott Wood
Signed-off-by: Alexander Graf
---
hw/ppce500_mpc8544ds.c | 33 ++---
1 files changed, 18 inser
Signed-off-by: Alexander Graf
---
v2 -> v3:
- use snprintf
- use new multi-cell setting api
---
hw/ppce500_mpc8544ds.c | 35 +++
pc-bios/mpc8544ds.dts | 26 --
2 files changed, 35 insertions(+), 26 deletions(-)
diff --git a
We want to get rid of the concept of loading an external device tree and instead
generate our own. However, to do this we need to also create a device tree
template programatically.
This patch adds a helper to create an empty device tree in memory.
Signed-off-by: Alexander Graf
Reviewed-by
Signed-off-by: Alexander Graf
---
hw/ppce500_mpc8544ds.c |8
pc-bios/mpc8544ds.dtb | Bin 2028 -> 1972 bytes
pc-bios/mpc8544ds.dts |5 -
3 files changed, 4 insertions(+), 9 deletions(-)
diff --git a/hw/ppce500_mpc8544ds.c b/hw/ppce500_mpc8544ds.c
index 506ddf3..3ec9
Signed-off-by: Alexander Graf
---
v2 -> v3:
- use snprintf
- use new multi-cell setting api
---
hw/ppce500_mpc8544ds.c | 50
pc-bios/mpc8544ds.dtb | Bin 1810 -> 72 bytes
pc-bios/mpc8544ds.dts
201 - 300 of 8837 matches
Mail list logo