zynq: k4.19: fix kernel panic on smp bring-up
authorLuis Araneda <luaraneda@gmail.com>
Sun, 4 Aug 2019 04:32:04 +0000 (00:32 -0400)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 17 Aug 2019 14:57:32 +0000 (16:57 +0200)
commitd71cac96f3dc14065f1c25bd6677605dcb417619
treebc5c3b0b83acce59cfb56f4c5e53363f929d9bae
parentb82edc70adb252d646029e28a5e4636b11f4b066
zynq: k4.19: fix kernel panic on smp bring-up

This fixes a kernel panic when validating the
arguments of memcpy at runtime, which is enabled
by generic's CONFIG_FORTIFY_SOURCE for k4.19

This wasn't triggered on 4.14, as ARCH_HAS_FORTIFY_SOURCE
was added on k4.17 for the ARM architecture

Signed-off-by: Luis Araneda <luaraneda@gmail.com>
target/linux/zynq/patches-4.19/110-ARM-zynq-Use-memcpy_toio-instead-of-memcpy.patch [new file with mode: 0644]