{"action":"created","issue":{"url":"https://api.github.com/repos/anrieff/libcpuid/issues/22","repository_url":"https://api.github.com/repos/anrieff/libcpuid","labels_url":"https://api.github.com/repos/anrieff/libcpuid/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/anrieff/libcpuid/issues/22/comments","events_url":"https://api.github.com/repos/anrieff/libcpuid/issues/22/events","html_url":"https://github.com/anrieff/libcpuid/pull/22","id":110012612,"number":22,"title":"Some new features for function cpu_msrinfo()","user":{"login":"X0rg","id":2873785,"avatar_url":"https://avatars.githubusercontent.com/u/2873785?v=3","gravatar_id":"","url":"https://api.github.com/users/X0rg","html_url":"https://github.com/X0rg","followers_url":"https://api.github.com/users/X0rg/followers","following_url":"https://api.github.com/users/X0rg/following{/other_user}","gists_url":"https://api.github.com/users/X0rg/gists{/gist_id}","starred_url":"https://api.github.com/users/X0rg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/X0rg/subscriptions","organizations_url":"https://api.github.com/users/X0rg/orgs","repos_url":"https://api.github.com/users/X0rg/repos","events_url":"https://api.github.com/users/X0rg/events{/privacy}","received_events_url":"https://api.github.com/users/X0rg/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-10-06T13:54:19Z","updated_at":"2016-05-16T18:18:51Z","closed_at":"2015-10-15T23:16:35Z","pull_request":{"url":"https://api.github.com/repos/anrieff/libcpuid/pulls/22","html_url":"https://github.com/anrieff/libcpuid/pull/22","diff_url":"https://github.com/anrieff/libcpuid/pull/22.diff","patch_url":"https://github.com/anrieff/libcpuid/pull/22.patch"},"body":"Hi.\r\n\r\nI have found interesting things in i7z, and I have imported some lines in libcpuid.\r\nTested with this code: https://gist.githubusercontent.com/X0rg/dd7ad35b670131e92274/raw/85ba68b8c12492c056cedf30e3180bce8877254e/msr.c\r\nIt gives good results on my computer:\r\n```\r\nMax multiplier: 33.00\tBclk: 99.87\r\nCore 0: 1.31V 34°C x38.23\r\nCore 1: 1.28V 36°C x38.61\r\nCore 2: 1.28V 42°C x38.04\r\nCore 3: 1.31V 39°C x38.81\r\n\r\nCore 0: 1.31V 33°C x39.20\r\nCore 1: 1.28V 33°C x38.86\r\nCore 2: 1.31V 38°C x37.89\r\nCore 3: 1.34V 39°C x38.39\r\n\r\n...\r\n```\r\nMax multiplier is the maximum NON-TURBO multiplier. The Core i5 2500K base frequency is 3300MHz (33x100MHz), but I have set the maximum turbo ratio to 42.\r\nSo the current multiplier is a TURBO multiplier.\r\n\r\nTell me what do you think about this. Thank."},"comment":{"url":"https://api.github.com/repos/anrieff/libcpuid/issues/comments/219502742","html_url":"https://github.com/anrieff/libcpuid/pull/22#issuecomment-219502742","issue_url":"https://api.github.com/repos/anrieff/libcpuid/issues/22","id":219502742,"user":{"login":"X0rg","id":2873785,"avatar_url":"https://avatars.githubusercontent.com/u/2873785?v=3","gravatar_id":"","url":"https://api.github.com/users/X0rg","html_url":"https://github.com/X0rg","followers_url":"https://api.github.com/users/X0rg/followers","following_url":"https://api.github.com/users/X0rg/following{/other_user}","gists_url":"https://api.github.com/users/X0rg/gists{/gist_id}","starred_url":"https://api.github.com/users/X0rg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/X0rg/subscriptions","organizations_url":"https://api.github.com/users/X0rg/orgs","repos_url":"https://api.github.com/users/X0rg/repos","events_url":"https://api.github.com/users/X0rg/events{/privacy}","received_events_url":"https://api.github.com/users/X0rg/received_events","type":"User","site_admin":false},"created_at":"2016-05-16T18:18:51Z","updated_at":"2016-05-16T18:18:51Z","body":"I have updated my [Gist](https://gist.github.com/X0rg/256a3b69ba50fbc5cdc0ab18c6152f87).\r\n\r\nAccording to AMD BKDG for 10h family, it should give current voltage.\r\nBut I can't access to CPU temperature through MSR: it seems readable only via PCI bus...\r\nK10temp uses kernel functions like `pci_bus_read_config_dword()`, kernel headers are needed, but it does not have a proper place  in `cpu_msrinfo()`.\r\n\r\nCan you do a last test with the updated code? It gives min and max VID, and VDD per core."}}