public inbox for linux-pm@vger.kernel.org
 help / color / mirror / Atom feed
* Userspace interface breakage in power/state
@ 2006-01-16  0:25 Matthew Garrett
  2006-01-16 19:20 ` Pavel Machek
  0 siblings, 1 reply; 7+ messages in thread
From: Matthew Garrett @ 2006-01-16  0:25 UTC (permalink / raw)
  To: linux-kernel, linux-pm

[-- Attachment #1: Type: text/plain, Size: 405 bytes --]

In older kernels, power/state for PCI devices took a PCI power state as 
an argument and so "3" was an entirely sensible thing to echo into it. 
In current kernels, it hits a BUG() in pci_choose_state and things blow 
up.

While I realise that the former interface was broken and wrong, would it 
be possible to move to a new one without breaking existing code? 
-- 
Matthew Garrett | mjg59@srcf.ucam.org

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



^ permalink raw reply	[flat|nested] 7+ messages in thread
* Userspace interface breakage in power/state
@ 2006-01-16  0:27 Matthew Garrett
  0 siblings, 0 replies; 7+ messages in thread
From: Matthew Garrett @ 2006-01-16  0:27 UTC (permalink / raw)
  To: linux-kernel, linux-pm

[-- Attachment #1: Type: text/plain, Size: 494 bytes --]

(Resent, without the wrong address for lkml)

In older kernels, power/state for PCI devices took a PCI power state as 
an argument and so "3" was an entirely sensible thing to echo into it. 
In current kernels, it hits a BUG() in pci_choose_state and things blow 
up.

While I realise that the former interface was broken and wrong, would it 
be possible to move to a new one without breaking existing code? 
-- 
Matthew Garrett | mjg59@srcf.ucam.org

-- 
Matthew Garrett | mjg59@srcf.ucam.org

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



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

end of thread, other threads:[~2006-01-16 20:24 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-16  0:25 Userspace interface breakage in power/state Matthew Garrett
2006-01-16 19:20 ` Pavel Machek
2006-01-16 19:25   ` Matthew Garrett
2006-01-16 20:05     ` Pavel Machek
2006-01-16 20:22       ` Rafael J. Wysocki
2006-01-16 20:24         ` Pavel Machek
  -- strict thread matches above, loose matches on Subject: below --
2006-01-16  0:27 Matthew Garrett

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox