mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Rodolfo Giometti <giometti@linux.it>
To: linux-kernel@vger.kernel.org
Cc: Andrew Morton <akpm@linux-foundation.org>,
	David Woodhouse <dwmw2@infradead.org>,
	Dave Jones <davej@redhat.com>, Sam Ravnborg <sam@ravnborg.org>,
	Greg KH <greg@kroah.com>, Randy Dunlap <randy.dunlap@oracle.com>,
	Kay Sievers <kay.sievers@vrfy.org>,
	Alan Cox <alan@lxorguk.ukuu.org.uk>,
	"H. Peter Anvin" <hpa@zytor.com>, Ingo Molnar <mingo@elte.hu>,
	Michael Kerrisk <mtk.manpages@gmail.com>,
	Christoph Hellwig <hch@infradead.org>,
	Rodolfo Giometti <giometti@linux.it>
Subject: [PATCH 11/11] arm: add low level IRQ timestamps recording for arm platforms.
Date: Wed,  2 Dec 2009 18:18:49 +0100	[thread overview]
Message-ID: <1259774329-29663-12-git-send-email-giometti@linux.it> (raw)
In-Reply-To: <1259774329-29663-11-git-send-email-giometti@linux.it>

Signed-off-by: Rodolfo Giometti <giometti@linux.it>
---
 arch/arm/kernel/irq.c |    2 ++
 drivers/pps/Kconfig   |    2 +-
 2 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/arch/arm/kernel/irq.c b/arch/arm/kernel/irq.c
index c9a8619..4708db2 100644
--- a/arch/arm/kernel/irq.c
+++ b/arch/arm/kernel/irq.c
@@ -109,6 +109,8 @@ asmlinkage void __exception asm_do_IRQ(unsigned int irq, struct pt_regs *regs)
 
 	irq_enter();
 
+	irq_save_ts(irq);
+
 	/*
 	 * Some hardware gives randomly wrong interrupts.  Rather
 	 * than crashing, do something sensible.
diff --git a/drivers/pps/Kconfig b/drivers/pps/Kconfig
index 6e8a2aa..dcef32e 100644
--- a/drivers/pps/Kconfig
+++ b/drivers/pps/Kconfig
@@ -24,7 +24,7 @@ config PPS
 
 config PPS_IRQ_EVENTS
 	bool "Use low level IRQ timestamps"
-	depends on PPS && (X86_32 || X86_64)
+	depends on PPS && (X86_32 || X86_64 || ARM)
 	default no
 	help
 	  Say Y here if you wish using low level IRQ timestamps to register
-- 
1.6.3.3


  reply	other threads:[~2009-12-02 17:20 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-02 17:18 LinuxPPS new functionalities Rodolfo Giometti
2009-12-02 17:18 ` [PATCH 01/11] pps: userland header file for PPS API Rodolfo Giometti
2009-12-02 17:18   ` [PATCH 02/11] pps: documentation programs and examples Rodolfo Giometti
2009-12-02 17:18     ` [PATCH 03/11] pps: LinuxPPS clients support Rodolfo Giometti
2009-12-02 17:18       ` [PATCH 04/11] ldisc: new dcd_change() method for line disciplines Rodolfo Giometti
2009-12-02 17:18         ` [PATCH 05/11] ldisc n_tty: export all N_TTY ldisc methods Rodolfo Giometti
2009-12-02 17:18           ` [PATCH 06/11] pps: serial clients support Rodolfo Giometti
2009-12-02 17:18             ` [PATCH 07/11] serial 8250: enable PPS support Rodolfo Giometti
2009-12-02 17:18               ` [PATCH 08/11] pps: parallel port clients support Rodolfo Giometti
2009-12-02 17:18                 ` [PATCH 09/11] pps: low level IRQ timestamps recording Rodolfo Giometti
2009-12-02 17:18                   ` [PATCH 10/11] serial amba-pl010: enable PPS support Rodolfo Giometti
2009-12-02 17:18                     ` Rodolfo Giometti [this message]
2009-12-03  0:10                   ` [PATCH 09/11] pps: low level IRQ timestamps recording H. Peter Anvin
2009-12-03 12:01                     ` Rodolfo Giometti
2009-12-05  6:46                       ` H. Peter Anvin
2009-12-02 18:59             ` [PATCH 06/11] pps: serial clients support Alan Cox
2009-12-03 10:53               ` Rodolfo Giometti
2009-12-03 11:46                 ` Alan Cox
2009-12-03 12:05                   ` Rodolfo Giometti
2009-12-03 12:24                     ` Alan Cox
2009-12-02 18:18           ` [PATCH 05/11] ldisc n_tty: export all N_TTY ldisc methods Greg KH

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=1259774329-29663-12-git-send-email-giometti@linux.it \
    --to=giometti@linux.it \
    --cc=akpm@linux-foundation.org \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=davej@redhat.com \
    --cc=dwmw2@infradead.org \
    --cc=greg@kroah.com \
    --cc=hch@infradead.org \
    --cc=hpa@zytor.com \
    --cc=kay.sievers@vrfy.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=mtk.manpages@gmail.com \
    --cc=randy.dunlap@oracle.com \
    --cc=sam@ravnborg.org \
    /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®