Yang, Xiaowei
2006-Jul-17 10:36 UTC
[Xen-devel] [Patch] Fix cirrus and rt8139 co-exist issue
Keir, This patch fixes cirrus and rt8139 co-exist issue in new qemu-dm. The root cause is that if two MMIO spaces are continuous, qemu may misuse last MMIO space''s read/write to handle current request. Thanks, Xiaowei Signed-off-by: Yang Xiaowei <xiaowei.yang@intel.com> diff -r ecb8ff1fcf1f tools/ioemu/target-i386-dm/exec-dm.c --- a/tools/ioemu/target-i386-dm/exec-dm.c Fri Jul 14 17:53:27 2006 +++ b/tools/ioemu/target-i386-dm/exec-dm.c Mon Jul 17 17:55:34 2006 @@ -382,7 +385,7 @@ start = mmio[i].start; end = mmio[i].start + mmio[i].size; - if ((addr >= start) && (addr <= end)){ + if ((addr >= start) && (addr < end)){ return (mmio[i].io_index >> IO_MEM_SHIFT) & (IO_MEM_NB_ENTRIES - 1); } } _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Yang, Xiaowei
2006-Jul-26 03:23 UTC
[Xen-devel] RE: [Patch] Fix cirrus and rt8139 co-exist issue
>This patch fixes cirrus and rt8139 co-exist issue in new qemu-dm. The >root cause is that if two MMIO spaces are continuous, qemu may misuse >last MMIO space''s read/write to handle current request. >Keir, This is a critical patch to make network and display workable in new qemu -dm. Please apply it. Thanks, Xiaowei _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Keir Fraser
2006-Jul-26 07:13 UTC
[Xen-devel] Re: [Patch] Fix cirrus and rt8139 co-exist issue
On 26 Jul 2006, at 04:23, Yang, Xiaowei wrote:>> This patch fixes cirrus and rt8139 co-exist issue in new qemu-dm. The >> root cause is that if two MMIO spaces are continuous, qemu may misuse >> last MMIO space''s read/write to handle current request. >> > > Keir, > This is a critical patch to make network and display workable in new > qemu -dm. Please apply it. > > Thanks, > XiaoweiChristian Limpach is maintaining the qemu codebase now. There are a couple of outstanding patches that I think he''ll be checking in today. -- Keir _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Christian Limpach
2006-Jul-26 10:48 UTC
Re: [Xen-devel] RE: [Patch] Fix cirrus and rt8139 co-exist issue
On 7/26/06, Yang, Xiaowei <xiaowei.yang@intel.com> wrote:> >This patch fixes cirrus and rt8139 co-exist issue in new qemu-dm. The > >root cause is that if two MMIO spaces are continuous, qemu may misuse > >last MMIO space''s read/write to handle current request. > > > > Keir, > This is a critical patch to make network and display workable in new > qemu -dm. Please apply it.Applied, thanks! christian _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Possibly Parallel Threads
- qemu-dm: unregister_iomem() broken?
- [PATCH][VT] Multithread IDE device model ( was: RE: [PATCH]Make IDE dma tranfer run in another thread inqemu)
- [PATCH] Move ACPI timer to HV
- [PATCH] the ac->ac_allow_chain_relink=0 won't disable group relink
- rsync error: partial transfer (code 23) at main.c(578)