All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Brownell <david-b@pacbell.net>
To: Pete Zaitcev <zaitcev@redhat.com>, linux-kernel@vger.kernel.org
Cc: zaitcev@redhat.com, rmk@arm.linux.org.uk
Subject: Re: pci_pool_free from IRQ
Date: Fri, 11 May 2001 10:37:41 -0700	[thread overview]
Message-ID: <02e301c0da41$15739680$6800000a@brownell.org> (raw)
In-Reply-To: <200105082108.f48L8X1154536@saturn.cs.uml.edu> <E14xFD5-0000hh-00@the-village.bc.nu> <15096.27479.707679.544048@pizda.ninka.net> <050701c0d80f$8f876ca0$6800000a@brownell.org> <15096.38109.228916.621891@pizda.ninka.net> <20010509143020.A22522@devserv.devel.redhat.com> <15097.39445.646189.834699@pizda.ninka.net> <20010510160550.A32083@devserv.devel.redhat.com>

> How about this (with documentation fixes by David-B):

Actually I'd be just as happy to call the ARM pci_free_consistent()
behavior (BUG in_interrupt) the problem.  Particularly if that ARM
patch works OK!  I've gotten success reports with pci_pool from
folk using about half the architectures in linux/arch, and only ARM
showed this particular problem.  It appears there's no real need
to update the interface spec to accomodate ARM.

That means the doc fixes are simpler:  in DMA-mapping.txt just clarify
that some routines may be called in_interrupt (currently unspecified),
and the pci.txt change about pci_device.remove() (agreed to by
both Alan and DaveM, appended).

- Dave


> diff -ur -X dontdiff linux-2.4.4/Documentation/pci.txt linux-2.4.4-niph/Documentation/pci.txt
> --- linux-2.4.4/Documentation/pci.txt Sun Sep 17 09:45:06 2000
> +++ linux-2.4.4-niph/Documentation/pci.txt Thu May 10 12:33:03 2001
> @@ -60,8 +60,8 @@
>   remove Pointer to a function which gets called whenever a device
>   being handled by this driver is removed (either during
>   deregistration of the driver or when it's manually pulled
> - out of a hot-pluggable slot). This function can be called
> - from interrupt context.
> + out of a hot-pluggable slot). This function always gets
> + called from process context, so it can sleep.
>   suspend, Power management hooks -- called when the device goes to
>   resume sleep or is resumed.
>  



      reply	other threads:[~2001-05-11 17:42 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-05-08 21:01 pci_pool_free from IRQ Pete Zaitcev
2001-05-08 21:08 ` Albert D. Cahalan
2001-05-08 21:39   ` Alan Cox
2001-05-08 21:55     ` David S. Miller
2001-05-08 22:38       ` David Brownell
2001-05-09  0:52         ` David S. Miller
2001-05-09  3:09           ` David Brownell
2001-05-09 18:30           ` Pete Zaitcev
2001-05-09 19:27             ` David S. Miller
2001-05-10 20:05               ` Pete Zaitcev
2001-05-11 17:37                 ` David Brownell [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='02e301c0da41$15739680$6800000a@brownell.org' \
    --to=david-b@pacbell.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rmk@arm.linux.org.uk \
    --cc=zaitcev@redhat.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 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.