diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2016-01-11 17:45:32 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-01-11 17:45:32 -0800 |
commit | ae8a52185e5c070cf4510b323dbc1b9e46b897d6 (patch) | |
tree | 854c45d80e594383283f6f709c5001a84450355f /arch/x86/include/asm/msr.h | |
parent | 0ffedcda63f56eaca99a77392b9f057dfb738817 (diff) | |
parent | d6b56b0bc68ba7927b286da86eda1d4d4dbe63f6 (diff) | |
download | linux-stable-ae8a52185e5c070cf4510b323dbc1b9e46b897d6.tar.gz linux-stable-ae8a52185e5c070cf4510b323dbc1b9e46b897d6.tar.bz2 linux-stable-ae8a52185e5c070cf4510b323dbc1b9e46b897d6.zip |
Merge branch 'x86-platform-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull x86 platform updates from Ingo Molnar:
"Two changes:
- one to quirk-save/restore certain system MSRs across
suspend/resume, to make certain Intel systems work better
(Chen Yu)
- and also to constify a read only structure (Julia Lawall)"
* 'x86-platform-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
x86/platform/calgary: Constify cal_chipset_ops structures
x86/pm: Introduce quirk framework to save/restore extra MSR registers around suspend/resume
Diffstat (limited to 'arch/x86/include/asm/msr.h')
-rw-r--r-- | arch/x86/include/asm/msr.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/x86/include/asm/msr.h b/arch/x86/include/asm/msr.h index 1e87bff093d1..93fb7c1cffda 100644 --- a/arch/x86/include/asm/msr.h +++ b/arch/x86/include/asm/msr.h @@ -32,6 +32,16 @@ struct msr_regs_info { int err; }; +struct saved_msr { + bool valid; + struct msr_info info; +}; + +struct saved_msrs { + unsigned int num; + struct saved_msr *array; +}; + static inline unsigned long long native_read_tscp(unsigned int *aux) { unsigned long low, high; |