be2iscsi: iscsi boot changes for the kernel
Subsystems (2)
PATCH 15/19 be2iscsi: iscsi boot changes for the kernel
This patich kernel changes picked up from Konrad's tree
--- drivers/firmware/Kconfig | 9 + drivers/firmware/Makefile | 1 + drivers/firmware/iscsi_boot_sysfs.c | 472 +++++++++++++++++++++++ drivers/firmware/iscsi_ibft.c | 726 +++++++++++++---------------------- drivers/firmware/iscsi_ibft_find.c | 55 ++- include/linux/iscsi_boot_sysfs.h | 123 ++++++ include/linux/iscsi_ibft.h | 12 +- 7 files changed, 914 insertions(+), 484 deletions(-) create mode 100644 drivers/firmware/iscsi_boot_sysfs.c create mode 100644 include/linux/iscsi_boot_sysfs.h
drivers/firmware/Kconfig +9 -0
@@ -122,8 +122,17 @@ config ISCSI_IBFT_FIND is necessary for iSCSI Boot Firmware Table Attributes module to work properly. +config ISCSI_BOOT_SYSFS + tristate "iSCSI Boot Sysfs Interface" + default n + help + This option enables support for exposing iSCSI boot information + via sysfs to userspace. If you wish to export this information, + say Y. Otherwise, say N. + config ISCSI_IBFT tristate "iSCSI Boot Firmware Table Attributes module" + select ISCSI_BOOT_SYSFS depends on ISCSI_IBFT_FIND default n help
drivers/firmware/Makefile +1 -0
@@ -10,4 +10,5 @@ obj-$(CONFIG_DCDBAS) += dcdbas.o obj-$(CONFIG_DMIID) += dmi-id.o obj-$(CONFIG_ISCSI_IBFT_FIND) += iscsi_ibft_find.o obj-$(CONFIG_ISCSI_IBFT) += iscsi_ibft.o +obj-$(CONFIG_ISCSI_BOOT_SYSFS) += iscsi_boot_sysfs.o obj-$(CONFIG_FIRMWARE_MEMMAP) += memmap.o
drivers/firmware/iscsi_boot_sysfs.c new file +472 -0
472 lines not on this page · raw message
drivers/firmware/iscsi_ibft.c +264 -462
997 lines not on this page · raw message
drivers/firmware/iscsi_ibft_find.c +43 -12
100 lines not on this page · raw message
include/linux/iscsi_boot_sysfs.h new file +123 -0
123 lines not on this page · raw message
include/linux/iscsi_ibft.h +2 -10
@@ -21,21 +21,13 @@#ifndef ISCSI_IBFT_H #define ISCSI_IBFT_H -struct ibft_table_header { -char signature[4 ]; -u32 length; -u8 revision; -u8 checksum; -char oem_id[6 ]; -char oem_table_id[8 ]; -char reserved[24 ]; -} __attribute__((__packed__ )); +#include <acpi/acpi.h> /* * Logical location of iSCSI Boot Format Table. * If the value is NULL there is no iBFT on the machine. */ -extern struct ibft_table_header *ibft_addr; +extern struct acpi_table_ibft *ibft_addr;/* * Routine used to find and reserve the iSCSI Boot Format Table. The
Signature · 1 line
1.6.5.2
Quoted 4 lines · Jayamohan Kallickal
This patich kernel changes picked up from Konrad's tree
Signed-off-by Mike Christie<[email protected]>Signed-off-by Jayamohan Kallickal<[email protected]>
The patchset looks ok.
The only issue might be this patch. James, this patch is in Konrad's tree for 2.6.36:
(it is actually 2 patches)
http://git.kernel.org/?p=linux/kernel/git/konrad/ibft-2.6.git;a=commit;h=ba4ee30c6c797de148dcc7254cf6d531aba71d9b
http://git.kernel.org/?p=linux/kernel/git/konrad/ibft-2.6.git;a=commit;h=b33a84a384776fb2593dac4d77c72050f9e181b0
So I am not sure who wants to send it upstream. I think as it is now, Konrad needs to send it because it depends on other patches in his tree.
Quoted 11 lines
The only issue might be this patch. James, this patch is in Konrad's tree for 2.6.36:
(it is actually 2 patches)
http://git.kernel.org/?p=linux/kernel/git/konrad/ibft-2.6.git;a=commit;h=ba4ee30c6c797de148dcc7254cf6d531aba71d9b
http://git.kernel.org/?p=linux/kernel/git/konrad/ibft-2.6.git;a=commit;h=b33a84a384776fb2593dac4d77c72050f9e181b0So I am not sure who wants to send it upstream. I think as it is now, Konrad needs to send it because it depends on other patches in his tree.
I am planning on sending them to Linus the moments he announced that 2.6.35 is gold and he opens his merge window.