linux-mips.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/7] Watchdog driver for Octeon SOCs.
@ 2010-07-24  1:41 David Daney
  2010-07-24  1:41 ` [PATCH 1/7] MIPS: Add drotr32 and uasm_i_drotr_safe to uasm David Daney
                   ` (6 more replies)
  0 siblings, 7 replies; 20+ messages in thread
From: David Daney @ 2010-07-24  1:41 UTC (permalink / raw)
  To: linux-mips, ralf, wim; +Cc: linux-kernel, David Daney

The main point of this patch set is to add a watchdog driver for
Octeon SOCs.  There is however, some perperation that has to be done
first.

The first two patches add some instructions to the MIPS uasm that are
needed by the watchdog.

If we want the watchdog to be usable as a module we need to export the
uasm APIs, prom_putchar and  __cpu_*_map (third, forth and fifth patchs).

The watch dog tests the c0_Status.NMI bit, so we define this in the
sixth patch.

That brings us to the grand finale, the watchdog driver itself.


David Daney (7):
  MIPS: Add drotr32 and uasm_i_drotr_safe to uasm.
  MIPS: Add BBIT0 and BBIT1 instructions to uasm
  MIPS: Add option to export uasm API.
  MIPS: Octeon: Export prom_putchar().
  MIPS: Export __cpu_number_map and __cpu_logical_map.
  MIPS: Define ST0_NMI in asm/mipsregs.h
  watchdog: Add watchdog driver for OCTEON SOCs.

 arch/mips/Kconfig                  |    3 +
 arch/mips/cavium-octeon/setup.c    |    6 +-
 arch/mips/include/asm/mipsregs.h   |    1 +
 arch/mips/include/asm/uasm.h       |   51 ++-
 arch/mips/kernel/cpu-bugs64.c      |    2 +-
 arch/mips/kernel/smp.c             |    4 +
 arch/mips/mm/uasm.c                |  162 ++++++---
 drivers/watchdog/Kconfig           |   18 +
 drivers/watchdog/Makefile          |    2 +
 drivers/watchdog/octeon-wdt-main.c |  745 ++++++++++++++++++++++++++++++++++++
 drivers/watchdog/octeon-wdt-nmi.S  |   64 +++
 11 files changed, 990 insertions(+), 68 deletions(-)
 create mode 100644 drivers/watchdog/octeon-wdt-main.c
 create mode 100644 drivers/watchdog/octeon-wdt-nmi.S

^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2010-08-02 12:57 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-24  1:41 [PATCH 0/7] Watchdog driver for Octeon SOCs David Daney
2010-07-24  1:41 ` [PATCH 1/7] MIPS: Add drotr32 and uasm_i_drotr_safe to uasm David Daney
2010-07-24  2:54   ` Ralf Baechle
2010-07-24  1:41 ` [PATCH 2/7] MIPS: Add BBIT0 and BBIT1 instructions " David Daney
2010-07-24  2:55   ` Ralf Baechle
2010-07-24  1:41 ` [PATCH 3/7] MIPS: Add option to export uasm API David Daney
2010-07-24  2:55   ` Ralf Baechle
2010-07-24  1:41 ` [PATCH 4/7] MIPS: Octeon: Export prom_putchar() David Daney
2010-07-24  2:55   ` Ralf Baechle
2010-07-24  1:41 ` [PATCH 5/7] MIPS: Export __cpu_number_map and __cpu_logical_map David Daney
2010-07-24  2:55   ` Ralf Baechle
2010-07-24  1:41 ` [PATCH 6/7] MIPS: Define ST0_NMI in asm/mipsregs.h David Daney
2010-07-24  2:55   ` Ralf Baechle
2010-07-24  1:41 ` [PATCH 7/7] watchdog: Add watchdog driver for OCTEON SOCs David Daney
2010-07-24  3:07   ` Ralf Baechle
2010-07-29 18:08     ` Wim Van Sebroeck
2010-07-24  3:58   ` Sam Ravnborg
2010-07-24 17:16     ` [PATCH] watchdog: Add watchdog driver for OCTEON SOCs (v2) David Daney
2010-08-02 12:37       ` Wim Van Sebroeck
2010-08-02 12:57         ` Ralf Baechle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).