public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Pavel Machek <pavel@ucw.cz>
To: Zachary Amsden <zach@vmware.com>
Cc: Zwane Mwaikambo <zwane@arm.linux.org.uk>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: VMI Interface Proposal Documentation for I386, Part 5
Date: Thu, 16 Mar 2006 00:41:37 +0100	[thread overview]
Message-ID: <20060315234137.GF1919@elf.ucw.cz> (raw)
In-Reply-To: <44167E03.3060807@vmware.com>

Hi!

> >>   VMI_EnableInterrupts
> >>
> >>      VMICALL void VMI_EnableInterrupts(void);
> >>
> >>      Enable maskable interrupts on the processor.  Note that the
> >>      current implementation always will deliver any pending interrupts
> >>      on a call which enables interrupts, for compatibility with kernel
> >>      code which expects this behavior.  Whether this should be required
> >>      is open for debate.
> >>    
> >
> >Mind if i push this debate slightly forward? If we were to move the 
> >dispatch of pending interrupts elsewhere, where would that be? In 
> >particular, for a device which won't issue any more interrupts until it's 
> >previous interrupt is serviced. Perhaps injection at arbitrary points 
> >during runtime when interrupts are enabled?
> >  
> 
> Thanks for the response.
> 
> This is exactly what I was hoping for - discussion.  Think about this 
> from the hypervisor perspective - if the guest enables interrupts, and 
> you have something pending to deliver, for correctness, you have to 
> deliver it, right now.  But does the kernel truly require that interrupt 
> deliver immediately - in most cases, no.  In particular, on the fast 

I'd say PCI hardware can delay interrupts for any arbitrary
delay... so if driver expects to get them "immediately", I'd say it is
broken. It should be enough to deliver them "soon enough", like not
more than 1msec late...
								Pavel
-- 
29:

  parent reply	other threads:[~2006-03-15 23:41 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-13 19:56 VMI Interface Proposal Documentation for I386, Part 5 Zachary Amsden
2006-03-14  7:59 ` Zwane Mwaikambo
2006-03-14  8:25   ` Zachary Amsden
2006-03-14  8:47     ` Zwane Mwaikambo
2006-03-14 16:45       ` Zachary Amsden
2006-03-14 17:01       ` Zachary Amsden
2006-03-15 23:41     ` Pavel Machek [this message]
2006-03-16  1:33       ` Zachary Amsden

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=20060315234137.GF1919@elf.ucw.cz \
    --to=pavel@ucw.cz \
    --cc=linux-kernel@vger.kernel.org \
    --cc=zach@vmware.com \
    --cc=zwane@arm.linux.org.uk \
    /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