Skip to contentSkip to conversation

Re-add ibft tree to linux-next please

DISCUSSION Konrad Rzeszutek Wilk 6 participants 8 messages Dec 12, 2011 – Jan 17, 2012

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hey Stephen,

I've one patch for the iBFT and since I am the co-maintainer of said tree, please add this tree to your awesome build system:

git://git.kernel.org/pub/scm/linux/kernel/git/konrad/ibft.git

The branch is "linux-next"

Thanks!

P.S.
After kernel.org went down, I choose not to resurface the iBFT tree b/c I figured that the driver was sooo stable that there would be no need for any patches. Well, not the case

#1 lore raw

Hi Konrad,

Quoted 7 lines · On Mon, 12 Dec 2011 10:53:30 -0400 Konrad Rzeszutek Wilk <[email protected]>…

I've one patch for the iBFT and since I am the co-maintainer of said tree, please add this tree to your awesome build system:

git://git.kernel.org/pub/scm/linux/kernel/git/konrad/ibft.git

The branch is "linux-next"

OK, I have added that from today. There is currently nothing in that branch, right?

Thanks for adding your subsystem tree as a participant of linux-next. As you may know, this is not a judgment of your code. The purpose of linux-next is for integration testing and to lower the impact of conflicts between subsystems in the next merge window.

You will need to ensure that the patches/commits in your tree/series have been:
* submitted under GPL v2 (or later) and include the Contributor's Signed-off-by,
* posted to the relevant mailing list,
* reviewed by you (or another maintainer of your subsystem tree),
* successfully unit tested, and
* destined for the current or next Linux merge window.

Basically, this should be just what you would send to Linus (or ask him to fetch). It is allowed to be rebased if you deem it necessary.

Signature · 15 lines
Cheers,
Stephen Rothwell 
[email protected]

Legal Stuff:
By participating in linux-next, your subsystem tree contributions are
public and will be included in the linux-next trees.  You may be sent
e-mail messages indicating errors or other issues when the
patches/commits from your subsystem tree are merged and tested in
linux-next.  These messages may also be cross-posted to the linux-next
mailing list, the linux-kernel mailing list, etc.  The linux-next tree
project and IBM (my employer) make no warranties regarding the linux-next
project, the testing procedures, the results, the e-mails, etc.  If you
don't agree to these ground rules, let me know and I'll remove your tree
from participation in linux-next.
#2 lore raw
Quoted 7 lines · Stephen Rothwell

Hi Konrad,

Quoted 4 lines · On Mon, 12 Dec 2011 10:53:30 -0400 Konrad Rzeszutek Wilk <[email protected]>…

I've one patch for the iBFT and since I am the co-maintainer of said tree, please add this tree to your awesome build system:

Quoted 6 lines
Quoted 3 lines

git://git.kernel.org/pub/scm/linux/kernel/git/konrad/ibft.git

The branch is "linux-next"

OK, I have added that from today. There is currently nothing in that branch, right?

Yup. I want to shakedown the patches first in my #testing on first so that you aren't hit with any compile errors.

Quoted 34 lines

Thanks for adding your subsystem tree as a participant of linux-next. As you may know, this is not a judgment of your code. The purpose of linux-next is for integration testing and to lower the impact of conflicts between subsystems in the next merge window.

You will need to ensure that the patches/commits in your tree/series have been:
* submitted under GPL v2 (or later) and include the Contributor's Signed-off-by,
* posted to the relevant mailing list,
* reviewed by you (or another maintainer of your subsystem tree),
* successfully unit tested, and
* destined for the current or next Linux merge window.

Basically, this should be just what you would send to Linus (or ask him to fetch). It is allowed to be rebased if you deem it necessary.

Signature · 15 lines
Cheers,
Stephen Rothwell 
[email protected]

Legal Stuff:
By participating in linux-next, your subsystem tree contributions are
public and will be included in the linux-next trees.  You may be sent
e-mail messages indicating errors or other issues when the
patches/commits from your subsystem tree are merged and tested in
linux-next.  These messages may also be cross-posted to the linux-next
mailing list, the linux-kernel mailing list, etc.  The linux-next tree
project and IBM (my employer) make no warranties regarding the linux-next
project, the testing procedures, the results, the e-mails, etc.  If you
don't agree to these ground rules, let me know and I'll remove your tree
from participation in linux-next.
#3 lore raw
In reply to Konrad Rzeszutek Wilk
Quoted 9 lines · Konrad Rzeszutek Wilk

Hey Stephen,

I've one patch for the iBFT and since I am the co-maintainer of said tree, please add this tree to your awesome build system:

git://git.kernel.org/pub/scm/linux/kernel/git/konrad/ibft.git

The branch is "linux-next"

Quoted 8 lines

Thanks!

P.S.
After kernel.org went down, I choose not to resurface the iBFT tree b/c I figured that the driver was sooo stable that there would be no need for any patches. Well, not the case

iBFT is basically an ACPI table with nonstandard discovery. Any way we could get this merged into the ACPI core eventually?

-hpa

#4 lore raw
Quoted 14 lines · H. Peter Anvin
Quoted 13 lines · Konrad Rzeszutek Wilk

Hey Stephen,

I've one patch for the iBFT and since I am the co-maintainer of said tree, please add this tree to your awesome build system:

git://git.kernel.org/pub/scm/linux/kernel/git/konrad/ibft.git

The branch is "linux-next"

Thanks!

Quoted 7 lines
Quoted 4 lines

P.S.
After kernel.org went down, I choose not to resurface the iBFT tree b/c I figured that the driver was sooo stable that there would be no need for any patches. Well, not the case

iBFT is basically an ACPI table with nonstandard discovery. Any way we could get this merged into the ACPI core eventually?

Part of the driver has been exported to the SCSI tree already (the software and broadcam iSCSI one). The only two remainig pieces are the SysFS skeleton (which should probably still sit in drivers/firmware) and iBFT finder.

The remaining piece that could be moved to drivers/acpi is the "finder" of the IBFT which can find it via ACPI, similar to how MADT tables are found (so perhaps arch/x86/acpi?).

The trick is that we also have to retain the code functionality if "# CONFIG_ACPI is not set" to scan the memory for the iBFT. That part should definitly _not_ be moved to drivers/acpi. It could be moved to arch/x86/ .. but it could also stay in drivers/firmware. <shrugs>

reviewer
#5 lore raw
Quoted 5 lines

The trick is that we also have to retain the code functionality if "# CONFIG_ACPI is not set" to scan the memory for the iBFT. That part should definitly _not_ be moved to drivers/acpi. It could be moved to arch/x86/ .. but it could also stay in drivers/firmware. <shrugs>

Are there really hardware/firmware configurations that support IBFT and do not support ACPI?

If yes, do they require an OS that has CONFIG_ACPI=n? Or would finding the table with CONFIG_ACPI=y and acpi_disabled=1 be sufficient?

-Len

#6 lore raw
Quoted 9 lines · Len Brown
Quoted 5 lines

The trick is that we also have to retain the code functionality if "# CONFIG_ACPI is not set" to scan the memory for the iBFT. That part should definitly _not_ be moved to drivers/acpi. It could be moved to arch/x86/ .. but it could also stay in drivers/firmware. <shrugs>

Are there really hardware/firmware configurations that support IBFT and do not support ACPI?

gPXE can be used in legacy environments. And it (gPXE) does not update the ACPI tables.

Quoted 2 lines

If yes, do they require an OS that has CONFIG_ACPI=n?

I can't think of anybody nowadays doing CONFIG_ACPI=n for x86. Is there anybody doing it?

Quoted 2 lines

Or would finding the table with CONFIG_ACPI=y and acpi_disabled=1 be sufficient?

I think that would work. And also if 'acpi_disabled=0' as you might have an IBFT table in memory that is _not_ hooked up to the ACPI tables.

#7 lore raw
Quoted 7 lines · Konrad Rzeszutek Wilk
Quoted 3 lines

Are there really hardware/firmware configurations that support IBFT and do not support ACPI?

gPXE can be used in legacy environments. And it (gPXE) does not update the ACPI tables.

That's irrelevant. THe point is that iBFT *is* an ACPI table.

Quoted 2 lines

I think that would work. And also if 'acpi_disabled=0' as you might have an IBFT table in memory that is _not_ hooked up to the ACPI tables.

That is *always* the case, the "finder" is nonstandard (because the ACPI tables are largely non-extensible, says the one who has tried to actually extend ACPI tables in memory.)

-hpa

Signature · 2 lines
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel.  I don't speak on their behalf.