Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1210040

Re: [PATCH] powerpc/hvsi: Fix endianness issues in the HVSI driver

From Laurent Dufour <ldufour@linux.vnet.ibm.com>
Newsgroups linux.kernel
Subject Re: [PATCH] powerpc/hvsi: Fix endianness issues in the HVSI driver
Date 2015-08-20 00:00 +0200
Message-ID <pZjyN-1GO-3@gated-at.bofh.it> (permalink)
References <pSeXf-1yJ-1@gated-at.bofh.it> <pTyKf-322-25@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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/

Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Re: [PATCH] powerpc/hvsi: Fix endianness issues in the HVSI driver Laurent Dufour <ldufour@linux.vnet.ibm.com> - 2015-08-20 00:00 +0200
  Re: [PATCH] powerpc/hvsi: Fix endianness issues in the HVSI driver Michael Ellerman <mpe@ellerman.id.au> - 2015-08-20 03:50 +0200
    Re: [PATCH] powerpc/hvsi: Fix endianness issues in the HVSI driver Michael Ellerman <mpe@ellerman.id.au> - 2015-08-20 06:30 +0200

csiph-web