/* SPDX-License-Identifier: GPL-2.0-only */1/*2* Copyright (C) 2006-2007 PA Semi, Inc3*4* Maintained by: Olof Johansson <[email protected]>5*/67#include <asm/processor.h>8#include <asm/page.h>9#include <asm/cputable.h>10#include <asm/ppc_asm.h>11#include <asm/asm-offsets.h>12#include <asm/cache.h>1314/* Right now, restore and setup are the same thing */15_GLOBAL(__restore_cpu_pa6t)16_GLOBAL(__setup_cpu_pa6t)17/* Do nothing if not running in HV mode */18mfmsr r019rldicl. r0,r0,4,6320beqlr2122mfspr r0,SPRN_HID523ori r0,r0,0x3824mtspr SPRN_HID5,r02526mfspr r0,SPRN_LPCR27ori r0,r0,0x700028mtspr SPRN_LPCR,r02930blr313233