mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Stefan Richter <stefanr@s5r6.in-berlin.de>
To: linux-kernel@vger.kernel.org
Cc: linux1394-devel@lists.sourceforge.net,
	Robert Crocombe <rcrocomb@ieee.org>
Subject: Re: [RFT PATCH] ieee1394: ohci1394: serialize reset requests and irq handler
Date: Fri, 26 Jan 2007 19:39:54 +0100	[thread overview]
Message-ID: <45BA4AFA.1080106@s5r6.in-berlin.de> (raw)
In-Reply-To: <tkrat.5ef766da36a4a03a@s5r6.in-berlin.de>

I wrote:
>   - Use the ohci->event_lock to serialize the trigger for software-
>     enforced bus resets against a large portion of the IRQ handler.
...
> Todo:
>   - Test.
>   - Audit *all* of ohci1394's register accesses for the need of
>     serialization by spinlocks + mmiowb.
...

PS: AFAIU what I'm doing here, it affects

  - bus resets triggered by local software (the bug report was also
    about externally triggered bus resets),

  - and potentially bus resets (even externally triggered ones) on SMP
    systems with (PCI) bridges if the IRQ handler migrates to a another
    CPU between two interrupt events in quick succession.

Can the latter happen in Linux or/and with -rt kernels?
-- 
Stefan Richter
-=====-=-=== ---= ==-=-
http://arcgraph.de/sr/

      reply	other threads:[~2007-01-26 18:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-26 18:00 Stefan Richter
2007-01-26 18:39 ` Stefan Richter [this message]

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=45BA4AFA.1080106@s5r6.in-berlin.de \
    --to=stefanr@s5r6.in-berlin.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux1394-devel@lists.sourceforge.net \
    --cc=rcrocomb@ieee.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®