All of lore.kernel.org
 help / color / mirror / Atom feed
* Expose ltr/obff interface by sysfs
@ 2012-04-06  2:43 ` Hao, Xudong
  0 siblings, 0 replies; 7+ messages in thread
From: Hao, Xudong @ 2012-04-06  2:43 UTC (permalink / raw)
  To: linux-pci@vger.kernel.org, netdev@vger.kernel.org,
	e1000-devel@lists.sourceforge.net
  Cc: Jesse Barnes

Hi, 

I'm working on virtualization Xen/KVM. I saw there are ltr/obff enabling/disabling function in pci.c, but no called till now. I want to know if anybody(driver developer) are working for using it? Can driver change the LTR latency value dynamically?

/*
LTR(Latency tolerance reporting) allows devices to send messages to the root complex indicating their latency tolerance for snooped & unsnooped memory transactions.
OBFF (optimized buffer flush/fill), where supported, can help improve energy efficiency by giving devices information about when interrupts and other activity will have a reduced power impact.
*/

One way to control ltr/obff is used by driver, however, I'm considering that in virtualization, how guest OS driver control them. I have an idea that expose an inode interface by sysfs, like "reset" inode implemented in pci-sysfs.c, so that system user/administrator can enable/disable ltr/obff or set latency value on userspace, but not limited on driver. Comments?

< pls CC me when reply this mail, thanks >

Best Regards,
Xudong Hao


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

end of thread, other threads:[~2012-04-11  3:02 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-06  2:43 Expose ltr/obff interface by sysfs Hao, Xudong
2012-04-06  2:43 ` Hao, Xudong
2012-04-06 15:26 ` Jesse Barnes
2012-04-06 21:20   ` Don Dutile
2012-04-06 18:39 ` Konrad Rzeszutek Wilk
2012-04-06 18:39   ` Konrad Rzeszutek Wilk
2012-04-11  3:02   ` Hao, Xudong

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.