mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-24 18:21:35 +03:00
The Linux v5.10 kernel defines a 'spec_bar()' macro to inhibit speculation for ARM64 and so if we use this macro, then we can remove the downstream speculation_barrier(). Please note that it is important to remove such downstream macros because these prevent us getting the various NVIDIA kernel drivers from working with upstream Linux kernels. Bug 3409896 Bug 3477445 Change-Id: Ie8d44f219d2dded2fc7bd36f24980b91c92395d9 Signed-off-by: Jon Hunter <jonathanh@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2643778 Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>