idle.c (728d90bdc9e480dc93913e59a0aa3c896c7aa697) idle.c (268a2d60013049cfd9a0aada77284aa6ea8ad26a)
1// SPDX-License-Identifier: GPL-2.0-or-later
2/*
3 * MIPS idle loop and WAIT instruction support.
4 *
5 * Copyright (C) xxxx the Anonymous
6 * Copyright (C) 1994 - 2006 Ralf Baechle
7 * Copyright (C) 2003, 2004 Maciej W. Rozycki
8 * Copyright (C) 2001, 2004, 2011, 2012 MIPS Technologies, Inc.

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

173 case CPU_CAVIUM_OCTEON2:
174 case CPU_CAVIUM_OCTEON3:
175 case CPU_XBURST:
176 case CPU_LOONGSON1:
177 case CPU_XLR:
178 case CPU_XLP:
179 cpu_wait = r4k_wait;
180 break;
1// SPDX-License-Identifier: GPL-2.0-or-later
2/*
3 * MIPS idle loop and WAIT instruction support.
4 *
5 * Copyright (C) xxxx the Anonymous
6 * Copyright (C) 1994 - 2006 Ralf Baechle
7 * Copyright (C) 2003, 2004 Maciej W. Rozycki
8 * Copyright (C) 2001, 2004, 2011, 2012 MIPS Technologies, Inc.

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

173 case CPU_CAVIUM_OCTEON2:
174 case CPU_CAVIUM_OCTEON3:
175 case CPU_XBURST:
176 case CPU_LOONGSON1:
177 case CPU_XLR:
178 case CPU_XLP:
179 cpu_wait = r4k_wait;
180 break;
181 case CPU_LOONGSON3:
182 if ((c->processor_id & PRID_REV_MASK) >= PRID_REV_LOONGSON3A_R2_0)
181 case CPU_LOONGSON64:
182 if ((c->processor_id & (PRID_IMP_MASK | PRID_REV_MASK)) >=
183 (PRID_IMP_LOONGSON_64C | PRID_REV_LOONGSON3A_R2_0))
183 cpu_wait = r4k_wait;
184 break;
185
186 case CPU_BMIPS5000:
187 cpu_wait = r4k_wait_irqoff;
188 break;
189 case CPU_RM7000:
190 cpu_wait = rm7k_wait_irqoff;

--- 80 unchanged lines hidden ---
184 cpu_wait = r4k_wait;
185 break;
186
187 case CPU_BMIPS5000:
188 cpu_wait = r4k_wait_irqoff;
189 break;
190 case CPU_RM7000:
191 cpu_wait = rm7k_wait_irqoff;

--- 80 unchanged lines hidden ---