All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tomasz Wroblewski <tomasz.wroblewski@citrix.com>
To: Jan Beulich <JBeulich@suse.com>
Cc: xen-devel <xen-devel@lists.xenproject.org>
Subject: Re: [PATCH] PCI uart: fix boot hang, and second S3 resume inactive timer list corruption
Date: Mon, 26 Aug 2013 17:09:33 +0200	[thread overview]
Message-ID: <521B6FAD.6060509@citrix.com> (raw)
In-Reply-To: <521B79AA02000078000EE6B4@nat28.tlf.novell.com>

On 08/26/2013 03:52 PM, Jan Beulich wrote:
>>>> On 26.08.13 at 15:25, Tomasz Wroblewski<tomasz.wroblewski@citrix.com>  wrote:
>>> Nevertheless, the approach of your patch in simply giving up
>>> the device (even if only termporarily) looks questionable to me
>>> We'd rather need to restore full access to it I would think. But
>>> yes, this hypervisor and Dom0 playing with the same device is
>>> sort of a gray area.
>> Restore ioport access at the start of poll routine (if not on) and
>> disable it again at the end (if was not on)? I might do that (if you
>> really prefer), but intuitively that seems more likely to produce side
>> effects in dom0 kernel than skipping a poll in xen
> As long as it's guaranteed to only be a poll (or a few of them) being
> affected, this is fine. But what if an interrupt is being used?
I'm probably missing something so can you elaborate on this? Probably 
not what you are asking, but ns16550_interrupt function currently 
doesn't hang when ioports are disabled as a byproduct of the     "while 
( !(ns_read_reg(uart, IIR) & IIR_NOINT) )" test in there, which already 
causes it to break out on 0xFF regs


> Jan
>

  reply	other threads:[~2013-08-26 15:10 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-26  9:17 [PATCH] PCI uart: fix boot hang, and second S3 resume inactive timer list corruption Tomasz Wroblewski
2013-08-26 11:17 ` Jan Beulich
2013-08-26 11:39   ` Tomasz Wroblewski
2013-08-26 12:54     ` Jan Beulich
2013-08-26 13:25       ` Tomasz Wroblewski
2013-08-26 13:52         ` Jan Beulich
2013-08-26 15:09           ` Tomasz Wroblewski [this message]
2013-08-26 15:26             ` Jan Beulich
2013-08-26 16:12               ` Tomasz Wroblewski
2013-08-27  6:55                 ` Jan Beulich
2013-08-27  8:52                   ` Tomasz Wroblewski
2013-08-27  9:01                     ` Jan Beulich

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=521B6FAD.6060509@citrix.com \
    --to=tomasz.wroblewski@citrix.com \
    --cc=JBeulich@suse.com \
    --cc=xen-devel@lists.xenproject.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.