xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: "Jan Beulich" <JBeulich@novell.com>
To: Weidong Han <weidong.han@intel.com>
Cc: Xen-devel <xen-devel@lists.xensource.com>,
	Yunhong Jiang <yunhong.jiang@intel.com>,
	Allen M Kay <allen.m.kay@intel.com>,
	Keir Fraser <keir.fraser@eu.citrix.com>
Subject: Re: [PATCH] Fixing ioapic write order in io_apic_write_remap_rte
Date: Mon, 09 Aug 2010 09:26:09 +0100	[thread overview]
Message-ID: <4C5FD7C1020000780000EC7F@vpn.id2.novell.com> (raw)
In-Reply-To: <1A42CE6F5F474C41B63392A5F80372B22903A75C@shsmsx501.ccr.corp.intel.com>

>>> On 09.08.10 at 05:18, "Han, Weidong" <weidong.han@intel.com> wrote:
> At the end of io_apic_write_remap_rte, it writes new entry (remapped 
> interrupt) to ioapic. But it writes low 32 bits before high 32 bits, it 
> unmasks interrupt before writing high 32 bits if 'mask' bit in low 32 bits is 
> cleared. Thus it may result in issues. This patch fixes this issue by writing 
> high 32 bits before low 32 bits. 

While I fully agree with this change, isn't there another problem in the
error handling path in that the mask bit would not get cleared again
if the write is to the upper half of the RTE?

Jan

  reply	other threads:[~2010-08-09  8:26 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-09  3:18 [PATCH] Fixing ioapic write order in io_apic_write_remap_rte Han, Weidong
2010-08-09  8:26 ` Jan Beulich [this message]
2010-08-09  8:49   ` Weidong Han

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4C5FD7C1020000780000EC7F@vpn.id2.novell.com \
    --to=jbeulich@novell.com \
    --cc=allen.m.kay@intel.com \
    --cc=keir.fraser@eu.citrix.com \
    --cc=weidong.han@intel.com \
    --cc=xen-devel@lists.xensource.com \
    --cc=yunhong.jiang@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).