[Xen-ia64-devel] RE: [PATCH] [Open GFW] Only use irq 10 and 11 for pci use.

2008-02-19 Thread tgingold
Quoting Zhang, Xiantao [EMAIL PROTECTED]:

 Tristan Gingold wrote:
  On Tue, Dec 25, 2007 at 03:22:37PM +0800, Zhang, Xiantao wrote:
  Hi Tristan,
  This patch fixes possible failures on windows boot in some
  environment. Since current piix3 and piix4 in qemu only uses irq 10
  and irq 11 for pci irqs, so here don't need to assign irq 5 and irq
  6 for this purpose. IRQ 6 may conflict with the irq of legacy floppy
  disk controllers.
 
  Hi,
 
  I was about to commit this patch, but  shouldn't
   EdkQemuPkg/Pei/BochsPciScan/BochsPciScan.c
  be updated too ?

 Yes. Sure to change.  Maybe we need to consolidate these two definitions
 to one.  Do you know how to ?

Hi,

old issue...  If you can send me a changeset that changes both BochsPciScan
and build.c I will be happy to apply it.

Tristan.

___
Xen-ia64-devel mailing list
Xen-ia64-devel@lists.xensource.com
http://lists.xensource.com/xen-ia64-devel


[Xen-ia64-devel] RE: [PATCH] [Open GFW] Only use irq 10 and 11 for pci use.

2008-02-19 Thread Zhang, Xiantao
 Hi, Tristan
Thank you! Attached. 
Xiantao

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: 2008年2月20日 0:40
To: Zhang, Xiantao
Cc: Tristan Gingold; xen-ia64-devel
Subject: RE: [PATCH] [Open GFW] Only use irq 10 and 11 for pci use.

Quoting Zhang, Xiantao [EMAIL PROTECTED]:

 Tristan Gingold wrote:
  On Tue, Dec 25, 2007 at 03:22:37PM +0800, Zhang, Xiantao wrote:
  Hi Tristan,
  This patch fixes possible failures on windows boot in some
  environment. Since current piix3 and piix4 in qemu only uses irq 10
  and irq 11 for pci irqs, so here don't need to assign irq 5 and irq
  6 for this purpose. IRQ 6 may conflict with the irq of legacy floppy
  disk controllers.
 
  Hi,
 
  I was about to commit this patch, but  shouldn't
   EdkQemuPkg/Pei/BochsPciScan/BochsPciScan.c
  be updated too ?

 Yes. Sure to change.  Maybe we need to consolidate these two definitions
 to one.  Do you know how to ?

Hi,

old issue...  If you can send me a changeset that changes both BochsPciScan
and build.c I will be happy to apply it.

Tristan.


Diff
Description: Diff
___
Xen-ia64-devel mailing list
Xen-ia64-devel@lists.xensource.com
http://lists.xensource.com/xen-ia64-devel

[Xen-ia64-devel] Re: [PATCH] [Open GFW] Only use irq 10 and 11 for pci use.

2008-01-10 Thread Tristan Gingold
On Tue, Dec 25, 2007 at 03:22:37PM +0800, Zhang, Xiantao wrote:
 Hi Tristan, 
 This patch fixes possible failures on windows boot in some environment. 
 Since current piix3 and piix4 in qemu only uses irq 10 and irq 11 for
 pci irqs, so
 here don't need to assign irq 5 and irq 6 for this purpose. IRQ 6 may
 conflict
 with the irq of legacy floppy disk controllers. 

Hi,

I was about to commit this patch, but  shouldn't 
 EdkQemuPkg/Pei/BochsPciScan/BochsPciScan.c
be updated too ?

Tristan.

___
Xen-ia64-devel mailing list
Xen-ia64-devel@lists.xensource.com
http://lists.xensource.com/xen-ia64-devel


[Xen-ia64-devel] RE: [PATCH] [Open GFW] Only use irq 10 and 11 for pci use.

2008-01-10 Thread Zhang, Xiantao
Tristan Gingold wrote:
 On Tue, Dec 25, 2007 at 03:22:37PM +0800, Zhang, Xiantao wrote:
 Hi Tristan,
 This patch fixes possible failures on windows boot in some
 environment. Since current piix3 and piix4 in qemu only uses irq 10
 and irq 11 for pci irqs, so here don't need to assign irq 5 and irq
 6 for this purpose. IRQ 6 may conflict with the irq of legacy floppy
 disk controllers. 
 
 Hi,
 
 I was about to commit this patch, but  shouldn't
  EdkQemuPkg/Pei/BochsPciScan/BochsPciScan.c
 be updated too ?

Yes. Sure to change.  Maybe we need to consolidate these two definitions
to one.  Do you know how to ?
Thanks 
Xiantao

___
Xen-ia64-devel mailing list
Xen-ia64-devel@lists.xensource.com
http://lists.xensource.com/xen-ia64-devel


[Xen-ia64-devel] RE: [PATCH] [Open GFW] Only use irq 10 and 11 for pci use.

2007-12-27 Thread Zhang, Xiantao
Tristan Gingold wrote:
 On Tue, Dec 25, 2007 at 03:22:37PM +0800, Zhang, Xiantao wrote:
 Hi Tristan,
 This patch fixes possible failures on windows boot in some
 environment. Since current piix3 and piix4 in qemu only uses irq 10
 and irq 11 for pci irqs, so here don't need to assign irq 5 and irq
 6 for this purpose. IRQ 6 may conflict with the irq of legacy floppy
 disk controllers. 
 
 I fear that with only 2 bits set, only INTA and INTB will be set.
 However from piix_pci-dm.c, it appears we don't really use INTA/D
 mapping. 
 Am I right ?
Yes, you are right. Seems all pci device should get an irq 16 from the
algorithm. But for KVM, we also need to use assigned irqs for
INTA-INTD.  But irq 6 shouldn't use for this purpose,  it may confilicts
with floppy disk controller. 
Xiantao 



___
Xen-ia64-devel mailing list
Xen-ia64-devel@lists.xensource.com
http://lists.xensource.com/xen-ia64-devel


[Xen-ia64-devel] Re: [PATCH] [Open GFW] Only use irq 10 and 11 for pci use.

2007-12-26 Thread Tristan Gingold
On Tue, Dec 25, 2007 at 03:22:37PM +0800, Zhang, Xiantao wrote:
 Hi Tristan, 
 This patch fixes possible failures on windows boot in some environment. 
 Since current piix3 and piix4 in qemu only uses irq 10 and irq 11 for
 pci irqs, so
 here don't need to assign irq 5 and irq 6 for this purpose. IRQ 6 may
 conflict
 with the irq of legacy floppy disk controllers. 

I fear that with only 2 bits set, only INTA and INTB will be set.
However from piix_pci-dm.c, it appears we don't really use INTA/D mapping.

Am I right ?

Tristan.

___
Xen-ia64-devel mailing list
Xen-ia64-devel@lists.xensource.com
http://lists.xensource.com/xen-ia64-devel