]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
powerpc/book3s64/mm: Don't do tlbie fixup for some hardware revisions
authorAneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
Thu, 17 Oct 2019 08:05:01 +0000 (13:35 +0530)
committerStefan Bader <stefan.bader@canonical.com>
Tue, 26 Nov 2019 12:16:02 +0000 (13:16 +0100)
commit7f5c64e3cc646508ff6ba7cc0f2b5efd8dbc531e
treeed20f0f225ab10c84233287d388e7f43128b6f25
parent0e1497ca7e4f3555d15430880e77a8f51ac92cd8
powerpc/book3s64/mm: Don't do tlbie fixup for some hardware revisions

BugLink: https://bugs.launchpad.net/bugs/1853208
commit 677733e296b5c7a37c47da391fc70a43dc40bd67 upstream.

The store ordering vs tlbie issue mentioned in commit
a5d4b5891c2f ("powerpc/mm: Fixup tlbie vs store ordering issue on
POWER9") is fixed for Nimbus 2.3 and Cumulus 1.3 revisions. We don't
need to apply the fixup if we are running on them

We can only do this on PowerNV. On pseries guest with kvm we still
don't support redoing the feature fixup after migration. So we should
be enabling all the workarounds needed, because whe can possibly
migrate between DD 2.3 and DD 2.2

Cc: stable@vger.kernel.org # v4.14
Fixes: a5d4b5891c2f ("powerpc/mm: Fixup tlbie vs store ordering issue on POWER9")
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20190924035254.24612-1-aneesh.kumar@linux.ibm.com
[sandipan: Backported to v4.14]
Signed-off-by: Sandipan Das <sandipan@linux.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
arch/powerpc/kernel/dt_cpu_ftrs.c