qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [RESEND][PATCH for 1.2] i82378: Remove bogus MMIO coalescing
@ 2012-08-17 10:56 Jan Kiszka
  2012-08-17 11:13 ` Michael Tokarev
  2012-08-17 16:20 ` [Qemu-devel] [RESEND][PATCH for-1.2] " Andreas Färber
  0 siblings, 2 replies; 4+ messages in thread
From: Jan Kiszka @ 2012-08-17 10:56 UTC (permalink / raw)
  To: Anthony Liguori; +Cc: Hervé Poussineau, qemu-devel

This MMIO area is an entry gate to legacy PC ISA devices, addressed via
PIO over there. Quite a few of the PIO ports have side effects on access
like starting/stopping timers that must be executed properly ordered
/wrt the CPU. So we have to remove the coalescing mark.

Acked-by: Hervé Poussineau <hpoussin@reactos.org>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---
 hw/i82378.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/hw/i82378.c b/hw/i82378.c
index 9b11d90..2123c14 100644
--- a/hw/i82378.c
+++ b/hw/i82378.c
@@ -225,7 +225,6 @@ static int pci_i82378_init(PCIDevice *dev)
     pci_register_bar(dev, 0, PCI_BASE_ADDRESS_SPACE_MEMORY, &s->io);
 
     memory_region_init_io(&s->mem, &i82378_mem_ops, s, "i82378-mem", 0x01000000);
-    memory_region_set_coalescing(&s->mem);
     pci_register_bar(dev, 1, PCI_BASE_ADDRESS_SPACE_MEMORY, &s->mem);
 
     /* Make I/O address read only */
-- 
1.7.3.4

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [Qemu-devel] [RESEND][PATCH for 1.2] i82378: Remove bogus MMIO coalescing
  2012-08-17 10:56 [Qemu-devel] [RESEND][PATCH for 1.2] i82378: Remove bogus MMIO coalescing Jan Kiszka
@ 2012-08-17 11:13 ` Michael Tokarev
  2012-08-17 12:17   ` Jan Kiszka
  2012-08-17 16:20 ` [Qemu-devel] [RESEND][PATCH for-1.2] " Andreas Färber
  1 sibling, 1 reply; 4+ messages in thread
From: Michael Tokarev @ 2012-08-17 11:13 UTC (permalink / raw)
  To: Jan Kiszka; +Cc: Anthony Liguori, Hervé Poussineau, qemu-devel

On 17.08.2012 14:56, Jan Kiszka wrote:
> This MMIO area is an entry gate to legacy PC ISA devices, addressed via
> PIO over there. Quite a few of the PIO ports have side effects on access
> like starting/stopping timers that must be executed properly ordered
> /wrt the CPU. So we have to remove the coalescing mark.

This appears to be 1.1-stable material right?

Thanks,

/mjt

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Qemu-devel] [RESEND][PATCH for 1.2] i82378: Remove bogus MMIO coalescing
  2012-08-17 11:13 ` Michael Tokarev
@ 2012-08-17 12:17   ` Jan Kiszka
  0 siblings, 0 replies; 4+ messages in thread
From: Jan Kiszka @ 2012-08-17 12:17 UTC (permalink / raw)
  To: Michael Tokarev
  Cc: Anthony Liguori, Hervé Poussineau, qemu-devel, qemu-stable

On 2012-08-17 13:13, Michael Tokarev wrote:
> On 17.08.2012 14:56, Jan Kiszka wrote:
>> This MMIO area is an entry gate to legacy PC ISA devices, addressed via
>> PIO over there. Quite a few of the PIO ports have side effects on access
>> like starting/stopping timers that must be executed properly ordered
>> /wrt the CPU. So we have to remove the coalescing mark.
> 
> This appears to be 1.1-stable material right?
> 

True, adding qemu-stable.

Jan

-- 
Siemens AG, Corporate Technology, CT RTC ITP SDP-DE
Corporate Competence Center Embedded Linux

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Qemu-devel] [RESEND][PATCH for-1.2] i82378: Remove bogus MMIO coalescing
  2012-08-17 10:56 [Qemu-devel] [RESEND][PATCH for 1.2] i82378: Remove bogus MMIO coalescing Jan Kiszka
  2012-08-17 11:13 ` Michael Tokarev
@ 2012-08-17 16:20 ` Andreas Färber
  1 sibling, 0 replies; 4+ messages in thread
From: Andreas Färber @ 2012-08-17 16:20 UTC (permalink / raw)
  To: Jan Kiszka, Anthony Liguori
  Cc: qemu-ppc, Anthony Liguori, Hervé Poussineau, qemu-devel,
	qemu-stable

Am 17.08.2012 12:56, schrieb Jan Kiszka:
> This MMIO area is an entry gate to legacy PC ISA devices, addressed via
> PIO over there. Quite a few of the PIO ports have side effects on access
> like starting/stopping timers that must be executed properly ordered
> /wrt the CPU. So we have to remove the coalescing mark.
> 
> Acked-by: Hervé Poussineau <hpoussin@reactos.org>

(I would expect this to go under the SoB, documenting the chronological
order...)

> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>

I had consented to this fix and expected it to go in alongside the
series this came in (kvm/uq-master?).

Anthony, do you want a prep PULL for this now? Otherwise explicitly:

Acked-by: Andreas Färber <andreas.faerber@web.de>

Regards,
Andreas

> ---
>  hw/i82378.c |    1 -
>  1 files changed, 0 insertions(+), 1 deletions(-)
> 
> diff --git a/hw/i82378.c b/hw/i82378.c
> index 9b11d90..2123c14 100644
> --- a/hw/i82378.c
> +++ b/hw/i82378.c
> @@ -225,7 +225,6 @@ static int pci_i82378_init(PCIDevice *dev)
>      pci_register_bar(dev, 0, PCI_BASE_ADDRESS_SPACE_MEMORY, &s->io);
>  
>      memory_region_init_io(&s->mem, &i82378_mem_ops, s, "i82378-mem", 0x01000000);
> -    memory_region_set_coalescing(&s->mem);
>      pci_register_bar(dev, 1, PCI_BASE_ADDRESS_SPACE_MEMORY, &s->mem);
>  
>      /* Make I/O address read only */
> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-08-17 16:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-17 10:56 [Qemu-devel] [RESEND][PATCH for 1.2] i82378: Remove bogus MMIO coalescing Jan Kiszka
2012-08-17 11:13 ` Michael Tokarev
2012-08-17 12:17   ` Jan Kiszka
2012-08-17 16:20 ` [Qemu-devel] [RESEND][PATCH for-1.2] " Andreas Färber

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).