Skip to content

Commit

Permalink
kernel: add missing ARM64_SSBD symbol
Browse files Browse the repository at this point in the history
In 4.14.57, a new symbol for Spectre v4 mitigation was introduced for
ARM64. Add this symbol to all ARM64 targets using kernel 4.14.

This mitigates CVE-2018-3639 on ARM64.

Signed-off-by: Stijn Tintel <[email protected]>
  • Loading branch information
stintel committed Jul 31, 2018
1 parent fecbd91 commit 77e3e70
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions target/linux/armvirt/64/config-default
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ CONFIG_ARM64_PAN=y
# CONFIG_ARM64_PTDUMP is not set
# CONFIG_ARM64_PTDUMP_DEBUGFS is not set
# CONFIG_ARM64_RANDOMIZE_TEXT_OFFSET is not set
CONFIG_ARM64_SSBD=y
# CONFIG_ARM64_SW_TTBR0_PAN is not set
CONFIG_ARM64_UAO=y
CONFIG_ARM64_VA_BITS=39
Expand Down
1 change: 1 addition & 0 deletions target/linux/mediatek/mt7622/config-4.14
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ CONFIG_ARM64_PAN=y
# CONFIG_ARM64_PTDUMP_CORE is not set
# CONFIG_ARM64_PTDUMP_DEBUGFS is not set
# CONFIG_ARM64_RANDOMIZE_TEXT_OFFSET is not set
CONFIG_ARM64_SSBD=y
# CONFIG_ARM64_SW_TTBR0_PAN is not set
CONFIG_ARM64_UAO=y
CONFIG_ARM64_VA_BITS=39
Expand Down
1 change: 1 addition & 0 deletions target/linux/mvebu/cortexa53/config-default
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ CONFIG_ARM64_PAGE_SHIFT=12
# CONFIG_ARM64_PTDUMP_CORE is not set
# CONFIG_ARM64_PTDUMP_DEBUGFS is not set
# CONFIG_ARM64_RANDOMIZE_TEXT_OFFSET is not set
CONFIG_ARM64_SSBD=y
# CONFIG_ARM64_SW_TTBR0_PAN is not set
# CONFIG_ARM64_UAO is not set
CONFIG_ARM64_VA_BITS=39
Expand Down
1 change: 1 addition & 0 deletions target/linux/mvebu/cortexa72/config-default
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ CONFIG_ARM64_PAGE_SHIFT=12
# CONFIG_ARM64_PTDUMP_CORE is not set
# CONFIG_ARM64_PTDUMP_DEBUGFS is not set
# CONFIG_ARM64_RANDOMIZE_TEXT_OFFSET is not set
CONFIG_ARM64_SSBD=y
# CONFIG_ARM64_SW_TTBR0_PAN is not set
# CONFIG_ARM64_UAO is not set
CONFIG_ARM64_VA_BITS=39
Expand Down
1 change: 1 addition & 0 deletions target/linux/octeontx/config-4.14
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ CONFIG_ARM64_PAN=y
# CONFIG_ARM64_PTDUMP_CORE is not set
# CONFIG_ARM64_PTDUMP_DEBUGFS is not set
# CONFIG_ARM64_RANDOMIZE_TEXT_OFFSET is not set
CONFIG_ARM64_SSBD=y
# CONFIG_ARM64_SW_TTBR0_PAN is not set
CONFIG_ARM64_UAO=y
CONFIG_ARM64_VA_BITS=48
Expand Down
1 change: 1 addition & 0 deletions target/linux/sunxi/cortexa53/config-default
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ CONFIG_ARM64_PAGE_SHIFT=12
# CONFIG_ARM64_PTDUMP_CORE is not set
# CONFIG_ARM64_PTDUMP_DEBUGFS is not set
# CONFIG_ARM64_RANDOMIZE_TEXT_OFFSET is not set
CONFIG_ARM64_SSBD=y
# CONFIG_ARM64_SW_TTBR0_PAN is not set
# CONFIG_ARM64_UAO is not set
CONFIG_ARM64_VA_BITS=39
Expand Down

0 comments on commit 77e3e70

Please sign in to comment.