From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=38603 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P8Fkk-0000eF-0P for qemu-devel@nongnu.org; Tue, 19 Oct 2010 13:13:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P8Fkj-0004cA-3J for qemu-devel@nongnu.org; Tue, 19 Oct 2010 13:13:33 -0400 Received: from mx1.redhat.com ([209.132.183.28]:18361) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P8Fki-0004c3-Sb for qemu-devel@nongnu.org; Tue, 19 Oct 2010 13:13:33 -0400 Date: Tue, 19 Oct 2010 19:06:55 +0200 From: "Michael S. Tsirkin" Message-ID: <20101019170655.GA21866@redhat.com> References: <20101019115131.GA6752@redhat.com> <20101019151947.GA30021@valinux.co.jp> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20101019151947.GA30021@valinux.co.jp> Subject: [Qemu-devel] Re: [PATCH v5 00/14] pcie port switch emulators List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Isaku Yamahata Cc: skandasa@cisco.com, etmartin@cisco.com, qemu-devel@nongnu.org, wexu2@cisco.com On Wed, Oct 20, 2010 at 12:19:47AM +0900, Isaku Yamahata wrote: > On Tue, Oct 19, 2010 at 01:51:31PM +0200, Michael S. Tsirkin wrote: > > On Tue, Oct 19, 2010 at 06:06:27PM +0900, Isaku Yamahata wrote: > > > On uncorrectable error status register in pcie_aer_write_config(). > > > The register is RW1CS, so making it writable and test-and-clear doesn't > > > work. > > > > Sure. But isn't this what w1cmask implements? > > It's not simple W1C. Well it's also sticky, but this only affects reset. What else is different? > Anyway I found the way to code it without the shift operation. > I'll rewrite the function with the next patch series. > -- > yamahata