RE: [PATCH 1/2] powerpc/booke64: Add LRAT error exception handler

Caraman Mihai Claudiu-B02008
2013-07-04T06:34:48Z

> -----Original Message-----
> From: Wood Scott-B07421
> Sent: Wednesday, July 03, 2013 11:18 PM
> To: Caraman Mihai Claudiu-B02008
> Cc: linuxppc-dev@lists.ozlabs.org; kvm-ppc@vger.kernel.org;
> kvm@vger.kernel.org; Caraman Mihai Claudiu-B02008
> Subject: Re: [PATCH 1/2] powerpc/booke64: Add LRAT error exception
> handler
>
> On 07/03/2013 11:56:05 AM, Mihai Caraman wrote:
> > @@ -1410,6 +1423,7 @@ _GLOBAL(setup_doorbell_ivors)
> > _GLOBAL(setup_ehv_ivors)
> > SET_IVOR(40, 0x300) /* Embedded Hypervisor System Call */
> > SET_IVOR(41, 0x320) /* Embedded Hypervisor Privilege */
> > + SET_IVOR(42, 0x340) /* LRAT Error */
>
> What happens if we write to IVOR42 on e5500? If the answer is no-op,
> is that behavior guaranteed on any CPU with E.HV but not LRAT?

Oops. I would rather do it __setup_cpu_e6500 in the same way we deal with AltiVec.

-Mike