netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jeff Garzik <jeff@garzik.org>
To: David Woodhouse <dwmw2@infradead.org>
Cc: Jes Sorensen <jes@trained-monkey.org>,
	netdev@vger.kernel.org, jaswinder@infradead.org
Subject: Re: [PATCH] firmware: convert acenic driver to request_firmware()
Date: Mon, 16 Jun 2008 16:34:11 -0400	[thread overview]
Message-ID: <4856CE43.4020706@garzik.org> (raw)
In-Reply-To: <1213608300.26255.665.camel@pmac.infradead.org>

David Woodhouse wrote:
> Again with help from Jaswinder Singh.
> 
> Omitting the large part of the patch which actually moves the firmware
> around, since you'll need to pull from the git tree to get the preceding
> patches if you want to test it anyway.
> 
> We store the firmware in little-endian form now, and thus use
> __raw_writel() to write it to the device, to avoid byteswapping by
> writel(). I've revamped that loop in ace_copy() a little bit so it could
> probably do with being tested.
> 
> I've dropped the information about SBSS and BSS sections of the firmware
> -- we were clearing the whole of the device's memory in advance anyway,
> so clearing the BSS sections for a _second_ time seems pointless. And
> since the text,rodata,data sections were (almost) contiguous, we now
> just load those as a single blob rather than keeping them separate.
> 
> Although it probably isn't necessary, we do preserve the ability to
> change the load and start addresses from 0x4000, by putting them into a
> header at the beginning of the firmware blob, along with the version
> number.

Mostly ok...

1) firmware separation should be a separate patch from 
request_firmware() support addition

2) [minor] firmware Kconfig entries should default to 'Y' during 
transition, though it's ok to remove those after transition is over

3) there are enough changes to warrant a requirement of a "driver still 
works" test before going in, IMO


  parent reply	other threads:[~2008-06-16 20:34 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-16  9:25 [PATCH] firmware: convert acenic driver to request_firmware() David Woodhouse
2008-06-16 16:25 ` Jes Sorensen
2008-06-16 17:23   ` David Woodhouse
2008-06-17 16:50     ` Jes Sorensen
2008-06-17 16:52       ` David Woodhouse
2008-06-18 16:29       ` David Woodhouse
2008-06-16 20:34 ` Jeff Garzik [this message]
2008-06-16 21:45   ` David Woodhouse
2008-06-16 22:11     ` Jeff Garzik
2008-06-17 10:40       ` David Woodhouse
2008-06-18 16:14         ` David Woodhouse
2008-06-18 16:26           ` Jeff Garzik
2008-06-18 16:43             ` David Woodhouse
2008-06-18 16:45               ` David Woodhouse
2008-06-18 16:52                 ` Jes Sorensen

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=4856CE43.4020706@garzik.org \
    --to=jeff@garzik.org \
    --cc=dwmw2@infradead.org \
    --cc=jaswinder@infradead.org \
    --cc=jes@trained-monkey.org \
    --cc=netdev@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;
as well as URLs for NNTP newsgroup(s).