[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <8738hoenei.fsf@linux.vnet.ibm.com>
Date: Tue, 08 Apr 2014 09:21:41 +1000
From: Stewart Smith <stewart@...ux.vnet.ibm.com>
To: Greg Kurz <gkurz@...ux.vnet.ibm.com>, benh@...nel.crashing.org
Cc: linux-kernel@...r.kernel.org, geert@...ux-m68k.org,
paulus@...ba.org, anton@...ba.org, nfont@...ux.vnet.ibm.com,
linuxppc-dev@...ts.ozlabs.org
Subject: Re: [PATCH v2] powerpc/le: enable RTAS events support
Greg Kurz <gkurz@...ux.vnet.ibm.com> writes:
> The current kernel code assumes big endian and parses RTAS events all
> wrong. The most visible effect is that we cannot honor EPOW events,
> meaning, for example, we cannot shut down a guest properly from the
> hypervisor.
>
> This new patch is largely inspired by Nathan's work: we get rid of all
> the bit fields in the RTAS event structures (even the unused ones, for
> consistency). We also introduce endian safe accessors for the fields used
> by the kernel (trivial rtas_error_type() accessor added for consistency).
>
> Cc: Nathan Fontenot <nfont@...ux.vnet.ibm.com>
> Signed-off-by: Greg Kurz <gkurz@...ux.vnet.ibm.com>
Acked-by: Stewart Smith <stewart@...ux.vnet.ibm.com>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists