[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140521103846.GA2485@laptop.programming.kicks-ass.net>
Date: Wed, 21 May 2014 12:38:46 +0200
From: Peter Zijlstra <peterz@...radead.org>
To: Don Zickus <dzickus@...hat.com>
Cc: x86@...nel.org, Andi Kleen <andi@...stfloor.org>,
gong.chen@...ux.intel.com, LKML <linux-kernel@...r.kernel.org>,
Elliott@...com, thomas.mingarelli@...com
Subject: Re: [PATCH 5/6] x86, nmi: Move default external NMI handler to its
own routine
On Thu, May 15, 2014 at 03:25:48PM -0400, Don Zickus wrote:
> Now that we have setup an NMI subtye called NMI_EXT, there is really
> no need to hard code the default external NMI handler in the main
> nmi handler routine.
>
> Move it to a proper function and register it on boot. This change is
> just code movement.
>
> In addition, update the hpwdt to allow it to unregister the default
> handler on its registration (and vice versa). This allows the driver
> to take control of that io port (which it ultimately wanted to do
> originally), but in a cleaner way.
wanting that is one thing, but is it also a sane thing? You don't do
thing just because drivers want it.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists