From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36346) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z4s1A-0004BY-GI for qemu-devel@nongnu.org; Tue, 16 Jun 2015 10:39:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z4s11-0003EN-UD for qemu-devel@nongnu.org; Tue, 16 Jun 2015 10:39:12 -0400 Received: from mail.emea.novell.com ([130.57.118.101]:58504) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z4s11-0003Cf-K8 for qemu-devel@nongnu.org; Tue, 16 Jun 2015 10:39:03 -0400 Message-Id: <558051230200007800085956@mail.emea.novell.com> Date: Tue, 16 Jun 2015 15:38:59 +0100 From: "Jan Beulich" References: <5571AA3B020000780008152E@mail.emea.novell.com> <5571AC2E020000780008156B@mail.emea.novell.com> In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: Re: [Qemu-devel] [PATCH 4/6] xen/pass-through: correctly deal with RW1C bits List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefano Stabellini Cc: xen-devel , qemu-devel@nongnu.org >>> On 16.06.15 at 16:19, wrote: > On Fri, 5 Jun 2015, Jan Beulich wrote: >> @@ -1016,11 +1002,12 @@ static XenPTRegInfo xen_pt_emu_reg_pm[]=20 >> .size =3D 2, >> .init_val =3D 0x0008, >> .res_mask =3D 0x00F0, >> - .ro_mask =3D 0xE10C, >> + .ro_mask =3D 0x610C, >> + .rw1c_mask =3D 0x8000, >> .emu_mask =3D 0x810B, >> .init =3D xen_pt_common_reg_init, >> .u.w.read =3D xen_pt_word_reg_read, >> - .u.w.write =3D xen_pt_pmcsr_reg_write, >> + .u.w.write =3D xen_pt_word_reg_write, >> }, >> { >> .size =3D 0, >=20 > 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