commit 6d67e34de5a378de2f461137944c5d931283d557 tree ef559dbcbb3c2336f13f2b1d8d5995abca137000 parent 7a482425f45e695a2e2821b32a887865f016fbf9 author Antonino A. Daplas Wed, 21 Sep 2005 07:32:49 +0800 committer Linus Torvalds Tue, 20 Sep 2005 17:36:38 -0700 [PATCH] fbdev: Fix reversed back and front porches In fbdev perspective, the frontporch is the lower/right margin and the backporch is the upper/left margin. Correct. Signed-off-by: Antonino Daplas Signed-off-by: Linus Torvalds commit 7a482425f45e695a2e2821b32a887865f016fbf9 tree d368ef974461fd071bf0d6c48f96b3cdff6b58f2 parent c90eef84b8f5c7416cb99ab6907896f2dd392b4d author Antonino A. Daplas Wed, 21 Sep 2005 07:30:21 +0800 committer Linus Torvalds Tue, 20 Sep 2005 17:36:38 -0700 [PATCH] nvidiafb: Fix absence of cursor in nvidiafb A recent change in nvidiafb caused nvidiafb_cursor to always return -ENXIO instead of using the soft_cursor. This will happen if the parameter "hwcur" is not set, which happens to be the default. Signed-off-by: Antonino Daplas Signed-off-by: Linus Torvalds commit c90eef84b8f5c7416cb99ab6907896f2dd392b4d tree 556a077afb13e93461601666ba9cb5dd83c4e554 parent 9600c11ba3602be161cd376f1460f3de561fc299 parent eed8b2dee7cff46dd4bf5b82dc53465d229162ba author Linus Torvalds Tue, 20 Sep 2005 08:54:33 -0700 committer Linus Torvalds Tue, 20 Sep 2005 08:54:33 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/aia21/ntfs-2.6 commit 9600c11ba3602be161cd376f1460f3de561fc299 tree d071c2427a8f7ad601aec6d8ae76b0f61410becf parent 676d55ae30ea3b688f0386f70553489f25f24d55 parent 13e1e1f08c1c098c7574c1fa72bd8c67792dc89b author Linus Torvalds Tue, 20 Sep 2005 08:50:49 -0700 committer Linus Torvalds Tue, 20 Sep 2005 08:50:49 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/jejb/scsi-for-linus-2.6 commit eed8b2dee7cff46dd4bf5b82dc53465d229162ba tree 1508bedde4dda971c56dc30c7edf1e36bfbefc9e parent 676d55ae30ea3b688f0386f70553489f25f24d55 author Anton Altaparmakov Tue, 20 Sep 2005 14:19:30 +0100 committer Anton Altaparmakov Tue, 20 Sep 2005 14:19:30 +0100 NTFS: More runlist handling fixes from Richard Russon and myself. Signed-off-by: Anton Altaparmakov commit 13e1e1f08c1c098c7574c1fa72bd8c67792dc89b tree aa07ca5b3ac4d21cf76b5f9aa8059334756f4c7f parent aef4a983090fa590481a86d9690dc3fa6bb121fa author Andreas Herrmann Mon, 19 Sep 2005 16:56:17 +0200 committer James Bottomley Mon, 19 Sep 2005 13:04:15 -0500 [SCSI] zfcp: add additional fc_host attributes this patch adds some fc host attributes and removes its equivalents from the zfcp_adapter structure and zfcp specific sysfs subtree. Furthermore it removes superfluous calls to fc_remort_port_delete when an adapter is set offline because rports will be removed by fc_remove_host anyway. Signed-off-by: Andreas Herrmann Signed-off-by: James Bottomley commit aef4a983090fa590481a86d9690dc3fa6bb121fa tree 12b78b227102dc2f41dda227fe83f34a8838e015 parent 8a36e4532ea10471f0a8605207d071361d7be2c3 author Maxim Shchetynin Tue, 13 Sep 2005 21:51:16 +0200 committer James Bottomley Mon, 19 Sep 2005 13:03:45 -0500 [SCSI] zfcp: provide support for NPIV N_Port ID Virtualization (NPIV) allows a single FCP port to appear as multiple, distinct ports providing separate port identification. NPIV is supported by FC HBAs on System z9. zfcp was adapted to support this new feature. Signed-off-by: Andreas Herrmann Signed-off-by: James Bottomley commit 8a36e4532ea10471f0a8605207d071361d7be2c3 tree f34e5928de7d73b9aaf385f3fb0847a6c52c297b parent 810f1e3ea5cc0a812816af97020a27c73441f8e9 author Maxim Shchetynin Tue, 13 Sep 2005 21:50:38 +0200 committer James Bottomley Mon, 19 Sep 2005 13:03:00 -0500 [SCSI] zfcp: enhancement of zfcp debug features Debug features (DBFs) els_dbf, cmd_dbf and abt_dbf were removed and san_dbf, hba_dbf and scsi_dbf were introduced. The erp_dbf did not change. The new traces improve debugging of problems with zfcp, scsi-stack, multipath and hardware in the SAN. san_dbf traces things like ELS and CT commands, hba_dbf saves HBA specific information of requests, and scsi_dbf saves FCP and SCSI specific information of requests. Common to all new DBFs is that they provide a so called structured view. This significantly improves readability of the traces. Signed-off-by: Andreas Herrmann Signed-off-by: James Bottomley commit 810f1e3ea5cc0a812816af97020a27c73441f8e9 tree 7f98b35f5dcf950d3835adde0a4854be141887ab parent 77eb1699c76177af2f3d65c8ae7934cf304e0254 author Andreas Herrmann Tue, 13 Sep 2005 21:49:52 +0200 committer James Bottomley Mon, 19 Sep 2005 13:02:21 -0500 [SCSI] zfcp: shorten eh_bus_reset and eh_host_reset handlers Signed-off-by: Andreas Herrmann Signed-off-by: James Bottomley commit 77eb1699c76177af2f3d65c8ae7934cf304e0254 tree ac3f780aa91d63be314feee54f306d48d996b09c parent 059c97d0434834d291eff94669ca2dd3eaac9d28 author Andreas Herrmann Tue, 13 Sep 2005 21:48:33 +0200 committer James Bottomley Mon, 19 Sep 2005 13:01:53 -0500 [SCSI] zfcp: remove function zfcp_fsf_req_wait_and_cleanup Signed-off-by: Andreas Herrmann Signed-off-by: James Bottomley commit 059c97d0434834d291eff94669ca2dd3eaac9d28 tree 70719559f65366c74eb82ee8c7c7a01a0d80aca9 parent 3734d24b2e8d85796de70c13705cfb7cbb1d77df author Andreas Herrmann Tue, 13 Sep 2005 21:47:52 +0200 committer James Bottomley Mon, 19 Sep 2005 13:01:23 -0500 [SCSI] zfcp: remove union zfcp_req_data, use unit refcount for FCP commands o union zfcp_req_data removed o increment unit refcount when processing FCP commands (This fixes a theoretical race: When all scsi commands of a unit are aborted and the scsi_device is removed then the unit could be removed before all fsf_requests of that unit are completely processed.) Signed-off-by: Andreas Herrmann Signed-off-by: James Bottomley commit 3734d24b2e8d85796de70c13705cfb7cbb1d77df tree c89ddff8f636bea1a33bc88873e40dc7d562be46 parent e0fc15bef0e8c6b5abad6e10cfe3d42e278ae8e8 author Andreas Herrmann Tue, 13 Sep 2005 21:47:11 +0200 committer James Bottomley Mon, 19 Sep 2005 13:00:50 -0500 [SCSI] zfcp: fix race conditions when accessing erp_action lists o always use locking when changing erp_action lists, o avoid escalation to ERP_ACTION_REOPEN_PORT_FORCED if erp_action is still in use for ERP_ACTION_REOPEN_PORT Signed-off-by: Andreas Herrmann Signed-off-by: James Bottomley commit e0fc15bef0e8c6b5abad6e10cfe3d42e278ae8e8 tree f7a96e8b93a0de251b25c2b6543c115eba3abc8c parent 466544d8898fc87ed6e2e62ac14af7c50ab7a1a4 author Moore, Eric Dean Thu, 15 Sep 2005 13:17:14 -0600 committer James Bottomley Mon, 19 Sep 2005 12:48:22 -0500 [SCSI] fusion SAS support (mptsas driver) minor fix On Thursday, September 15, 2005 6:22 AM, Christoph Hellwig wrote: > Looks good to me, except for the spurious scsi_print_command prototype > in mptscsih.h. The attached patch addresses that concern. Signed-off-by: Eric Moore Signed-off-by: James Bottomley commit 466544d8898fc87ed6e2e62ac14af7c50ab7a1a4 tree a23688bc1424a2af986482bac159768d625b5deb parent 0c33b27deb93178f10778b3d2669af1674793cef author Moore, Eric Dean Wed, 14 Sep 2005 18:09:10 -0600 committer James Bottomley Mon, 19 Sep 2005 12:45:38 -0500 [SCSI] fusion SAS support (mptsas driver) updates Summary of Changes: * splitting mpt_interrupt per Christophs suggestion about a month ago * rename ScsiCfgData to SpiCfgData structure, then move all the raid related info into new structure called RaidCfgData. This is done because SAS supports RAID, as well as SPI, so the raid stuff should be seperate. * incorrect timeout calculation for cntdn inside WaitForDoorbellAck and WaitForDoortbellInt * add support for interpreting SAS Log Info * Increase Event Log Size from 0xA to 0x32 * Fix bug in mptsas/mptfc/mptspi - when controller has Initiator Mode Disabled, and only running in TargetMode, the mptctl would panic when loading. The fix is to return 0, instead of -ENODEV, in SCSI LLD respective probe routines * Fix bug in mptlan.c - driver will panic if there is host reset, due to dev being set to zero in mpt_lan_ioc_reset * Fix's for SPI - Echo Buffer * Several fix's in mptscsih_io_done - FCP Response info, RESIDUAL_MISMATCH, Data Underrun, etc. * Cleanup Error Handling - EH handlers, mptscsih_flush_cmds, and zeroing out ScsiLookup from mptscsih_qcmd * Cleanup asyn event handling from mptscsih -> mptscsih_event_process. Also added support for SAS Persistent Table Full, an asyn event Signed-off-by: Eric Moore Signed-off-by: James Bottomley commit 0c33b27deb93178f10778b3d2669af1674793cef tree a16c7ce2f10947c696041febe89e13a98ba32b48 parent 82ffb67164064752a56669511545316075b41e1d author Christoph Hellwig Fri, 09 Sep 2005 16:27:19 +0200 committer James Bottomley Mon, 19 Sep 2005 12:42:57 -0500 [SCSI] fusion SAS support (mptsas driver) Adds the actual mptsas driver, based upon the LSI driver with new work for SAS transport class integration from Eric Moore and me. This obviously depends on the SAS transport class. Signed-off-by: Christoph Hellwig Signed-off-by: James Bottomley commit 82ffb67164064752a56669511545316075b41e1d tree 7b5c92f76e25ddf66419668412db147cde35a410 parent 3ed7a4704beb66a155acd67b78b7e9a5674d55fb author Christoph Hellwig Fri, 09 Sep 2005 16:25:54 +0200 committer James Bottomley Mon, 19 Sep 2005 12:42:31 -0500 [SCSI] fusion core changes for SAS support - various bits for SAS support from the LSI driver. - use the device private data for the fusion target private data. this should be using the midlayer target data framework, but we can't move over to that until fusion has been switched to the generic DV code - use target ID and channel from the fusion target private data, because those in scsi_device will be different for mptsas Signed-off-by: Christoph Hellwig Signed-off-by: James Bottomley commit 3ed7a4704beb66a155acd67b78b7e9a5674d55fb tree 0a0ad71a64888fb2ab69e2b0acb99005dbc3af04 parent 939647ee308e0ad924e776657704c7bedd498664 author James Bottomley Mon, 19 Sep 2005 09:50:04 -0500 committer James Bottomley Mon, 19 Sep 2005 09:50:04 -0500 [SCSI] Fix thread termination for the SCSI error handle From: Alan Stern This patch (as561) fixes the error handler's thread-exit code. The kthread_stop call won't wake the thread from a down_interruptible, so the patch gets rid of the semaphore and simply does set_current_state(TASK_INTERRUPTIBLE); Signed-off-by: Alan Stern Modified to simplify the termination loop and correct the sleep condition. Signed-off-by: James Bottomley commit 939647ee308e0ad924e776657704c7bedd498664 tree cfff68b8f65a53e186fd1e7443aa370885ac1ed9 parent a64358db1253b35d508a411e80a3ad23b859ec88 author James Bottomley Sun, 18 Sep 2005 15:05:20 -0500 committer James Bottomley Mon, 19 Sep 2005 09:24:52 -0500 [SCSI] fix oops on usb storage device disconnect We fix the oops by enforcing the host state model. There have also been two extra states added: SHOST_CANCEL_RECOVERY and SHOST_DEL_RECOVERY so we can take the model through host removal while the recovery thread is active. Signed-off-by: James Bottomley commit a64358db1253b35d508a411e80a3ad23b859ec88 tree e222f3f17d6962a84d966620485d19f67d7fafa7 parent b95be99d52ce4f9db9ff0bd5f10e9e2066da6d2e author Alan Stern Tue, 26 Jul 2005 10:27:10 -0400 committer James Bottomley Sun, 18 Sep 2005 15:22:06 -0500 [SCSI] SCSI scanning and removal fixes This patch (as545) fixes the list traversals in __scsi_remove_target and scsi_forget_host. In each case the existing code list_for_each_entry_safe in an _unsafe_ manner, because the list was not protected from outside modification while the iteration was running. The new scsi_forget_host routine takes the moderately controversial step of iterating over devices for removal rather than iterating over targets. This makes more sense to me because the current scheme treats targets as second-class citizens, created and removed on demand, rather than as objects corresponding to actual hardware. (Also I couldn't figure out any safe way to iterate over the target list, since it's not so easy to tell when a target has already been removed.) Signed-off-by: Alan Stern Signed-off-by: James Bottomley commit b95be99d52ce4f9db9ff0bd5f10e9e2066da6d2e tree 6b01de07c638fd596cc254ca6a095aa4f5ef9ba2 parent 1832a5862f2e1b4e5835611ee14bc30a8ed3cad5 author Alan Stern Thu, 15 Sep 2005 13:52:51 -0400 committer James Bottomley Sat, 17 Sep 2005 15:24:53 -0500 [SCSI] fix oops in scsi_release_buffers() I found one other thing that needs to be fixed. The call to scsi_release_buffers in scsi_unprep_request causes an oops, because the sgtable has already been freed in scsi_io_completion. The following patch is needed. Signed-off-by: Alan Stern Signed-off-by: James Bottomley commit 1832a5862f2e1b4e5835611ee14bc30a8ed3cad5 tree f56d509fbe68e5f76c26da4ff74a965fe68ff46e parent 541950027f8b7c96a639bc16e48930c590f1b98a author Andreas Herrmann Fri, 16 Sep 2005 11:01:14 +0200 committer James Bottomley Fri, 16 Sep 2005 11:25:50 -0400 [SCSI] change port speed definitions for scsi_transport_fc obviously FC Port Speeds in scsi_transport_fc.h are defined according to FC-HBA: #define FC_PORTSPEED_1GBIT 1 #define FC_PORTSPEED_2GBIT 2 #define FC_PORTSPEED_10GBIT 4 #define FC_PORTSPEED_4GBIT 8 Problem is, whoever invented FC-HBA did not care about FC-FS or FC-GS-x. Following FC-FS/FC-GS-x defintions of port speeds would look like: 1 GBit: 0x0001 2 GBit: 0x0002 4 GBit: 0x0004 10GBit: 0x0008 (and new in FC-LS: 8 Gbit: 0x0010 16GBit: 0x0020) I really appreciate if scsi_transport_fc.h would define port speeds according to FC-GS-x/FC-FS. Thus mapping of port speed capabilities to values defined in scsi_transport_fc.h can be avoided in the LLDD. Attached is a patch to change the definitions. Signed-off-by: James Bottomley commit 541950027f8b7c96a639bc16e48930c590f1b98a tree 69d367dab3f738c888bf16646ed85cde69e3bf2a parent b5683557331b129658ab435391df527ef72d63dc author Alan Stern Thu, 15 Sep 2005 21:52:51 -0400 committer James Bottomley Thu, 15 Sep 2005 22:03:54 -0400 [SCSI] fix use after potential free in scsi_remove_device Signed-off-by: Alan Stern Signed-off-by: James Bottomley commit b5683557331b129658ab435391df527ef72d63dc tree 121d9502ed38b7b01c17532e2a28806a1108f457 parent 59897dad98d63ac15e1e36fcc3a107c892b1826c author James Bottomley Thu, 15 Sep 2005 08:59:36 -0500 committer James Bottomley Thu, 15 Sep 2005 08:59:36 -0500 [SCSI] atp870u: fix memory addressing bug From: Alan Cox The virt_to_bus() wasn't correctly taken out of this driver. It needs to be able to track both physical and virtual addresses for its prd table. Update the driver to do this with separate tracking entries. Signed-off-by: Alan Cox Signed-off-by: James Bottomley commit 59897dad98d63ac15e1e36fcc3a107c892b1826c tree 42e65c1e3e99ab12ab484b0311c4487ae7a76148 parent d39a942c3f4061d2218dcadf79ce10010dbcdb3c author James Bottomley Wed, 14 Sep 2005 12:57:42 -0400 committer James Bottomley Wed, 14 Sep 2005 16:59:03 -0400 [SCSI] fix sym scsi boot hang On Wed, 2005-09-14 at 18:06 +1000, Anton Blanchard wrote: > And in particular it looks like the scsi_unprep_request in > scsi_queue_insert is causing it. The following patch fixes the boot > problems on the vscsi machine: OK, my fault. Your fix is almost correct .. I was going to do this eventually, honest, because there's no need to unprep and reprep a command that comes in through scsi_queue_insert(). However, I decided to leave it in to exercise the scsi_unprep_request() path just to make sure it was working. What's happening, I think, is that we also use this path for retries. Since we kill and reget the command each time, the retries decrement is never seen, so we're retrying forever. Signed-off-by: James Bottomley commit d39a942c3f4061d2218dcadf79ce10010dbcdb3c tree d9a963b86932d8e7715f6d4a932c3f89b667a2fb parent 186d330e682210100c671355580a8592e4a21692 author Randy.Dunlap Tue, 13 Sep 2005 21:43:56 -0700 committer James Bottomley Wed, 14 Sep 2005 16:58:26 -0400 [SCSI] scsi: 2 drivers need MODULE_LICENSE() Modules need a license to prevent kernel tainting. Signed-off-by: Randy Dunlap Signed-off-by: James Bottomley commit 186d330e682210100c671355580a8592e4a21692 tree 63c9956263463c950c2965a5e871508d41aa9de3 parent a89f29f6ea8dba0b7c4ae5d1d0b43de6cb500ea6 author Timothy Thelin Tue, 13 Sep 2005 19:56:28 -0700 committer James Bottomley Wed, 14 Sep 2005 16:54:12 -0400 [SCSI] scsi: sd, sr, st, and scsi_lib all fail to copy cmd_len to new cmd This fixes an issue in scsi command initialization from a request where sd, sr, st, and scsi_lib all fail to copy the request's cmd_len to the scsi command's cmd_len field. Signed-off-by: Timothy Thelin Signed-off-by: James Bottomley commit a89f29f6ea8dba0b7c4ae5d1d0b43de6cb500ea6 tree 66e7c34459c41b4ade0d202258184fb2df84e907 parent 154fb614df83086ceb18a2c19908154e78d4dc98 author James Bottomley Tue, 30 Aug 2005 11:48:07 -0500 committer James Bottomley Tue, 13 Sep 2005 14:24:48 -0500 [SCSI] aic7xxx: move to dma_get_required_mask() and correct 39 bit assumptions This patch moves aic7xxx over to the dma_get_required_mask() API and dumps its open coded memory check. It also appears from this bug: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=167049 That 39 bit addressing doesn't work on older cards. I surmise that the AHC_LARGE_SCBS flag is the one that marks cards capable of using 39 bit addressing, so I also folded that check into the code. Signed-off-by: James Bottomley commit 154fb614df83086ceb18a2c19908154e78d4dc98 tree 4db0b4124cc635d4eadc245ea4716d13ec5d293b parent 1c5363153dc7ae694404e7732b4ce36eecc94ca7 author Dave C Boutcher Tue, 13 Sep 2005 10:09:02 -0500 committer James Bottomley Tue, 13 Sep 2005 10:15:10 -0500 [SCSI] ibmvscsi compatibility fix Linda Xie ever so gently pointed out that she had a patch to preserve compatibility with older SLES targets, and I told her we didn't need to push it to mainline. This patch explicitly checks the version of the IBMVSCSI target and ensures that large scatterlists are not sent to older targets. Signed-off-by: Linda Xie Signed-off-by: Dave Boutcher Signed-off-by: James Bottomley commit 1c5363153dc7ae694404e7732b4ce36eecc94ca7 tree 91476e383f04f25f5883b04517adfd92f6b66231 parent 2f4ba45a75d6383b4a1201169a808ffea416ffa0 author James Bottomley Mon, 12 Sep 2005 09:15:14 -0500 committer James Bottomley Tue, 13 Sep 2005 09:52:19 -0500 [SCSI] blacklist REPORT LUNS usage on transtec arrays They report being SCSI-3 but seem to give back rubbish to a REPORT_LUNS command. Force them to be sequentially scanned. Signed-off-by: James Bottomley