[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[XenPPC] linux changes



I accidentally dropped the email that posted these changes.
if you update Xen you need to update your linux, a reconfig may be
necessary.

All these changes will allow you to use the xen management tools to
almost create a fully operation domu :)

more to come.

searching for changes
changeset:   30722:beb0d4d885b9aa9be005ef36c5736fa4588744bf
user:        Jimi Xenidis <jimix@xxxxxxxxxxxxxx>
date:        Thu Jul 13 11:32:25 2006 -0400
files:       drivers/xen/core/xencomm.c
description:
[ppc] handle the case where buffer is NULL but size is non-zero

Signed-off-by: Jimi Xenidis <jimix@xxxxxxxxxxxxxx>


diff -r 72c8bc5d88f4e77061f474be51d94709d730bb52 -r 
beb0d4d885b9aa9be005ef36c5736fa4588744bf drivers/xen/core/xencomm.c
--- a/drivers/xen/core/xencomm.c        Thu Jun 29 13:04:30 2006 -0400
+++ b/drivers/xen/core/xencomm.c        Thu Jul 13 11:32:25 2006 -0400
@@ -60,34 +60,37 @@ static int __xencomm_init(struct xencomm
        int i = 0;
 
        /* record the physical pages used */
-       while ((recorded < bytes) && (i < desc->nr_addrs)) {
-               unsigned long vaddr = (unsigned long)buffer + recorded;
-               unsigned long paddr;
-               int offset;
-               int chunksz;
+       if (buffer) {
+               while ((recorded < bytes) && (i < desc->nr_addrs)) {
+                       unsigned long vaddr = (unsigned long)buffer + recorded;
+                       unsigned long paddr;
+                       int offset;
+                       int chunksz;
 
-               offset = vaddr % PAGE_SIZE; /* handle partial pages */
-               chunksz = min(PAGE_SIZE - offset, bytes - recorded);
+                       offset = vaddr % PAGE_SIZE; /* handle partial pages */
+                       chunksz = min(PAGE_SIZE - offset, bytes - recorded);
 
-               paddr = to_phys(vaddr);
-               if (paddr == ~0UL) {
-                       printk("%s: couldn't translate vaddr %lx\n", __func__, 
vaddr);
-                       return -EINVAL;
+                       paddr = to_phys(vaddr);
+                       if (paddr == ~0UL) {
+                               printk("%s: couldn't translate vaddr %lx\n",
+                                      __func__, vaddr);
+                               return -EINVAL;
+                       }
+
+                       desc->address[i++] = paddr;
+                       recorded += chunksz;
                }
 
-               desc->address[i++] = paddr;
-               recorded += chunksz;
+               if (recorded < bytes) {
+                       printk("%s: could only translate %ld of %ld bytes\n",
+                              __func__, recorded, bytes);
+                       return -ENOSPC;
+               }
        }
 
        /* mark remaining addresses invalid (just for safety) */
        while (i < desc->nr_addrs)
                desc->address[i++] = XENCOMM_INVALID;
-
-       if (recorded < bytes) {
-               printk("%s: could only translate %ld of %ld bytes\n", __func__,
-                               recorded, bytes);
-               return -ENOSPC;
-       }
 
        desc->magic = XENCOMM_MAGIC;
 

changeset:   30723:eab3a93143f1dfa4cca2ca06dc442e992f5c531a
user:        Jimi Xenidis <jimix@xxxxxxxxxxxxxx>
date:        Thu Jul 13 11:33:07 2006 -0400
files:       include/xen/interface/version.h
description:
[ppc] New interface that has not made it to the hg tree yet


diff -r beb0d4d885b9aa9be005ef36c5736fa4588744bf -r 
eab3a93143f1dfa4cca2ca06dc442e992f5c531a include/xen/interface/version.h
--- a/include/xen/interface/version.h   Thu Jul 13 11:32:25 2006 -0400
+++ b/include/xen/interface/version.h   Thu Jul 13 11:33:07 2006 -0400
@@ -54,6 +54,9 @@ typedef struct xen_feature_info xen_feat
 /* Declares the features reported by XENVER_get_features. */
 #include "features.h"
 
+/* arg == NULL; returns host memory page size. */
+#define XENVER_pagesize 7
+
 #endif /* __XEN_PUBLIC_VERSION_H__ */
 
 /*

changeset:   30724:6e771b2212c7ca89129aae9f315a62f41415098c
user:        Jimi Xenidis <jimix@xxxxxxxxxxxxxx>
date:        Thu Jul 13 11:35:19 2006 -0400
files:       arch/powerpc/platforms/xen/hcall.c
description:
[ppc] handle some new hcalls

Signed-off-by: Jimi Xenidis <jimix@xxxxxxxxxxxxxx>


diff -r eab3a93143f1dfa4cca2ca06dc442e992f5c531a -r 
6e771b2212c7ca89129aae9f315a62f41415098c arch/powerpc/platforms/xen/hcall.c
--- a/arch/powerpc/platforms/xen/hcall.c        Thu Jul 13 11:33:07 2006 -0400
+++ b/arch/powerpc/platforms/xen/hcall.c        Thu Jul 13 11:35:19 2006 -0400
@@ -75,7 +75,8 @@ int HYPERVISOR_xen_version(int cmd, void
 
        switch (cmd) {
        case XENVER_version:
-               return plpar_hcall_norets(XEN_MARK(hcall), cmd);
+               /* do not actually pass an argument */
+               return plpar_hcall_norets(XEN_MARK(hcall), cmd, 0);
        case XENVER_extraversion:
                argsize = sizeof(xen_extraversion_t);
                break;
@@ -91,6 +92,10 @@ int HYPERVISOR_xen_version(int cmd, void
        case XENVER_platform_parameters:
                argsize = sizeof(xen_platform_parameters_t);
                break;
+       case XENVER_pagesize:
+               argsize = sizeof(void *);
+               break;
+
        default:
                printk("%s: unknown version cmd %d\n", __func__, cmd);
                return -ENOSYS;
@@ -448,6 +453,9 @@ int arch_privcmd_hypercall(privcmd_hyper
                return xenppc_privcmd_event_channel_op(hypercall);
        default:
                printk("%s: unknown hcall (%ld)\n", __func__, hypercall->op);
+               /* fallthru */
+               /* below are the hcalls we know will fail and its ok */
+        case __HYPERVISOR_acm_op:
                return plpar_hcall_norets(XEN_MARK(hypercall->op),
                                hypercall->arg[0],
                                hypercall->arg[1],

changeset:   30725:dd6f9da2ed0bcf52deb9f48e24ae56b470e1afc6
user:        Jimi Xenidis <jimix@xxxxxxxxxxxxxx>
date:        Thu Jul 13 11:40:56 2006 -0400
files:       arch/powerpc/Kconfig.debug arch/powerpc/kernel/udbg.c 
arch/powerpc/platforms/xen/setup.c arch/powerpc/platforms/xen/udbg_xen.c 
include/asm-powerpc/udbg.h
description:
[ppc] add Dom0 and DomU logic for _very_ early prints

This is for bring up developers only.  Setting this will no longer let
the single binary work as both Dom0 and DomU.

Signed-off-by: Jimi Xenidis <jimix@xxxxxxxxxxxxxx>


diff -r 6e771b2212c7ca89129aae9f315a62f41415098c -r 
dd6f9da2ed0bcf52deb9f48e24ae56b470e1afc6 arch/powerpc/Kconfig.debug
--- a/arch/powerpc/Kconfig.debug        Thu Jul 13 11:35:19 2006 -0400
+++ b/arch/powerpc/Kconfig.debug        Thu Jul 13 11:40:56 2006 -0400
@@ -153,6 +153,18 @@ config PPC_EARLY_DEBUG_ISERIES
          Select this to enable early debugging for legacy iSeries. You need
          to hit "Ctrl-x Ctrl-x" to see the messages on the console.
 
+config PPC_EARLY_DEBUG_XEN_DOM0
+       bool "Xen Dom0 Console"
+       depends on PPC_XEN
+       help
+         Select this to enable early debugging for Xen Dom0.
+
+config PPC_EARLY_DEBUG_XEN_DOMU
+       bool "Xen DomU Console"
+       depends on PPC_XEN && XEN_UNPRIVILEGED_GUEST
+       help
+         Select this to enable early debugging for Xen DomU.
+
 endchoice
 
 endmenu
diff -r 6e771b2212c7ca89129aae9f315a62f41415098c -r 
dd6f9da2ed0bcf52deb9f48e24ae56b470e1afc6 arch/powerpc/kernel/udbg.c
--- a/arch/powerpc/kernel/udbg.c        Thu Jul 13 11:35:19 2006 -0400
+++ b/arch/powerpc/kernel/udbg.c        Thu Jul 13 11:40:56 2006 -0400
@@ -43,6 +43,9 @@ void __init udbg_early_init(void)
 #elif defined(CONFIG_PPC_EARLY_DEBUG_ISERIES)
        /* For iSeries - hit Ctrl-x Ctrl-x to see the output */
        udbg_init_iseries();
+#elif defined(CONFIG_PPC_EARLY_DEBUG_XEN_DOM0) || \
+       defined(CONFIG_PPC_EARLY_DEBUG_XEN_DOMU)
+       udbg_init_xen();
 #endif
 }
 
diff -r 6e771b2212c7ca89129aae9f315a62f41415098c -r 
dd6f9da2ed0bcf52deb9f48e24ae56b470e1afc6 arch/powerpc/platforms/xen/setup.c
--- a/arch/powerpc/platforms/xen/setup.c        Thu Jul 13 11:35:19 2006 -0400
+++ b/arch/powerpc/platforms/xen/setup.c        Thu Jul 13 11:40:56 2006 -0400
@@ -34,7 +34,6 @@ static int is_dom0;
 
 extern struct machdep_calls mach_maple_md;
 extern void maple_pci_init(void);
-extern void xen_init_udbg(int);
 
 int direct_remap_pfn_range(struct vm_area_struct *vma,
                unsigned long address, 
@@ -98,8 +97,7 @@ static void __init xen_init_early(void)
        xen_start_info = (start_info_t *)__va(*si);
        HYPERVISOR_shared_info = __va(xen_start_info->shared_info);
 
-       is_dom0 = !!(xen_start_info->flags & SIF_INITDOMAIN);
-       xen_init_udbg(is_dom0);
+       udbg_init_xen();
 
        DBG("xen_start_info at %p\n", xen_start_info);
        DBG("    magic          %s\n", xen_start_info->magic);
@@ -111,6 +109,7 @@ static void __init xen_init_early(void)
        DBG("    console_mfn    %llx\n", xen_start_info->console_mfn);
        DBG("    console_evtchn %x\n", xen_start_info->store_evtchn);
 
+       is_dom0 = !!(xen_start_info->flags & SIF_INITDOMAIN);
        if (is_dom0) {
                ppc_md.pcibios_fixup            = mach_maple_md.pcibios_fixup;
                ppc_md.pci_get_legacy_ide_irq   = 
mach_maple_md.pci_get_legacy_ide_irq;
diff -r 6e771b2212c7ca89129aae9f315a62f41415098c -r 
dd6f9da2ed0bcf52deb9f48e24ae56b470e1afc6 arch/powerpc/platforms/xen/udbg_xen.c
--- a/arch/powerpc/platforms/xen/udbg_xen.c     Thu Jul 13 11:35:19 2006 -0400
+++ b/arch/powerpc/platforms/xen/udbg_xen.c     Thu Jul 13 11:40:56 2006 -0400
@@ -119,10 +119,22 @@ static int udbg_getc_domu_xen(void)
        }
 }
 
-void xen_init_udbg(ulong dom0)
+void udbg_init_xen(void)
 {
-       /* temporary, for domU bringup */
-       if (dom0) {
+       ulong console_mfn = 0;
+
+       if (xen_start_info) {
+               /* we can find out where everything is */
+               if (!(xen_start_info->flags & SIF_INITDOMAIN))
+                       console_mfn = xen_start_info->console_mfn;
+       } else {
+               /* VERY early printf */
+#ifdef CONFIG_PPC_EARLY_DEBUG_XEN_DOMU
+               console_mfn = 0x3ffdUL;
+#endif
+       }
+
+       if (console_mfn == 0) {
                udbg_putc = udbg_putc_dom0_xen;
                udbg_getc = udbg_getc_dom0_xen;
                udbg_getc_poll = udbg_getc_poll_dom0_xen;
@@ -131,6 +143,6 @@ void xen_init_udbg(ulong dom0)
                udbg_getc = udbg_getc_domu_xen;
                udbg_getc_poll = udbg_getc_poll_domu_xen;
                intf = (struct xencons_interface *)
-                       mfn_to_virt(xen_start_info->console_mfn);
+                       mfn_to_virt(console_mfn);
        }
 }
diff -r 6e771b2212c7ca89129aae9f315a62f41415098c -r 
dd6f9da2ed0bcf52deb9f48e24ae56b470e1afc6 include/asm-powerpc/udbg.h
--- a/include/asm-powerpc/udbg.h        Thu Jul 13 11:35:19 2006 -0400
+++ b/include/asm-powerpc/udbg.h        Thu Jul 13 11:40:56 2006 -0400
@@ -43,6 +43,7 @@ extern void __init udbg_init_maple_realm
 extern void __init udbg_init_maple_realmode(void);
 extern void __init udbg_init_iseries(void);
 extern void __init udbg_init_rtas(void);
+extern void __init udbg_init_xen(void);
 
 #endif /* __KERNEL__ */
 #endif /* _ASM_POWERPC_UDBG_H */

changeset:   30726:2a6fda4e7dde1a0a5d29a62303e85bcea868eb47
user:        Jimi Xenidis <jimix@xxxxxxxxxxxxxx>
date:        Thu Jul 13 11:51:38 2006 -0400
files:       drivers/xen/privcmd/Makefile drivers/xen/privcmd/compat_privcmd.c 
fs/compat_ioctl.c include/xen/public/privcmd.h
description:
[ppc] ioctl32() compat plumbing for xen calls

The following patch deals with xen ioctl32() data structures that contain 
pointer that are consumed _by_ Linux and not Xen.

Signed-off-by: Jimi Xenidis <jimix@xxxxxxxxxxxxxx>


diff -r dd6f9da2ed0bcf52deb9f48e24ae56b470e1afc6 -r 
2a6fda4e7dde1a0a5d29a62303e85bcea868eb47 drivers/xen/privcmd/Makefile
--- a/drivers/xen/privcmd/Makefile      Thu Jul 13 11:40:56 2006 -0400
+++ b/drivers/xen/privcmd/Makefile      Thu Jul 13 11:51:38 2006 -0400
@@ -1,2 +1,2 @@
-
-obj-$(CONFIG_XEN_PRIVCMD)      := privcmd.o
+compat_obj-y   := compat_privcmd.o
+obj-$(CONFIG_XEN_PRIVCMD)      := privcmd.o $(compat_obj-$(CONFIG_COMPAT))
diff -r dd6f9da2ed0bcf52deb9f48e24ae56b470e1afc6 -r 
2a6fda4e7dde1a0a5d29a62303e85bcea868eb47 fs/compat_ioctl.c
--- a/fs/compat_ioctl.c Thu Jul 13 11:40:56 2006 -0400
+++ b/fs/compat_ioctl.c Thu Jul 13 11:51:38 2006 -0400
@@ -2986,6 +2986,8 @@ COMPATIBLE_IOCTL(LPGETFLAGS)
 COMPATIBLE_IOCTL(LPGETFLAGS)
 HANDLE_IOCTL(LPSETTIMEOUT, lp_timeout_trans)
 
+HANDLE_IOCTL(IOCTL_PRIVCMD_MMAP_32, privcmd_ioctl_32)
+HANDLE_IOCTL(IOCTL_PRIVCMD_MMAPBATCH_32, privcmd_ioctl_32)
 COMPATIBLE_IOCTL(IOCTL_PRIVCMD_HYPERCALL)
 COMPATIBLE_IOCTL(IOCTL_EVTCHN_BIND_VIRQ)
 COMPATIBLE_IOCTL(IOCTL_EVTCHN_BIND_INTERDOMAIN)
diff -r dd6f9da2ed0bcf52deb9f48e24ae56b470e1afc6 -r 
2a6fda4e7dde1a0a5d29a62303e85bcea868eb47 include/xen/public/privcmd.h
--- a/include/xen/public/privcmd.h      Thu Jul 13 11:40:56 2006 -0400
+++ b/include/xen/public/privcmd.h      Thu Jul 13 11:51:38 2006 -0400
@@ -34,35 +34,61 @@
 #define __LINUX_PUBLIC_PRIVCMD_H__
 
 #include <linux/types.h>
+#include <linux/compat.h>
 
 #ifndef __user
 #define __user
 #endif
 
-typedef struct privcmd_hypercall
+struct privcmd_hypercall
 {
        __u64 op;
        __u64 arg[5];
-} privcmd_hypercall_t;
+};
+typedef struct privcmd_hypercall privcmd_hypercall_t;
 
-typedef struct privcmd_mmap_entry {
+struct privcmd_mmap_entry {
        __u64 va;
        __u64 mfn;
        __u64 npages;
-} privcmd_mmap_entry_t; 
+};
+typedef struct privcmd_mmap_entry privcmd_mmap_entry_t; 
 
-typedef struct privcmd_mmap {
+struct privcmd_mmap {
        int num;
        domid_t dom; /* target domain */
        privcmd_mmap_entry_t __user *entry;
-} privcmd_mmap_t; 
+};
+typedef struct privcmd_mmap privcmd_mmap_t; 
 
-typedef struct privcmd_mmapbatch {
+struct privcmd_mmapbatch {
        int num;     /* number of pages to populate */
        domid_t dom; /* target domain */
        __u64 addr;  /* virtual address */
        xen_pfn_t __user *arr; /* array of mfns - top nibble set on err */
-} privcmd_mmapbatch_t; 
+};
+typedef struct privcmd_mmapbatch privcmd_mmapbatch_t; 
+
+#ifdef CONFIG_COMPAT
+extern int privcmd_ioctl_32(int fd, unsigned int cmd, unsigned long arg);
+struct privcmd_mmap_32 {
+       int num;
+       domid_t dom;
+       compat_uptr_t entry;
+};
+
+struct privcmd_mmapbatch_32 {
+       int num;     /* number of pages to populate */
+       domid_t dom; /* target domain */
+       __u64 addr;  /* virtual address */
+       compat_uptr_t arr; /* array of mfns - top nibble set on err */
+};
+#define IOCTL_PRIVCMD_MMAP_32                                  \
+       _IOC(_IOC_NONE, 'P', 2, sizeof(struct privcmd_mmap_32))
+#define IOCTL_PRIVCMD_MMAPBATCH_32                                     \
+       _IOC(_IOC_NONE, 'P', 3, sizeof(struct privcmd_mmapbatch_32))
+
+#endif
 
 /*
  * @cmd: IOCTL_PRIVCMD_HYPERCALL
diff -r dd6f9da2ed0bcf52deb9f48e24ae56b470e1afc6 -r 
2a6fda4e7dde1a0a5d29a62303e85bcea868eb47 drivers/xen/privcmd/compat_privcmd.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/drivers/xen/privcmd/compat_privcmd.c      Thu Jul 13 11:51:38 2006 -0400
@@ -0,0 +1,52 @@
+#include <linux/config.h>
+#include <linux/compat.h>
+#include <linux/ioctl.h>
+#include <linux/syscalls.h>
+#include <asm/hypervisor.h>
+#include <asm/uaccess.h>
+#include <xen/public/privcmd.h>
+
+int privcmd_ioctl_32(int fd, unsigned int cmd, unsigned long arg)
+{
+       int ret;
+
+       switch (cmd) {
+       case IOCTL_PRIVCMD_MMAP_32: {
+               struct privcmd_mmap *p;
+               struct privcmd_mmap_32 *p32;
+               struct privcmd_mmap_32 n32;
+
+               p32 = compat_ptr(arg);
+               p = compat_alloc_user_space(sizeof(*p));
+               if (copy_from_user(&n32, p32, sizeof(n32)) ||
+                   put_user(n32.num, &p->num) ||
+                   put_user(n32.dom, &p->dom) ||
+                   put_user(compat_ptr(n32.entry), &p->entry))
+                       return -EFAULT;
+               
+               ret = sys_ioctl(fd, IOCTL_PRIVCMD_MMAP, (unsigned long)p);
+       }
+               break;
+       case IOCTL_PRIVCMD_MMAPBATCH_32: {
+               struct privcmd_mmapbatch *p;
+               struct privcmd_mmapbatch_32 *p32;
+               struct privcmd_mmapbatch_32 n32;
+
+               p32 = compat_ptr(arg);
+               p = compat_alloc_user_space(sizeof(*p));
+               if (copy_from_user(&n32, p32, sizeof(n32)) ||
+                   put_user(n32.num, &p->num) ||
+                   put_user(n32.dom, &p->dom) ||
+                   put_user(n32.addr, &p->addr) ||
+                   put_user(compat_ptr(n32.arr), &p->arr))
+                       return -EFAULT;
+               
+               ret = sys_ioctl(fd, IOCTL_PRIVCMD_MMAPBATCH, (unsigned long)p);
+       }
+               break;
+       default:
+               ret = -EINVAL;
+               break;
+       }
+       return ret;
+}

changeset:   30727:f1ca2f64b1b405e4e255d629a88af3f848ae4240
user:        Jimi Xenidis <jimix@xxxxxxxxxxxxxx>
date:        Wed Jul 26 14:41:04 2006 -0400
files:       fs/compat_ioctl.c
description:
[ppc] 32bit compat handlers for IOCTL_PRIVCMD_MMAP[BATCH]

Signed-off-by: Jimi Xenidis <jimix@xxxxxxxxxxxxxx>


diff -r 2a6fda4e7dde1a0a5d29a62303e85bcea868eb47 -r 
f1ca2f64b1b405e4e255d629a88af3f848ae4240 fs/compat_ioctl.c
--- a/fs/compat_ioctl.c Thu Jul 13 11:51:38 2006 -0400
+++ b/fs/compat_ioctl.c Wed Jul 26 14:41:04 2006 -0400
@@ -2986,8 +2986,10 @@ COMPATIBLE_IOCTL(LPGETFLAGS)
 COMPATIBLE_IOCTL(LPGETFLAGS)
 HANDLE_IOCTL(LPSETTIMEOUT, lp_timeout_trans)
 
+#ifdef CONFIG_XEN
 HANDLE_IOCTL(IOCTL_PRIVCMD_MMAP_32, privcmd_ioctl_32)
 HANDLE_IOCTL(IOCTL_PRIVCMD_MMAPBATCH_32, privcmd_ioctl_32)
+#endif
 COMPATIBLE_IOCTL(IOCTL_PRIVCMD_HYPERCALL)
 COMPATIBLE_IOCTL(IOCTL_EVTCHN_BIND_VIRQ)
 COMPATIBLE_IOCTL(IOCTL_EVTCHN_BIND_INTERDOMAIN)

changeset:   30728:7375c23d29d0f39e430205c5fde7da6fff34e95a
user:        Jimi Xenidis <jimix@xxxxxxxxxxxxxx>
date:        Wed Jul 26 14:48:11 2006 -0400
files:       drivers/xen/Makefile drivers/xen/privcmd/Makefile
description:
[ppc] push config descision for building drivers/xen/privcmd/ up one level

simplifying drivers/xen/privcmd/Makefile and the descision to also
build the compat code.


Signed-off-by: Jimi Xenidis <jimix@xxxxxxxxxxxxxx>


diff -r f1ca2f64b1b405e4e255d629a88af3f848ae4240 -r 
7375c23d29d0f39e430205c5fde7da6fff34e95a drivers/xen/Makefile
--- a/drivers/xen/Makefile      Wed Jul 26 14:41:04 2006 -0400
+++ b/drivers/xen/Makefile      Wed Jul 26 14:48:11 2006 -0400
@@ -1,7 +1,6 @@ obj-y   += core/
 obj-y  += core/
 obj-y  += console/
 obj-y  += evtchn/
-obj-y  += privcmd/
 obj-y  += xenbus/
 
 obj-$(CONFIG_XEN_UTIL)                 += util.o
@@ -14,3 +13,4 @@ obj-$(CONFIG_XEN_NETDEV_FRONTEND)     += net
 obj-$(CONFIG_XEN_NETDEV_FRONTEND)      += netfront/
 obj-$(CONFIG_XEN_PCIDEV_BACKEND)       += pciback/
 obj-$(CONFIG_XEN_PCIDEV_FRONTEND)      += pcifront/
+obj-$(CONFIG_XEN_PRIVCMD)              += privcmd/
diff -r f1ca2f64b1b405e4e255d629a88af3f848ae4240 -r 
7375c23d29d0f39e430205c5fde7da6fff34e95a drivers/xen/privcmd/Makefile
--- a/drivers/xen/privcmd/Makefile      Wed Jul 26 14:41:04 2006 -0400
+++ b/drivers/xen/privcmd/Makefile      Wed Jul 26 14:48:11 2006 -0400
@@ -1,2 +1,4 @@ compat_obj-y    := compat_privcmd.o
-compat_obj-y   := compat_privcmd.o
-obj-$(CONFIG_XEN_PRIVCMD)      := privcmd.o $(compat_obj-$(CONFIG_COMPAT))
+obj-y  += privcmd.o
+
+obj-$(CONFIG_COMPAT)           += compat_privcmd.o
+

changeset:   30729:e30fba67c38de4e6a769f0b57bb8613d79a23f16
tag:         tip
user:        Jimi Xenidis <jimix@xxxxxxxxxxxxxx>
date:        Wed Jul 26 15:00:06 2006 -0400
files:       arch/powerpc/configs/xen_maple_defconfig
description:
[ppc] defconfig update


diff -r 7375c23d29d0f39e430205c5fde7da6fff34e95a -r 
e30fba67c38de4e6a769f0b57bb8613d79a23f16 
arch/powerpc/configs/xen_maple_defconfig
--- a/arch/powerpc/configs/xen_maple_defconfig  Wed Jul 26 14:48:11 2006 -0400
+++ b/arch/powerpc/configs/xen_maple_defconfig  Wed Jul 26 15:00:06 2006 -0400
@@ -1,7 +1,7 @@
 #
 # Automatically generated make config: don't edit
-# Linux kernel version: 2.6.17-rc6
-# Wed Jun  7 19:45:10 2006
+# Linux kernel version: 2.6.17
+# Wed Jul 26 14:58:48 2006
 #
 CONFIG_PPC64=y
 CONFIG_64BIT=y
@@ -11,6 +11,7 @@ CONFIG_RWSEM_XCHGADD_ALGORITHM=y
 CONFIG_RWSEM_XCHGADD_ALGORITHM=y
 CONFIG_GENERIC_HWEIGHT=y
 CONFIG_GENERIC_CALIBRATE_DELAY=y
+CONFIG_GENERIC_FIND_NEXT_BIT=y
 CONFIG_PPC=y
 CONFIG_EARLY_PRINTK=y
 CONFIG_COMPAT=y
@@ -115,6 +116,8 @@ CONFIG_PPC_PSERIES=y
 # CONFIG_PPC_PMAC is not set
 CONFIG_PPC_MAPLE=y
 # CONFIG_PPC_CELL is not set
+# CONFIG_PPC_CELL_NATIVE is not set
+# CONFIG_PPC_IBM_CELL_BLADE is not set
 CONFIG_PPC_XEN=y
 CONFIG_XICS=y
 CONFIG_U3_DART=y
@@ -186,6 +189,7 @@ CONFIG_PPC_I8259=y
 # CONFIG_PPC_INDIRECT_PCI is not set
 CONFIG_PCI=y
 CONFIG_PCI_DOMAINS=y
+# CONFIG_PCIEPORTBUS is not set
 # CONFIG_PCI_DEBUG is not set
 
 #
@@ -211,6 +215,8 @@ CONFIG_PACKET=y
 CONFIG_PACKET=y
 CONFIG_PACKET_MMAP=y
 CONFIG_UNIX=y
+CONFIG_XFRM=y
+# CONFIG_XFRM_USER is not set
 # CONFIG_NET_KEY is not set
 CONFIG_INET=y
 CONFIG_IP_MULTICAST=y
@@ -230,6 +236,8 @@ CONFIG_SYN_COOKIES=y
 # CONFIG_INET_IPCOMP is not set
 # CONFIG_INET_XFRM_TUNNEL is not set
 CONFIG_INET_TUNNEL=y
+CONFIG_INET_XFRM_MODE_TRANSPORT=y
+CONFIG_INET_XFRM_MODE_TUNNEL=y
 CONFIG_INET_DIAG=y
 CONFIG_INET_TCP_DIAG=y
 # CONFIG_TCP_CONG_ADVANCED is not set
@@ -242,6 +250,7 @@ CONFIG_TCP_CONG_BIC=y
 # CONFIG_IPV6 is not set
 # CONFIG_INET6_XFRM_TUNNEL is not set
 # CONFIG_INET6_TUNNEL is not set
+# CONFIG_NETWORK_SECMARK is not set
 CONFIG_NETFILTER=y
 # CONFIG_NETFILTER_DEBUG is not set
 CONFIG_BRIDGE_NETFILTER=y
@@ -336,6 +345,7 @@ CONFIG_PREVENT_FIRMWARE_BUILD=y
 CONFIG_PREVENT_FIRMWARE_BUILD=y
 CONFIG_FW_LOADER=y
 # CONFIG_DEBUG_DRIVER is not set
+# CONFIG_SYS_HYPERVISOR is not set
 
 #
 # Connector - unified userspace <-> kernelspace linker
@@ -484,6 +494,7 @@ CONFIG_SCSI_SAS_ATTRS=y
 # CONFIG_MEGARAID_LEGACY is not set
 # CONFIG_MEGARAID_SAS is not set
 # CONFIG_SCSI_SATA is not set
+# CONFIG_SCSI_HPTIOP is not set
 # CONFIG_SCSI_BUSLOGIC is not set
 # CONFIG_SCSI_DMX3191D is not set
 # CONFIG_SCSI_EATA is not set
@@ -614,6 +625,7 @@ CONFIG_BNX2=y
 # CONFIG_CHELSIO_T1 is not set
 # CONFIG_IXGB is not set
 # CONFIG_S2IO is not set
+# CONFIG_MYRI10GE is not set
 
 #
 # Token Ring devices
@@ -760,6 +772,7 @@ CONFIG_I2C_AMD8111=y
 # CONFIG_I2C_I810 is not set
 # CONFIG_I2C_PIIX4 is not set
 # CONFIG_I2C_NFORCE2 is not set
+# CONFIG_I2C_OCORES is not set
 # CONFIG_I2C_PARPORT_LIGHT is not set
 # CONFIG_I2C_PROSAVAGE is not set
 # CONFIG_I2C_SAVAGE4 is not set
@@ -859,6 +872,7 @@ CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_EHCI_SPLIT_ISO=y
 CONFIG_USB_EHCI_ROOT_HUB_TT=y
+# CONFIG_USB_EHCI_TT_NEWSCHED is not set
 # CONFIG_USB_ISP116X_HCD is not set
 CONFIG_USB_OHCI_HCD=y
 # CONFIG_USB_OHCI_BIG_ENDIAN is not set
@@ -971,6 +985,7 @@ CONFIG_USB_SERIAL_TI=y
 CONFIG_USB_SERIAL_TI=y
 # CONFIG_USB_SERIAL_CYBERJACK is not set
 # CONFIG_USB_SERIAL_XIRCOM is not set
+# CONFIG_USB_SERIAL_OPTION is not set
 # CONFIG_USB_SERIAL_OMNINET is not set
 CONFIG_USB_EZUSB=y
 
@@ -984,10 +999,12 @@ CONFIG_USB_EZUSB=y
 # CONFIG_USB_LEGOTOWER is not set
 # CONFIG_USB_LCD is not set
 # CONFIG_USB_LED is not set
+# CONFIG_USB_CY7C63 is not set
 # CONFIG_USB_CYTHERM is not set
 # CONFIG_USB_PHIDGETKIT is not set
 # CONFIG_USB_PHIDGETSERVO is not set
 # CONFIG_USB_IDMOUSE is not set
+# CONFIG_USB_APPLEDISPLAY is not set
 # CONFIG_USB_SISUSBVGA is not set
 # CONFIG_USB_LD is not set
 # CONFIG_USB_TEST is not set
@@ -1025,6 +1042,7 @@ CONFIG_INFINIBAND=y
 CONFIG_INFINIBAND=y
 CONFIG_INFINIBAND_USER_MAD=y
 CONFIG_INFINIBAND_USER_ACCESS=y
+CONFIG_INFINIBAND_ADDR_TRANS=y
 CONFIG_INFINIBAND_MTHCA=y
 CONFIG_INFINIBAND_MTHCA_DEBUG=y
 CONFIG_INFINIBAND_IPOIB=y
@@ -1040,6 +1058,19 @@ CONFIG_INFINIBAND_SRP=y
 # Real Time Clock
 #
 # CONFIG_RTC_CLASS is not set
+
+#
+# DMA Engine support
+#
+# CONFIG_DMA_ENGINE is not set
+
+#
+# DMA Clients
+#
+
+#
+# DMA Devices
+#
 
 #
 # File systems
@@ -1054,8 +1085,10 @@ CONFIG_JBD=y
 # CONFIG_JBD_DEBUG is not set
 CONFIG_REISERFS_FS=y
 # CONFIG_REISERFS_CHECK is not set
-# CONFIG_REISERFS_PROC_INFO is not set
-# CONFIG_REISERFS_FS_XATTR is not set
+CONFIG_REISERFS_PROC_INFO=y
+CONFIG_REISERFS_FS_XATTR=y
+CONFIG_REISERFS_FS_POSIX_ACL=y
+CONFIG_REISERFS_FS_SECURITY=y
 # CONFIG_JFS_FS is not set
 CONFIG_FS_POSIX_ACL=y
 # CONFIG_XFS_FS is not set
@@ -1063,6 +1096,7 @@ CONFIG_FS_POSIX_ACL=y
 # CONFIG_MINIX_FS is not set
 # CONFIG_ROMFS_FS is not set
 CONFIG_INOTIFY=y
+CONFIG_INOTIFY_USER=y
 # CONFIG_QUOTA is not set
 CONFIG_DNOTIFY=y
 # CONFIG_AUTOFS_FS is not set
@@ -1246,11 +1280,7 @@ CONFIG_XMON_DEFAULT=y
 CONFIG_XMON_DEFAULT=y
 # CONFIG_IRQSTACKS is not set
 CONFIG_BOOTX_TEXT=y
-# CONFIG_PPC_EARLY_DEBUG_LPAR is not set
-# CONFIG_PPC_EARLY_DEBUG_G5 is not set
-# CONFIG_PPC_EARLY_DEBUG_RTAS is not set
-# CONFIG_PPC_EARLY_DEBUG_MAPLE is not set
-# CONFIG_PPC_EARLY_DEBUG_ISERIES is not set
+# CONFIG_PPC_EARLY_DEBUG is not set
 
 #
 # Security options
@@ -1265,17 +1295,17 @@ CONFIG_XEN_INTERFACE_VERSION=0x00030202
 #
 CONFIG_XEN_PRIVILEGED_GUEST=y
 CONFIG_XEN_UNPRIVILEGED_GUEST=y
+CONFIG_XEN_PRIVCMD=y
 CONFIG_XEN_BACKEND=y
 # CONFIG_XEN_PCIDEV_BACKEND is not set
 CONFIG_XEN_BLKDEV_BACKEND=y
-# CONFIG_XEN_BLKDEV_TAP_BE is not set
+CONFIG_XEN_XENBUS_DEV=y
 CONFIG_XEN_NETDEV_BACKEND=y
 # CONFIG_XEN_NETDEV_PIPELINED_TRANSMITTER is not set
 CONFIG_XEN_NETDEV_LOOPBACK=y
 # CONFIG_XEN_TPMDEV_BACKEND is not set
 CONFIG_XEN_BLKDEV_FRONTEND=y
 CONFIG_XEN_NETDEV_FRONTEND=y
-# CONFIG_XEN_BLKDEV_TAP is not set
 CONFIG_XEN_SCRUB_PAGES=y
 CONFIG_XEN_DISABLE_SERIAL=y
 CONFIG_XEN_SYSFS=y
@@ -1284,8 +1314,10 @@ CONFIG_XEN_COMPAT_LATEST_ONLY=y
 # CONFIG_XEN_COMPAT_030002 is not set
 CONFIG_HAVE_ARCH_ALLOC_SKB=y
 CONFIG_HAVE_ARCH_DEV_ALLOC_SKB=y
+CONFIG_HAVE_IRQ_IGNORE_UNHANDLED=y
 CONFIG_NO_IDLE_HZ=y
 CONFIG_XEN_UTIL=y
+CONFIG_XEN_DEVMEM=y
 CONFIG_XEN_SKBUFF=y
 CONFIG_XEN_XENCOMM=y
 


_______________________________________________
Xen-ppc-devel mailing list
Xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ppc-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.