linux2.6 中关于中断flags IRQF_TIMER的含义
来源:互联网 发布:cad图纸加密软件 编辑:程序博客网 时间:2024/06/18 13:49
The logic in disable_device_interrupts()already skips interrupts marked with IRQF_TIMER,
------------------------------------------------------------------
On Sun, 14 Jun 2009, Thomas Gleixner wrote:
> On Sun, 14 Jun 2009, Pallipadi, Venkatesh wrote:
> > >Benjamin just confirmed that. The logic in disable_device_interrupts()
> > >already skips interrupts marked with IRQF_TIMER, but I suspect that
> > >the hpet/MSI interupts are not marked that way.
> > >
> >
> > For percpu hpet at offline we will have
> > - clockevent shutdown which will disable the interrupt
> > - free_irq that will unregister on CPU DEAD
>
> Well, the interupt in question is on the boot cpu which is not going
> through CPU DEAD :)
can you please test the patch below.
Thanks,
tglx
------------>
diff --git a/arch/x86/kernel/hpet.c b/arch/x86/kernel/hpet.c
index 81408b9..dedc2bd 100644
--- a/arch/x86/kernel/hpet.c
+++ b/arch/x86/kernel/hpet.c
@@ -510,7 +510,8 @@ static int hpet_setup_irq(struct hpet_dev *dev)
{
if (request_irq(dev->irq, hpet_interrupt_handler,
- IRQF_DISABLED|IRQF_NOBALANCING, dev->name, dev))
+ IRQF_TIMER | IRQF_DISABLED | IRQF_NOBALANCING,
+ dev->name, dev))
return -1;
disable_irq(dev->irq);
//////////////////
https://lists.linux-foundation.org/pipermail/linux-pm/2009-June/021730.html
/////////////////
还有一个个相关的文档
http://linux.derkeiler.com/Mailing-Lists/Kernel/2009-07/msg08414.html
IRQF_DISABLED 则等同于 SA_INTERRUPT
- linux2.6 中关于中断flags IRQF_TIMER的含义
- 关于Linux2.6中断的一些记录
- linux2.6关于中断的一些入门介绍
- route的flags参数含义
- Mat-成员变量的flags的含义
- Linux2.6软中断分析
- linux2.6软中断-tasklet
- Linux2.6可延迟中断
- Linux2.6中断与异常
- cvHaarDetectObjects中的flags参数的具体含义???
- IDirectFBSurface::Flip()函数flags参数的含义
- linux2.6内核下的一个按键中断驱动程序示例
- linux2.6内核下的一个按键中断驱动程序示例
- AT91SAM9261的LINUX2.6 GPIO与GPIO中断
- [转]VB6.0中CommonDialog控件的flags参数的含义(部分主要的)
- 关于Span的flags说明
- Linux2.6中断下半部分的三种实现机制---软中断/tasklet/工作队列
- Linux2.6 中断处理函数和申请中断函数的变化
- Linux内核中自选锁API的选用
- 动态SQL语法
- 一个RFT频繁无响应的问题的解决
- 又一个秋天
- 回看精典Hibernate 学习笔记
- linux2.6 中关于中断flags IRQF_TIMER的含义
- 某银行的面试题
- C#中使用委托和事件实现观察者模式(observer pattern)
- J2ME颜色选择器
- C运行时库详解
- 批处理常用命令及用法大全
- C# 读取记事本文件
- unix 特殊权限
- tabcontrol的alignment属性设置成Left或Right时,tabPage的text内容不能显示的问题