ppc/xive: Introduce OS CAM line helpers
authorCédric Le Goater <clg@kaod.org>
Fri, 15 Nov 2019 16:24:19 +0000 (17:24 +0100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Mon, 16 Dec 2019 23:39:47 +0000 (10:39 +1100)
commit7065d0670a7a542633d33d639623f60663384ffd
treea055cf22932903e35831b2c1d0b0fe4f4d9c4b79
parentcd55b1272e3fa341b3f7c32b6186a2d0f71a45c8
ppc/xive: Introduce OS CAM line helpers

The OS CAM line has a special encoding exploited by the HW. Provide
helper routines to hide the details to the TIMA command handlers. This
also clarifies the endianness of different variables : 'qw1w2' is
big-endian and 'cam' is native.

Signed-off-by: Cédric Le Goater <clg@kaod.org>
Message-Id: <20191115162436.30548-7-clg@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/intc/xive.c