[PATCH] x86: add a crc32 checksum to the kernel image.

2008-01-31 Thread Ian Campbell
Signed-off-by: Ian Campbell [EMAIL PROTECTED] Cc: Thomas Gleixner [EMAIL PROTECTED] Cc: Ingo Molnar [EMAIL PROTECTED] Cc: H. Peter Anvin [EMAIL PROTECTED] --- Documentation/i386/boot.txt |5 +++ arch/x86/boot/tools/build.c | 78 +++ 2 files changed

[PATCH] x86: define OBJCOPYFLAGS explicitly for each target.

2008-01-31 Thread Ian Campbell
Do this rather than defining a global version and overriding it in almost all cases in order to make subsequent patches simpler. Signed-off-by: Ian Campbell [EMAIL PROTECTED] Cc: Thomas Gleixner [EMAIL PROTECTED] Cc: Ingo Molnar [EMAIL PROTECTED] Cc: H. Peter Anvin [EMAIL PROTECTED] --- arch/x86

[PATCH] x86: use ELF format in compressed images.

2008-01-31 Thread Ian Campbell
This allows other boot loaders such as the Xen domain builder the opportunity to extract the ELF file. Signed-off-by: Ian Campbell [EMAIL PROTECTED] Cc: Thomas Gleixner [EMAIL PROTECTED] Cc: Ingo Molnar [EMAIL PROTECTED] Cc: H. Peter Anvin [EMAIL PROTECTED] Cc: Jeremy Fitzhardinge [EMAIL

Re: x86: PAE swapper_pg_dir needs to be page-sized

2008-02-01 Thread Ian Campbell
On Thu, 2008-01-31 at 14:55 -0800, Jeremy Fitzhardinge wrote: Xen currently needs swapper_pg_dir page aligned and sized. This fixes the second part of that... Signed-off-by: Jeremy Fitzhardinge [EMAIL PROTECTED] Acked-by: Ian Campbell [EMAIL PROTECTED] --- arch/x86/kernel/head_32.S

Re: [PATCH] x86: add a crc32 checksum to the kernel image.

2008-02-01 Thread Ian Campbell
. Fixed. --- From 1c614383dc9cb0c7791ebab386dc012db336b28c Mon Sep 17 00:00:00 2001 From: Ian Campbell [EMAIL PROTECTED] Date: Fri, 1 Feb 2008 09:01:22 + Subject: [PATCH] x86: add a crc32 checksum to the kernel image. Signed-off-by: Ian Campbell [EMAIL PROTECTED] Cc: Thomas Gleixner [EMAIL

Re: There are smaller ways to encode a CRC32 table...

2008-02-01 Thread Ian Campbell
. This inversion changes the CRC of the entire image (body + CRC) from all-zero to a fixed non-zero value. (To be precise, to the (non-inverted) CRC of 0x.) I didn't know the precise details of why you might invert it, thanks for the info. Ian -- Ian Campbell Current Noise: Reverend Bizarre

Re: [PATCH] x86: add a crc32 checksum to the kernel image.

2008-02-01 Thread Ian Campbell
surrounded by #ifdef UNITTEST which might once have worked but now there is far too much kernel gunk in there (as you might expect). If I can work up the enthusiasm I might break out the core algorithm into a separate file that can be used in both the kernel and userspace. Ian. -- Ian Campbell

Re: [PATCH -mm 1/3] i386 boot: replace boot_ioremap with enhanced bt_ioremap - enhance bt_ioremap

2008-01-18 Thread Ian Campbell
the early_ioremap patches locally for now and wait for Eric's patches which should cause the fix for this issue to just fall out in the wash. Ian. -- Ian Campbell Current Noise: Mistress - Mistress Everything should be built top-down, except this time. -- To unsubscribe from this list: send the line

Re: [PATCH -mm 1/3] i386 boot: replace boot_ioremap with enhanced bt_ioremap - enhance bt_ioremap

2008-01-18 Thread Ian Campbell
On Fri, 2008-01-18 at 22:54 +0800, huang ying wrote: On Jan 18, 2008 4:48 PM, Ian Campbell [EMAIL PROTECTED] wrote: On Tue, 2008-01-15 at 13:45 +0800, Huang, Ying wrote: +void __init bt_ioremap_init(void) +{ [...] + *pgd = __pa(bm_pte) | _PAGE_TABLE; +} [...] +static

Re: [PATCH -mm 1/3] i386 boot: replace boot_ioremap with enhanced bt_ioremap - enhance bt_ioremap

2008-01-18 Thread Ian Campbell
On Fri, 2008-01-18 at 09:27 -0800, Jeremy Fitzhardinge wrote: Ingo Molnar wrote: * Ian Campbell [EMAIL PROTECTED] wrote: Eric Biederman had a patchset that makes a PAE kernel use PAE page tables from the start. That is really The Right Thing[TM]. That's much saner than

[PATCH] x86/voyager: Switch voyager memory detection to early_ioremap.

2008-01-19 Thread Ian Campbell
Extracted from an earlier patch by Eric Biederman. Signed-off-by: Ian Campbell [EMAIL PROTECTED] Cc: Thomas Gleixner [EMAIL PROTECTED] Cc: Ingo Molnar [EMAIL PROTECTED] Cc: H. Peter Anvin [EMAIL PROTECTED] CC: James Bottomley [EMAIL PROTECTED] Cc: Eric W. Biederman [EMAIL PROTECTED] --- arch/x86

[PATCH] x86: Construct 32 bit boot time page tables in native format.

2008-01-19 Thread Ian Campbell
Specifically the boot time page tables in a CONFIG_X86_PAE=y enabled kernel are in PAE format. early_ioremap is updated to use the standard page table accessors. Derived from an earlier patch by Eric Biederman. Signed-off-by: Ian Campbell [EMAIL PROTECTED] Cc: Thomas Gleixner [EMAIL PROTECTED

Re: [PATCH] [4/7] Convert TSC disabling to generic cpuid disable bitmap

2008-01-19 Thread Ian Campbell
:00 2001 From: Ian Campbell [EMAIL PROTECTED] Date: Sat, 19 Jan 2008 18:08:23 + Subject: [PATCH] x86: Xen requires TSC support to be forced on, not disabled. Signed-off-by: Ian Campbell [EMAIL PROTECTED] --- arch/x86/xen/time.c |2 +- include/asm-x86/cpufeature.h |4 2

Re: [PATCH] [4/7] Convert TSC disabling to generic cpuid disable bitmap

2008-01-19 Thread Ian Campbell
On Sat, 2008-01-19 at 19:57 +0100, Andi Kleen wrote: On Saturday 19 January 2008 19:15:48 Ian Campbell wrote: diff --git a/arch/x86/xen/time.c b/arch/x86/xen/time.c index 6f5c74a..b3721fd 100644 --- a/arch/x86/xen/time.c +++ b/arch/x86/xen/time.c @@ -592,7 +592,7 @@ __init void

sysfs network namespace support - was this patch set forgotten ?

2008-01-19 Thread Ian Brown
://linux.derkeiler.com/Mailing-Lists/Kernel/2007-12/msg00096.html Regards, Ian -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org

Re: [PATCH] x86: Construct 32 bit boot time page tables in native format.

2008-01-20 Thread Ian Campbell
On Sun, 2008-01-20 at 00:07 +0100, Andi Kleen wrote: Ian Campbell [EMAIL PROTECTED] writes: +#ifdef CONFIG_X86_PAE +err_no_pae: + /* It is probably too early but we might as well try... */ Without a low identity mapping early_printk will not work and printk definitely

Re: [PATCH] x86: Construct 32 bit boot time page tables in native format.

2008-01-21 Thread Ian Campbell
for CONFIG_DEBUG_PAGEALLOC -- we map enough pages for page tables for 4G of lowmem -- adding space for an extra 16M seems pointless. Ian. -- Ian Campbell Good-bye. I am leaving because I am bored. -- George Saunders' dying words -- To unsubscribe from this list: send the line

Re: [PATCH] x86: Construct 32 bit boot time page tables in native format.

2008-01-21 Thread Ian Campbell
On Mon, 2008-01-21 at 13:38 -0800, H. Peter Anvin wrote: Ian Campbell wrote: On Sun, 2008-01-20 at 20:30 +0200, Mika Penttilä wrote: You have dropped the requirement to map all of low memory (the boot allocator is used for instance to construct physical mem mapping). Either you

[PATCH] x86_32: Remove unnecessary use of %ebx as the boot cpu flag

2008-01-21 Thread Ian Campbell
of always using ready. Hopefully later we can kill these tests entirely. Signed-off-by: Eric W. Biederman [EMAIL PROTECTED] Signed-off-by: Ian Campbell [EMAIL PROTECTED] Cc: Thomas Gleixner [EMAIL PROTECTED] Cc: Ingo Molnar [EMAIL PROTECTED] Cc: H. Peter Anvin [EMAIL PROTECTED] Cc: Andi Kleen [EMAIL

[PATCH] x86_32: Always run the full set of paging state.

2008-01-21 Thread Ian Campbell
in mmu_cr4_features. Signed-off-by: Eric W. Biederman [EMAIL PROTECTED] Signed-off-by: Ian Campbell [EMAIL PROTECTED] Cc: Thomas Gleixner [EMAIL PROTECTED] Cc: Ingo Molnar [EMAIL PROTECTED] Cc: H. Peter Anvin [EMAIL PROTECTED] Cc: Andi Kleen [EMAIL PROTECTED] Cc: Mika Penttilä [EMAIL PROTECTED

[0/3] x86_32: Construct 32 bit boot time page tables in native format.

2008-01-21 Thread Ian Campbell
in addition too. - Continue to map extra pages for CONFIG_DEBUG_PAGEALLOC and some extra pages for slack, per the original assembly code. Cheers, Ian. Cc: Thomas Gleixner [EMAIL PROTECTED] Cc: Ingo Molnar [EMAIL PROTECTED] Cc: H. Peter Anvin [EMAIL PROTECTED] Cc: Eric W. Biederman [EMAIL PROTECTED

[PATCH] x86_32: Construct 32 bit boot time page tables in native format.

2008-01-21 Thread Ian Campbell
Specifically the boot time page tables in a CONFIG_X86_PAE=y enabled kernel are in PAE format. early_ioremap is updated to use the standard page table accessors. Derived from an earlier patch by Eric Biederman. Signed-off-by: Ian Campbell [EMAIL PROTECTED] Cc: Thomas Gleixner [EMAIL PROTECTED

[RESEND][PATCH-2.6.24-rc8] Fix fakephp deadlock

2008-01-22 Thread Ian Abbott
From: Ian Abbott [EMAIL PROTECTED] I last sent this 11 days ago and didn't get any replies, so my timeout handler has kicked in. :) The patch is same as last time except I've bumped the revision from rc7 to rc8 and have remembered to use diff's -p option this time! --- From: Ian Abbott [EMAIL

Re: [PATCH] x86: Construct 32 bit boot time page tables in native format.

2008-01-22 Thread Ian Campbell
On Mon, 2008-01-21 at 18:16 -0800, H. Peter Anvin wrote: Ian Campbell wrote: I'm just preparing to send out a version which uses the native_* way of doing things, its not actually as clean as I would like so I'd be interested to see the ASM variant. This is the asm version I came

Re: [PATCH] x86: Construct 32 bit boot time page tables in native format.

2008-01-22 Thread Ian Campbell
On Tue, 2008-01-22 at 10:23 -0800, H. Peter Anvin wrote: Ian Campbell wrote: Anyhow, I don't feel all that strongly about it so if the opinion of the early start of day maintainer(s) is strongly in favour of ASM I'll defer to that. My opinion is that I want it done properly (PIC

Re: [PATCH] x86: Construct 32 bit boot time page tables in native format.

2008-01-22 Thread Ian Campbell
? ok, i'll wait for Ian to submit the final (tested) version then. A few possible complications are: PSE-less boxes, 32-bit PAGEALLOC bootups with tons of RAM, NX-less boxes and NX-able boxes :) I'm not sure I can promise that sort of coverage ;-) Will test on what hardware I've got available

Re: [PATCH] x86: Construct 32 bit boot time page tables in native format.

2008-01-22 Thread Ian Campbell
On Tue, 2008-01-22 at 13:00 -0800, H. Peter Anvin wrote: Ian Campbell wrote: On Tue, 2008-01-22 at 21:36 +0100, Ingo Molnar wrote: * H. Peter Anvin [EMAIL PROTECTED] wrote: Seems reasonable to me. I'll integrate your asm diff with the other changes and give it a whirl. This version

Re: [RESEND][PATCH-2.6.24-rc8] Fix fakephp deadlock

2008-01-23 Thread Ian Abbott
On 23/01/08 17:46, Greg KH wrote: On Tue, Jan 22, 2008 at 02:28:08PM +, Ian Abbott wrote: #include linux/init.h #include linux/string.h #include linux/slab.h +#include linux/workqueue.h #include ../pci.h #if !defined(MODULE) @@ -63,10 +64,13 @@ struct dummy_slot { struct list_head

Re: [PATCH] x86: Construct 32 bit boot time page tables in native format.

2008-01-23 Thread Ian Campbell
? ok, i'll wait for Ian to submit the final (tested) version then. A few possible complications are: PSE-less boxes, 32-bit PAGEALLOC bootups with tons of RAM, NX-less boxes and NX-able boxes :) FYI, CONFIG_DEBUG_PAGEALLOC+PAE is broken. I'll dig in but it might be the weekend before I get

Re: [PATCH] x86: Construct 32 bit boot time page tables in native format.

2008-01-24 Thread Ian Campbell
On Wed, 2008-01-23 at 17:06 -0800, Jeremy Fitzhardinge wrote: Ian Campbell wrote: FYI, CONFIG_DEBUG_PAGEALLOC+PAE is broken. I'll dig in but it might be the weekend before I get a chance (there's a beer festival in town ;-)). I'm poking around trying to get Xen working again as well

[PATCH(v2) 2.6.24-rc8] Fix fakephp deadlock

2008-01-24 Thread Ian Abbott
From: Ian Abbott [EMAIL PROTECTED] This is the second (or third if you count the resend) version of my patch to fix the problem of a process deadlocking itself when it uses the fakephp driver to fake the removal of a PCI device. This section describes the changes since the first version

Re: [patch 06/26] mount options: fix autofs4

2008-01-24 Thread Ian Kent
-off-by: Miklos Szeredi [EMAIL PROTECTED] Acked-by Ian Kent [EMAIL PROTECTED] I haven't tested this yet but it is fairly straight forward. I will check it out as soon as I get back to some work that I'm doing on autofs4 (next few days). --- Index: linux/fs/autofs4/inode.c

[PATCH(v3) 2.6.24] Fix fakephp deadlock

2008-01-25 Thread Ian Abbott
From: Ian Abbott [EMAIL PROTECTED] This is the third version of my patch to fix the problem of a process deadlocking itself when it uses the fakephp driver to fake the removal of a PCI device. This section describes the changes since the first version of the patch. Skip to the next section

[PATCH 1/9] x86: Unify whitespace and comments in arch/x86/boot/compressed/vmlinux_??.lds

2008-01-26 Thread Ian Campbell
size reports no change in arch/x86/boot/compressed/vmlinux. Signed-off-by: Ian Campbell [EMAIL PROTECTED] Cc: Thomas Gleixner [EMAIL PROTECTED] Cc: Ingo Molnar [EMAIL PROTECTED] Cc: H. Peter Anvin [EMAIL PROTECTED] --- arch/x86/boot/compressed/vmlinux_32.lds |6 +++--- arch/x86/boot

[PATCH 4/9] x86_64: Unify arch/x86/boot/compressed/vmlinux_??.scr

2008-01-26 Thread Ian Campbell
The files are now identical so merge them. size reports no change in arch/x86/boot/compressed/vmlinux. Signed-off-by: Ian Campbell [EMAIL PROTECTED] Cc: Thomas Gleixner [EMAIL PROTECTED] Cc: Ingo Molnar [EMAIL PROTECTED] Cc: H. Peter Anvin [EMAIL PROTECTED] --- arch/x86/boot/compressed/Makefile

[PATCH 5/9] x86: Unify strings in arch/x86/boot/compressed/misc_??.c

2008-01-26 Thread Ian Campbell
It seems pretty arbitrary which version survives, so I chose the 32 bit version. Signed-off-by: Ian Campbell [EMAIL PROTECTED] Cc: Thomas Gleixner [EMAIL PROTECTED] Cc: Ingo Molnar [EMAIL PROTECTED] Cc: H. Peter Anvin [EMAIL PROTECTED] --- arch/x86/boot/compressed/misc_64.c |4 ++-- 1 files

[PATCH 6/9] x86: Unify whitespace and comments in arch/x86/boot/compressed/misc_??.c

2008-01-26 Thread Ian Campbell
size reports no change in arch/x86/boot/compressed/vmlinux. Signed-off-by: Ian Campbell [EMAIL PROTECTED] Cc: Thomas Gleixner [EMAIL PROTECTED] Cc: Ingo Molnar [EMAIL PROTECTED] Cc: H. Peter Anvin [EMAIL PROTECTED] --- arch/x86/boot/compressed/misc_32.c | 20 +--- arch/x86/boot

[PATCH 2/9] x86: Unify whitespace in arch/x86/boot/compressed/vmlinux_??.scr

2008-01-26 Thread Ian Campbell
size reports no change in arch/x86/boot/compressed/vmlinux. Signed-off-by: Ian Campbell [EMAIL PROTECTED] Cc: Thomas Gleixner [EMAIL PROTECTED] Cc: Ingo Molnar [EMAIL PROTECTED] Cc: H. Peter Anvin [EMAIL PROTECTED] --- arch/x86/boot/compressed/vmlinux_32.scr |6 +++--- 1 files changed, 3

[PATCH 7/9] x86: Unify headers in arch/x86/boot/compressed/misc_??.c

2008-01-26 Thread Ian Campbell
size reports no change in arch/x86/boot/compressed/vmlinux. Signed-off-by: Ian Campbell [EMAIL PROTECTED] Cc: Thomas Gleixner [EMAIL PROTECTED] Cc: Ingo Molnar [EMAIL PROTECTED] Cc: H. Peter Anvin [EMAIL PROTECTED] --- arch/x86/boot/compressed/misc_32.c |1 - arch/x86/boot/compressed/misc_64

[PATCH 3/9] x86_64: Switch to .data.compressed in arch/x86/boot/compressed/vmlinux_64.scr

2008-01-26 Thread Ian Campbell
This makes the file identical to vmlinux_32.scr. size shows an expected movement from .text to .data and 4 extra bytes of padding. Signed-off-by: Ian Campbell [EMAIL PROTECTED] Cc: Thomas Gleixner [EMAIL PROTECTED] Cc: Ingo Molnar [EMAIL PROTECTED] Cc: H. Peter Anvin [EMAIL PROTECTED] --- arch

[PATCH 9/9] x86: Unify arch/x86/boot/compressed/misc_??.c

2008-01-26 Thread Ian Campbell
Remainder of unification can occur inplace. size reports no change in arch/x86/boot/compressed/vmlinux. Signed-off-by: Ian Campbell [EMAIL PROTECTED] Cc: Thomas Gleixner [EMAIL PROTECTED] Cc: Ingo Molnar [EMAIL PROTECTED] Cc: H. Peter Anvin [EMAIL PROTECTED] --- arch/x86/boot/compressed

[PATCH 8/9] x86: Unify variable names in arch/x86/boot/compressed/misc_??.c

2008-01-26 Thread Ian Campbell
size reports no change in arch/x86/boot/compressed/vmlinux. Signed-off-by: Ian Campbell [EMAIL PROTECTED] Cc: Thomas Gleixner [EMAIL PROTECTED] Cc: Ingo Molnar [EMAIL PROTECTED] Cc: H. Peter Anvin [EMAIL PROTECTED] --- arch/x86/boot/compressed/misc_32.c |8 1 files changed, 4

Re: [PATCH 3/9] x86_64: Switch to .data.compressed in arch/x86/boot/compressed/vmlinux_64.scr

2008-01-27 Thread Ian Campbell
On Sat, 2008-01-26 at 16:59 -0800, Yinghai Lu wrote: can you make 32 bit use .text.compressed instead ? Any reason to prefer .text? It is data at this stage after all. Ian. -- Ian Campbell Justice always prevails ... three times out of seven! -- Michael J. Wagner

[PATCHv2 8/9] x86: Unify variable names in arch/x86/boot/compressed/misc_??.c

2008-01-28 Thread Ian Campbell
size reports no change in arch/x86/boot/compressed/vmlinux. Signed-off-by: Ian Campbell [EMAIL PROTECTED] Cc: Thomas Gleixner [EMAIL PROTECTED] Cc: Ingo Molnar [EMAIL PROTECTED] Cc: H. Peter Anvin [EMAIL PROTECTED] --- arch/x86/boot/compressed/misc_32.c |8 1 files changed, 4

[PATCHv2 9/9] x86: Unify arch/x86/boot/compressed/misc_??.c

2008-01-28 Thread Ian Campbell
Remainder of unification can occur inplace. size reports no change in arch/x86/boot/compressed/vmlinux. Signed-off-by: Ian Campbell [EMAIL PROTECTED] Cc: Thomas Gleixner [EMAIL PROTECTED] Cc: Ingo Molnar [EMAIL PROTECTED] Cc: H. Peter Anvin [EMAIL PROTECTED] --- arch/x86/boot/compressed

[PATCHv2 5/9] x86: Unify strings in arch/x86/boot/compressed/misc_??.c

2008-01-28 Thread Ian Campbell
There seems to be a preference for the 64 bit version so use that on 32 bit and drop the stray leading . Signed-off-by: Ian Campbell [EMAIL PROTECTED] Cc: Thomas Gleixner [EMAIL PROTECTED] Cc: Ingo Molnar [EMAIL PROTECTED] Cc: H. Peter Anvin [EMAIL PROTECTED] --- arch/x86/boot/compressed/misc_32

[PATCHv2 1/9] x86: Unify whitespace and comments in arch/x86/boot/compressed/vmlinux_??.lds

2008-01-28 Thread Ian Campbell
size reports no change in arch/x86/boot/compressed/vmlinux. Signed-off-by: Ian Campbell [EMAIL PROTECTED] Cc: Thomas Gleixner [EMAIL PROTECTED] Cc: Ingo Molnar [EMAIL PROTECTED] Cc: H. Peter Anvin [EMAIL PROTECTED] --- arch/x86/boot/compressed/vmlinux_32.lds |6 +++--- arch/x86/boot

[PATCHv2 2/9] x86: Unify whitespace in arch/x86/boot/compressed/vmlinux_??.scr

2008-01-28 Thread Ian Campbell
size reports no change in arch/x86/boot/compressed/vmlinux. Signed-off-by: Ian Campbell [EMAIL PROTECTED] Cc: Thomas Gleixner [EMAIL PROTECTED] Cc: Ingo Molnar [EMAIL PROTECTED] Cc: H. Peter Anvin [EMAIL PROTECTED] --- arch/x86/boot/compressed/vmlinux_32.scr |6 +++--- 1 files changed, 3

Unify arch/x86/boot/compressed/{vmlinux.scr,misc.c}

2008-01-28 Thread Ian Campbell
Changes from last time: * Use .rodata.compressed instead of .data.compressed. * Use the 64 bit strings rather than the 32 bit versions, dropping the odd leading . -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More

[PATCHv2 3/9] x86_64: Switch to .rodata.compressed in arch/x86/boot/compressed/vmlinux_??.scr

2008-01-28 Thread Ian Campbell
vmlinux_64 and vmlinux_32.scr are now identical size shows an expected movement from .text to .rodata and 4 extra bytes of padding. Signed-off-by: Ian Campbell [EMAIL PROTECTED] Cc: Thomas Gleixner [EMAIL PROTECTED] Cc: Ingo Molnar [EMAIL PROTECTED] Cc: H. Peter Anvin [EMAIL PROTECTED] --- arch

[PATCHv2 4/9] x86_64: Unify arch/x86/boot/compressed/vmlinux_??.scr

2008-01-28 Thread Ian Campbell
The files are now identical so merge them. size reports no change in arch/x86/boot/compressed/vmlinux. Signed-off-by: Ian Campbell [EMAIL PROTECTED] Cc: Thomas Gleixner [EMAIL PROTECTED] Cc: Ingo Molnar [EMAIL PROTECTED] Cc: H. Peter Anvin [EMAIL PROTECTED] --- arch/x86/boot/compressed/Makefile

[PATCHv2 6/9] x86: Unify whitespace and comments in arch/x86/boot/compressed/misc_??.c

2008-01-28 Thread Ian Campbell
size reports no change in arch/x86/boot/compressed/vmlinux. Signed-off-by: Ian Campbell [EMAIL PROTECTED] Cc: Thomas Gleixner [EMAIL PROTECTED] Cc: Ingo Molnar [EMAIL PROTECTED] Cc: H. Peter Anvin [EMAIL PROTECTED] --- arch/x86/boot/compressed/misc_32.c | 20 +--- arch/x86/boot

[PATCHv2 7/9] x86: Unify headers in arch/x86/boot/compressed/misc_??.c

2008-01-28 Thread Ian Campbell
size reports no change in arch/x86/boot/compressed/vmlinux. Signed-off-by: Ian Campbell [EMAIL PROTECTED] Cc: Thomas Gleixner [EMAIL PROTECTED] Cc: Ingo Molnar [EMAIL PROTECTED] Cc: H. Peter Anvin [EMAIL PROTECTED] --- arch/x86/boot/compressed/misc_32.c |1 - arch/x86/boot/compressed/misc_64

Re: [PATCH(v3) 2.6.24] Fix fakephp deadlock

2008-01-28 Thread Ian Abbott
cases in sysfs that do that? -- -=( Ian Abbott @ MEV Ltd.E-mail: [EMAIL PROTECTED])=- -=( Tel: +44 (0)161 477 1898 FAX: +44 (0)161 718 3587 )=- -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo

Re: [PATCH] autofs4: fix sparse warning in root.c

2008-02-15 Thread Ian Kent
On Fri, 2008-02-15 at 17:49 -0800, Harvey Harrison wrote: fs/autofs4/root.c:536:23: warning: symbol 'ino' shadows an earlier one fs/autofs4/root.c:510:22: originally declared here There is no need to redeclare, we are at the end of the loop and in the next iteration of the loop, ino will be

Re: [PATCHv2] autofs4: fix sparse warning in root.c

2008-02-15 Thread Ian Kent
will be reset. Signed-off-by: Harvey Harrison [EMAIL PROTECTED] Acked-by: Ian Kent [EMAIL PROTECTED] --- fs/autofs4/root.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/fs/autofs4/root.c b/fs/autofs4/root.c index a54a946..aa4c5ff 100644 --- a/fs/autofs4/root.c +++ b

Re: arch/x86/mm/ioremap unification grew by 10x

2008-02-17 Thread Ian Campbell
it doesn't waste most of two pages? We have .bss.page_aligned and it seems appropriate to use it. Ian. --- From ac954372c1ed7830148bdea1e4283856c05c354f Mon Sep 17 00:00:00 2001 From: Ian Campbell [EMAIL PROTECTED] Date: Sun, 17 Feb 2008 19:08:34 + Subject: [PATCH] x86: bm_pte can be placed

Re: 2.6.25-rc1 xen pvops regression

2008-02-17 Thread Ian Campbell
they could contain a page table page etc. A useful tip for getting a backtrace out of a crashed Xen guest is to set on_crash=preserve in your domain config. Then once the crash has happened you can use /usr/lib/xen/bin/xenctx -s System.map domid where System.map is the guest kernel System.map. Ian

Re: [PATCHv3 0/3] x86: boot protocol updates.

2008-02-19 Thread Ian Campbell
On Sun, 2008-02-17 at 15:04 +0100, Thomas Gleixner wrote: On Wed, 13 Feb 2008, Ian Campbell wrote: Updates since last time: - Rebased to latest x86.git#mm (no changes required). Applied. Thanks, Thank you. Could you take this version of 1/3 x86: use ELF format in compressed

Re: 2.6.25-rc1 xen pvops regression

2008-02-19 Thread Ian Campbell
On Mon, 2008-02-18 at 02:40 -0800, Joel Becker wrote: On Sun, Feb 17, 2008 at 06:49:21PM +, Ian Campbell wrote: I've been seeing similar attempts to map 0xf0 but so far I was the only one (although that made no sense to me). Does the patch below help at all? The problem seems

Re: 2.6.25-rc1 xen pvops regression

2008-02-19 Thread Ian Campbell
On Mon, 2008-02-18 at 02:40 -0800, Joel Becker wrote: On Sun, Feb 17, 2008 at 06:49:21PM +, Ian Campbell wrote: x86/xen: Do not scan for DMI unless the DMI region is reserved by e820. This fixed it. I'm now booting successfully. Thank you! Excellent. Jeremy, are you happy

Re: 2.6.25-rc1 xen pvops regression

2008-02-20 Thread Ian Campbell
On Tue, 2008-02-19 at 23:43 -0800, H. Peter Anvin wrote: Ian Campbell wrote: On Mon, 2008-02-18 at 02:40 -0800, Joel Becker wrote: On Sun, Feb 17, 2008 at 06:49:21PM +, Ian Campbell wrote: x86/xen: Do not scan for DMI unless the DMI region is reserved by e820. This fixed

Re: 2.6.25-rc1 xen pvops regression

2008-02-20 Thread Ian Campbell
On Wed, 2008-02-20 at 13:58 -0800, Jeremy Fitzhardinge wrote: Ian Campbell wrote: On Tue, 2008-02-19 at 23:43 -0800, H. Peter Anvin wrote: Ian Campbell wrote: On Mon, 2008-02-18 at 02:40 -0800, Joel Becker wrote: On Sun, Feb 17, 2008 at 06:49:21PM +, Ian Campbell

Re: 2.6.25-rc1 xen pvops regression

2008-02-20 Thread Ian Campbell
size and perhaps a dose of bad luck. Ian. -- Ian Campbell ... at least I thought I was dancing, 'til somebody stepped on my hand. -- J. B. White -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo

Re: 2.6.25-rc1 xen pvops regression

2008-02-21 Thread Ian Campbell
On Feb 21 2008 14:43, Greg KH wrote: On Fri, Feb 22, 2008 at 01:33:03AM +0300, Alexey Dobriyan wrote: On Thu, Feb 21, 2008 at 01:14:55PM -0800, Linus Torvalds wrote: Quite frankly, I've several times been *this* close (holds up fingers so you can't even see between them) to just remove

Re: 2.6.25-rc1 xen pvops regression

2008-02-21 Thread Ian Campbell
in my original patch as below? (actually reverting to my original-original patch which I never sent out because checking for reserved sounded more correct at the time, which was dumb of me because I was well aware of the other possible types, I must have been having one of those days). Ian. From

Re: [PATCH] let XEN depend on PAE

2008-02-22 Thread Ian Campbell
On Fri, 2008-02-22 at 12:00 +0100, Arnd Hannemann wrote: As paravirtualized xen guests won't work with !X86_PAE, change the Kconfig accordingly. Really? Xen guests should work on non-PAE if you have a non-PAE hypervisor (which most distros don't ship but which does exist). Ian. -- Ian

Re: [2.6 patch] make xen-blkfront.c:blkif_getgeo() static

2008-02-22 Thread Ian Campbell
On Fri, 2008-02-22 at 21:58 +0200, Adrian Bunk wrote: This patch makes the needlessly global blkif_getgeo() static. Signed-off-by: Adrian Bunk [EMAIL PROTECTED] Acked-by: Ian Campbell [EMAIL PROTECTED] --- 6f34bfdbb8c24e06d982ccaccd24c25dba5b1956 diff --git a/drivers/block/xen

Re: [PATCH 0/4] autofs4 - implement a miscelaneous device for ioctl control

2008-02-25 Thread Ian Kent
google for the patch's title to understand the patch's background will get better coverage. So... resend, please? OK, sorry. I was waiting to hear from you anyway as, for some reason, at least one of the posts had HTML and so was bounced form lkml and fsdevel. I'll just re-send'em all. Ian

[PATCH 0/4] autofs4 - autofs needs a miscelaneous device for ioctls

2008-02-25 Thread Ian Kent
the trick. This is all available at the usual location on kernel.org. Ian -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http

[PATCH 1/4] autofs4 - check for invalid dentry in getpath

2008-02-25 Thread Ian Kent
Hi Andrew, Patch to catch invalid dentry when calculating it's path. Signed-off-by: Ian Kent [EMAIL PROTECTED] Ian --- diff -up linux-2.6.25-rc2-mm1/fs/autofs4/waitq.c.getpath-check-valid-dentry linux-2.6.25-rc2-mm1/fs/autofs4/waitq.c --- linux-2.6.25-rc2-mm1/fs/autofs4/waitq.c.getpath-check

[PATCH 3/4] autofs4 - track uid and gid of last mount requestor

2008-02-25 Thread Ian Kent
Hi Andrew, Patch to track the uid and gid of the last process to request a mount for on an autofs dentry. Signed-off-by: Ian Kent [EMAIL PROTECTED] Ian --- diff -up linux-2.6.25-rc2-mm1/fs/autofs4/inode.c.track-last-mount-ids linux-2.6.25-rc2-mm1/fs/autofs4/inode.c --- linux-2.6.25-rc2-mm1

[PATCH 4/4] autofs4 - add miscelaneous device for ioctls

2008-02-25 Thread Ian Kent
Hi Andrew, Patch to add miscellaneous device to autofs4 module for ioctls. Signed-off-by: Ian Kent [EMAIL PROTECTED] Ian --- diff -up linux-2.6.25-rc2-mm1/fs/autofs4/expire.c.device-node-ioctl linux-2.6.25-rc2-mm1/fs/autofs4/expire.c --- linux-2.6.25-rc2-mm1/fs/autofs4/expire.c.device-node

[PATCH 2/4] autofs4 - add mount option to display mount device

2008-02-25 Thread Ian Kent
Hi Andrew, Patch to add a display mount option to show the device number of the autofs mount super block. Signed-off-by: Ian Kent [EMAIL PROTECTED] Ian --- diff -up linux-2.6.25-rc2-mm1/fs/autofs4/inode.c.add-mount-device-display-option linux-2.6.25-rc2-mm1/fs/autofs4/inode.c --- linux

Re: [PATCH 3/4] autofs4 - track uid and gid of last mount requestor - correction

2008-02-25 Thread Ian Kent
On Tue, 26 Feb 2008, Ian Kent wrote: + + /* Set mount requestor */ + if (ino) { + if (ino) { + ino-uid = wq-uid; + ino-gid = wq-gid; + } + } + As has been

Re: [PATCH 2.6.20] arch ARM: Use ARRAY_SIZE macro when appropriate

2007-02-05 Thread Ian Molton
Ahmed S. Darwish wrote: Hi all, A patch to use ARRAY_SIZE macro already defined in linux/kernel.h Looks good. I can only speak for arm26 though, however trivial this is. Signed-off-by: Ahmed S. Darwish [EMAIL PROTECTED] Acked-by: Ian Molton [EMAIL PROTECTED] --- Patch isn't compile checked

doors in linux (a bit OT)

2007-02-07 Thread Ian Brown
wrong) in terms of overhead. My question is : It seems that the implementation of doors is not very complex in Open Solaris Is there a reason that the doors mechanism was not adopted by the linux kernel? Regards, Ian - To unsubscribe from this list: send the line unsubscribe linux-kernel

Re: [autofs] Bad race condition in the new autofs protocol somewhere

2007-02-07 Thread Ian Kent
a higher probability of being fixed. This looks like it may be a kernel bug that Jeff Moyer and I have been working on. I'm testing now. It may be better to update to a later kernel so I don't have to port the patch to several different kernels. Is that possible? Ian - To unsubscribe from this list

Re: [autofs] Bad race condition in the new autofs protocol somewhere

2007-02-07 Thread Ian Kent
On Wed, 2007-02-07 at 19:18 +0100, Olivier Galibert wrote: On Thu, Feb 08, 2007 at 03:07:41AM +0900, Ian Kent wrote: It may be better to update to a later kernel so I don't have to port the patch to several different kernels. Is that possible? Sure, 2.6.20 or -git? 2.6.20 has all

Re: [Xen-devel] [PATCH 0/4] x86/xen: page fault and context switch performance (v2)

2012-07-09 Thread Ian Campbell
On Mon, 2012-07-09 at 06:39 -0400, David Vrabel wrote: This series improves the performance of Xen PV guests when doing page faults (32-bit guests only) and context switches. These all look good to me, thanks David. Acked-by: Ian Campbell ian.campb...@citrix.com -- To unsubscribe from

Re: [Xen-devel] incorrect layout of globals from head_64.S during kexec boot

2012-07-10 Thread Ian Campbell
but wouldn't the right answer be for the original kernel to unmap the shared info on kexec? Or maybe remap it up to some high/reserved address? Can it read the original address used by hvmloader at start of day and reuse that? Ian. -- To unsubscribe from this list: send the line unsubscribe linux

Re: [Xen-devel] incorrect layout of globals from head_64.S during kexec boot

2012-07-10 Thread Ian Campbell
On Tue, 2012-07-10 at 10:51 -0400, Konrad Rzeszutek Wilk wrote: On Tue, Jul 10, 2012 at 08:46:34AM -0600, Ian Campbell wrote: On Tue, 2012-07-10 at 10:14 -0400, Konrad Rzeszutek Wilk wrote: Which brings me to another question - say we do use this patch, what if the decompressor overwrites

Re: [PATCH 00/83] staging: comedi: rtd520: initial cleanup

2012-07-11 Thread Ian Abbott
for the LAS0_ADC_CONVERSION register are no longer documented anywhere. -- -=( Ian Abbott @ MEV Ltd.E-mail: abbo...@mev.co.uk)=- -=( Tel: +44 (0)161 477 1898 FAX: +44 (0)161 718 3587 )=- -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body

Re: [PATCH 00/83] staging: comedi: rtd520: initial cleanup

2012-07-11 Thread Ian Abbott
On 2012-07-11 11:20, Ian Abbott wrote: On 2012-07-11 00:36, H Hartley Sweeten wrote: My main concern with this series of patches is they make it harder to determine what the register accesses actually do, mainly due to the removal of useful comments. For example: - RtdPacerStart(dev

[PATCH] staging: comedi: rtd520: add a few comments

2012-07-11 Thread Ian Abbott
H Hartley Sweeten's recent series of patches to clean up the rtd520 driver made some of the register accesses harder to understand. Add a few comments to provide some clues to the reader. Signed-off-by: Ian Abbott abbo...@mev.co.uk Cc: H Hartley Sweeten hswee...@visionengravers.com Cc: Greg

Re: [PATCH 00/30] staging: comedi: move 'struct pci_dev *' into comedi_device

2012-07-12 Thread Ian Abbott
wrapper struct pointer in the same hole. (Maybe 'h' for 'hardware' would be better than 'u'.) -- -=( Ian Abbott @ MEV Ltd.E-mail: abbo...@mev.co.uk )=- -=( Tel: +44 (0)161 477 1898 FAX: +44 (0)161 718 3587 )=- -- To unsubscribe from this list: send the line unsubscribe

Re: [PATCH 00/30] staging: comedi: move 'struct pci_dev *' into comedi_device

2012-07-12 Thread Ian Abbott
'struct device *hw_dev' member that could be used for this purpose. -- -=( Ian Abbott @ MEV Ltd.E-mail: abbo...@mev.co.uk )=- -=( Tel: +44 (0)161 477 1898 FAX: +44 (0)161 718 3587 )=- -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body

Re: [Xen-devel] [PATCH WIP 2/6] xen/arm: Introduce xen_guest_init

2012-07-12 Thread Ian Campbell
=linux-kernelm=134140077708602w=2). We need to be sure there is something there which signals running under Xen in the general sense too so we can detect it early on. Perhaps something explicitly for that purpose or perhaps one of these required items could serve as a key. Ian -- To unsubscribe from

Re: Oops after merge of tty-next

2012-07-23 Thread Ian Abbott
On 2012-07-21 23:41, Alan Cox wrote: On Fri, 20 Jul 2012 23:07:06 +0100 Ian Abbott abbo...@mev.co.uk wrote: I'm getting an Oops in the linux-next tree today after the merge of the remote-tracking branch 'tty/tty-next'. I bisected it down to commit 36b3c070d2346c890d690d71f6eab02f8c511137

Bug in UDF, setting larger file size when data in ICB

2012-07-23 Thread Ian Abbott
() because it does not like this i_alloc_type value. I think the simplest fix would be to add a 'goto' after the assignment to iinfo-i_lenAlloc, bypassing the call to udf_extend_file(). -- -=( Ian Abbott @ MEV Ltd.E-mail: abbo...@mev.co.uk)=- -=( Tel: +44 (0)161 477 1898 FAX: +44 (0

[PATCH] udf: fix udf_setsize() for file data in ICB

2012-07-23 Thread Ian Abbott
If the new size is larger than the old size and the old file data was stored in the ICB (iinfo-i_alloc_type == ICBTAG_FLAG_AD_IN_ICB) and the new size still fits in the ICB, skip the call to udf_extend_file() as it does not handle this i_alloc_type value (it calls BUG()). Signed-off-by: Ian

Re: Bug in UDF, setting larger file size when data in ICB

2012-07-23 Thread Ian Abbott
On 2012-07-23 16:19, Ian Abbott wrote: Hi folks, in fs/udf/inode.c, udf_setsize(), if the new size is larger than the old size and the old data is in the ICB and the new size still fits in the ICB (iinfo-i_alloc_type == ICBTAG_FLAG_AD_IN_ICB and iinfo-i_lenAlloc = newsize), udf_extend_file

Re: Need to know the size of data send from Kernel to USer Ap

2012-07-24 Thread Ian Abbott
and the length of the uncopied part on failure. So if copy_to_user() returns a non-zero value you should either return -EFAULT or work out the partial amount successfully read (as long as it is greater than zero) and return that. -- -=( Ian Abbott @ MEV Ltd.E-mail: abbo...@mev.co.uk

[PATCH] UDF: Add support for O_DIRECT

2012-07-24 Thread Ian Abbott
: nothing special here. Just call blockdev_direct_IO() from our new udf_direct_IO() handler and tidy up any blocks instantiated outside i_size on error. This is pretty standard. Also change the whitespace in udf_aops and udf_adinicb_aops to make them a bit neater. Signed-off-by: Ian Abbott abbo

[ANNOUNCE] autofs 5.0.7 release

2012-07-25 Thread Ian Kent
offset directory removal. - check negative cache much earlier. - dont use pthread_rwlock_tryrdlock(). - mount_nfs.so to honor explicit NFSv4 requests. - mount_nfs.so fix port=0 option behavior v3. - documentation fix some typos and misleading comments. Ian -- To unsubscribe from this list: send

[Fwd: [ANNOUNCE] autofs 5.0.7 release]

2012-07-25 Thread Ian Kent
Hi all, Oops, I sent this without updating the autofs mailing list address in my release announcement template and I didn't sign the message which I wanted to do. Sorry for the noise. Ian Forwarded Message From: Ian Kent ra...@themaw.net To: aut...@linux.kernel.org Cc: linux

Re: [PATCH 1/2] autofs4: allow autofs to work outside the initial PID namespace

2012-11-22 Thread Ian Kent
On Thu, 2012-11-22 at 17:24 +0100, Miklos Szeredi wrote: Patches were tested by the customer. Ian, Eric, do these patches look OK? They look OK to me but I'm still a bit concerned about changing the way this behaves, but I also believe this is the way we want it to behave. Give me a little

Re: [Xen-devel] [PATCH v2 01/11] kexec: introduce kexec_ops struct

2012-11-23 Thread Ian Campbell
sure? I could have sworn they lived in the hypervisor owned memory set aside by the crashkernel= parameter as Andy suggested. Ian. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http

Re: [Xen-devel] [PATCH v2 01/11] kexec: introduce kexec_ops struct

2012-11-23 Thread Ian Campbell
On Fri, 2012-11-23 at 09:56 +, Jan Beulich wrote: On 22.11.12 at 18:37, H. Peter Anvin h...@zytor.com wrote: I actually talked to Ian Jackson at LCE, and mentioned among other That was me actually (this happens surprisingly often ;-)). things the bogosity of requiring a PUD page

Re: [PATCH 1/2] autofs4: allow autofs to work outside the initial PID namespace

2012-11-23 Thread Ian Kent
On Fri, 2012-11-23 at 11:45 +0800, Ian Kent wrote: On Thu, 2012-11-22 at 17:24 +0100, Miklos Szeredi wrote: Patches were tested by the customer. Ian, Eric, do these patches look OK? They look OK to me but I'm still a bit concerned about changing the way this behaves, but I also believe

<    2   3   4   5   6   7   8   9   10   11   >