]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
x86: cpa_flush_array wbinvd should be done on all CPUs
authorvenkatesh.pallipadi@intel.com <venkatesh.pallipadi@intel.com>
Fri, 22 May 2009 20:23:38 +0000 (13:23 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Fri, 22 May 2009 20:33:59 +0000 (13:33 -0700)
commit0af48f42df15b97080b450d24219dd95db7b929a
treef1746198024b2e93250c1b14855026ba0d769117
parent0b827537e339c084ac9384df588969d400be9e0d
x86: cpa_flush_array wbinvd should be done on all CPUs

cpa_flush_array seems to prefer wbinvd() over clflush at 4M threshold.
clflush needs to be done on only one CPU as per instruction definition.
wbinvd() however, should be done on all CPUs.

[ Impact: fix missing flush which could cause data corruption ]

Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
arch/x86/mm/pageattr.c