* [PROPOSAL] NMI & register clash handling infrastructure
2010-05-11 4:51 [PROPOSAL] NMI & register " Oza Oza
@ 2010-05-24 9:49 ` Oza Oza
0 siblings, 0 replies; 4+ messages in thread
From: Oza Oza @ 2010-05-24 9:49 UTC (permalink / raw)
To: linux-kernel
Hi,
This is my first post to the group, please excuse me, If I unknowingly miss to follow writing ethics.
Proposal/Need:
I was working on providing accurate process usage support, and writing a kernel module,
I configured cpu-core-unhalted-event and configured LVT (local vector table) with NMI (non-maskable interrupt), and surprisingly Oprofile stopped working,
Then I realized, that set_nmi_call back just overwrites nmi_callback function pointer.
My proposal/idea/thinking is;
have a kernel module which accepts NMI registration from any kernel component, and providing support to the the any kernel service which basically need to service NMI.
It may not only supports this, but also can provide central infrastructure which has capabilities such as granting MSR (model specific register) access to the the modules, which may avoid potential clash of MSRs (e.g. two modules are trying to configure same MSR), control NMI registration-unregisteration events etc..
I am not sure, whether this is a good idea or bad idea, but I thought it adds flexibility and some value addition in kernel,
and I find this place precisely right to post this idea.
Any feedback/suggestions/additions would be appreciated.
Regards,
Oza.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PROPOSAL] NMI & register clash handling infrastructure
@ 2010-05-24 9:49 Oza Oza
2010-06-04 3:04 ` Oza Oza
0 siblings, 1 reply; 4+ messages in thread
From: Oza Oza @ 2010-05-24 9:49 UTC (permalink / raw)
To: linux-kernel
Hi,
This is my first post to the group, please excuse me, If I unknowingly miss to follow writing ethics.
Proposal/Need:
I was working on providing accurate process usage support, and writing a kernel module,
I configured cpu-core-unhalted-event and configured LVT (local vector table) with NMI (non-maskable interrupt), and surprisingly Oprofile stopped working,
Then I realized, that set_nmi_call back just overwrites nmi_callback function pointer.
My proposal/idea/thinking is;
have a kernel module which accepts NMI registration from any kernel component, and providing support to the the any kernel service which basically need to service NMI.
It may not only supports this, but also can provide central infrastructure which has capabilities such as granting MSR (model specific register) access to the the modules, which may avoid potential clash of MSRs (e.g. two modules are trying to configure same MSR), control NMI registration-unregisteration events etc..
I am not sure, whether this is a good idea or bad idea, but I thought it adds flexibility and some value addition in kernel,
and I find this place precisely right to post this idea.
Any feedback/suggestions/additions would be appreciated.
Regards,
Oza.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PROPOSAL] NMI & register clash handling infrastructure
2010-05-24 9:49 [PROPOSAL] NMI & register clash handling infrastructure Oza Oza
@ 2010-06-04 3:04 ` Oza Oza
0 siblings, 0 replies; 4+ messages in thread
From: Oza Oza @ 2010-06-04 3:04 UTC (permalink / raw)
To: linux-kernel
Hi,
This is my first post to the group, please excuse me, If I unknowingly miss to follow writing ethics.
Proposal/Need:
I was working on providing accurate process usage support, and writing a kernel module,
I configured cpu-core-unhalted-event and configured LVT (local vector table) with NMI (non-maskable interrupt), and surprisingly Oprofile stopped working,
Then I realized, that set_nmi_call back just overwrites nmi_callback function pointer.
My proposal/idea/thinking is;
have a kernel module which accepts NMI registration from any kernel component, and providing support to the the any kernel service which basically need to service NMI.
It may not only supports this, but also can provide central infrastructure which has capabilities such as granting MSR (model specific register) access to the the modules, which may avoid potential clash of MSRs (e.g. two modules are trying to configure same MSR), control NMI registration-unregisteration events etc..
I am not sure, whether this is a good idea or bad idea, but I thought it adds flexibility and some value addition in kernel,
and I find this place precisely right to post this idea.
Any feedback/suggestions/additions would be appreciated.
Regards,
Oza.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PROPOSAL] NMI & register clash handling infrastructure
@ 2010-06-04 3:04 Oza Oza
0 siblings, 0 replies; 4+ messages in thread
From: Oza Oza @ 2010-06-04 3:04 UTC (permalink / raw)
To: linux-kernel
Hi,
This is my first post to the group, please excuse me, If I unknowingly miss to follow writing ethics.
Proposal/Need:
I was working on providing accurate process usage support, and writing a kernel module,
I configured cpu-core-unhalted-event and configured LVT (local vector table) with NMI (non-maskable interrupt), and surprisingly Oprofile stopped working,
Then I realized, that set_nmi_call back just overwrites nmi_callback function pointer.
My proposal/idea/thinking is;
have a kernel module which accepts NMI registration from any kernel component, and providing support to the the any kernel service which basically need to service NMI.
It may not only supports this, but also can provide central infrastructure which has capabilities such as granting MSR (model specific register) access to the the modules, which may avoid potential clash of MSRs (e.g. two modules are trying to configure same MSR), control NMI registration-unregisteration events etc..
I am not sure, whether this is a good idea or bad idea, but I thought it adds flexibility and some value addition in kernel,
and I find this place precisely right to post this idea.
Any feedback/suggestions/additions would be appreciated.
Regards,
Oza.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-06-04 3:04 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-24 9:49 [PROPOSAL] NMI & register clash handling infrastructure Oza Oza
2010-06-04 3:04 ` Oza Oza
-- strict thread matches above, loose matches on Subject: below --
2010-06-04 3:04 Oza Oza
2010-05-11 4:51 [PROPOSAL] NMI & register " Oza Oza
2010-05-24 9:49 ` [PROPOSAL] NMI & register clash " Oza Oza
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox