mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Martin Schwidefsky <schwidefsky@de.ibm.com>
To: Huang Ying <ying.huang@intel.com>
Cc: Peter Zijlstra <peterz@infradead.org>,
	Ingo Molnar <mingo@elte.hu>, "H. Peter Anvin" <hpa@zytor.com>,
	paulus <paulus@samba.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	Andi Kleen <andi@firstfloor.org>, dhowells <dhowells@redhat.com>,
	Russell King <rmk@arm.linux.org.uk>,
	Kyle McMartin <kyle@mcmartin.ca>, davem <davem@davemloft.net>,
	Linux-Arch <linux-arch@vger.kernel.org>
Subject: Re: [PATCH -tip -v4] irq_work: generic hard-irq context callbacks
Date: Wed, 15 Sep 2010 09:51:57 +0200	[thread overview]
Message-ID: <20100915095157.0acfba6d@mschwide.boeblingen.de.ibm.com> (raw)
In-Reply-To: <1284528590.2256.135.camel@yhuang-dev.sh.intel.com>

On Wed, 15 Sep 2010 13:29:50 +0800
Huang Ying <ying.huang@intel.com> wrote:

> On Mon, 2010-09-13 at 19:36 +0800, Peter Zijlstra wrote:
> > On Mon, 2010-09-13 at 12:32 +0200, Martin Schwidefsky wrote:
> > > On Mon, 13 Sep 2010 14:50:48 +0800
> > > Huang Ying <ying.huang@intel.com> wrote:
> > > 
> > > > From:  Peter Zijlstra <a.p.zijlstra@chello.nl>
> > > > 
> > > > In order for other NMI context users that want to run things from
> > > > hard-IRQ context, extract the perf_event callback mechanism.
> > > > 
> > > > Huang Ying: some fixes
> > > > 
> > > > This patch is only tested on x86 platform.
> > > > 
> > > > 
> > > > v4:
> > > > 
> > > > -rebased on latest -tip tree
> > > > 
> > > > Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
> > > > Signed-off-by: Huang Ying <ying.huang@intel.com>
> > > 
> > > On s390 I get compile errors:
> > > 
> > > include/linux/perf_event.h:464:29: error: asm/perf_event.h: No such file or directory
> > > 
> > > Not a good idea to completely remove the perf_event.h from arch/s390/include/asm.
> > > With an empty header file the kernel at least compiles.
> > 
> > Urgh, Huang, could you at least compile test the other arches?
> 
> I uses the cross build tool from:
> 
> http://www.kernel.org/pub/tools/crosstool/
> 
> But I get compile errors on s390 and alpha even for tip/master
> (ce0c65112d37ff04016b4e0962a406281640739b). The build logs are attached.
> 
> Do I use the wrong git tree? Or we should fix tip/master firstly?
> 
> And frv and sh have compile error even for linus/master and 2.6.35. So I
> can not compile test for these arches.
> 
> Do I use the wrong cross tool?
> 
> The kernel configuration is generated as follow:
> 
> make defconfig
> ./scripts/config --enable perf_events

The compile error on s390 is a known problem in the -tip/-next tree introduced
with git commit 2bf2160d8805de64308e2e7c3cd97813cb58ed2f. The proposed solution
from Heiko as discussed on linux-next is this patch:

---
 arch/s390/include/asm/hardirq.h |    4 ----
 1 file changed, 4 deletions(-)

--- a/arch/s390/include/asm/hardirq.h
+++ b/arch/s390/include/asm/hardirq.h
@@ -12,10 +12,6 @@
 #ifndef __ASM_HARDIRQ_H
 #define __ASM_HARDIRQ_H
 
-#include <linux/threads.h>
-#include <linux/sched.h>
-#include <linux/cache.h>
-#include <linux/interrupt.h>
 #include <asm/lowcore.h>
 
 #define local_softirq_pending() (S390_lowcore.softirq_pending)


-- 
blue skies,
   Martin.

"Reality continues to ruin my life." - Calvin.


  reply	other threads:[~2010-09-15  7:52 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-13  6:50 Huang Ying
2010-09-13  9:18 ` Peter Zijlstra
2010-09-13 10:32 ` Martin Schwidefsky
2010-09-13 11:36   ` Peter Zijlstra
2010-09-15  5:29     ` Huang Ying
2010-09-15  7:51       ` Martin Schwidefsky [this message]
2010-09-15  8:28       ` Peter Zijlstra
2010-09-15  8:50         ` Matt Fleming
2010-09-16  6:59           ` Huang Ying
2010-09-16  7:03             ` Paul Mundt
2010-09-16  8:57         ` Huang Ying
2010-09-17 12:37         ` David Howells
2010-09-23 20:12         ` David Howells
2010-09-26  0:40           ` Huang Ying
2010-09-26  7:32           ` David Howells
2010-09-15 15:10 Andi Kleen
2010-09-15 15:41 ` Peter Zijlstra
2010-09-15 19:30 ` Geert Uytterhoeven

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=20100915095157.0acfba6d@mschwide.boeblingen.de.ibm.com \
    --to=schwidefsky@de.ibm.com \
    --cc=andi@firstfloor.org \
    --cc=davem@davemloft.net \
    --cc=dhowells@redhat.com \
    --cc=hpa@zytor.com \
    --cc=kyle@mcmartin.ca \
    --cc=linux-arch@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=paulus@samba.org \
    --cc=peterz@infradead.org \
    --cc=rmk@arm.linux.org.uk \
    --cc=ying.huang@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
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

all inboxes | Powered by JetHome®