Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752739AbbHSVxy (ORCPT ); Wed, 19 Aug 2015 17:53:54 -0400 Received: from e06smtp16.uk.ibm.com ([195.75.94.112]:50228 "EHLO e06smtp16.uk.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752201AbbHSVxx (ORCPT ); Wed, 19 Aug 2015 17:53:53 -0400 X-Helo: d06dlp01.portsmouth.uk.ibm.com X-MailFrom: ldufour@linux.vnet.ibm.com X-RcptTo: linux-kernel@vger.kernel.org Message-ID: <55D4FAE9.7000504@linux.vnet.ibm.com> Date: Wed, 19 Aug 2015 23:53:45 +0200 From: Laurent Dufour User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.8.0 MIME-Version: 1.0 To: Michael Ellerman CC: linuxppc-dev@lists.ozlabs.org, Greg Kroah-Hartman , Jiri Slaby , linux-kernel@vger.kernel.org Subject: Re: [PATCH] powerpc/hvsi: Fix endianness issues in the HVSI driver References: <1438334990-11765-1-git-send-email-ldufour@linux.vnet.ibm.com> <1438649494.9418.0.camel@ellerman.id.au> In-Reply-To: <1438649494.9418.0.camel@ellerman.id.au> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 15081921-0025-0000-0000-000006832265 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1178 Lines: 32 On 04/08/2015 02:51, Michael Ellerman wrote: > On Fri, 2015-07-31 at 11:29 +0200, Laurent Dufour wrote: >> This patch fixes several endianness issues detected when running the HVSI >> driver in little endian mode. >> >> These issues are raised in little endian mode because the data exchanged in >> memory between the kernel and the hypervisor has to be in big endian >> format. > > Can you include the sparse output before and after? Hi Michael, Here is the output message displayed on the console when the bug occurred: [ 0.000517] irq: (null) didn't like hwirq-0x1000a00 to VIRQ16 mapping (rc=-22) [ 0.000578] hvsi_console_init: couldn't create irq mapping for 0x1000a00 With the patch is applied, the hvsi driver is initializing correctly and no message is displayed, except the one saying the number of device the hvsi driver has configured. For instance: [ 1.535783] HVSI: registered 1 devices Cheers, Laurent. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/