Re: [RFC][PATCH 1/3] powerpc: Don't force ENOSYS as error on syscall fail

2015-02-09 Thread Purcareata Bogdan
Obvious mistake on my behalf to send the patch with lines commented out. I will fix it in v2. On 09.02.2015 09:55, Bogdan Purcareata wrote: In certain scenarios - e.g. seccomp filtering with ERRNO as default action - the system call fails for other reasons than the syscall not being available.

Re: [PATCH v2] powernv: Add OPAL soft-poweroff routine

2015-02-09 Thread Vasant Hegde
On 01/30/2015 12:13 PM, Joel Stanley wrote: Register a notifier for a OPAL message indicating that the machine should prepare itself for a graceful power off. OPAL will tell us if the power off is a reboot or shutdown, but for now we perform the same orderly_poweroff action.

Re: [PATCH 1/3] perf/e6500: Make event translations available in sysfs

2015-02-09 Thread Peter Zijlstra
On Fri, Feb 06, 2015 at 04:43:54PM -0600, Tom Huynh wrote: arch/powerpc/perf/e6500-events-list.h | 289 ++ That's a lot of events to stuff in the kernel, would a userspace list not be more convenient? ISTR there being various discussions on providing support

Re: [PATCH V11 02/17] PCI/IOV: add VF enable/disable hook

2015-02-09 Thread Benjamin Herrenschmidt
On Tue, 2015-02-10 at 09:35 +0800, Wei Yang wrote: Don't we want pcibios_sriov_enable() to be able to crop the number of VFs or do we think any resource limits have been applied already ? The second parameter initial is the number of VFs will be enabled. Arch dependent function will check

[PATCH 04/18] powerpc/powernv: relocate struct opal_sg_entry in opal.h to same place it is in firmware

2015-02-09 Thread Stewart Smith
For whatever reason these structures were in different places. Now they are not. Signed-off-by: Stewart Smith stew...@linux.vnet.ibm.com --- arch/powerpc/include/asm/opal.h | 48 +++ 1 file changed, 23 insertions(+), 25 deletions(-) diff --git

[PATCH 06/18] powerpc/powernv: move OPAL_DUMP_REGION defines in opal.h to same place as in firmware opal.h

2015-02-09 Thread Stewart Smith
Signed-off-by: Stewart Smith stew...@linux.vnet.ibm.com --- arch/powerpc/include/asm/opal.h | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/arch/powerpc/include/asm/opal.h b/arch/powerpc/include/asm/opal.h index 9ca5167..7075f57 100644 ---

Re: [PATCH 03/18] powerpc/powernv: s/OPAL_PCI_SET_PHB_CXL_MODE/OPAL_PCI_SET_PHB_CAPI_MODE/ to match firmware

2015-02-09 Thread Benjamin Herrenschmidt
On Tue, 2015-02-10 at 13:26 +1100, Stewart Smith wrote: --- a/arch/powerpc/platforms/powernv/pci-ioda.c +++ b/arch/powerpc/platforms/powernv/pci-ioda.c @@ -1481,9 +1481,9 @@ int pnv_phb_to_cxl(struct pci_dev *dev) pe_info(pe, Switching PHB to CXL\n); - rc =

Re: [PATCH 00/18] sync opal.h with firmware

2015-02-09 Thread Michael Ellerman
On Tue, 2015-02-10 at 13:26 +1100, Stewart Smith wrote: This patch series takes a careful step-by-step process to sync the opal.h header file (definition of interface to OPAL firmware) with opal.h in firmware. Each patch is designed to be as obvious as possible so that it's easy for someone

Re: [PATCH V11 07/17] powerpc/pci: Don't unset pci resources for VFs

2015-02-09 Thread Wei Yang
On Tue, Feb 10, 2015 at 11:36:24AM +1100, Benjamin Herrenschmidt wrote: On Thu, 2015-01-15 at 10:27 +0800, Wei Yang wrote: If we're going to reassign resources with flag PCI_REASSIGN_ALL_RSRC, all resources will be cleaned out during device header fixup time and then get reassigned by PCI core.

[PATCH 00/18] sync opal.h with firmware

2015-02-09 Thread Stewart Smith
This patch series takes a careful step-by-step process to sync the opal.h header file (definition of interface to OPAL firmware) with opal.h in firmware. Each patch is designed to be as obvious as possible so that it's easy for someone else to prove that I haven't messed it up anywhere. In the

[PATCH 01/18] powerpc/powernv: sync OPAL API tokens with skiboot

2015-02-09 Thread Stewart Smith
This patch just matches whitespace and comments between the opal.h from firmware and that in linux. No addition/removal. Signed-off-by: Stewart Smith stew...@linux.vnet.ibm.com --- arch/powerpc/include/asm/opal.h |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH 16/18] powerpc/powernv: move SG_ENTRIES_PER_NODE to linux-specific opal-api.h

2015-02-09 Thread Stewart Smith
Signed-off-by: Stewart Smith stew...@linux.vnet.ibm.com --- arch/powerpc/include/asm/opal-api.h |4 arch/powerpc/include/asm/opal.h |4 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/powerpc/include/asm/opal-api.h b/arch/powerpc/include/asm/opal-api.h

Re: [PATCH V11 07/17] powerpc/pci: Don't unset pci resources for VFs

2015-02-09 Thread Benjamin Herrenschmidt
On Tue, 2015-02-10 at 09:51 +0800, Wei Yang wrote: On Tue, Feb 10, 2015 at 11:36:24AM +1100, Benjamin Herrenschmidt wrote: On Thu, 2015-01-15 at 10:27 +0800, Wei Yang wrote: If we're going to reassign resources with flag PCI_REASSIGN_ALL_RSRC, all resources will be cleaned out during device

[PATCH 05/18] powerpc/powernv: synchronize opal.h whitespace with firmware

2015-02-09 Thread Stewart Smith
reduces the diff between linux and firmware header files significantly. Signed-off-by: Stewart Smith stew...@linux.vnet.ibm.com --- arch/powerpc/include/asm/opal.h | 51 +++ 1 file changed, 25 insertions(+), 26 deletions(-) diff --git

[PATCH 03/18] powerpc/powernv: s/OPAL_PCI_SET_PHB_CXL_MODE/OPAL_PCI_SET_PHB_CAPI_MODE/ to match firmware

2015-02-09 Thread Stewart Smith
OPAL/IBM calls it CAPI and Linux calls it CXL because CAPI was taken. In order to have opal.h match between firmware and Linux, we're going to just deal with one call used in a place be CAPI rather than CXL to match what's in firmware. Signed-off-by: Stewart Smith stew...@linux.vnet.ibm.com ---

[PATCH 14/18] powerpc/powernv: sync comments and whitespace in opal.h with firmware

2015-02-09 Thread Stewart Smith
Signed-off-by: Stewart Smith stew...@linux.vnet.ibm.com --- arch/powerpc/include/asm/opal.h | 25 - 1 file changed, 16 insertions(+), 9 deletions(-) diff --git a/arch/powerpc/include/asm/opal.h b/arch/powerpc/include/asm/opal.h index c09cf66..2aaa861 100644 ---

[PATCH 11/18] powerpc/powernv: make whitespace in enum OpalSysparamPerm match firmware

2015-02-09 Thread Stewart Smith
Signed-off-by: Stewart Smith stew...@linux.vnet.ibm.com --- arch/powerpc/include/asm/opal.h |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/powerpc/include/asm/opal.h b/arch/powerpc/include/asm/opal.h index 4373010..240ee1c 100644 ---

[PATCH 10/18] powerpc/powernv: move OPAL API prototypes to opal-api.h

2015-02-09 Thread Stewart Smith
To further the cause of syncing opal.h between firmware and linux, move the function prototypes that were in opal.h out to opal-api.h and fix the associated includes. There are still a few places where opal.h is adequate. Signed-off-by: Stewart Smith stew...@linux.vnet.ibm.com ---

[PATCH 15/18] powerpc/powernv: sync #includes in opal.h with firmware

2015-02-09 Thread Stewart Smith
Signed-off-by: Stewart Smith stew...@linux.vnet.ibm.com --- arch/powerpc/include/asm/opal.h |8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/arch/powerpc/include/asm/opal.h b/arch/powerpc/include/asm/opal.h index 2aaa861..b60a25a 100644 ---

Re: [PATCH V11 07/17] powerpc/pci: Don't unset pci resources for VFs

2015-02-09 Thread Wei Yang
On Tue, Feb 10, 2015 at 01:14:11PM +1100, Benjamin Herrenschmidt wrote: On Tue, 2015-02-10 at 09:51 +0800, Wei Yang wrote: On Tue, Feb 10, 2015 at 11:36:24AM +1100, Benjamin Herrenschmidt wrote: On Thu, 2015-01-15 at 10:27 +0800, Wei Yang wrote: If we're going to reassign resources with flag

Re: [PATCH V11 03/17] PCI: Add weak pcibios_iov_resource_alignment() interface

2015-02-09 Thread Wei Yang
On Tue, Feb 10, 2015 at 11:32:59AM +1100, Benjamin Herrenschmidt wrote: On Thu, 2015-01-15 at 10:27 +0800, Wei Yang wrote: The alignment of PF's IOV BAR is designed to be the individual size of a VF's BAR size. This works fine for many platforms, but on PowerNV platform it needs some change.

[PATCH 13/18] powerpc/powernv: add remaining missing enums to opal.h

2015-02-09 Thread Stewart Smith
Some enums in firmware opal.h were missing from linux opal.h, add them. Signed-off-by: Stewart Smith stew...@linux.vnet.ibm.com --- arch/powerpc/include/asm/opal.h | 20 ++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/arch/powerpc/include/asm/opal.h

[PATCH 17/18] powerpc/powernv: s/u8/uint8_t/ to match firmware in opal.h

2015-02-09 Thread Stewart Smith
Signed-off-by: Stewart Smith stew...@linux.vnet.ibm.com --- arch/powerpc/include/asm/opal.h |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/powerpc/include/asm/opal.h b/arch/powerpc/include/asm/opal.h index 2441f36..68ce7ef 100644 ---

[PATCH 18/18] powerpc/powernv: s/OpalM64EnableAction/OpalM64Action/ and __be64 annotation

2015-02-09 Thread Stewart Smith
This finally syncs the content of opal.h between linux and firmware Signed-off-by: Stewart Smith stew...@linux.vnet.ibm.com --- arch/powerpc/include/asm/opal.h |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/powerpc/include/asm/opal.h

[PATCH 07/18] powerpc/powernv: make whitespace for OPAL_PM_* defines match firmware

2015-02-09 Thread Stewart Smith
Signed-off-by: Stewart Smith stew...@linux.vnet.ibm.com --- arch/powerpc/include/asm/opal.h |8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/powerpc/include/asm/opal.h b/arch/powerpc/include/asm/opal.h index 7075f57..31b9656 100644 ---

[PATCH 1/2] cxl: export symbols required for modules to use the API.

2015-02-09 Thread Rusty Russell
Signed-off-by: Rusty Russell ru...@rustcorp.com.au --- drivers/misc/cxl/api.c | 11 ++- drivers/misc/cxl/vphb.c | 1 + 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/drivers/misc/cxl/api.c b/drivers/misc/cxl/api.c index c7263ed..95d7b67 100644 ---

[PATCH 2/2] cxl: allow example memcpy driver to be compiled as a module.

2015-02-09 Thread Rusty Russell
Requires fixing one typo. Signed-off-by: Rusty Russell ru...@rustcorp.com.au --- drivers/misc/Kconfig | 2 +- drivers/misc/cxl-memcpy.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig index 5262514..f778497 100644 ---

[PATCH 02/18] powerpc/powernv: synchronize OPAL calls and return codes with firmware

2015-02-09 Thread Stewart Smith
This just leaves us with CXL vs CAPI as differences in the list of OPAL calls between opal.h in firmware and opal.h in Linux. Signed-off-by: Stewart Smith stew...@linux.vnet.ibm.com --- arch/powerpc/include/asm/opal.h |9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git

[PATCH 09/18] powerpc/powernv: match enum OpalMessageType with firmware

2015-02-09 Thread Stewart Smith
Adds OPAL_MSG_DPO and docs for OPAL_MSG_SHUTDOWN Signed-off-by: Stewart Smith stew...@linux.vnet.ibm.com --- arch/powerpc/include/asm/opal.h |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/powerpc/include/asm/opal.h b/arch/powerpc/include/asm/opal.h index

[PATCH 08/18] powerpc/powernv: Move OpalSysparamPerm, OpalMessageType in opal.h to match firmware

2015-02-09 Thread Stewart Smith
For whatever strange reason, these two structures were in different locations in opal.h in firmware and opal.h in Linux. Move them around to match firmware so that the diff is less. Signed-off-by: Stewart Smith stew...@linux.vnet.ibm.com --- arch/powerpc/include/asm/opal.h | 32

[PATCH 12/18] powerpc/powernv: add CAPI and EPOW parts to opal.h

2015-02-09 Thread Stewart Smith
this adds CAPI and EPOW parts to opal.h that previously were only in firmware opal.h Currently unused, but gets us really close to being able to share opal.h between firmware and linux. Signed-off-by: Stewart Smith stew...@linux.vnet.ibm.com --- arch/powerpc/include/asm/opal.h | 52

Re: [PATCH 1/1] powerpc: fix missing L2 cache size in /sys/devices/system/cpu

2015-02-09 Thread Michael Ellerman
On Tue, 2015-02-10 at 11:12 +1100, Benjamin Herrenschmidt wrote: On Mon, 2015-02-09 at 15:43 -0800, Dave Olson wrote: Michael Ellerman m...@ellerman.id.au wrote: On Mon, 2015-02-09 at 14:14 -0800, Dave Olson wrote: From: Dave Olson ol...@cumulusnetworks.com Fix missing L2

Re: [PATCH V11 02/17] PCI/IOV: add VF enable/disable hook

2015-02-09 Thread Wei Yang
On Tue, Feb 10, 2015 at 01:13:14PM +1100, Benjamin Herrenschmidt wrote: On Tue, 2015-02-10 at 09:35 +0800, Wei Yang wrote: Don't we want pcibios_sriov_enable() to be able to crop the number of VFs or do we think any resource limits have been applied already ? The second parameter initial is

[PATCH 0/3] powerpc: Enable seccomp filter support

2015-02-09 Thread Bogdan Purcareata
Add the missing pieces in order to enable SECCOMP_FILTER on PowerPC architectures, and enable this support. Testing has been pursued using libseccomp with the latest ppc support patches [1], on Freescale platforms for both ppc and ppc64. ppc64le support is untested. [1]

[PATCH 2/3] powerpc: Relax secure computing on syscall entry trace

2015-02-09 Thread Bogdan Purcareata
The secure_computing_strict will just force the kernel to panic on secure_computing failure. Once SECCOMP_FILTER support is enabled in the kernel, syscalls can be denied without system failure. Signed-off-by: Bogdan Purcareata bogdan.purcare...@freescale.com --- arch/powerpc/kernel/ptrace.c | 4

[PATCH] powerpc: Enable HAVE_ARCH_SECCOMP_FILTER

2015-02-09 Thread Bogdan Purcareata
Signed-off-by: Bogdan Purcareata bogdan.purcare...@freescale.com --- arch/powerpc/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig index a2a168e..72f363e 100644 --- a/arch/powerpc/Kconfig +++ b/arch/powerpc/Kconfig @@ -104,6 +104,7 @@ config

Re: [PATCH V11 02/17] PCI/IOV: add VF enable/disable hook

2015-02-09 Thread Benjamin Herrenschmidt
On Thu, 2015-01-15 at 10:27 +0800, Wei Yang wrote: + if ((retval = pcibios_sriov_enable(dev, initial))) { + dev_err(dev-dev, Failure %d from pcibios_sriov_setup()\n, + retval); + return retval; + } + Don't we want

Re: [PATCH V11 03/17] PCI: Add weak pcibios_iov_resource_alignment() interface

2015-02-09 Thread Benjamin Herrenschmidt
On Thu, 2015-01-15 at 10:27 +0800, Wei Yang wrote: The alignment of PF's IOV BAR is designed to be the individual size of a VF's BAR size. This works fine for many platforms, but on PowerNV platform it needs some change. The original alignment works, since at sizing and assigning stage the

Re: [PATCH V11 07/17] powerpc/pci: Don't unset pci resources for VFs

2015-02-09 Thread Benjamin Herrenschmidt
On Thu, 2015-01-15 at 10:27 +0800, Wei Yang wrote: If we're going to reassign resources with flag PCI_REASSIGN_ALL_RSRC, all resources will be cleaned out during device header fixup time and then get reassigned by PCI core. However, the VF resources won't be reassigned and thus, we shouldn't

Re: [PATCH V11 06/17] powerpc/pci: Add PCI resource alignment documentation

2015-02-09 Thread Benjamin Herrenschmidt
On Wed, 2015-02-04 at 17:44 -0600, Bjorn Helgaas wrote: diff --git a/Documentation/powerpc/pci_iov_resource_on_powernv.txt b/Documentation/powerpc/pci_iov_resource_on_powernv.txt new file mode 100644 index 000..10d4ac2 --- /dev/null +++

RE: PROBLEM: USB isochronous urb leak on EHCI driver

2015-02-09 Thread Alan Stern
On Mon, 9 Feb 2015, Michael Tessier wrote: Okay; I did my homeworks. We've loaded kernel V3.16 (Oct 14th, 2015) on an i.MX51 plattform and the problem is still there. Unless an important change occured in V3.19, it appears that the latest kernel is not the solution for us. So we're still not

Re: [PATCH 1/3] perf/e6500: Make event translations available in sysfs

2015-02-09 Thread Andi Kleen
I'll NAK any external 'download area' (and I told that Andi before): tools/perf/event-tables/ or so is a good enough 'download area' with fast enough update cycles. The proposal was to put it on kernel.org, similar to how external firmware blobs are distributed. CPU event lists are data

Re: [PATCH v2] powernv: Add OPAL soft-poweroff routine

2015-02-09 Thread Stewart Smith
Joel Stanley j...@jms.id.au writes: Register a notifier for a OPAL message indicating that the machine should prepare itself for a graceful power off. OPAL will tell us if the power off is a reboot or shutdown, but for now we perform the same orderly_poweroff action. Signed-off-by: Joel

Re: [PATCH 1/3] perf/e6500: Make event translations available in sysfs

2015-02-09 Thread Ingo Molnar
* Peter Zijlstra pet...@infradead.org wrote: On Fri, Feb 06, 2015 at 04:43:54PM -0600, Tom Huynh wrote: arch/powerpc/perf/e6500-events-list.h | 289 ++ That's a lot of events to stuff in the kernel, would a userspace list not be more convenient? ISTR

[PATCH 1/1] powerpc: fix missing L2 cache size in /sys/devices/system/cpu

2015-02-09 Thread Dave Olson
From: Dave Olson ol...@cumulusnetworks.com Fix missing L2 cache size in /sys/devices/system/cpu/cpu0/cache/index2/size This bug appears to be introduced in 2.6.29 by 93197a36a9c16a85fb24cf5a8639f7bf9af838a3. The missing entry caused lscpu to error out on e500v2 devices, and probably others

Re: [PATCH 1/3] perf/e6500: Make event translations available in sysfs

2015-02-09 Thread Ingo Molnar
* Jiri Olsa jo...@redhat.com wrote: On Mon, Feb 09, 2015 at 11:07:38AM +0100, Ingo Molnar wrote: * Peter Zijlstra pet...@infradead.org wrote: On Fri, Feb 06, 2015 at 04:43:54PM -0600, Tom Huynh wrote: arch/powerpc/perf/e6500-events-list.h | 289

Re: [PATCH 1/1] powerpc: fix missing L2 cache size in /sys/devices/system/cpu

2015-02-09 Thread Dave Olson
Michael Ellerman m...@ellerman.id.au wrote: On Mon, 2015-02-09 at 14:14 -0800, Dave Olson wrote: From: Dave Olson ol...@cumulusnetworks.com Fix missing L2 cache size in /sys/devices/system/cpu/cpu0/cache/index2/size This bug appears to be introduced in 2.6.29 by

Re: [PATCH 1/1] powerpc: fix missing L2 cache size in /sys/devices/system/cpu

2015-02-09 Thread Benjamin Herrenschmidt
On Mon, 2015-02-09 at 15:43 -0800, Dave Olson wrote: Michael Ellerman m...@ellerman.id.au wrote: On Mon, 2015-02-09 at 14:14 -0800, Dave Olson wrote: From: Dave Olson ol...@cumulusnetworks.com Fix missing L2 cache size in /sys/devices/system/cpu/cpu0/cache/index2/size This

Re: [PATCH V11 00/17] Enable SRIOV on Power8

2015-02-09 Thread Benjamin Herrenschmidt
On Wed, 2015-02-04 at 17:44 -0600, Bjorn Helgaas wrote: Ben, I know you chimed in earlier to help explain PEs. Are you or another powerpc maintainer planning to ack all this? I'll get through it in the next day or so. Cheers, Ben. ___ Linuxppc-dev

Re: [PATCH 1/3] perf/e6500: Make event translations available in sysfs

2015-02-09 Thread Jiri Olsa
On Mon, Feb 09, 2015 at 11:07:38AM +0100, Ingo Molnar wrote: * Peter Zijlstra pet...@infradead.org wrote: On Fri, Feb 06, 2015 at 04:43:54PM -0600, Tom Huynh wrote: arch/powerpc/perf/e6500-events-list.h | 289 ++ That's a lot of events to stuff in

[PATCH 1/2] powerpc: Change vrX register defines to vX to match gcc and glibc

2015-02-09 Thread Anton Blanchard
As our various loops (copy, string, crypto etc) get more complicated, we want to share implementations between userspace (eg glibc) and the kernel. We also want to write userspace test harnesses to put in tools/testing/selftest. One gratuitous difference between userspace and the kernel is the

Re: [PATCH 1/1] powerpc: fix missing L2 cache size in /sys/devices/system/cpu

2015-02-09 Thread Michael Ellerman
On Mon, 2015-02-09 at 14:14 -0800, Dave Olson wrote: From: Dave Olson ol...@cumulusnetworks.com Fix missing L2 cache size in /sys/devices/system/cpu/cpu0/cache/index2/size This bug appears to be introduced in 2.6.29 by 93197a36a9c16a85fb24cf5a8639f7bf9af838a3. The missing entry caused

[PATCH 2/2] powerpc: Change vsrX register defines to vsX to match gcc and glibc

2015-02-09 Thread Anton Blanchard
As our various loops (copy, string, crypto etc) get more complicated, we want to share implementations between userspace (eg glibc) and the kernel. We also want to write userspace test harnesses to put in tools/testing/selftest. One gratuitous difference between userspace and the kernel is the

RE: PROBLEM: USB isochronous urb leak on EHCI driver

2015-02-09 Thread Michael Tessier
That is interresting, however, I have an older kernel running an OHCI driver which is able to handle 4 codecs. Same usb hardware (codecs and hub), but older kernel on a different CPU, with much less power. This makes me believe that there's a solution to make it

Re: [PATCH V11 02/17] PCI/IOV: add VF enable/disable hook

2015-02-09 Thread Wei Yang
On Tue, Feb 10, 2015 at 11:26:19AM +1100, Benjamin Herrenschmidt wrote: On Thu, 2015-01-15 at 10:27 +0800, Wei Yang wrote: + if ((retval = pcibios_sriov_enable(dev, initial))) { + dev_err(dev-dev, Failure %d from pcibios_sriov_setup()\n, + retval); +

Re: [PATCH 00/18] sync opal.h with firmware

2015-02-09 Thread Stewart Smith
Michael Ellerman m...@ellerman.id.au writes: I'm going to be a total pain, and suggest that this is the wrong approach :) I was on board until patch 15, where you have to add an #ifdef SKIBOOT to guard an include, and you have to remove an include on the Linux side. (the Linux include was