]> www.infradead.org Git - users/jedix/linux-maple.git/commit
x86/speculation: reformatting RSB overwrite macro
authorWilliam Roche <william.roche@oracle.com>
Fri, 15 Feb 2019 15:32:30 +0000 (10:32 -0500)
committerBrian Maly <brian.maly@oracle.com>
Mon, 3 Jun 2019 17:10:45 +0000 (13:10 -0400)
commitffd7e8164bfa59a1461760585b345b09668ae2bf
tree7810dd8e7754c74f933c1ed317d699ce73a5c941
parent01526ef58652f1dc731c619e7c58e9fc3854edf2
x86/speculation: reformatting RSB overwrite macro

Introducing the __ASM_RSB_STUFF code directly into the macro to prepare
the possibility to do both half RSB stuffing and RSB overwriting with it.

Signed-off-by: William Roche <william.roche@oracle.com>
Co-developed-by: Alexandre Chartre <alexandre.chartre@oracle.com>
Signed-off-by: Alexandre Chartre <alexandre.chartre@oracle.com>
Reviewed-by: Darren Kenny <darren.kenny@oracle.com>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Reviewed-by: Alejandro Jimenez <alejandro.j.jimenez@oracle.com>
(cherry picked from commit fe603bb0b80036523fb34b6c035d1ee66a26262f)

Orabug: 29660924

Signed-off-by: William Roche <william.roche@oracle.com>
Reviewed-by: Darren Kenny <darren.kenny@oracle.com>
Acked-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Signed-off-by: Brian Maly <brian.maly@oracle.com>
Conflicts:
arch/x86/include/asm/spec_ctrl.h

Signed-off-by: Brian Maly <brian.maly@oracle.com>
arch/x86/include/asm/spec_ctrl.h