Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1158880
| From | Andy Lutomirski <luto@kernel.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Getting rid of i7300_idle's idle notifier? |
| Date | 2015-06-05 01:40 +0200 |
| Message-ID | <pxMTU-7EQ-3@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
AFAICT the sole purpose for the hideous x86_64 idle_notifier mess is to support i7300_idle. IMO this junk does not belong in IRQ handling, etc. Can we redo this to work in some kind of generic way? I have no idea why it makes sense to twiddle I/O AT registers in the beginning of whatever IRQ wakes up the CPU. Note that, if absolutely necessary, the ECX bit 0 MWAIT extension can be used to reliably execute code before handling interrupts that wake us from idle. That is, there could be a real cpuidle driver for that chip that does: cli; poke ioat; mwait(ecx = 1); poke ioat; sti; Or we could delete the driver entirely. --Andy -- 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/
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
Getting rid of i7300_idle's idle notifier? Andy Lutomirski <luto@kernel.org> - 2015-06-05 01:40 +0200 Re: Getting rid of i7300_idle's idle notifier? Andy Lutomirski <luto@amacapital.net> - 2015-06-05 02:40 +0200
csiph-web