[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 4/6] xen/pass-through: correctly deal with RW1C
From: |
Jan Beulich |
Subject: |
Re: [Qemu-devel] [PATCH 4/6] xen/pass-through: correctly deal with RW1C bits |
Date: |
Tue, 16 Jun 2015 15:38:59 +0100 |
>>> On 16.06.15 at 16:19, <address@hidden> wrote:
> On Fri, 5 Jun 2015, Jan Beulich wrote:
>> @@ -1016,11 +1002,12 @@ static XenPTRegInfo xen_pt_emu_reg_pm[]
>> .size = 2,
>> .init_val = 0x0008,
>> .res_mask = 0x00F0,
>> - .ro_mask = 0xE10C,
>> + .ro_mask = 0x610C,
>> + .rw1c_mask = 0x8000,
>> .emu_mask = 0x810B,
>> .init = xen_pt_common_reg_init,
>> .u.w.read = xen_pt_word_reg_read,
>> - .u.w.write = xen_pt_pmcsr_reg_write,
>> + .u.w.write = xen_pt_word_reg_write,
>> },
>> {
>> .size = 0,
>
> I can see that the code change doesn't cause a change in behaviour for
> PCI_PM_CTRL, but it does for PCI_STATUS, PCI_EXP_DEVSTA and
> PCI_EXP_LNKSTA. Please explain why in the commit message.
I'm not sure what you're after in a patch titled "correctly deal with
RW1C bits".
Jan
- [Qemu-devel] [PATCH 0/6] xen/pass-through: XSA-120, 128...131 follow-up, Jan Beulich, 2015/06/05
- [Qemu-devel] [PATCH 3/6] xen/MSI-X: really enforce alignment, Jan Beulich, 2015/06/05
- [Qemu-devel] [PATCH 4/6] xen/pass-through: correctly deal with RW1C bits, Jan Beulich, 2015/06/05
- [Qemu-devel] [PATCH 5/6] xen/pass-through: log errno values rather than function return ones, Jan Beulich, 2015/06/05
- [Qemu-devel] [PATCH 6/6] xen/pass-through: constify some static data, Jan Beulich, 2015/06/05
[Qemu-devel] [PATCH 2/6] xen/MSI-X: drive maskall and enable bits through hypercalls, Jan Beulich, 2015/06/05