From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexander Graf Subject: Re: [PATCH -V2] powerpc: book3s: PR: Enable Little Endian PR guest Date: Thu, 28 Nov 2013 18:57:19 +0100 Message-ID: <529783FF.7040505@suse.de> References: <1385654018-18232-1-git-send-email-aneesh.kumar@linux.vnet.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: benh@kernel.crashing.org, paulus@samba.org, linuxppc-dev@lists.ozlabs.org, kvm-ppc@vger.kernel.org, kvm@vger.kernel.org To: "Aneesh Kumar K.V" Return-path: In-Reply-To: <1385654018-18232-1-git-send-email-aneesh.kumar@linux.vnet.ibm.com> Sender: kvm-ppc-owner@vger.kernel.org List-Id: kvm.vger.kernel.org On 11/28/2013 04:53 PM, Aneesh Kumar K.V wrote: > From: "Aneesh Kumar K.V" > > This patch make sure we inherit the LE bit correctly in different case > so that we can run Little Endian distro in PR mode IMHO H_SET_MODE should be handled in user space for most cases. We probably want an interface similar to the RTAS hypercall where user space can then tell the kernel to handle individual sub-commands inside the kernel after all for performance counters and other performance critical operations. But the normal mode of operation should be to bounce this into user space and have that one set LPCR then. Alex