[PATCH V4] POWERPC: BOOK3S: KVM: Use the saved dar value and generic make_dsisr

Benjamin Herrenschmidt benh at kernel.crashing.org
Tue May 6 10:04:16 EST 2014

On Mon, 2014-05-05 at 19:56 +0530, Aneesh Kumar K.V wrote:
> Paul mentioned that BOOK3S always had DAR value set on alignment
> interrupt. And the patch is to enable/collect correct DAR value when
> running with Little Endian PR guest. Now to limit the impact and to
> enable Little Endian PR guest, I ended up doing the conditional code
> only for book3s 64 for which we know for sure that we set DAR value.

Only BookS ? Afaik, the kernel align.c unconditionally uses DAR on
every processor type. It's DSISR that may or may not be populated
but afaik DAR always is.


More information about the Linuxppc-dev mailing list