.. | .. |
---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ |
---|
1 | 2 | /* |
---|
2 | 3 | L2CR functions |
---|
3 | 4 | Copyright © 1997-1998 by PowerLogix R & D, Inc. |
---|
4 | 5 | |
---|
5 | | - This program is free software; you can redistribute it and/or modify |
---|
6 | | - it under the terms of the GNU General Public License as published by |
---|
7 | | - the Free Software Foundation; either version 2 of the License, or |
---|
8 | | - (at your option) any later version. |
---|
9 | | - |
---|
10 | | - This program is distributed in the hope that it will be useful, |
---|
11 | | - but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
12 | | - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
13 | | - GNU General Public License for more details. |
---|
14 | | - |
---|
15 | | - You should have received a copy of the GNU General Public License |
---|
16 | | - along with this program; if not, write to the Free Software |
---|
17 | | - Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
---|
18 | 6 | */ |
---|
19 | 7 | /* |
---|
20 | 8 | Thur, Dec. 12, 1998. |
---|
.. | .. |
---|
108 | 96 | |
---|
109 | 97 | /* Stop DST streams */ |
---|
110 | 98 | BEGIN_FTR_SECTION |
---|
111 | | - DSSALL |
---|
| 99 | + PPC_DSSALL |
---|
112 | 100 | sync |
---|
113 | 101 | END_FTR_SECTION_IFSET(CPU_FTR_ALTIVEC) |
---|
114 | 102 | |
---|
.. | .. |
---|
268 | 256 | sync |
---|
269 | 257 | |
---|
270 | 258 | /* Restore MSR (restores EE and DR bits to original state) */ |
---|
271 | | - SYNC |
---|
272 | 259 | mtmsr r7 |
---|
273 | 260 | isync |
---|
274 | 261 | |
---|
.. | .. |
---|
305 | 292 | isync |
---|
306 | 293 | |
---|
307 | 294 | /* Stop DST streams */ |
---|
308 | | - DSSALL |
---|
| 295 | + PPC_DSSALL |
---|
309 | 296 | sync |
---|
310 | 297 | |
---|
311 | 298 | /* Get the current enable bit of the L3CR into r4 */ |
---|
.. | .. |
---|
389 | 376 | 1: bdnz 1b |
---|
390 | 377 | |
---|
391 | 378 | /* Restore MSR (restores EE and DR bits to original state) */ |
---|
392 | | -4: SYNC |
---|
| 379 | +4: |
---|
393 | 380 | mtmsr r7 |
---|
394 | 381 | isync |
---|
395 | 382 | blr |
---|
.. | .. |
---|
414 | 401 | _GLOBAL(__flush_disable_L1) |
---|
415 | 402 | /* Stop pending alitvec streams and memory accesses */ |
---|
416 | 403 | BEGIN_FTR_SECTION |
---|
417 | | - DSSALL |
---|
| 404 | + PPC_DSSALL |
---|
418 | 405 | END_FTR_SECTION_IFSET(CPU_FTR_ALTIVEC) |
---|
419 | 406 | sync |
---|
420 | 407 | |
---|
.. | .. |
---|
467 | 454 | sync |
---|
468 | 455 | |
---|
469 | 456 | blr |
---|
| 457 | +_ASM_NOKPROBE_SYMBOL(__inval_enable_L1) |
---|
470 | 458 | |
---|
471 | 459 | |
---|