public inbox for linux-next@vger.kernel.org 
 help / color / mirror / Atom feed
From: "Rafael J. Wysocki" <rjw@sisk•pl>
To: Stephen Rothwell <sfr@canb•auug.org.au>
Cc: linux-next@vger•kernel.org, LKML <linux-kernel@vger•kernel.org>,
	Ingo Molnar <mingo@elte•hu>,
	Jeremy Fitzhardinge <jeremy@goop•org>,
	kernel-testers@vger•kernel.org
Subject: Re: linux-next: Tree for July 3
Date: Fri, 4 Jul 2008 01:54:15 +0200	[thread overview]
Message-ID: <200807040154.16200.rjw@sisk.pl> (raw)
In-Reply-To: <20080703190948.8e7bceca.sfr@canb.auug.org.au>

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.

Thanks,
Rafael

---
Author: Jeremy Fitzhardinge <jeremy@goop•org>
Date:   Fri Jun 27 12:04:03 2008 -0700

    x86_64: fix non-paravirt compilation
    
    Make sure SWAPGS and PARAVIRT_ADJUST_EXCEPTION_FRAME are properly
    defined when CONFIG_PARAVIRT is off.
    
    Fixes Ingo's build failure:
    arch/x86/kernel/entry_64.S: Assembler messages:
    arch/x86/kernel/entry_64.S:1201: Error: invalid character '_' in mnemonic
    arch/x86/kernel/entry_64.S:1205: Error: invalid character '_' in mnemonic
    arch/x86/kernel/entry_64.S:1209: Error: invalid character '_' in mnemonic
    arch/x86/kernel/entry_64.S:1213: Error: invalid character '_' in mnemonic
    
    Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix•com>
    Cc: Nick Piggin <npiggin@suse•de>
    Cc: Mark McLoughlin <markmc@redhat•com>
    Cc: xen-devel <xen-devel@lists•xensource.com>
    Cc: Eduardo Habkost <ehabkost@redhat•com>
    Cc: Vegard Nossum <vegard.nossum@gmail•com>
    Cc: Stephen Tweedie <sct@redhat•com>
    Signed-off-by: Ingo Molnar <mingo@elte•hu>

diff --git a/include/asm-x86/irqflags.h b/include/asm-x86/irqflags.h
index 484c74f..754bb3a 100644
--- a/include/asm-x86/irqflags.h
+++ b/include/asm-x86/irqflags.h
@@ -167,7 +167,20 @@ static inline unsigned long __raw_local_irq_save(void)
 #define INTERRUPT_RETURN_NMI_SAFE	NATIVE_INTERRUPT_RETURN_NMI_SAFE
 
 #ifdef CONFIG_X86_64
+#define SWAPGS	swapgs
+/*
+ * Currently paravirt can't handle swapgs nicely when we
+ * don't have a stack we can rely on (such as a user space
+ * stack).  So we either find a way around these or just fault
+ * and emulate if a guest tries to call swapgs directly.
+ *
+ * Either way, this is a good way to document that we don't
+ * have a reliable stack. x86_64 only.
+ */
 #define SWAPGS_UNSAFE_STACK	swapgs
+
+#define PARAVIRT_ADJUST_EXCEPTION_FRAME	/*  */
+
 #define INTERRUPT_RETURN	iretq
 #define USERGS_SYSRET64				\
 	swapgs;					\
@@ -233,15 +246,6 @@ static inline void trace_hardirqs_fixup(void)
 #else
 
 #ifdef CONFIG_X86_64
-/*
- * Currently paravirt can't handle swapgs nicely when we
- * don't have a stack we can rely on (such as a user space
- * stack).  So we either find a way around these or just fault
- * and emulate if a guest tries to call swapgs directly.
- *
- * Either way, this is a good way to document that we don't
- * have a reliable stack. x86_64 only.
- */
 #define ARCH_TRACE_IRQS_ON		call trace_hardirqs_on_thunk
 #define ARCH_TRACE_IRQS_OFF		call trace_hardirqs_off_thunk
 #define ARCH_LOCKDEP_SYS_EXIT		call lockdep_sys_exit_thunk
diff --git a/include/asm-x86/processor.h b/include/asm-x86/processor.h
index a935c70..6f5e195 100644
--- a/include/asm-x86/processor.h
+++ b/include/asm-x86/processor.h
@@ -535,9 +535,6 @@ static inline void load_sp0(struct tss_struct *tss,
 }
 
 #define set_iopl_mask native_set_iopl_mask
-#define SWAPGS	swapgs
-
-#define PARAVIRT_ADJUST_EXCEPTION_FRAME	/*  */
 #endif /* CONFIG_PARAVIRT */
 
 /*

  reply	other threads:[~2008-07-03 23:54 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-03  9:09 linux-next: Tree for July 3 Stephen Rothwell
2008-07-03 23:54 ` Rafael J. Wysocki [this message]
2008-07-05 10:38   ` Rafael J. Wysocki
2008-07-04 18:29 ` linux-next-0703 -- more ppc serial fixes Joseph Fannin
2008-07-04 19:51   ` Alan Cox
  -- strict thread matches above, loose matches on Subject: below --
2009-07-03  6:24 linux-next: Tree for July 3 Stephen Rothwell
2012-07-03  5:50 Stephen Rothwell
2012-07-03  5:54 ` Stephen Rothwell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200807040154.16200.rjw@sisk.pl \
    --to=rjw@sisk$(echo .)pl \
    --cc=jeremy@goop$(echo .)org \
    --cc=kernel-testers@vger$(echo .)kernel.org \
    --cc=linux-kernel@vger$(echo .)kernel.org \
    --cc=linux-next@vger$(echo .)kernel.org \
    --cc=mingo@elte$(echo .)hu \
    --cc=sfr@canb$(echo .)auug.org.au \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox