From: Jaswinder Singh <jaswinder@infradead.org>
To: David Dillow <dave@thedillows.org>
Cc: David Woodhouse <dwmw2@infradead.org>,
LKML <linux-kernel@vger.kernel.org>,
Alan Cox <alan@lxorguk.ukuu.org.uk>
Subject: Re: [GIT PULL]: firmware patches for building firmware into kernel
Date: Fri, 08 Aug 2008 07:08:10 +0530 [thread overview]
Message-ID: <1218159490.2553.13.camel@jaswinder.satnam> (raw)
In-Reply-To: <1218133288.18118.20.camel@lap75545.ornl.gov>
Hello Dave,
On Thu, 2008-08-07 at 14:21 -0400, David Dillow wrote:
> On Thu, 2008-08-07 at 23:04 +0530, Jaswinder Singh wrote:
> > Hello David Dillow,
> >
> > On Thu, 2008-08-07 at 13:30 -0400, David Dillow wrote:
> > > On Thu, 2008-08-07 at 22:26 +0530, Jaswinder Singh wrote:
> > > > firmware: avoiding multiple replication for same firmware file
> > >
> > > If this is the last patch you sent to the list, I think there are still
> > > locking bugs in it. I was short on time, so I didn't give it a full
> > > review, but I remember seeing problems. I'll try to give it some time
> > > tonight, if Andrew doesn't beat me to it.
> >
> > This is updated and revised patch.
>
> I just looked at the tree; it still has locking issues, and needs
> further review. You must protect the list from modification while you
> iterate it looking for an match on the requested firmware. Also, was it
> legal to call release_firmware() from an atomic context? It can now
> sleep, which may be an issue...
>
Ok, I will revise it thanks.
> > > > typhoon: use request_firmware
> > >
> > > This is untested -- again, no time over the weekend -- and I'd rather
> > > not have it go upstream until has been verified.
> >
> > This is also updated and revised patch.
>
> Please drop that patch from the series for now; I'm not happy with it,
> as it reintroduces things I've asked be changed.
You mean this :
+ /*
+ * Need to check request_firmware should be called only once
+ * so you don't leak memory if there is more than one NIC.
+ * Need to check if PCI probing gets multi-threaded as
+ * mutex is used while loading the firmware.
+ */
+ if (typhoon_fw != NULL) {
+ err = typhoon_init_firmware(tp);
This is not required now, As I already fixed request_firmware.
So it is replaced by :
+ err = typhoon_init_firmware(tp);
Do you think we still need above comments ?
Thanks you,
Jaswinder Singh.
next prev parent reply other threads:[~2008-08-08 1:40 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-07 16:56 Jaswinder Singh
2008-08-07 17:30 ` David Dillow
2008-08-07 17:34 ` Jaswinder Singh
2008-08-07 18:21 ` David Dillow
2008-08-08 1:38 ` Jaswinder Singh [this message]
2008-08-08 2:59 ` David Dillow
2008-08-08 3:39 ` Jaswinder Singh
2008-08-08 4:25 ` David Dillow
2008-08-08 6:08 ` Jaswinder Singh
2008-08-08 3:31 ` Jaswinder Singh
2008-08-08 4:10 ` David Dillow
2008-08-08 4:33 ` Jaswinder Singh
2008-08-08 12:36 ` David Dillow
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=1218159490.2553.13.camel@jaswinder.satnam \
--to=jaswinder@infradead.org \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=dave@thedillows.org \
--cc=dwmw2@infradead.org \
--cc=linux-kernel@vger.kernel.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®