]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - arch/powerpc/kernel/traps.c
powerpc: Correct DSCR during TM context switch
[karo-tx-linux.git] / arch / powerpc / kernel / traps.c
index 33cd7a0b8e730b1d22583ab304821a2d1d203cc2..1bd7ca298fa1b132167a47bbf310ed0ef6a0db0b 100644 (file)
@@ -1379,8 +1379,9 @@ void facility_unavailable_exception(struct pt_regs *regs)
        if (!arch_irq_disabled_regs(regs))
                local_irq_enable();
 
-       pr_err("%sFacility '%s' unavailable, exception at 0x%lx, MSR=%lx\n",
-              hv ? "Hypervisor " : "", facility, regs->nip, regs->msr);
+       pr_err_ratelimited(
+               "%sFacility '%s' unavailable, exception at 0x%lx, MSR=%lx\n",
+               hv ? "Hypervisor " : "", facility, regs->nip, regs->msr);
 
        if (user_mode(regs)) {
                _exception(SIGILL, regs, ILL_ILLOPC, regs->nip);
@@ -1867,6 +1868,7 @@ struct ppc_emulated ppc_emulated = {
 #ifdef CONFIG_PPC64
        WARN_EMULATED_SETUP(mfdscr),
        WARN_EMULATED_SETUP(mtdscr),
+       WARN_EMULATED_SETUP(lq_stq),
 #endif
 };