mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-29 14:05:19 +08:00
Prevent panic with FORTIFY_SOURCE in smp bringup.
-----BEGIN PGP SIGNATURE----- iQFEBAABCAAuFiEE7v+35S2Q1vLNA3Lx86Z5yZzRHYEFAmG3GWsQHGhlaWtvQHNu dGVjaC5kZQAKCRDzpnnJnNEdgf7+B/4miCU/WNwHjJPFs4pZtioDymXuqH9SGPC5 eDzO0Eq6REH372zO29yvlicXxIXAoFyXnGMlrY50rLAq2lZOCGeld3KKtOrQqFtM SAYL5DnL5bMjpgZFxZedTd4ud1sJ2/5bxMNkaY71b+oR73LFY27Dz/cf1GIcGMBw zqzsX+BwhAxStcRZqZp6xgEsZZxjC8A6iPQEm3hxwvzv44ntYJPeLBnWnVkiMjZ4 VsimBFCpi5AcwknIz/tV4AgYNqPD95Y2ILrodOlzJ2O4zKtbLDbwvxoADrkP0PHw kf2CYngjfS/A6uyTXV9DzWjDM5ADuKckCOy3uL+d5WoGowcobTeZ =/uzN -----END PGP SIGNATURE----- gpgsig -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEo6/YBQwIrVS28WGKmmx57+YAGNkFAmG3VbYACgkQmmx57+YA GNnRkhAAuaSYnvgcz3BBgGOV3eJgJ5SJkb5zPX6SmpzG+FDpoRQAjDQauAAZdiWr +OIgdXJGrAJrPIS6DZMxME9MvGQa20D7hQ1WNyOqU1IonFcuLS/nXjFG4SFAu+cC dMW6hE2JfPjAoMOrtLVpwqodRWF3XvI4kK4QPxJzPy6YMt0nFVMukgU0wNTT9BIh xSNsLUvKwdqHXIRXVGSP1l3JvHSWuW6HYA43vLzooo9+K2z8ecYhLQL+ZTt/Xjmi CM0gVHuZF0gRg9wZ5Ya+DRnetPDOsjK44S1LgSZL/7pKLqLFo0M4fobFpVnDU8Pp 2SBJTudqADfBC1pVxkUAAFstahqYRJvnqbYIV8fHmV2NVO7oocHZbXDc+xsnVgQS S8HUoY9A++pwAF+IUpmSL/TSsJWs1Yn4PdRqfMAuDLHCq9lshTVGg4L+lkPyEmco nfS+jyf7Vs1mRC3g4R3/RkkGzU4sotWJlhoIdWfnUxV9xD2iTxR2GnIl/IDvOaTK sFsYHE1p4WV/tZ2yDGCT7f+SHpi1eysXSyys+1W/7sCHW1jn5VgCssWTRtbyox7S XM484zq45bNi8zWMCyr6dEekG+fhsOw6rI7QWpCnzePdz5khAY4Kr/ZoTHn3nfyM LSsm8GKQfYUqcUWwFaTNZlFuqXYB/KLx1Y8tbbZ/nS/ZdFM3bLY= =VGe/ -----END PGP SIGNATURE----- Merge tag 'v5.16-rockchip-socfixes1' of git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip into arm/fixes Prevent panic with FORTIFY_SOURCE in smp bringup. * tag 'v5.16-rockchip-socfixes1' of git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip: ARM: rockchip: Use memcpy_toio instead of memcpy on smp bring-up Link: https://lore.kernel.org/r/1827929.9bfCS3lLB7@phil Signed-off-by: Arnd Bergmann <arnd@arndb.de>
This commit is contained in:
commit
38d5b296d3
@ -189,7 +189,7 @@ static int __init rockchip_smp_prepare_sram(struct device_node *node)
|
||||
rockchip_boot_fn = __pa_symbol(secondary_startup);
|
||||
|
||||
/* copy the trampoline to sram, that runs during startup of the core */
|
||||
memcpy(sram_base_addr, &rockchip_secondary_trampoline, trampoline_sz);
|
||||
memcpy_toio(sram_base_addr, &rockchip_secondary_trampoline, trampoline_sz);
|
||||
flush_cache_all();
|
||||
outer_clean_range(0, trampoline_sz);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user