linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Dan Williams <dan.j.williams@intel.com>
To: James Bottomley <James.Bottomley@suse.de>
Cc: Greg KH <gregkh@suse.de>, "Jiang, Dave" <dave.jiang@intel.com>,
	"linux-scsi@vger.kernel.org" <linux-scsi@vger.kernel.org>,
	"Danecki, Jacek" <jacek.danecki@intel.com>,
	"Ciechanowski, Ed" <ed.ciechanowski@intel.com>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"dmilburn@redhat.com" <dmilburn@redhat.com>,
	"Nadolski, Edmund" <edmund.nadolski@intel.com>,
	Jeff Garzik <jeff@garzik.org>,
	Christoph Hellwig <hch@infradead.org>
Subject: Re: [PATCH] firmware/efi: export a routine to retrieve efi-variables by GUID
Date: Mon, 21 Mar 2011 12:07:18 -0700	[thread overview]
Message-ID: <4D87A1E6.2000006@intel.com> (raw)
In-Reply-To: <1300583607.12679.29.camel@mulgrave.site>

On 3/19/2011 6:13 PM, James Bottomley wrote:
> On Sat, 2011-03-19 at 17:14 -0700, Greg KH wrote:
>> On Fri, Mar 18, 2011 at 06:15:47PM -0700, Dan Williams wrote:
>>> On 3/18/2011 5:22 PM, Greg KH wrote:
>>>> On Fri, Mar 18, 2011 at 04:10:10PM -0700, Dan Williams wrote:
>>>>>> I needed all patches in linux-next _before_ the merge window opened to
>>>>>> be able to accept it.
>>>>>
>>>>> Yes, I know, and as dmaengine maintainer I also hate being ambushed by
>>>>> last minute patches, but now I am unfortunately one of those annoying
>>>>> people on the other side of the coin.
>>>>
>>>> Then you should know better than to try to go around the well-known
>>>> rules :)
>>>
>>> Yes...
>>>
>>> /me about to push his luck
>>
>> <snip>
>>
>>> As Jeff pointed out:
>>> "It seemed like this was turning into another driver that would get
>>> held outside the kernel until it's "perfect."  If that is the case,
>>> Linus has also made it clear we should get drivers for high volume,
>>> shipping hardware into the kernel, even if its staging, if the
>>> alternative is to deny users the driver."
>>
>> That's fine, _BUT_ you are trying to go around the rules for the merge
>> window, which isn't acceptable.  Also note that your driver isn't
>> self-contained, it needs this change at the least, right?  Any others?
>>
>>> So yes, we are targeting that exception.  I'm up for taking the heat
>>> directly if you want...  because the pull request will need to
>>> backed up with justification.
>>
>> No, sorry, I'll not take this for .40, all of my trees are merged with
>> Linus now for .40 and I'll only be sending him bugfixes until the .41
>> merge window opens up.
>>
>> Remember, it's only a 3 month wait, you knew about this _WAY_ in
>> advance, so it's not like this is something new, or out of the ordinary
>> at all.  Because of that, I fail to see why this is somehow not
>> expected.
>>
>> On a personal note, I'm going to be very scarse for the next 3 weeks due
>> to conferences and travel for spring break, so I physically don't have
>> the time to do any more merges like this with Linus.
>
> So, here's the deal:  You get this driver to a mergeable state, which
> means all of the problems Christoph, others and I have outlined
> completely fixed or well on the way to being in two months and I will
> take it under the merge window exception for new drivers.  However, I
> mean seriously cleaned up and shiny (and dumping tens of thousands of
> lines of flue code and other oddities), not cleaned up for staging.

Sounds fair.

> Further you're going to have to use standard methods to store and
> retrieve data, not esoteric efi ones that rely on changes outside SCSI
> (you aren't the first people to need to set a SAS address and other
> things, so we have a request firmware like method for it).

We do have a request_firmware() interface and a binary blob generation 
utility in drivers/scsi/isci/firmware/, but that is only for the 
fallback (unable to retrieve from platform-firmware) case and should 
probably be considered a bios bug.  The expectation is that globally 
unique sas address, phy signal-amplification, and default port 
configuration settings are a per-board property set by the OEM in the 
factory.

Ideally this would have been something that just showed up in an 
option-rom bar on the device, but that did not happen so it is left to 
software.  For legacy-bios we scan adapter rom space looking for our 
table, for efi it's comparatively cleaner we just grab this efi variable 
identified by its own GUID.

We could have userspace rebuild the firmware image based on what it 
finds in the platform firmware... but that becomes a messy management 
step and gets confusing if one ever wants to override the platform 
defaults with a custom blob.

Other options?

> If you can't make it in two months .. can you do it? I'll extend the
> offer to the .40 which makes the cutoff around 5 months, if you need
> extra time.

Also fair.  I suspect we can get through the backlog in that time.

> What I suggest is that you take about a month and a half to make all the
> changes and then do a patch code drop on linux-scsi.  If you're less
> sure about what you need to do, do one after three weeks and we'll redo
> the assessment.

Ok.  I'll continue to post "[GIT] isci" updates to announce the 
intermediate state, but will drop full patch sets to the mailing list 
when we have upstream merge candidates ready for review.

--
Dan

  reply	other threads:[~2011-03-21 19:07 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-18 22:16 [PATCH] firmware/efi: export a routine to retrieve efi-variables by GUID Dan Williams
2011-03-18 22:50 ` Greg KH
2011-03-18 23:10   ` Dan Williams
2011-03-19  0:22     ` Greg KH
2011-03-19  1:15       ` Dan Williams
2011-03-20  0:14         ` Greg KH
2011-03-20  1:13           ` James Bottomley
2011-03-21 19:07             ` Dan Williams [this message]
2011-03-21 19:12               ` Christoph Hellwig
2011-03-21 18:41           ` Dan Williams
2011-03-22  3:49 ` Matt Domsch

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=4D87A1E6.2000006@intel.com \
    --to=dan.j.williams@intel.com \
    --cc=James.Bottomley@suse.de \
    --cc=dave.jiang@intel.com \
    --cc=dmilburn@redhat.com \
    --cc=ed.ciechanowski@intel.com \
    --cc=edmund.nadolski@intel.com \
    --cc=gregkh@suse.de \
    --cc=hch@infradead.org \
    --cc=jacek.danecki@intel.com \
    --cc=jeff@garzik.org \
    --cc=linux-kernel@vger.kernel.org \
    --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).