From: Michael Ellerman Subject: Re: [PATCH 1/4] Add basic little endian support. Date: Tue, 22 Mar 2016 09:30:21 +1100 Message-ID: <1458599421.23284.1.camel@ellerman.id.au> References: <1458544650-31416-1-git-send-email-bsingharora@gmail.com> <1458544650-31416-2-git-send-email-bsingharora@gmail.com> <1458597319.6622.137.camel@neuling.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Cc: penberg@kernel.org, aik@ozlabs.ru To: Michael Neuling , Balbir Singh , will.deacon@arm.com, kvm@vger.kernel.org Return-path: Received: from ozlabs.org ([103.22.144.67]:41525 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751268AbcCUWaX (ORCPT ); Mon, 21 Mar 2016 18:30:23 -0400 In-Reply-To: <1458597319.6622.137.camel@neuling.org> Sender: kvm-owner@vger.kernel.org List-ID: On Tue, 2016-03-22 at 08:55 +1100, Michael Neuling wrote: > On Mon, 2016-03-21 at 18:17 +1100, Balbir Singh wrote: > > > Currently kvmtool works well/was designed for big endian ppc64 systems. > > This patch adds support for little endian systems > > > > The system does not yet boot as support for h_set_mode is required to help > > with exceptions in big endian mode -- first page fault. The support comes in > > the next patch of the series > > Can we define some of the variables below with the appropriate endian? > pft_size_prop, segment_page_sizes_1, and rtas could all be defined as > big endian. Yeah that would be good. kvmtool does have the definitions for __be32 etc. I can't see any support in the Makefiles for running sparse, but you can always run it manually and/or add support. cheers