tlbex.c (2a859ab07b6ab66f4134c4fffc341398bd3d328c) tlbex.c (fb2b1dbadfb1c70f74d298f10e749d261dc0eb58)
1/*
2 * This file is subject to the terms and conditions of the GNU General Public
3 * License. See the file "COPYING" in the main directory of this archive
4 * for more details.
5 *
6 * Synthesize TLB refill handlers at runtime.
7 *
8 * Copyright (C) 2004, 2005, 2006, 2008 Thiemo Seufer

--- 429 unchanged lines hidden (view full) ---

438 */
439static void __cpuinit __maybe_unused build_tlb_probe_entry(u32 **p)
440{
441 switch (current_cpu_type()) {
442 /* Found by experiment: R4600 v2.0/R4700 needs this, too. */
443 case CPU_R4600:
444 case CPU_R4700:
445 case CPU_R5000:
1/*
2 * This file is subject to the terms and conditions of the GNU General Public
3 * License. See the file "COPYING" in the main directory of this archive
4 * for more details.
5 *
6 * Synthesize TLB refill handlers at runtime.
7 *
8 * Copyright (C) 2004, 2005, 2006, 2008 Thiemo Seufer

--- 429 unchanged lines hidden (view full) ---

438 */
439static void __cpuinit __maybe_unused build_tlb_probe_entry(u32 **p)
440{
441 switch (current_cpu_type()) {
442 /* Found by experiment: R4600 v2.0/R4700 needs this, too. */
443 case CPU_R4600:
444 case CPU_R4700:
445 case CPU_R5000:
446 case CPU_R5000A:
447 case CPU_NEVADA:
448 uasm_i_nop(p);
449 uasm_i_tlbp(p);
450 break;
451
452 default:
453 uasm_i_tlbp(p);
454 break;

--- 57 unchanged lines hidden (view full) ---

512 case CPU_R4600:
513 case CPU_R4700:
514 uasm_i_nop(p);
515 tlbw(p);
516 uasm_i_nop(p);
517 break;
518
519 case CPU_R5000:
446 case CPU_NEVADA:
447 uasm_i_nop(p);
448 uasm_i_tlbp(p);
449 break;
450
451 default:
452 uasm_i_tlbp(p);
453 break;

--- 57 unchanged lines hidden (view full) ---

511 case CPU_R4600:
512 case CPU_R4700:
513 uasm_i_nop(p);
514 tlbw(p);
515 uasm_i_nop(p);
516 break;
517
518 case CPU_R5000:
520 case CPU_R5000A:
521 case CPU_NEVADA:
522 uasm_i_nop(p); /* QED specifies 2 nops hazard */
523 uasm_i_nop(p); /* QED specifies 2 nops hazard */
524 tlbw(p);
525 break;
526
527 case CPU_R4300:
528 case CPU_5KC:

--- 1673 unchanged lines hidden ---
519 case CPU_NEVADA:
520 uasm_i_nop(p); /* QED specifies 2 nops hazard */
521 uasm_i_nop(p); /* QED specifies 2 nops hazard */
522 tlbw(p);
523 break;
524
525 case CPU_R4300:
526 case CPU_5KC:

--- 1673 unchanged lines hidden ---