[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 18/26] Implement the PAPR (pSeries) virtualized
From: |
David Gibson |
Subject: |
Re: [Qemu-devel] [PATCH 18/26] Implement the PAPR (pSeries) virtualized interrupt controller (xics) |
Date: |
Wed, 23 Mar 2011 14:48:36 +1100 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
On Thu, Mar 17, 2011 at 08:13:27AM -0500, Anthony Liguori wrote:
> On 03/16/2011 08:34 PM, David Gibson wrote:
> >
> >>>+/*
> >>>+ * ICP: Presentation layer
> >>>+ */
> >>>+
> >>>+struct icp_server_state {
> >>>+ uint32_t cppr :8;
> >>>+ uint32_t xisr :24;
> >>No real reason to use bitfields here.
> >Well.. in the hardware xics implementation, CPPR and XISR are
> >considered fields of the one 32-bit register, XIRR. Matching that is
> >why I have the bitfield.
>
> Bitfields don't work well with the way we save device state.
Good point. In fact, I think I even hit that when I did some
preliminary looking at adding partition save/migration support to the
pseries stuff. Bitfields removed in the next version.
--
David Gibson | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_
| _way_ _around_!
http://www.ozlabs.org/~dgibson
- [Qemu-devel] Re: [PATCH 21/26] Implement TCE translation for sPAPR VIO, (continued)
[Qemu-devel] [PATCH 26/26] Implement PAPR VPA functions for pSeries shared processor partitions, David Gibson, 2011/03/16
[Qemu-devel] [PATCH 23/26] Implement PAPR CRQ hypercalls, David Gibson, 2011/03/16
[Qemu-devel] [PATCH 25/26] Add a PAPR TCE-bypass mechanism for the pSeries machine, David Gibson, 2011/03/16
- [Qemu-devel] Re: [PATCH 25/26] Add a PAPR TCE-bypass mechanism for the pSeries machine, Alexander Graf, 2011/03/16
- [Qemu-devel] Re: [PATCH 25/26] Add a PAPR TCE-bypass mechanism for the pSeries machine, David Gibson, 2011/03/16
- [Qemu-devel] Re: [PATCH 25/26] Add a PAPR TCE-bypass mechanism for the pSeries machine, Benjamin Herrenschmidt, 2011/03/16
- [Qemu-devel] Re: [PATCH 25/26] Add a PAPR TCE-bypass mechanism for the pSeries machine, Alexander Graf, 2011/03/17
- [Qemu-devel] Re: [PATCH 25/26] Add a PAPR TCE-bypass mechanism for the pSeries machine, Benjamin Herrenschmidt, 2011/03/17
- [Qemu-devel] Re: [PATCH 25/26] Add a PAPR TCE-bypass mechanism for the pSeries machine, Alexander Graf, 2011/03/17