some comments/questions

Date: 2018-08-11 01:40 am (UTC)
From: (Anonymous)
> One thing that bit me - Inteltool relies on being able to mmap() arbitrary bits of physical address space,
> and the kernel doesn't allow that if CONFIG_STRICT_DEVMEM is enabled. I had to disable that first.
Did you recompile the kernel to do that? It's also possible to do it through the kernel command line arguments:
$ zgrep CONFIG_STRICT_DEVMEM /proc/config.gz
CONFIG_STRICT_DEVMEM=y
$ cat /proc/cmdline
[...] nopat iomem=relaxed [...]
$ sudo modprobe msr
$ sudo ./inteltool -a
CPU: ID 0x1067a, Processor Type 0x0, Family 0x6, Model 0x17, Stepping 0xa
Northbridge: 8086:2a40 (GL40/GS40/GM45/GS45/PM45)
Southbridge: 8086:2917 (ICH9M-E)
IGD: 8086:2a42 (Mobile Intel(R) 4 Series Express Chipset Family)
[...]

By the way, do you know util/autoport? That tool can automatize some of the work
for some of the recent Intel microarchitectures. For instance the macbookair 4.2
support was added with the help of autoport (by the main autoport author).

Denis
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org

Profile

Matthew Garrett

About Matthew

Power management, mobile and firmware developer on Linux. Security developer at Aurora. Ex-biologist. [personal profile] mjg59 on Twitter. Content here should not be interpreted as the opinion of my employer. Also on Mastodon.

Expand Cut Tags

No cut tags