diff options
| author | Paul Burton <[email protected]> | 2015-09-25 15:59:38 +0000 |
|---|---|---|
| committer | Ralf Baechle <[email protected]> | 2015-09-27 12:15:26 +0000 |
| commit | e060f6ed281669b6d2f22d8dafd664b532386918 (patch) | |
| tree | fa74247359834941661b76a318ca6ad790b01041 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
| parent | MIPS: print MAAR configuration during boot (diff) | |
| download | kernel-e060f6ed281669b6d2f22d8dafd664b532386918.tar.gz kernel-e060f6ed281669b6d2f22d8dafd664b532386918.zip | |
MIPS: Initialise MAARs on secondary CPUs
MAARs should be initialised on each CPU (or rather, core) in the system
in order to achieve consistent behaviour & performance. Previously they
have only been initialised on the boot CPU which leads to performance
problems if tasks are later scheduled on a secondary CPU, particularly
if those tasks make use of unaligned vector accesses where some CPUs
don't handle any cases in hardware for non-speculative memory regions.
Fix this by recording the MAAR configuration from the boot CPU and
applying it to secondary CPUs as part of their bringup.
Reported-by: Doug Gilmore <[email protected]>
Signed-off-by: Paul Burton <[email protected]>
Cc: [email protected]
Cc: Rusty Russell <[email protected]>
Cc: Steven J. Hill <[email protected]>
Cc: Andrew Bresticker <[email protected]>
Cc: Bjorn Helgaas <[email protected]>
Cc: David Hildenbrand <[email protected]>
Cc: [email protected]
Cc: Aaro Koskinen <[email protected]>
Cc: James Hogan <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Markos Chandras <[email protected]>
Cc: Hemmo Nieminen <[email protected]>
Cc: Alex Smith <[email protected]>
Cc: Peter Zijlstra (Intel) <[email protected]>
Patchwork: https://patchwork.linux-mips.org/patch/11239/
Signed-off-by: Ralf Baechle <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions
