Linux Kernel Mailing List | 3 Mar 00:59 2009

[SCSI] hptiop: Add new PCI device ID

Gitweb:     http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=b73a77494292b930642fbf87de3e3196593f7593
Commit:     b73a77494292b930642fbf87de3e3196593f7593
Parent:     adfafefd104d840ee4461965f22624d77532675b
Author:     HighPoint Linux Team <linux <at> highpoint-tech.com>
AuthorDate: Thu Feb 12 11:28:31 2009 +0800
Committer:  James Bottomley <James.Bottomley <at> HansenPartnership.com>
CommitDate: Sat Feb 21 20:29:36 2009 -0600

    [SCSI] hptiop: Add new PCI device ID

    Signed-off-by: HighPoint Linux Team <linux <at> highpoint-tech.com>
    Signed-off-by: James Bottomley <James.Bottomley <at> HansenPartnership.com>
---
 drivers/scsi/hptiop.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/scsi/hptiop.c b/drivers/scsi/hptiop.c
index a48e499..34be88d 100644
--- a/drivers/scsi/hptiop.c
+++ b/drivers/scsi/hptiop.c
 <at>  <at>  -1251,6 +1251,7  <at>  <at>  static struct pci_device_id hptiop_id_table[] = {
 	{ PCI_VDEVICE(TTI, 0x3530), (kernel_ulong_t)&hptiop_itl_ops },
 	{ PCI_VDEVICE(TTI, 0x3560), (kernel_ulong_t)&hptiop_itl_ops },
 	{ PCI_VDEVICE(TTI, 0x4322), (kernel_ulong_t)&hptiop_itl_ops },
+	{ PCI_VDEVICE(TTI, 0x4321), (kernel_ulong_t)&hptiop_itl_ops },
 	{ PCI_VDEVICE(TTI, 0x4210), (kernel_ulong_t)&hptiop_itl_ops },
 	{ PCI_VDEVICE(TTI, 0x4211), (kernel_ulong_t)&hptiop_itl_ops },
 	{ PCI_VDEVICE(TTI, 0x4310), (kernel_ulong_t)&hptiop_itl_ops },
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
(Continue reading)

Linux Kernel Mailing List | 3 Mar 00:59 2009

x86-64: seccomp: fix 32/64 syscall hole

Gitweb:     http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=5b1017404aea6d2e552e991b3fd814d839e9cd67
Commit:     5b1017404aea6d2e552e991b3fd814d839e9cd67
Parent:     ccbe495caa5e604b04d5a31d7459a6f6a76a756c
Author:     Roland McGrath <roland <at> redhat.com>
AuthorDate: Fri Feb 27 23:25:54 2009 -0800
Committer:  Linus Torvalds <torvalds <at> linux-foundation.org>
CommitDate: Mon Mar 2 15:41:30 2009 -0800

    x86-64: seccomp: fix 32/64 syscall hole

    On x86-64, a 32-bit process (TIF_IA32) can switch to 64-bit mode with
    ljmp, and then use the "syscall" instruction to make a 64-bit system
    call.  A 64-bit process make a 32-bit system call with int $0x80.

    In both these cases under CONFIG_SECCOMP=y, secure_computing() will use
    the wrong system call number table.  The fix is simple: test TS_COMPAT
    instead of TIF_IA32.  Here is an example exploit:

    	/* test case for seccomp circumvention on x86-64

    	   There are two failure modes: compile with -m64 or compile with -m32.

    	   The -m64 case is the worst one, because it does "chmod 777 ." (could
    	   be any chmod call).  The -m32 case demonstrates it was able to do
    	   stat(), which can glean information but not harm anything directly.

    	   A buggy kernel will let the test do something, print, and exit 1; a
    	   fixed kernel will make it exit with SIGKILL before it does anything.
    	*/

(Continue reading)

Linux Kernel Mailing List | 3 Mar 00:59 2009

[SCSI] cxgb3i: transmit work-request fixes

Gitweb:     http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=1648b11ea7cec5b95e5a71364ac1f40bfef702d0
Commit:     1648b11ea7cec5b95e5a71364ac1f40bfef702d0
Parent:     b73a77494292b930642fbf87de3e3196593f7593
Author:     Karen Xie <kxie <at> chelsio.com>
AuthorDate: Fri Feb 13 21:38:44 2009 -0800
Committer:  James Bottomley <James.Bottomley <at> HansenPartnership.com>
CommitDate: Sat Feb 21 20:29:36 2009 -0600

    [SCSI] cxgb3i: transmit work-request fixes

    - resize the work-request credit array to be based on skb's MAX_SKB_FRAGS.
    - split the skb cb into tx and rx portion
    - increase the default transmit window to 128K.
    - stop queueing up the outgoing pdus if transmit window is full.

    Signed-off-by: Karen Xie <kxie <at> chelsio.com>
    Reviewed-by: Mike Christie <michaelc <at> cs.wisc.edu>
    Signed-off-by: James Bottomley <James.Bottomley <at> HansenPartnership.com>
---
 drivers/scsi/cxgb3i/cxgb3i_offload.c |  146 ++++++++++++++++++++++++----------
 drivers/scsi/cxgb3i/cxgb3i_offload.h |   28 ++++---
 2 files changed, 121 insertions(+), 53 deletions(-)

diff --git a/drivers/scsi/cxgb3i/cxgb3i_offload.c b/drivers/scsi/cxgb3i/cxgb3i_offload.c
index a865f1f..de3b3b6 100644
--- a/drivers/scsi/cxgb3i/cxgb3i_offload.c
+++ b/drivers/scsi/cxgb3i/cxgb3i_offload.c
 <at>  <at>  -23,19 +23,19  <at>  <at> 
 #include "cxgb3i_ddp.h"

(Continue reading)

Linux Kernel Mailing List | 3 Mar 00:59 2009

x86-64: syscall-audit: fix 32/64 syscall hole

Gitweb:     http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=ccbe495caa5e604b04d5a31d7459a6f6a76a756c
Commit:     ccbe495caa5e604b04d5a31d7459a6f6a76a756c
Parent:     778ef1e6cbb049c9bcbf405936ee6f2b6e451892
Author:     Roland McGrath <roland <at> redhat.com>
AuthorDate: Fri Feb 27 19:03:24 2009 -0800
Committer:  Linus Torvalds <torvalds <at> linux-foundation.org>
CommitDate: Mon Mar 2 15:41:30 2009 -0800

    x86-64: syscall-audit: fix 32/64 syscall hole

    On x86-64, a 32-bit process (TIF_IA32) can switch to 64-bit mode with
    ljmp, and then use the "syscall" instruction to make a 64-bit system
    call.  A 64-bit process make a 32-bit system call with int $0x80.

    In both these cases, audit_syscall_entry() will use the wrong system
    call number table and the wrong system call argument registers.  This
    could be used to circumvent a syscall audit configuration that filters
    based on the syscall numbers or argument details.

    Signed-off-by: Roland McGrath <roland <at> redhat.com>
    Signed-off-by: Linus Torvalds <torvalds <at> linux-foundation.org>
---
 arch/x86/kernel/ptrace.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/x86/kernel/ptrace.c b/arch/x86/kernel/ptrace.c
index 5a4c23d..06ca07f 100644
--- a/arch/x86/kernel/ptrace.c
+++ b/arch/x86/kernel/ptrace.c
 <at>  <at>  -1388,7 +1388,7  <at>  <at>  void send_sigtrap(struct task_struct *tsk, struct pt_regs *regs,
(Continue reading)

Linux Kernel Mailing List | 3 Mar 00:59 2009

[SCSI] cxgb3i: Outgoing pdus need to observe skb's MAX_SKB_FRAGS

Gitweb:     http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=f62d0896e67195d4407ef81c6f77a92f72a63e88
Commit:     f62d0896e67195d4407ef81c6f77a92f72a63e88
Parent:     949847d195d2bb86f61c289a57edb9207c4a3bbf
Author:     Karen Xie <kxie <at> chelsio.com>
AuthorDate: Fri Feb 13 21:38:54 2009 -0800
Committer:  James Bottomley <James.Bottomley <at> HansenPartnership.com>
CommitDate: Sat Feb 21 20:29:37 2009 -0600

    [SCSI] cxgb3i: Outgoing pdus need to observe skb's MAX_SKB_FRAGS

    
    Need to make sure the outgoing pdu can fit into a single skb.  When
    calulating the max. outgoing pdu payload size, take into consideration
    of
    - data can be held in the skb's fragment list, assume 512 bytes per
      fragment, and
    - data can be held in the headroom.

    Signed-off-by: Karen Xie <kxie <at> chelsio.com>
    Reviewed-by: Mike Christie <michaelc <at> cs.wisc.edu>
    Signed-off-by: James Bottomley <James.Bottomley <at> HansenPartnership.com>
---
 drivers/scsi/cxgb3i/cxgb3i_ddp.c     |   19 ++-
 drivers/scsi/cxgb3i/cxgb3i_ddp.h     |    3 +-
 drivers/scsi/cxgb3i/cxgb3i_iscsi.c   |   17 +--
 drivers/scsi/cxgb3i/cxgb3i_offload.h |    1 +
 drivers/scsi/cxgb3i/cxgb3i_pdu.c     |  275 +++++++++++++++++++++++-----------
 drivers/scsi/cxgb3i/cxgb3i_pdu.h     |    2 +-
 6 files changed, 205 insertions(+), 112 deletions(-)

(Continue reading)

Linux Kernel Mailing List | 3 Mar 00:59 2009

[SCSI] cxgb3i: update the driver version to 1.0.1

Gitweb:     http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=b7e7bd34465518f3527bf47a8055f35077d40c6c
Commit:     b7e7bd34465518f3527bf47a8055f35077d40c6c
Parent:     802d52734adf0f288c49c05ed433872d7559c932
Author:     Karen Xie <kxie <at> chelsio.com>
AuthorDate: Fri Feb 13 21:39:09 2009 -0800
Committer:  James Bottomley <James.Bottomley <at> HansenPartnership.com>
CommitDate: Sat Feb 21 20:29:38 2009 -0600

    [SCSI] cxgb3i: update the driver version to 1.0.1

    Signed-off-by: Karen Xie <kxie <at> chelsio.com>
    Signed-off-by: James Bottomley <James.Bottomley <at> HansenPartnership.com>
---
 drivers/scsi/cxgb3i/cxgb3i_init.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/scsi/cxgb3i/cxgb3i_init.c b/drivers/scsi/cxgb3i/cxgb3i_init.c
index 091ecb4..1ce9f24 100644
--- a/drivers/scsi/cxgb3i/cxgb3i_init.c
+++ b/drivers/scsi/cxgb3i/cxgb3i_init.c
 <at>  <at>  -12,8 +12,8  <at>  <at> 
 #include "cxgb3i.h"

 #define DRV_MODULE_NAME         "cxgb3i"
-#define DRV_MODULE_VERSION	"1.0.0"
-#define DRV_MODULE_RELDATE	"Jun. 1, 2008"
+#define DRV_MODULE_VERSION	"1.0.1"
+#define DRV_MODULE_RELDATE	"Jan. 2009"

 static char version[] =
(Continue reading)

Linux Kernel Mailing List | 3 Mar 00:59 2009

[SCSI] cxgb3i: added missing include in cxgb3i_ddp.h

Gitweb:     http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=992040f54069c96a59343976950f174448f4a351
Commit:     992040f54069c96a59343976950f174448f4a351
Parent:     f62d0896e67195d4407ef81c6f77a92f72a63e88
Author:     Karen Xie <kxie <at> chelsio.com>
AuthorDate: Fri Feb 13 21:38:59 2009 -0800
Committer:  James Bottomley <James.Bottomley <at> HansenPartnership.com>
CommitDate: Sat Feb 21 20:29:37 2009 -0600

    [SCSI] cxgb3i: added missing include in cxgb3i_ddp.h

    Signed-off-by: Karen Xie <kxie <at> chelsio.com>
    Reviewed-by: Mike Christie <michaelc <at> cs.wisc.edu>
    Signed-off-by: James Bottomley <James.Bottomley <at> HansenPartnership.com>
---
 drivers/scsi/cxgb3i/cxgb3i_ddp.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/drivers/scsi/cxgb3i/cxgb3i_ddp.h b/drivers/scsi/cxgb3i/cxgb3i_ddp.h
index 99d7014..3faae78 100644
--- a/drivers/scsi/cxgb3i/cxgb3i_ddp.h
+++ b/drivers/scsi/cxgb3i/cxgb3i_ddp.h
 <at>  <at>  -13,6 +13,8  <at>  <at> 
 #ifndef __CXGB3I_ULP2_DDP_H__
 #define __CXGB3I_ULP2_DDP_H__

+#include <linux/vmalloc.h>
+
 /**
  * struct cxgb3i_tag_format - cxgb3i ulp tag format for an iscsi entity
  *
(Continue reading)

Linux Kernel Mailing List | 3 Mar 00:59 2009

[SCSI] cxgb3i: added per-task data to track transmit progress

Gitweb:     http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=949847d195d2bb86f61c289a57edb9207c4a3bbf
Commit:     949847d195d2bb86f61c289a57edb9207c4a3bbf
Parent:     1648b11ea7cec5b95e5a71364ac1f40bfef702d0
Author:     Karen Xie <kxie <at> chelsio.com>
AuthorDate: Fri Feb 13 21:38:49 2009 -0800
Committer:  James Bottomley <James.Bottomley <at> HansenPartnership.com>
CommitDate: Sat Feb 21 20:29:37 2009 -0600

    [SCSI] cxgb3i: added per-task data to track transmit progress

    added per-task struct cxgb3i_task_data to track the data transmiting
    progress and the state of the pdus to be transmitted.

    Signed-off-by: Karen Xie <kxie <at> chelsio.com>
    Reviewed-by: Mike Christie <michaelc <at> cs.wisc.edu>
    Signed-off-by: James Bottomley <James.Bottomley <at> HansenPartnership.com>
---
 drivers/scsi/cxgb3i/cxgb3i.h       |   21 +++++++++++++++++++++
 drivers/scsi/cxgb3i/cxgb3i_iscsi.c |    5 +++--
 2 files changed, 24 insertions(+), 2 deletions(-)

diff --git a/drivers/scsi/cxgb3i/cxgb3i.h b/drivers/scsi/cxgb3i/cxgb3i.h
index fde6e4c..a7cf550 100644
--- a/drivers/scsi/cxgb3i/cxgb3i.h
+++ b/drivers/scsi/cxgb3i/cxgb3i.h
 <at>  <at>  -20,6 +20,7  <at>  <at> 
 #include <linux/list.h>
 #include <linux/netdevice.h>
 #include <linux/scatterlist.h>
+#include <linux/skbuff.h>
(Continue reading)

Linux Kernel Mailing List | 3 Mar 00:59 2009

[SCSI] cxgb3i: Fix spelling errors in documentation

Gitweb:     http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=802d52734adf0f288c49c05ed433872d7559c932
Commit:     802d52734adf0f288c49c05ed433872d7559c932
Parent:     992040f54069c96a59343976950f174448f4a351
Author:     Karen Xie <kxie <at> chelsio.com>
AuthorDate: Fri Feb 13 21:39:04 2009 -0800
Committer:  James Bottomley <James.Bottomley <at> HansenPartnership.com>
CommitDate: Sat Feb 21 20:29:37 2009 -0600

    [SCSI] cxgb3i: Fix spelling errors in documentation

    Signed-off-by: Karen Xie <kxie <at> chelsio.com>
    Signed-off-by: James Bottomley <James.Bottomley <at> HansenPartnership.com>
---
 Documentation/scsi/cxgb3i.txt |   11 +++++------
 1 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/Documentation/scsi/cxgb3i.txt b/Documentation/scsi/cxgb3i.txt
index 8141fa0..7ac8032 100644
--- a/Documentation/scsi/cxgb3i.txt
+++ b/Documentation/scsi/cxgb3i.txt
 <at>  <at>  -4,7 +4,7  <at>  <at>  Introduction
 ============

 The Chelsio T3 ASIC based Adapters (S310, S320, S302, S304, Mezz cards, etc.
-series of products) supports iSCSI acceleration and iSCSI Direct Data Placement
+series of products) support iSCSI acceleration and iSCSI Direct Data Placement
 (DDP) where the hardware handles the expensive byte touching operations, such
 as CRC computation and verification, and direct DMA to the final host memory
 destination:
 <at>  <at>  -31,9 +31,9  <at>  <at>  destination:
(Continue reading)

Linux Kernel Mailing List | 3 Mar 00:59 2009

[SCSI] fix ABORTED_COMMAND looping forever problem

Gitweb:     http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=126c098296c8f96cf7f6ca0fdb47265ac7994f00
Commit:     126c098296c8f96cf7f6ca0fdb47265ac7994f00
Parent:     4034cc68157bfa0b6622efe368488d3d3e20f4e6
Author:     James Bottomley <James.Bottomley <at> HansenPartnership.com>
AuthorDate: Thu Feb 19 21:48:54 2009 +0000
Committer:  James Bottomley <James.Bottomley <at> HansenPartnership.com>
CommitDate: Sat Feb 21 20:29:38 2009 -0600

    [SCSI] fix ABORTED_COMMAND looping forever problem

    Instead of terminating after five retries, commands terminated by
    ABORTED_COMMAND sense are retrying forever.  The problem was
    introduced by:

    commit b60af5b0adf0da24c673598c8d3fb4d4189a15ce
    Author: Alan Stern <stern <at> rowland.harvard.edu>
    Date:   Mon Nov 3 15:56:47 2008 -0500

        [SCSI] simplify scsi_io_completion()

    Which introduced an error whereby ABORTED_COMMAND now gets erroneously
    retried in scsi_io_completion.  Fix this by returning the behaviour
    back to the default no retry.

    Reported-by: Sitsofe Wheeler <sitsofe <at> yahoo.com>
    Tested-by: Sitsofe Wheeler <sitsofe <at> yahoo.com>
    Signed-off-by: James Bottomley <James.Bottomley <at> HansenPartnership.com>
---
 drivers/scsi/scsi_lib.c |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)
(Continue reading)


Gmane