All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* Interrupt in ACPI driver?
@ 2014-06-26 23:12 Cazeao, Haroldo R
  2014-06-27  2:22 ` Zheng, Lv
  2014-06-27  3:20 ` Lan Tianyu
  0 siblings, 2 replies; 3+ messages in thread
From: Cazeao, Haroldo R @ 2014-06-26 23:12 UTC (permalink / raw
  To: Julian Wollrath, Zhang, Rui
  Cc: Rafael J. Wysocki, linux-acpi@vger.kernel.org, Zheng, Lv

All,
For a given platform, the CPU and the PCH are being enumerated along the ACPI bus. We have been using polling for temperature thresholds trip points. Now, we are looking to use interrupts instead. I haven't seen too many examples of of acpi drivers with interrupts enabled. Any suggestions on where to start? Any templates I can use?

Thanks and regards,




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

* RE: Interrupt in ACPI driver?
  2014-06-26 23:12 Interrupt in ACPI driver? Cazeao, Haroldo R
@ 2014-06-27  2:22 ` Zheng, Lv
  2014-06-27  3:20 ` Lan Tianyu
  1 sibling, 0 replies; 3+ messages in thread
From: Zheng, Lv @ 2014-06-27  2:22 UTC (permalink / raw
  To: Cazeao, Haroldo R, Julian Wollrath, Zhang, Rui
  Cc: Rafael J. Wysocki, linux-acpi@vger.kernel.org

Hi, 

If you are going to write a driver using level-triggered GPEs, please wait until some useful GPE API fixes being merged.

Thanks and best regards
-Lv

> From: Cazeao, Haroldo R
> Sent: Friday, June 27, 2014 7:13 AM
> 
> All,
> For a given platform, the CPU and the PCH are being enumerated along the ACPI bus. We have been using polling for temperature
> thresholds trip points. Now, we are looking to use interrupts instead. I haven't seen too many examples of of acpi drivers with
> interrupts enabled. Any suggestions on where to start? Any templates I can use?
> 
> Thanks and regards,
> 
> 


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

* Re: Interrupt in ACPI driver?
  2014-06-26 23:12 Interrupt in ACPI driver? Cazeao, Haroldo R
  2014-06-27  2:22 ` Zheng, Lv
@ 2014-06-27  3:20 ` Lan Tianyu
  1 sibling, 0 replies; 3+ messages in thread
From: Lan Tianyu @ 2014-06-27  3:20 UTC (permalink / raw
  To: Cazeao, Haroldo R
  Cc: Julian Wollrath, Zhang, Rui, Rafael J. Wysocki,
	linux-acpi@vger.kernel.org, Zheng, Lv

2014-06-27 7:12 GMT+08:00 Cazeao, Haroldo R <haroldo.r.cazeao@intel.com>:
> All,
> For a given platform, the CPU and the PCH are being enumerated along the ACPI bus. We have been using polling for temperature thresholds trip points. Now, we are looking to use interrupts instead. I haven't seen too many examples of of acpi drivers with interrupts enabled. Any suggestions on where to start? Any templates I can use?
>

I think you can have a look at EC driver which uses GPE as its interrupt.

> Thanks and regards,
>
>
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html



-- 
Best regards
Tianyu Lan

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

end of thread, other threads:[~2014-06-27  3:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-26 23:12 Interrupt in ACPI driver? Cazeao, Haroldo R
2014-06-27  2:22 ` Zheng, Lv
2014-06-27  3:20 ` Lan Tianyu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.