| To: | Kevin Cernekee <cernekee@gmail.com> |
|---|---|
| Subject: | Re: [PATCH 8/9] MIPS: Add board_* hooks for ebase and NMI |
| From: | Ralf Baechle <ralf@linux-mips.org> |
| Date: | Tue, 8 Nov 2011 15:23:54 +0000 |
| Cc: | linux-mips@linux-mips.org |
| In-reply-to: | <338065dfaf54d0ca25497eabf63a54f0@localhost> |
| References: | <c2c8833593cb8eeef5c102468e105497@localhost> <338065dfaf54d0ca25497eabf63a54f0@localhost> |
| Sender: | linux-mips-bounce@linux-mips.org |
| User-agent: | Mutt/1.5.21 (2010-09-15) |
On Sat, Nov 05, 2011 at 02:21:17PM -0700, Kevin Cernekee wrote: > Certain BMIPS platforms need to move the exception vectors and/or > intercept NMI events. Add hooks to make this possible. There are other potencial users of NMI hooks and exporting random function pointers has never been terribly stylish. I instead suggest to use notifiers, see <linux/notifiers.h>. Due to the locking constraints in an NMI board_nmi_handler should then become a raw notifier and the board_ebase_setup() function could just go away. Ralf |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | built-in command line vs. bootloader-supplied, Ricard Wanderlof |
|---|---|
| Next by Date: | Re: [PATCH 3/9] MIPS: BMIPS: Add XKS01 feature flag to Kconfig, Ralf Baechle |
| Previous by Thread: | [PATCH 8/9] MIPS: Add board_* hooks for ebase and NMI, Kevin Cernekee |
| Next by Thread: | [PATCH 9/9] MIPS: BMIPS: Add SMP support code for BMIPS43xx/BMIPS5000, Kevin Cernekee |
| Indexes: | [Date] [Thread] [Top] [All Lists] |