linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Dan Williams <dan.j.williams@intel.com>
To: "hch@infradead.org" <hch@infradead.org>
Cc: "Nadolski, Edmund" <edmund.nadolski@intel.com>,
	"linux-scsi@vger.kernel.org" <linux-scsi@vger.kernel.org>,
	"dmilburn@redhat.com" <dmilburn@redhat.com>,
	"Jiang, Dave" <dave.jiang@intel.com>,
	"Ciechanowski, Ed" <ed.ciechanowski@intel.com>,
	"Danecki, Jacek" <jacek.danecki@intel.com>,
	"Skirvin, Jeffrey D" <jeffrey.d.skirvin@intel.com>,
	"Wojcik, Artur" <artur.wojcik@intel.com>
Subject: Re: [PATCH, RFC] isci: simplify dma coherent allocation
Date: Wed, 13 Apr 2011 12:44:10 -0700	[thread overview]
Message-ID: <BANLkTi=-9kf1ddmC_weQ0H_wRAi-wa6TZA@mail.gmail.com> (raw)
In-Reply-To: <20110413164425.GA4279@infradead.org>

On Wed, Apr 13, 2011 at 9:44 AM, hch@infradead.org <hch@infradead.org> wrote:
> On Tue, Apr 12, 2011 at 11:32:29PM -0700, Dan Williams wrote:
>> Thanks.  We can do this a bit simpler and just move ram initialization
>> completely out of the start path, where it does not really belong.
>>
>> I'll fold the fix below into the patch.
>
> That looks much better than the initial version.  I'm still not sure
> there actually is much of a point of doing a lot of work in the
> start state handler.  Is there any fundamental reason for delaying work
> from the normal init path?
>

Probably everything above "/* Start all of the ports on this
controller */" can be moved to the normal init path.  "Start" should
just be "turn on the phys".

However, we'll need to revisit this allocation code when adding
power-management support (post 2.6.39) since the allocation is tied to
the register re-initialization.  Probably just add a devres group to
handle all the dma host memory areas for the controller, rather than
track the allocations individually.  But the simple patch is
sufficient for now.

--
Dan
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2011-04-13 19:44 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-08 23:55 [PATCH, RFC] isci: simplify dma coherent allocation Edmund Nadolski
2011-04-13  6:32 ` Dan Williams
2011-04-13 16:44   ` hch
2011-04-13 19:44     ` Dan Williams [this message]
2011-04-13 23:41       ` Dan Williams
  -- strict thread matches above, loose matches on Subject: below --
2011-04-02 12:15 Christoph Hellwig

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='BANLkTi=-9kf1ddmC_weQ0H_wRAi-wa6TZA@mail.gmail.com' \
    --to=dan.j.williams@intel.com \
    --cc=artur.wojcik@intel.com \
    --cc=dave.jiang@intel.com \
    --cc=dmilburn@redhat.com \
    --cc=ed.ciechanowski@intel.com \
    --cc=edmund.nadolski@intel.com \
    --cc=hch@infradead.org \
    --cc=jacek.danecki@intel.com \
    --cc=jeffrey.d.skirvin@intel.com \
    --cc=linux-scsi@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).