On 01/05/17 08:39, Mark Cave-Ayland wrote:
> This patchset fixes up a couple of issues from my last set of tcx/cg3 updates
> spotted by Coverity as reported by Peter.
>
> Signed-off-by: Mark Cave-Ayland <mark.cave-ayl...@ilande.co.uk>
>
> Mark Cave-Ayland (2):
>
On 27/06/17 01:49, Eduardo Habkost wrote:
> On Sun, Jun 25, 2017 at 07:58:04PM +0100, Mark Cave-Ayland wrote:
>> On 23/06/17 19:50, Eduardo Habkost wrote:
>>
>>>> Really, please go back to the earlier discussion around fw_cfg_init1()
>>>> and you'll see my
On 14/09/17 04:52, David Gibson wrote:
> On Wed, Sep 13, 2017 at 07:58:23PM +0200, Laurent Vivier wrote:
>> On 13/09/2017 19:11, Mark Cave-Ayland wrote:
>>> On 13/09/17 08:12, David Gibson wrote:
>>>
>>>> This is subtly incorrect. It sets the DECR on load t
On 13/09/17 08:19, David Gibson wrote:
>> When pausing a VM, does execution stop at the end of the current TB
>> rather than immediately? If so, perhaps someone could confirm that
>> guarantee is good enough for access_type?
>
> I'm pretty sure it has to; we'd have to come up out of an
On 13/09/17 07:02, David Gibson wrote:
>>> Alexey - do you recall from your analysis why these fields were no
>>> longer deemed necessary, and how your TCG tests were configured?
>>
>> I most certainly did not do analysis (my bad. sorry) - I took the patch
>> from David as he left the team, fixed
On 13/09/17 08:12, David Gibson wrote:
> This is subtly incorrect. It sets the DECR on load to exactly the
> value that was saved. That effectively means that the DECR is frozen
> for the migration downtime, which probably isn't what we want.
>
> Instead we need to save the DECR as an offset
On 18/09/17 21:36, David Gibson wrote:
> On Sun, Sep 17, 2017 at 06:15:44PM +0100, Mark Cave-Ayland wrote:
>> Signed-off-by: Mark Cave-Ayland <mark.cave-ayl...@ilande.co.uk>
>
> Nice, but there are some details I'm not sure about.
>
>>
On 18/09/17 21:39, David Gibson wrote:
> On Sun, Sep 17, 2017 at 06:15:48PM +0100, Mark Cave-Ayland wrote:
>> From: Benjamin Herrenschmidt <b...@kernel.crashing.org>
>>
>> Some interrupts get triggered before the OS has setup the
>> right interrupt type
On 18/09/17 23:44, David Gibson wrote:
> So, adding new things to the migration stream always requires some
> thought. The commit message should contain a rationale for why the
> proposed representation is a good one. In particular is it one that's
> unlikely to be difficult if the device
Signed-off-by: Mark Cave-Ayland <mark.cave-ayl...@ilande.co.uk>
---
hw/ide/macio.c | 181 +++-
1 file changed, 75 insertions(+), 106 deletions(-)
diff --git a/hw/ide/macio.c b/hw/ide/macio.c
index db5db39..18ae952 100644
--- a/hw/ide/m
On 20/09/17 05:29, David Gibson wrote:
> On Tue, Sep 19, 2017 at 09:02:54PM +0100, Mark Cave-Ayland wrote:
>> Signed-off-by: Mark Cave-Ayland <mark.cave-ayl...@ilande.co.uk>
>
> This didn't apply for me. Can you rebase on top of ppc-for-2.11, please.
(goes and looks)
Okay
From: Benjamin Herrenschmidt
The timing register exists on all variants of MacIO IDE, we just
store and return its value.
The interrupts register only exists on KeyLargo but it doesn't
hurt to have it. The lack of this register causes MacOS X to
hangs under some
Signed-off-by: Mark Cave-Ayland <mark.cave-ayl...@ilande.co.uk>
---
hw/ide/macio.c | 181 +++-
1 file changed, 75 insertions(+), 106 deletions(-)
diff --git a/hw/ide/macio.c b/hw/ide/macio.c
index db5db39..18ae952 100644
--- a/hw/ide/m
Here are the macio patches taken from my previous "ppc: more Mac-related fixups"
patchset with the v2 pmac_ide_ops conversion changes as requested.
Signed-off-by: Mark Cave-Ayland <mark.cave-ayl...@ilande.co.uk>
Benjamin Herrenschmidt (1):
ppc/ide/macio: Add missing regi
On 20/09/17 07:00, David Gibson wrote:
> On Wed, Sep 20, 2017 at 06:56:37AM +0100, Mark Cave-Ayland wrote:
>> On 20/09/17 05:29, David Gibson wrote:
>>
>>> On Tue, Sep 19, 2017 at 09:02:54PM +0100, Mark Cave-Ayland wrote:
>>>> Signed-off-by: Mark Cave-A
On 22/09/17 23:18, Laszlo Ersek wrote:
> On 09/22/17 14:18, Mark Cave-Ayland wrote:
>> Whilst the underlying PCI bridge implementation supports 32-bit PCI IO
>> accesses, unfortunately they are truncated at the legacy 64K limit.
>>
>> Signed-off-by: Mark Cave-Ayland <
On 18/09/17 19:14, Peter Maydell wrote:
> On 18 September 2017 at 19:00, Peter Maydell wrote:
>> On 18 September 2017 at 18:55, John Snow wrote:
>>> On 09/16/2017 10:34 AM, Peter Maydell wrote:
Hi; I'm afraid this doesn't build with clang:
On 20/09/17 18:55, John Snow wrote:
> Guh. From which distro does your GCC 4.7 hail?
>
> Regardless, I suppose I will revert to Eric's workaround, though I like
> the way it reads an awful lot less.
Thanks John - it's just a standard Debian Wheezy installation on amd64.
ATB,
Mark.
On 20/09/17 20:41, John Snow wrote:
> Apparently GCC gets bent over comparing enum values against zero.
> Replace the conditional with something less readable.
>
> Signed-off-by: John Snow
> ---
> hw/ide/core.c | 2 +-
> include/hw/ide/internal.h | 3 +--
> 2
On 20/09/17 22:33, John Snow wrote:
> On 09/20/2017 05:28 PM, Mark Cave-Ayland wrote:
>> On 20/09/17 20:41, John Snow wrote:
>>
>>> Apparently GCC gets bent over comparing enum values against zero.
>>> Replace the conditional with something less readable.
>
On 13/09/17 14:03, Artyom Tarasenko wrote:
> Looks good to me, but networking is not my domain, so can only give Acked-by.
>
> Dmitry, Jason can you please take a look at it?
>
> Regards,
> Artyom
No further comments, so applied to my qemu-sparc branch.
ATB,
Mark.
On 13/09/17 13:54, Artyom Tarasenko wrote:
> On Fri, Sep 8, 2017 at 3:58 PM, Mark Cave-Ayland
> <mark.cave-ayl...@ilande.co.uk> wrote:
>> Signed-off-by: Mark Cave-Ayland <mark.cave-ayl...@ilande.co.uk>
>
> Reviewed-by: Artyom Tarasenko <atar4q...@gmail.com&
On 16/09/17 17:46, Peter Maydell wrote:
> This patchset converts a handful of old devices from the old_mmio
> fields in MemoryRegionOps. We don't have very many devices still
> using old_mmio, so it would be nice to get rid of the remainder
> and drop the field entirely at some point.
That
update dbdma_unassigned_rw() and dbdma_unassigned_flush() to
have the expected behaviour now that flush is handled slightly
differently.
Signed-off-by: Benjamin Herrenschmidt <b...@kernel.crashing.org>
Signed-off-by: Mark Cave-Ayland <mark.cave-ayl...@ilande.co.uk>
---
hw/misc/macio/
an issue since migration of
the Mac machines is fairly unreliable right now.
With many thanks to Howard Spoelstra over at emaculation for helping test
against a larger set of images than I currently have available myself.
Signed-off-by: Mark Cave-Ayland <mark.cave-ayl...@ilande.co.uk>
Be
From: Benjamin Herrenschmidt
The timing register exists on all variants of MacIO IDE, we just
store and return its value.
The interrupts register only exists on KeyLargo but it doesn't
hurt to have it. The lack of this register causes MacOS X to
hangs under some
Observation of the code shows indicates that several timer fields are
missing from the migration stream.
Signed-off-by: Mark Cave-Ayland <mark.cave-ayl...@ilande.co.uk>
---
hw/intc/openpic.c |9 ++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/hw/intc/openpic.
From: Benjamin Herrenschmidt
Some interrupts get triggered before the OS has setup the
right interrupt type. If an edge interrupt is latched that
way, not delivered (still masked), then the interrupt is
changed to level and isn't asserted anymore, it will be
stuck
Signed-off-by: Mark Cave-Ayland <mark.cave-ayl...@ilande.co.uk>
---
hw/ppc/mac_oldworld.c | 17 +++--
1 file changed, 15 insertions(+), 2 deletions(-)
diff --git a/hw/ppc/mac_oldworld.c b/hw/ppc/mac_oldworld.c
index fcac399..5d1171d 100644
--- a/hw/ppc/mac_oldworld.c
+++ b/
Signed-off-by: Mark Cave-Ayland <mark.cave-ayl...@ilande.co.uk>
---
hw/ide/macio.c | 154 +---
1 file changed, 56 insertions(+), 98 deletions(-)
diff --git a/hw/ide/macio.c b/hw/ide/macio.c
index db5db39..428fbfc 100644
--- a/hw/ide/m
From: Benjamin Herrenschmidt
Apple uses an IBM MPIC2A without timers, it has 64 sources.
Signed-off-by: Benjamin Herrenschmidt
---
hw/intc/openpic.c| 35 +++
hw/ppc/mac_newworld.c|2 +-
From: Benjamin Herrenschmidt
We use 900Mhz, otherwise MacOS X 10.5 refuses to install.
Signed-off-by: Benjamin Herrenschmidt
---
hw/ppc/mac_newworld.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
Whilst the underlying PCI bridge implementation supports 32-bit PCI IO
accesses, unfortunately they are truncated at the legacy 64K limit.
Signed-off-by: Mark Cave-Ayland <mark.cave-ayl...@ilande.co.uk>
---
hw/pci/pci_bridge.c |3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
:38:42 +0100)
qemu-sparc update
Mark Cave-Ayland (2):
net: add Sun HME (Happy Meal Ethernet) on-board NIC
sun4u: use sunhme as default on-board NIC
default
On 10/10/17 09:21, Artyom Tarasenko wrote:
> On Mon, Oct 9, 2017 at 11:06 PM, Mark Cave-Ayland
> <mark.cave-ayl...@ilande.co.uk> wrote:
>> This patchset aims to tidy-up the sparc32_dma code by improving the
>> modelling of the espdma/ledma devices using both QOM and the me
This is in preparation to allow the type to be used elsewhere.
Signed-off-by: Mark Cave-Ayland <mark.cave-ayl...@ilande.co.uk>
---
hw/dma/sun4m_iommu.c | 14 --
include/hw/sparc/sun4m.h | 16
2 files changed, 16 insertions(+), 14 deletions(-)
diff --gi
This makes it possible to reference the esp device from the espdma device as
required, and by wiring up the device ourselves in sun4m.c we can drop use
of the esp_init() function.
Signed-off-by: Mark Cave-Ayland <mark.cave-ayl...@ilande.co.uk>
---
hw/dma/sparc32_dma.c
Cave-Ayland <mark.cave-ayl...@ilande.co.uk>
Based-on: 1508004545-28578-1-git-send-email-mark.cave-ayl...@ilande.co.uk
([PATCHv2 00/13] sun4m: sparc32_dma tidy-ups)
Mark Cave-Ayland (3):
sun4m: implement IOMMU translation using IOMMU memory region
sparc32_dma: switch over to using IOMMU
With the switch to the IOMMU memory region and DMA API, this is no longer
required.
Signed-off-by: Mark Cave-Ayland <mark.cave-ayl...@ilande.co.uk>
---
hw/dma/sun4m_iommu.c | 33 -
include/hw/sparc/sun4m.h | 16
2 files chang
This is surprisingly useful when trying to debug DMA issues.
Signed-off-by: Mark Cave-Ayland <mark.cave-ayl...@ilande.co.uk>
---
hw/dma/sparc32_dma.c |8
hw/dma/trace-events |8
2 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/hw/dma/sparc32_dma.
This enables them to be used outside of lance.c.
Signed-off-by: Mark Cave-Ayland <mark.cave-ayl...@ilande.co.uk>
CC: Jason Wang <jasow...@redhat.com>
---
hw/net/lance.c |9 -
include/hw/sparc/sun4m.h | 13 +
2 files changed, 13 insertions(+),
time, allowing us to
drop the SPARC32_DMA_DEVICE realize function and the is_ledma device
property.
Signed-off-by: Mark Cave-Ayland <mark.cave-ayl...@ilande.co.uk>
---
hw/dma/sparc32_dma.c | 63 --
hw/sparc/sun4m.c |3 +--
2 files c
the code, and the code for wiring up
the espdma/ledma and respective devices is also a lot more readable.
Signed-off-by: Mark Cave-Ayland <mark.cave-ayl...@ilande.co.uk>
v2:
- Make esp/lance devices children of espdma/ledma devices respectively
- Add len parameter to ledma/espdma tracepoints
into the relevant SPARC32 DMA devices; there will be a final
refactoring of sparc32_dma_init() once this work is complete.
Signed-off-by: Mark Cave-Ayland <mark.cave-ayl...@ilande.co.uk>
---
hw/sparc/sun4m.c | 29 -
1 file changed, 16 insertions(+), 13 deletions(-)
diff
This enables us to remove the last remaining (opaque) qdev property. Whilst we
are here, also update iommu_init() to use TYPE_SUN4M_IOMMU instead of a
hardcoded string.
Signed-off-by: Mark Cave-Ayland <mark.cave-ayl...@ilande.co.uk>
---
hw/dma/sparc32_dma.c | 13 +
hw/sparc/s
Signed-off-by: Mark Cave-Ayland <mark.cave-ayl...@ilande.co.uk>
---
hw/dma/sun4m_iommu.c | 62 ++
include/hw/sparc/sun4m.h |5
2 files changed, 67 insertions(+)
diff --git a/hw/dma/sun4m_iommu.c b/hw/dma/sun4m_iommu.c
index 8
Signed-off-by: Mark Cave-Ayland <mark.cave-ayl...@ilande.co.uk>
---
hw/dma/sparc32_dma.c | 17 +++--
1 file changed, 11 insertions(+), 6 deletions(-)
diff --git a/hw/dma/sparc32_dma.c b/hw/dma/sparc32_dma.c
index fbb072a..5438831 100644
--- a/hw/dma/sparc32_dma.c
+++ b/
the code, and the code for wiring up
the espdma/ledma and respective devices is also a lot more readable.
Signed-off-by: Mark Cave-Ayland <mark.cave-ayl...@ilande.co.uk>
v3:
- Add missing sysbus.h include to esp.h in patch 7
v2:
- Make esp/lance devices children of espdma/ledma devices respec
into the relevant SPARC32 DMA devices; there will be a final
refactoring of sparc32_dma_init() once this work is complete.
Signed-off-by: Mark Cave-Ayland <mark.cave-ayl...@ilande.co.uk>
---
hw/sparc/sun4m.c | 29 -
1 file changed, 16 insertions(+), 13 deletions(-)
diff
Signed-off-by: Mark Cave-Ayland <mark.cave-ayl...@ilande.co.uk>
---
hw/dma/sparc32_dma.c | 34 --
include/hw/sparc/sparc32_dma.h | 37 +
2 files changed, 37 insertions(+), 34 deletions(-)
diff --git a/
and wire up the remaining board memory regions/IRQs.
Signed-off-by: Mark Cave-Ayland <mark.cave-ayl...@ilande.co.uk>
---
hw/dma/sparc32_dma.c | 70
hw/sparc/sun4m.c | 66 ++---
include/hw
This makes it possible to reference the esp device from the espdma device as
required, and by wiring up the device ourselves in sun4m.c we can drop use
of the esp_init() function.
Signed-off-by: Mark Cave-Ayland <mark.cave-ayl...@ilande.co.uk>
---
hw/dma/sparc32_dma.c
-after-57.html.
With the memory API we can now simply alias the incorrect access onto its
intended destination allowing us to remove the hack.
Signed-off-by: Mark Cave-Ayland <mark.cave-ayl...@ilande.co.uk>
---
hw/dma/sparc32_dma.c | 20 ++--
include/hw
This is in preparation to allow the type to be used elsewhere.
Signed-off-by: Mark Cave-Ayland <mark.cave-ayl...@ilande.co.uk>
---
hw/dma/sun4m_iommu.c | 14 --
include/hw/sparc/sun4m.h | 16
2 files changed, 16 insertions(+), 14 deletions(-)
diff --gi
time, allowing us to
drop the SPARC32_DMA_DEVICE realize function and the is_ledma device
property.
Signed-off-by: Mark Cave-Ayland <mark.cave-ayl...@ilande.co.uk>
---
hw/dma/sparc32_dma.c | 63 --
hw/sparc/sun4m.c |3 +--
2 files c
This enables us to remove the last remaining (opaque) qdev property. Whilst we
are here, also update iommu_init() to use TYPE_SUN4M_IOMMU instead of a
hardcoded string.
Signed-off-by: Mark Cave-Ayland <mark.cave-ayl...@ilande.co.uk>
---
hw/dma/sparc32_dma.c | 13 +
hw/sparc/s
Signed-off-by: Mark Cave-Ayland <mark.cave-ayl...@ilande.co.uk>
---
hw/dma/sparc32_dma.c | 34 --
include/hw/sparc/sparc32_dma.h | 37 +
2 files changed, 37 insertions(+), 34 deletions(-)
diff --git a/
Also update the function names to match as appropriate. While we're
here rename the type from sparc32_dma to sparc32-dma in order to
match the current QOM convention.
Signed-off-by: Mark Cave-Ayland <mark.cave-ayl...@ilande.co.uk>
---
hw/dma/sparc32_dma.c
This enables them to be used outside of esp.c.
Signed-off-by: Mark Cave-Ayland <mark.cave-ayl...@ilande.co.uk>
CC: Paolo Bonzini <pbonz...@redhat.com>
---
hw/scsi/esp.c | 13 -
include/hw/scsi/esp.h | 13 +
2 files changed, 13 insertions(+),
This is surprisingly useful when trying to debug DMA issues.
Signed-off-by: Mark Cave-Ayland <mark.cave-ayl...@ilande.co.uk>
---
hw/dma/sparc32_dma.c |8
hw/dma/trace-events |8
2 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/hw/dma/sparc32_dma.
and wire up the remaining board memory regions/IRQs.
Signed-off-by: Mark Cave-Ayland <mark.cave-ayl...@ilande.co.uk>
---
hw/dma/sparc32_dma.c | 70
hw/sparc/sun4m.c | 66 ++---
include/hw
-after-57.html.
With the memory API we can now simply alias the incorrect access onto its
intended destination allowing us to remove the hack.
Signed-off-by: Mark Cave-Ayland <mark.cave-ayl...@ilande.co.uk>
---
hw/dma/sparc32_dma.c | 20 ++--
include/hw
Also update the function names to match as appropriate. While we're
here rename the type from sparc32_dma to sparc32-dma in order to
match the current QOM convention.
Signed-off-by: Mark Cave-Ayland <mark.cave-ayl...@ilande.co.uk>
---
hw/dma/sparc32_dma.c
This enables them to be used outside of esp.c.
Signed-off-by: Mark Cave-Ayland <mark.cave-ayl...@ilande.co.uk>
CC: Paolo Bonzini <pbonz...@redhat.com>
---
hw/scsi/esp.c | 13 -
include/hw/scsi/esp.h | 14 ++
2 files changed, 14 insertions(+),
This makes it possible to reference the lance device from the ledma device as
required.
Signed-off-by: Mark Cave-Ayland <mark.cave-ayl...@ilande.co.uk>
---
hw/dma/sparc32_dma.c | 23 ++-
hw/sparc/sun4m.c
This enables them to be used outside of lance.c.
Signed-off-by: Mark Cave-Ayland <mark.cave-ayl...@ilande.co.uk>
CC: Jason Wang <jasow...@redhat.com>
---
hw/net/lance.c |9 -
include/hw/sparc/sun4m.h | 13 +
2 files changed, 13 insertions(+),
This makes it possible to reference the lance device from the ledma device as
required.
Signed-off-by: Mark Cave-Ayland <mark.cave-ayl...@ilande.co.uk>
---
hw/dma/sparc32_dma.c | 23 ++-
hw/sparc/sun4m.c
Cave-Ayland <mark.cave-ayl...@ilande.co.uk>
---
hw/sparc64/sun4u.c |4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/hw/sparc64/sun4u.c b/hw/sparc64/sun4u.c
index 2edd1cc..bf89252 100644
--- a/hw/sparc64/sun4u.c
+++ b/hw/sparc64/sun4u.c
@@ -490,10 +490,10 @@ stati
On 14/10/17 20:23, no-re...@patchew.org wrote:
> Hi,
>
> This series seems to have some coding style problems. See output below for
> more information:
>
> Type: series
> Message-id: 1508006342-5304-1-git-send-email-mark.cave-ayl...@ilande.co.uk
> Subject: [Qemu-devel] [PATCHv3 00/13] sun4m:
On 05/10/17 14:51, Igor Mammedov wrote:
> Signed-off-by: Igor Mammedov
> Reviewed-by: Philippe Mathieu-Daudé
> Tested-by: Philippe Mathieu-Daudé
> ---
> CC: mark.cave-ayl...@ilande.co.uk
> CC: atar4q...@gmail.com
> ---
> hw/sparc/sun4m.c
-> sparc_cpu_type_name()
Yeah, that's what I was fairly sure the outcome was but couldn't quite
see it in that patchset. In that case:
Acked-by: Mark Cave-Ayland <mark.cave-ayl...@ilande.co.uk>
ATB,
Mark.
-by: Mark Cave-Ayland <mark.cave-ayl...@ilande.co.uk>
Mark Cave-Ayland (2):
net: add Sun HME (Happy Meal Ethernet) on-board NIC
sun4u: use sunhme as default on-board NIC
default-configs/sparc64-softmmu.mak |1 +
hw/net/Makefile.objs|1 +
hw/net/su
Enable it by default for the sparc64-softmmu configuration.
Signed-off-by: Mark Cave-Ayland <mark.cave-ayl...@ilande.co.uk>
---
default-configs/sparc64-softmmu.mak |1 +
hw/net/Makefile.objs|1 +
hw/net/sunhme.c
Signed-off-by: Mark Cave-Ayland <mark.cave-ayl...@ilande.co.uk>
---
hw/sparc64/sun4u.c | 25 +
1 file changed, 21 insertions(+), 4 deletions(-)
diff --git a/hw/sparc64/sun4u.c b/hw/sparc64/sun4u.c
index 5e59269..c3280aa 100644
--- a/hw/sparc64/sun4u.c
+++ b/hw/s
On 06/09/17 04:16, David Gibson wrote:
> On Tue, Sep 05, 2017 at 11:13:43AM +1000, David Gibson wrote:
>> On Mon, Sep 04, 2017 at 07:39:38PM +0100, Mark Cave-Ayland wrote:
>>> From: Benjamin Herrenschmidt <b...@kernel.crashing.org>
>>>
>>> This adds a si
On 18/08/17 15:15, Mark Cave-Ayland wrote:
> Whilst trying to debug a CRC32 endian issue for NIC multicast hash lookups, it
> struck me that it would make sense to have a common set of standard ethernet
> CRC32 functions (both little and big endian variants) in net.c.
>
> The fi
)
Update OpenBIOS images
Mark Cave-Ayland (1):
Update OpenBIOS images to 314d4f8 built from submodule.
pc-bios/openbios-ppc | Bin 754936 -> 754936 bytes
pc-bios/openbios-sparc32 | Bin 382048 -> 382048
On 11/09/17 11:57, David Gibson wrote:
> On Sun, Sep 10, 2017 at 03:37:34PM +0100, Mark Cave-Ayland wrote:
>> This is referenced in cpu_ppc_handle_mmu_fault() and so should be included
>> in the migration stream.
>
> That is not, on its own, sufficient reason.
>
>>
On 11/09/17 11:48, David Gibson wrote:
> On Mon, Sep 11, 2017 at 10:30:33AM +0100, Dr. David Alan Gilbert wrote:
>> * Greg Kurz (gr...@kaod.org) wrote:
>>> On Sun, 10 Sep 2017 15:37:33 +0100
>>> Mark Cave-Ayland <mark.cave-ayl...@ilande.co.uk> wrote:
>>>
On 06/09/17 07:56, David Gibson wrote:
Applied to ppc-for-2.11.
>>>
>>> Until I discovered that it breaks compile with
>>> --enable-trace-backend=ust. So I've removed it again.
>>
>> Oh that's interesting. I've had --enable-trace-backend=simple as part of
>> my default build for a long
stants into sungem.c as required
- Switch to using tracepoints for debugging
- Split register blocks into separate memory regions
- Use arrays in SunGEMState to hold register values
- Add state-saving support
Signed-off-by: Benjamin Herrenschmidt <b...@kernel.crashing.org>
Signed-off-by: Mark
regions
- Use arrays in SunGEMState to hold register values
- Add state-saving support
Signed-off-by: Mark Cave-Ayland <mark.cave-ayl...@ilande.co.uk>
v2
- Fix tracepoints for trace backends outside of QEMU
- Introduce PCI_BASE_ADDRESS_SPACE_MEMORY instead of using the value 0 di
On 04/09/17 11:01, Yi Min Zhao wrote:
> I want to ask a question. According to the next patch, you check
> bus->devices[devfn]
> and reserved bit separately. Why not move the reserved bit check here?
> I think bus->devices[devfn] != NULL or revsered bit set means slot is
> unavailable.
Primarily
On 10/09/17 17:30, Laurent Vivier wrote:
> On 10/09/2017 16:37, Mark Cave-Ayland wrote:
>> This change was suggested by Alexey in advance of a subsequent commit which
>> adds access_type into vmstate_ppc_cpu.
>>
>> Signed-off-by: Mark Cave-Ayland <mark.cave-ayl...@i
.
Signed-off-by: Mark Cave-Ayland <mark.cave-ayl...@ilande.co.uk>
Mark Cave-Ayland (4):
ppc: change CPUPPCState access_type from int to uint8_t
ppc: add CPU IRQ state to PPC VMStateDescription
ppc: add CPU access_type into the migration stream
ppc: ensure we update the decrementer
initialisation which typically
corresponds to several seconds. Hence when restoring the image, the guest
would effectively "lose" decrementer interrupts during this time causing
confusion in the guest.
Signed-off-by: Mark Cave-Ayland <mark.cave-ayl...@ilande.co.uk>
---
target/ppc/
it we bump the vmstate_ppc version from 5 to 6 to handle
the additional fields.
Signed-off-by: Mark Cave-Ayland <mark.cave-ayl...@ilande.co.uk>
---
target/ppc/machine.c |6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/target/ppc/machine.c b/target/ppc/machine
This is referenced in cpu_ppc_handle_mmu_fault() and so should be included
in the migration stream.
Note: the vmstate_ppc version number has already been bumped by the previous
patch in this series.
Signed-off-by: Mark Cave-Ayland <mark.cave-ayl...@ilande.co.uk>
---
target/ppc/machine.c
This change was suggested by Alexey in advance of a subsequent commit which
adds access_type into vmstate_ppc_cpu.
Signed-off-by: Mark Cave-Ayland <mark.cave-ayl...@ilande.co.uk>
---
target/ppc/cpu.h |4 ++--
target/ppc/machine.c |4 +++-
2 files changed, 5 insertions(+), 3 del
On 12/09/17 17:21, Dr. David Alan Gilbert wrote:
>> Right, a subsection is certainly necessary to avoid breaking backwards
>> migration.
>>
>> But apart from that I want to understand better exactly why this is
>> necessary. What's the state that's being lost, and is it really not
>> recoverable
On 12/09/17 17:41, Mark Cave-Ayland wrote:
> The commit message mentions that prior to the conversion some CPU state
> was missing but it doesn't mention anything about dropping existing
> fields as part of the conversion process so I suspect that this was an
> accidental side-effec
On 24/09/17 16:43, Marcel Apfelbaum wrote:
> Hi Mark,
>
>>> Based on the commit message, I assume this change is guest-visible. If
>>> so, should it be made dependent on a compat property, so that it doesn't
>>> cause problems with migration?
>>
>> In order to enable 32-bit IO accesses the PCI
were accidentally left behind. Remove them, including the initialisation
in DBDMA_init().
Signed-off-by: Mark Cave-Ayland <mark.cave-ayl...@ilande.co.uk>
---
hw/misc/macio/mac_dbdma.c |2 --
include/hw/ppc/mac_dbdma.h |4
2 files changed, 6 deletions(-)
diff --git a/hw/misc
not apply to master but on top of David's
ppc-for-2.11 branch since there are merge conflicts with my previous
patchset. Hopefully the Based-On line below is enough to keep patchew
happy, even though it wasn't the final version applied to the ppc-for-2.11
branch.
Signed-off-by: Mark Cave-Ayland
One of the reasons macio_ide_register_dma() needs to exist is because the
channel id isn't passed into the MACIO_IDE object. Pass in the channel id
using a qdev property to remove this requirement.
Signed-off-by: Mark Cave-Ayland <mark.cave-ayl...@ilande.co.uk>
---
hw/ide/macio.c
Instead we can now instantiate the MAC_DBDMA object directly within the
macio device. We also add the DBDMA device as a child property so that
it is possible to retrieve later.
Signed-off-by: Mark Cave-Ayland <mark.cave-ayl...@ilande.co.uk>
---
hw/misc/macio/mac_dbdma.c
Using this we can change the MACIO_IDE instance to register the channel
itself via a type method instead of requiring a separate
DBDMA_register_channel() function.
As a consequence of this it is now possible to remove the old external
macio_ide_register_dma() function.
Signed-off-by: Mark Cave
Signed-off-by: Mark Cave-Ayland <mark.cave-ayl...@ilande.co.uk>
---
hw/misc/macio/mac_dbdma.c | 59
include/hw/ppc/mac_dbdma.h |6 +
2 files changed, 55 insertions(+), 10 deletions(-)
diff --git a/hw/misc/macio/mac_dbdma.c b/hw/misc
On 26/09/17 04:47, David Gibson wrote:
> On Sun, Sep 24, 2017 at 03:47:45PM +0100, Mark Cave-Ayland wrote:
>> Using this we can change the MACIO_IDE instance to register the channel
>> itself via a type method instead of requiring a separate
>> DBDMA_regist
Using a standard QOM object link we can pass a reference to the MAC_DBDMA
controller to the MACIO_IDE object which removes the last external parameter
to macio_ide_register_dma().
Signed-off-by: Mark Cave-Ayland <mark.cave-ayl...@ilande.co.uk>
---
hw/ide/macio.c|9 ++---
h
1101 - 1200 of 5574 matches
Mail list logo