Message ID | 87k3gco1k3.fsf@nemi.mork.no (mailing list archive) |
---|---|
State | New, archived |
Delegated to: | Bjorn Helgaas |
Headers | show |
PiANCj4gIkdydW1iYWNoLCBFbW1hbnVlbCIgPGVtbWFudWVsLmdydW1iYWNoQGludGVsLmNvbT4g d3JpdGVzOg0KPiANCj4gPiBPayAtIHNvIEkgaGF2ZSBub3cgdGhlIGNvbXBsZXRlIHBpY3R1cmUu DQo+IA0KPiA+IFRoaXMgZGV2aWNlIHdhcyBkZXNpZ25lZCBiZWZvcmUgUENJLVNJRyBnYXZlIGFu IElEIHRvIEwxIFBNIFN1YnN0YXRlcywNCj4gPiBzbyBJbnRlbCBoYWQgdG8gdXNlIHRoZSBMMSBQ TSBTdWJzdGF0ZSBhcyBhIFZlbmRvciBEZWZpbmUgd2hvc2UgSUQgaXMNCj4gPiAweENBRkUuIExh eW91dCBpcyB0aGUgc2FtZSBhcyBkZWZpbmVkIG5vdyBpbiBQQ0ktU0lHIChwYWdlIDIxIGluDQo+ ID4NCj4gaHR0cDovL3d3dy5wY2lzaWcuY29tL3NwZWNpZmljYXRpb25zL3BjaWV4cHJlc3Mvc3Bl Y2lmaWNhdGlvbnMvRUNOX0wxX1BNDQo+IF9TdWJzdGF0ZXNfd2l0aF9DTEtSRVFfMzFfTWF5XzIw MTNfUmV2MTBhLnBkZikuDQo+ID4NCj4gPiBTbzoNCj4gPiAxNTA6IDAzIDEwIDAzIDEwIDBiIDAw IDAxIDAwIGZlIGNhIDQxIDAxIDFmIDFlIGYwIDAwDQo+ID4gMTYwOiAwZiAwMCBhMCA0MCBmMCAw MCAwMCAwMCAwMCAwMCAwMCAwMCAwMCAwMCAwMCAwMA0KPiA+DQo+ID4gV2UgY2FuIHNlZSB0aGF0 IEwxIFBNIFN1YnN0YXRlICppcyogZW5hYmxlZDoNCj4gPiAwMDRoID0gNDEgMDEgMWYgMWUNCj4g PiAwMDhoID0gMGYgMDAgZjAgMDANCj4gPiAwMENoID0gYTAgNDAgZjAgMD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Fi bGUgdGhhdCBpbiBCSU9TKToNCj4gPiAqIGVpdGhlciB3ZSB0cnkgdG8gZGlzYWJsZSBMMSBQTSBT dWJzdGF0ZSBldmVuIG15IGNvbGxlYWd1ZXMgdGhpbmsgaXQNCj4gPiBpcyBub3Qgc2FmZQ0KPiA+ ICogZWl0aGVyIHdlIGp1c3QgZGlzYWJsZSBMMSBhbHRvZ2V0aGVyDQo+IA0KPiBIb3cgYWJvdXQg Zm9yY2luZyBBU1BNIGV2ZW4gaWYgdGhlIEJJT1Mgc2F5cyBpdCdzIHVuc3VwcG9ydGVkPyAgSGFz IHRoYXQNCj4gYmVlbiB0ZXN0ZWQ/DQo+IA0KDQpXZWxsLi4uIE5vLi4uIEF0IGxlYXN0IG5vdCBi eSBtZS4gUGVvcGxlIHVzdWFsbHkgY2FyZSBtb3JlIGFib3V0IGNvbm5lY3Rpdml0eSB0aGFuIHNh dmluZyBwb3dlciA6KQ0K -- To unsubscribe from this list: send the line "unsubscribe linux-pci" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
From de4befe40cb12a57a6edc4dd22271fa8a000d8f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Mork?= <bjorn@mork.no> Date: Wed, 13 Nov 2013 14:24:06 +0100 Subject: [PATCH] lspci: decode Intel vendor specific L1 PM Substates MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Bjørn Mork <bjorn@mork.no> --- ls-ecaps.c | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/ls-ecaps.c b/ls-ecaps.c index c6f217e..144bf77 100644 --- a/ls-ecaps.c +++ b/ls-ecaps.c @@ -429,10 +429,13 @@ cap_rclink(struct device *d, int where) } } +static void cap_l1pm(struct device *d, int where); + static void cap_evendor(struct device *d, int where) { u32 hdr; + u16 id; printf("Vendor Specific Information: "); if (!config_fetch(d, where + PCI_EVNDR_HEADER, 4)) @@ -442,10 +445,17 @@ cap_evendor(struct device *d, int where) } hdr = get_conf_long(d, where + PCI_EVNDR_HEADER); - printf("ID=%04x Rev=%d Len=%03x <?>\n", - BITS(hdr, 0, 16), + id = BITS(hdr, 0, 16); + printf("ID=%04x Rev=%d Len=%03x ", + id, BITS(hdr, 16, 4), BITS(hdr, 20, 12)); + + /* Intel used this vendor specific ID prior to PCI-SIG allocating 0x001e */ + if (d->dev->vendor_id == cpu_to_le16(0x8086) && id == cpu_to_le16(0xcafe)) + cap_l1pm(d, where + PCI_EVNDR_HEADER); + else + printf("<?>\n"); } static void -- 1.7.10.4