RE: [Xen-ia64-devel] MINSTATE_PHYS?

2008-02-19 Thread Alex Williamson

On Mon, 2008-02-18 at 13:53 +0800, Zhang, Xiantao wrote:
 Hi, Alex
   What's your opinion about this cleanup patch ? Thanks

Hi Xiantao,

   It looks good to me.  I searched through the history to see where
MINSTATE_PHYS was used, and it appears to be a leftover from 2.4
support.  We should definitely try to clean these kinds of things out of
the tree and refresh files to match current upstream.  I'll need a
Sign-off if you want this in the main tree.  Thanks,

Alex

 Akio Takebe wrote:
  Hi, Eddie and Kaz
  
  I did a quick grep and find MINSTATE_PHYS is never defined in
  xenlinux. Xen mca code did. Anything missed?
  
  The minstate.h is a little old, it seems to be around linux-2.6.9.
  Current linux-xen is 2.6.18, so the code may be not nessesary.
  Kaz, do you know about it?
 
 Hi, Akio  all
   Attached the patch did some cleanups. Please review. 
 Xiantao

-- 
Alex Williamson HP Open Source  Linux Org.


___
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 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: long vhpt format for thash, ttag + tak

2008-02-19 Thread Alex Williamson

On Mon, 2008-02-18 at 07:25 +0100, [EMAIL PROTECTED] wrote:
 Hi,
 
 this patch add long vhpt format emulation for thash and ttag.  The hash
 algorithm is hard-coded so that it can also be written in asm in optvfault.S
 
 This patch also improve tak emulation and reformat tpa code.

   Applied.  Thanks,

Alex

-- 
Alex Williamson HP Open Source  Linux Org.


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


[Xen-ia64-devel] Re: PATCH[1/1]: Self IO Emulator

2008-02-19 Thread Alex Williamson

On Mon, 2008-02-18 at 07:11 +0100, [EMAIL PROTECTED] wrote:
 Hi,
 
 this patch fixes the previously reported issue: old macro name used in tools.

   Very cool.  I was able to get an sioemu domain running.  We probably
need to make sure there are ways to tell from the guest that it's
running under Xen (for instance the Xen PCI device on normal HVM
domains).  With the emulation of HP hardware in this firmware image, it
seems the only way to tell is the vendor ID string on the DSDT.  I look
forward to getting a NIC working and SMP support so we can compare it
directly to HVM.  Both patches applied.  Thanks,

Alex

-- 
Alex Williamson HP Open Source  Linux Org.


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


Re: [Xen-ia64-devel] [PATCH] Fix shadow_op_off hypercall

2008-02-19 Thread Alex Williamson

On Tue, 2008-02-19 at 10:35 +0900, Kouya Shimura wrote:
 a domain might panic with unknown dirty bit fault
 in case of live-migration failure.

   Applied.  Thanks,

Alex

-- 
Alex Williamson HP Open Source  Linux Org.


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


Re: [Xen-ia64-devel] PATCH: avoid wild use of registers in guest_vhpt_lookup

2008-02-19 Thread Alex Williamson

On Mon, 2008-02-18 at 07:27 +0100, [EMAIL PROTECTED] wrote:
 Hi,
 
 this patch avoids wild use of registers (r9,p6,p7) in guest_vhpt_lookup.

   Applied.  Thanks,

Alex

-- 
Alex Williamson HP Open Source  Linux Org.


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


Re: [Xen-ia64-devel] [PATCH] Fix getvcpucontext hypercall

2008-02-19 Thread Alex Williamson

On Tue, 2008-02-19 at 13:21 +0900, Kouya Shimura wrote:
 NaT bits for r1-r31 from xc_vcpu_getcontext() are broken.
 HVM domain is confused by unknown Nat consumption fault
 after domain restore or migration.

   Applied.  Thanks,

Alex

-- 
Alex Williamson HP Open Source  Linux Org.


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


[Xen-ia64-devel] Please pull ia64 trees

2008-02-19 Thread Alex Williamson
Hi Keir,

   Please pull the ia64 trees:

http://xenbits.xensource.com/ext/ia64/xen-unstable.hg
http://xenbits.xensource.com/ext/ia64/linux-2.6.18-xen.hg

This includes PV and HVM live migration fixes (Kouya Shimura), PV-on-HVM
driver fixes (Isaku Yamahata), support for a new Self IO EMUlator
(sioemu) domain type (Tristan Gingold), and various other fixes and
cleanups.  I've also removed Solarflare from the ia64 default
buildconfigs as it doesn't currently build.  Thanks,

Alex

-- 
Alex Williamson HP Open Source  Linux Org.


___
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

Re: [Xen-ia64-devel] Open GFW for RHEL release.

2008-02-19 Thread Tristan Gingold
On Tue, Feb 19, 2008 at 09:44:36AM -0800, Yang, Fred wrote:
 Tristan,
 
 To get Open GFW into RHEL official release, Open GFW needs to do 
 
 1. An official release - a proper versioned formal release of GFW.  A
 self-contained tar.gz for all the sources for RHEL to pull

That's doable!

 2. Simplified way to build Open GFW - RHEL is using rpm mechanism; EDK
 by itself is quite different rpm and not easy to be folded into standard
 build process.  Any way to simplify this?

Tianocore is changing its build mechanism.  The new one is mostly python based
and therefore should be much much easier to use.
However it is not yet fully released and we still have to synch our GFW with
the head.

I don't really know when the new Tianocore build will be released.

So, should we do 1. without 2. ?

Tristan.

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


[Xen-ia64-devel] [PATCH][Open GFW] Remove annoying debug messages on a serial console

2008-02-19 Thread Kouya Shimura
Hi Tristan,

Current Open GFW outputs much debug messages on a serial console.
They are helpful for a developer, but users are annoyed.
This patch disables debug print.

Thanks,
Kouya

Signed-off-by: Kouya Shimura [EMAIL PROTECTED]

# HG changeset patch
# User Kouya Shimura [EMAIL PROTECTED]
# Date 1203492386 -32400
# Node ID f1d4e4138173f0a08379a132df68af03158f5a3a
# Parent  af07583dad37252d1469bc72043e90bdcafe304f
Remove annoying debug messages on a serial console.

Signed-off-by: Kouya Shimura [EMAIL PROTECTED]

diff -r af07583dad37 -r f1d4e4138173 edk2-sparse/EdkXenPkg/Xen-Ipf.fpd
--- a/edk2-sparse/EdkXenPkg/Xen-Ipf.fpd Wed Feb 20 10:03:59 2008 +0800
+++ b/edk2-sparse/EdkXenPkg/Xen-Ipf.fpd Wed Feb 20 16:26:26 2008 +0900
@@ -161,7 +161,7 @@ EXPRESS OR IMPLIED/License
   TokenSpaceGuidCNamegEfiMdePkgTokenSpaceGuid/TokenSpaceGuidCName
   DatumTypeUINT8/DatumType
   MaxDatumSize1/MaxDatumSize
-  Value0x0f/Value
+  Value0x01/Value
 /PcdData
 PcdData ItemType=FIXED_AT_BUILD
   C_NamePcdDebugClearMemoryValue/C_Name
@@ -270,7 +270,7 @@ EXPRESS OR IMPLIED/License
   TokenSpaceGuidCNamegEfiMdePkgTokenSpaceGuid/TokenSpaceGuidCName
   DatumTypeUINT8/DatumType
   MaxDatumSize1/MaxDatumSize
-  Value0x0f/Value
+  Value0x01/Value
 /PcdData
 PcdData ItemType=FIXED_AT_BUILD
   C_NamePcdDebugClearMemoryValue/C_Name
@@ -369,7 +369,7 @@ EXPRESS OR IMPLIED/License
   TokenSpaceGuidCNamegEfiMdePkgTokenSpaceGuid/TokenSpaceGuidCName
   DatumTypeUINT8/DatumType
   MaxDatumSize1/MaxDatumSize
-  Value0x3f/Value
+  Value0x31/Value
 /PcdData
 PcdData ItemType=FIXED_AT_BUILD
   C_NamePcdDebugClearMemoryValue/C_Name
@@ -3207,7 +3207,7 @@ EXPRESS OR IMPLIED/License
   TokenSpaceGuidCNamegEfiMdePkgTokenSpaceGuid/TokenSpaceGuidCName
   DatumTypeUINT8/DatumType
   MaxDatumSize1/MaxDatumSize
-  Value0x0f/Value
+  Value0x01/Value
 /PcdData
 PcdData ItemType=FIXED_AT_BUILD
   C_NamePcdDebugClearMemoryValue/C_Name
@@ -3762,7 +3762,7 @@ EXPRESS OR IMPLIED/License
   TokenSpaceGuidCNamegEfiMdePkgTokenSpaceGuid/TokenSpaceGuidCName
   DatumTypeUINT8/DatumType
   MaxDatumSize1/MaxDatumSize
-  Value0x0f/Value
+  Value0x01/Value
 /PcdData
 PcdData ItemType=FIXED_AT_BUILD
   C_NamePcdDebugClearMemoryValue/C_Name
___
Xen-ia64-devel mailing list
Xen-ia64-devel@lists.xensource.com
http://lists.xensource.com/xen-ia64-devel