~kamalmostafa/ubuntu/+source/linux-aws/+git/eoan:arm-update

Last commit made on 2019-10-31
Get this branch:
git clone -b arm-update https://git.launchpad.net/~kamalmostafa/ubuntu/+source/linux-aws/+git/eoan
Only Kamal Mostafa can upload to this branch. If you are Kamal Mostafa please log in for upload directions.

Branch merges

Branch information

Recent commits

ad89ee3... by Kamal Mostafa

UBUNTU: [Config] updateconfigs for arm64 errata

BugLink: https://bugs.launchpad.net/bugs/1850675

Signed-off-by: Kamal Mostafa <email address hidden>

96942e5... by James Morse <email address hidden>

UBUNTU: SAUCE: arm64: ftrace: Ensure synchronisation in PLT setup for Neoverse-N1 #1542419

BugLink: https://bugs.launchpad.net/bugs/1850675

CPUs affected by Neoverse-N1 #1542419 may execute a stale instruction if
it was recently modified. The affected sequence requires freshly written
instructions to be executable before a branch to them is updated.

There are very few places in the kernel that modify executable text,
all but one come with sufficient synchronisation:
 * The module loader's flush_module_icache() calls flush_icache_range(),
   which does a kick_all_cpus_sync()
 * bpf_int_jit_compile() calls flush_icache_range().
 * Kprobes calls aarch64_insn_patch_text(), which does its work in
   stop_machine().
 * static keys and ftrace both patch between nops and branches to
   existing kernel code (not generated code).

The affected sequence is the interaction between ftrace and modules.
The module PLT is cleaned using __flush_icache_range() as the trampoline
shouldn't be executable until we update the branch to it.

Drop the double-underscore so that this path runs kick_all_cpus_sync()
too.

Signed-off-by: James Morse <email address hidden>
Reference: https://lore<email address hidden>/
Signed-off-by: Kamal Mostafa <email address hidden>

8fa3fe6... by James Morse <email address hidden>

UBUNTU: SAUCE: arm64: compat: Workaround Neoverse-N1 #1542419 for compat user-space

BugLink: https://bugs.launchpad.net/bugs/1850675

Compat user-space is unable to perform ICIMVAU instructions from
user-space. Instead it uses a compat-syscall. Add the workaround for
Neoverse-N1 #1542419 to this code path.

Signed-off-by: James Morse <email address hidden>
Reference: https://lore<email address hidden>/
Signed-off-by: Kamal Mostafa <email address hidden>

2391e9b... by James Morse <email address hidden>

UBUNTU: SAUCE: arm64: Fake the IminLine size on systems affected by Neoverse-N1 #1542419

BugLink: https://bugs.launchpad.net/bugs/1850675

Systems affected by Neoverse-N1 #1542419 support DIC so do not need to
perform icache maintenance once new instructions are cleaned to the PoU.
For the errata workaround, the kernel hides DIC from user-space, so that
the unnecessary cache maintenance can be trapped by firmware.

To reduce the number of traps, produce a fake IminLine value based on
PAGE_SIZE.

Signed-off-by: James Morse <email address hidden>
Reference: https://lore<email address hidden>/
Signed-off-by: Kamal Mostafa <email address hidden>

92ad747... by James Morse <email address hidden>

UBUNTU: SAUCE: arm64: errata: Hide CTR_EL0.DIC on systems affected by Neoverse-N1 #1542419

BugLink: https://bugs.launchpad.net/bugs/1850675

Cores affected by Neoverse-N1 #1542419 could execute a stale instruction
when a branch is updated to point to freshly generated instructions.

To workaround this issue we need user-space to issue unnecessary
icache maintenance that we can trap. Start by hiding CTR_EL0.DIC.

Signed-off-by: James Morse <email address hidden>
Reference: https://lore<email address hidden>/
Signed-off-by: Kamal Mostafa <email address hidden>

c09e1cd... by Sultan Alsawaf

UBUNTU: Ubuntu-aws-5.3.0-1006.6

Signed-off-by: Sultan Alsawaf <email address hidden>

ddf92ca... by Sultan Alsawaf

UBUNTU: link-to-tracker: update tracking bug

BugLink: https://bugs.launchpad.net/bugs/1850477
Properties: no-test-build
Signed-off-by: Sultan Alsawaf <email address hidden>

eef5b65... by Sultan Alsawaf

UBUNTU: Start new release

Ignore: yes
Signed-off-by: Sultan Alsawaf <email address hidden>

307c7fd... by Khaled El Mously

UBUNTU: Ubuntu-aws-5.3.0-1005.5

Signed-off-by: Khalid Elmously <email address hidden>

0bf02ac... by Khaled El Mously

UBUNTU: [Config] Remove deselected modules

BugLink: https://bugs.launchpad.net/bugs/1848750

"08ff70e48d68b staging/fbtft: Depend on OF" deselected a bunch of modules

Signed-off-by: Khalid Elmously <email address hidden>