diff options
author | Peter Zijlstra <peterz@infradead.org> | 2021-01-06 15:36:21 +0100 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2021-01-12 21:10:58 +0100 |
commit | a1d5c98aac33a5a0004ecf88905dcc261c52f988 (patch) | |
tree | ddcffdf3688a17b1f3697189490b540c8bfc7102 /mm/sparse-vmemmap.c | |
parent | x86/entry: Fix noinstr fail (diff) | |
download | linux-a1d5c98aac33a5a0004ecf88905dcc261c52f988.tar.xz linux-a1d5c98aac33a5a0004ecf88905dcc261c52f988.zip |
x86/sev: Fix nonistr violation
When the compiler fails to inline, it violates nonisntr:
vmlinux.o: warning: objtool: __sev_es_nmi_complete()+0xc7: call to sev_es_wr_ghcb_msr() leaves .noinstr.text section
Fixes: 4ca68e023b11 ("x86/sev-es: Handle NMI State")
Reported-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20210106144017.532902065@infradead.org
Diffstat (limited to 'mm/sparse-vmemmap.c')
0 files changed, 0 insertions, 0 deletions