Re: [PATCH v4 22/25] ppc/xive: Introduce a xive_os_cam_decode() helper

2019-10-03 Thread Cédric Le Goater
On 03/10/2019 04:34, David Gibson wrote: > On Wed, Sep 18, 2019 at 06:06:42PM +0200, Cédric Le Goater wrote: >> The OS CAM line has a special encoding exploited by the HW. Provide a >> helper routine to hide the details to the TIMA command handlers. This >> also clarifies the endian ness of differe

Re: [PATCH v4 22/25] ppc/xive: Introduce a xive_os_cam_decode() helper

2019-10-02 Thread David Gibson
On Wed, Sep 18, 2019 at 06:06:42PM +0200, Cédric Le Goater wrote: > The OS CAM line has a special encoding exploited by the HW. Provide a > helper routine to hide the details to the TIMA command handlers. This > also clarifies the endian ness of different variables : 'qw1w2' is > big-endian and 'ca

[Qemu-devel] [PATCH v4 22/25] ppc/xive: Introduce a xive_os_cam_decode() helper

2019-09-18 Thread Cédric Le Goater
The OS CAM line has a special encoding exploited by the HW. Provide a helper routine to hide the details to the TIMA command handlers. This also clarifies the endian ness of different variables : 'qw1w2' is big-endian and 'cam' is native. Signed-off-by: Cédric Le Goater --- hw/intc/xive.c | 35 +