Re: linux-next: Tree for July 3

From: Rafael J. Wysocki
Date: Sat Jul 05 2008 - 06:37:16 EST


On Friday, 4 of July 2008, Rafael J. Wysocki wrote:
> On Thursday, 3 of July 2008, Stephen Rothwell wrote:
> > Hi all,
> >
> > Changes since next-20080702:
> >
> > New trees: kmemcheck and generic-ipi.
> >
> > The pci tree gained a conflict against the driver-core tree.
> >
> > The powerpc tree gained a conflict against the i2c tree.
> >
> > The net tree gained a couple of conflicts against Linus' tree and the
> > wireless-current tree.
> >
> > The wireless tree gained a couple of conflicts against the
> > wireless-current tree.
> >
> > The rr tree lost its two build fixup patches but gained another conflict
> > against the sched tree.
> >
> > The blk-removal tree lost its conflict with the s390 tree.
> >
> > The kmemcheck tree gained conflicts against the ftrace, sched, and x86
> > trees.
> >
> > The generic-ipi tree gained conflicts against the powerpc, kmemcheck and
> > net trees. And had two build failures requiring a patch and a revert.
> >
> > I have also applied the following patches for known problems (I assume
> > that these will be merged into their appropriate trees shortly):
> >
> > NFS: Fix the mount protocol defaults for binary mounts
> > fix "ftrace: store mcount address in rec->ip"
> >
> > There are several outstanding build failures due to structural changes in
> > the ttydev tree (see http://kisskb.ellerman.id.au/linux-next).
>
> This tree didn't compile for me on x86-64.
>
> After adding the appended patch it started to compile, but it doesn't boot
> (hangs very early, before any messages can get to the console).
>
> I'll bisect tomorrow if I have the time.

This problem is fixed by applying the appended patch.

Thanks,
Rafael

---
Author: Jeremy Fitzhardinge <jeremy@xxxxxxxx>
Date: Sun Jun 29 20:02:44 2008 -0700

x86: setup_arch() && early_ioremap_init()

Looks like the setup.c unification missed the early_ioremap init from
the early_ioremap unification. Unconditionally call early_ioremap_init().

needed for "x86/paravirt: groundwork for 64-bit Xen support".

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@xxxxxxxxxx>
Cc: Nick Piggin <npiggin@xxxxxxx>
Cc: Mark McLoughlin <markmc@xxxxxxxxxx>
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Cc: Eduardo Habkost <ehabkost@xxxxxxxxxx>
Cc: Vegard Nossum <vegard.nossum@xxxxxxxxx>
Cc: Stephen Tweedie <sct@xxxxxxxxxx>
Cc: Yinghai Lu <yhlu.kernel@xxxxxxxxx>
Signed-off-by: Ingo Molnar <mingo@xxxxxxx>

diff --git a/arch/x86/kernel/setup.c b/arch/x86/kernel/setup.c
index fb318ed..caec79f 100644
--- a/arch/x86/kernel/setup.c
+++ b/arch/x86/kernel/setup.c
@@ -523,12 +523,13 @@ void __init setup_arch(char **cmdline_p)
memcpy(&boot_cpu_data, &new_cpu_data, sizeof(new_cpu_data));
pre_setup_arch_hook();
early_cpu_init();
- early_ioremap_init();
reserve_setup_data();
#else
printk(KERN_INFO "Command line: %s\n", boot_command_line);
#endif

+ early_ioremap_init();
+
ROOT_DEV = old_decode_dev(boot_params.hdr.root_dev);
screen_info = boot_params.screen_info;
edid_info = boot_params.edid_info;

--
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/