Re: [PATCH 1/2] x86/efi: Map EFI memmap entries in-order at runtime

2015-09-30 Thread James Bottomley
On Wed, 2015-09-30 at 09:43 -0700, Andy Lutomirski wrote: > On Wed, Sep 30, 2015 at 2:30 AM, Ard Biesheuvel > wrote: > > On 29 September 2015 at 23:58, Laszlo Ersek wrote: > >> On 09/28/15 08:41, Matthew Garrett wrote: > >>> On Mon, Sep 28, 2015 at 08:16:46AM +0200, Ingo Molnar wrote: > >>> > >>>

Re: [PATCH] x86/efi: Map EFI memmap entries in-order at runtime

2015-09-16 Thread James Bottomley
On Wed, 2015-09-16 at 13:25 +0200, Ard Biesheuvel wrote: > On 16 September 2015 at 12:08, Borislav Petkov wrote: > > On Wed, Sep 09, 2015 at 12:21:23PM +0100, Matt Fleming wrote: > >> On Wed, 09 Sep, at 08:33:07AM, joeyli wrote: > >> > > >> > Yes, the machine on my hand has EFI_PROPERTIES_TABLE en

Re: [PATCH 1/1] storvsc: Don't set the SRB_FLAGS_QUEUE_ACTION_ENABLE flag

2015-08-31 Thread James Bottomley
On Mon, 2015-08-31 at 08:21 -0700, K. Y. Srinivasan wrote: > Don't set the SRB_FLAGS_QUEUE_ACTION_ENABLE flag since we are not specifying > tags. What's the actual problem description this causes? James > Signed-off-by: K. Y. Srinivasan > Cc: stable@vger.kernel.org > --- > drivers/scsi/storvs

Re: [for 4.1 PATCH resend] libsas: fix "sysfs group not found" warnings at port teardown time

2015-07-27 Thread James Bottomley
On Mon, 2015-07-27 at 10:55 -0700, Dan Williams wrote: > On Mon, Jul 27, 2015 at 10:11 AM, James Bottomley > wrote: > > On Mon, 2015-07-27 at 08:48 -0700, Dan Williams wrote: > >> On Mon, Jul 27, 2015 at 8:17 AM, James Bottomley > >> wrote: > >> > On We

Re: [for 4.1 PATCH resend] libsas: fix "sysfs group not found" warnings at port teardown time

2015-07-27 Thread James Bottomley
On Mon, 2015-07-27 at 08:48 -0700, Dan Williams wrote: > On Mon, Jul 27, 2015 at 8:17 AM, James Bottomley > wrote: > > On Wed, 2015-07-22 at 14:08 -0700, Dan Williams wrote: > >> I don't have a libsas environment handy, I worked with Praveen to > >> validate t

Re: [for 4.1 PATCH resend] libsas: fix "sysfs group not found" warnings at port teardown time

2015-07-27 Thread James Bottomley
On Mon, 2015-07-27 at 08:48 -0700, Dan Williams wrote: > On Mon, Jul 27, 2015 at 8:17 AM, James Bottomley > wrote: > > On Wed, 2015-07-22 at 14:08 -0700, Dan Williams wrote: > >> On Wed, Jul 22, 2015 at 11:28 AM, James Bottomley > >> wrote: > >

Re: [for 4.1 PATCH resend] libsas: fix "sysfs group not found" warnings at port teardown time

2015-07-27 Thread James Bottomley
On Wed, 2015-07-22 at 14:08 -0700, Dan Williams wrote: > On Wed, Jul 22, 2015 at 11:28 AM, James Bottomley > wrote: > > > >> } > >> > >> void sas_device_set_phy(struct domain_device *dev, struct sas_port *port) > >> diff --git a/drivers/sc

Re: [for 4.1 PATCH resend] libsas: fix "sysfs group not found" warnings at port teardown time

2015-07-22 Thread James Bottomley
On Wed, 2015-06-17 at 23:22 -0400, Dan Williams wrote: > Praveen reports: > > After some debugging this is what I have found > > sas_phye_loss_of_signal gets triggered on phy_event from mvsas > sas_phye_loss_of_signal calls sas_deform_port > sas_deform_port posts a DI

Re: Patch "sd: Disable support for 256 byte/sector disks" has been added to the 4.0-stable tree

2015-06-03 Thread James Bottomley
On Wed, 2015-06-03 at 13:37 +, James Bottomley wrote: > On Wed, 2015-06-03 at 11:29 +0200, Jiri Slaby wrote: > > On 06/03/2015, 08:35 AM, gre...@linuxfoundation.org wrote: > > > From 74856fbf441929918c49ff262ace9835048e4e6a Mon Sep 17 00:00:00 2001 > > > From: Mark

Re: Patch "sd: Disable support for 256 byte/sector disks" has been added to the 4.0-stable tree

2015-06-03 Thread James Bottomley
gt; > So disable support for it. > > > > Signed-off-by: Mark Hounschell > > Signed-off-by: Hannes Reinecke > > Signed-off-by: James Bottomley > > Signed-off-by: Greg Kroah-Hartman > > > > --- > > drivers/scsi/sd.c | 19 +-- > &

Re: [v3.16][v3.17][v3.18][ Regression] scsi: handle flush errors properly

2014-12-10 Thread James Bottomley
On Wed, 2014-12-10 at 17:08 -0500, Joseph Salisbury wrote: > Hello James, > > A kernel bug report was opened against Ubuntu [0]. After a kernel > bisect, it was found that reverting the following commit resolved this bug: If I read this bug report correctly, it's saying a USB attached device pro

Re: + lib-scatterlist-fix-memory-leak-with-scsi-mq.patch added to -mm tree

2014-10-29 Thread James Bottomley
On Wed, 2014-10-29 at 09:48 -0700, Christoph Hellwig wrote: > On Wed, Oct 29, 2014 at 07:46:23AM -0700, James Bottomley wrote: > > Christoph, there's something wrong with your queues. All the patches > > that were based on 3.18-rc1 in drivers-for-3.18 and core-for-3.18 seem

Re: + lib-scatterlist-fix-memory-leak-with-scsi-mq.patch added to -mm tree

2014-10-29 Thread James Bottomley
On Wed, 2014-10-29 at 08:35 -0600, Jens Axboe wrote: > On 2014-10-28 23:37, Christoph Hellwig wrote: > > On Tue, Oct 28, 2014 at 06:18:56PM -0600, Jens Axboe wrote: > >> I already queued this one up in for-linus. > > > > Oh, I've also queued it up in core-for-3.18. > > Not a big deal, git should f

Re: [PATCH 4/8] Drivers: scsi: storvsc: Filter WRITE_SAME_16

2014-07-16 Thread James Bottomley
On Wed, 2014-07-16 at 15:08 -0400, Martin K. Petersen wrote: > >>>>> "James" == James Bottomley writes: > > James> It's the code we identified in sd.c:read_capacity_16(): > > That's there to support devices that implement thin provisioning b

Re: [PATCH 4/8] Drivers: scsi: storvsc: Filter WRITE_SAME_16

2014-07-16 Thread James Bottomley
On Wed, 2014-07-16 at 14:45 -0400, Martin K. Petersen wrote: > >>>>> "James" == James Bottomley writes: > > >> I don't have a problem with a BLIST_PREFER_UNMAP flag or something > >> like that. But BLIST_TRY_VPD_PAGES seems more generally u

Re: [PATCH 4/8] Drivers: scsi: storvsc: Filter WRITE_SAME_16

2014-07-16 Thread James Bottomley
On Wed, 2014-07-16 at 13:47 -0400, Martin K. Petersen wrote: > > "Christoph" == hch@infradead org writes: > > Christoph> Oh, we actually have devices that support WRITE SAME with > Christoph> unmap, but not without? That's defintively a little strange. > > Yep :( > > There were several SSD

Re: [PATCH 4/8] Drivers: scsi: storvsc: Filter WRITE_SAME_16

2014-07-16 Thread James Bottomley
On Wed, 2014-07-16 at 04:01 -0700, h...@infradead.org wrote: > On Sun, Jul 13, 2014 at 08:58:34AM -0400, Martin K. Petersen wrote: > > > "KY" == KY Srinivasan writes: > > > > KY> Windows hosts do support UNMAP and set the field in the > > KY> EVPD. However, since the host advertises SPC-2 com

Re: [PATCH 4/8] Drivers: scsi: storvsc: Filter WRITE_SAME_16

2014-07-10 Thread James Bottomley
On Thu, 2014-07-10 at 21:02 +, KY Srinivasan wrote: > > > -Original Message- > > From: James Bottomley [mailto:jbottom...@parallels.com] > > Sent: Wednesday, July 9, 2014 3:27 PM > > To: KY Srinivasan > > Cc: linux-ker...@vger.kernel.org; m...@mk

Re: [PATCH 4/8] Drivers: scsi: storvsc: Filter WRITE_SAME_16

2014-07-09 Thread James Bottomley
On Wed, 2014-07-09 at 21:14 +, KY Srinivasan wrote: > > > -Original Message- > > From: James Bottomley [mailto:jbottom...@parallels.com] > > Sent: Wednesday, July 9, 2014 12:57 PM > > To: KY Srinivasan > > Cc: linux-ker...@vger.kerne

Re: [PATCH 4/8] Drivers: scsi: storvsc: Filter WRITE_SAME_16

2014-07-09 Thread James Bottomley
On Wed, 2014-07-09 at 19:52 +, KY Srinivasan wrote: > > > -Original Message- > > From: Christoph Hellwig [mailto:h...@infradead.org] > > Sent: Wednesday, July 9, 2014 1:43 AM > > To: KY Srinivasan > > Cc: linux-ker...@vger.kernel.org; de...@linuxdriverproject.org; > > oher...@suse.com;

Re: [PATCH 3.15 099/139] libiscsi, iser: Adjust data_length to include protection information

2014-07-03 Thread James Bottomley
On Thu, 2014-07-03 at 09:33 -0700, Christoph Hellwig wrote: > On Thu, Jul 03, 2014 at 09:27:48AM -0700, Greg Kroah-Hartman wrote: > > I copy everyone on the patch. You were not on that patch as it doesn't > > look like it went through your tree at all. > > It went through the target tree despite

Re: [PATCH 3.15 099/139] libiscsi, iser: Adjust data_length to include protection information

2014-07-03 Thread James Bottomley
On Wed, 2014-07-02 at 23:05 -0700, Christoph Hellwig wrote: > On Wed, Jul 02, 2014 at 03:52:35PM -0700, James Bottomley wrote: > > In which case it's not marked for stable backport ... I assume it should > > be? > > Only if the patch that regression went to stable, wh

Re: [PATCH 3.15 099/139] libiscsi, iser: Adjust data_length to include protection information

2014-07-02 Thread James Bottomley
On Wed, 2014-07-02 at 17:44 -0500, Mike Christie wrote: > On 07/02/2014 05:15 PM, Alex Williamson wrote: > > On Sat, 2014-06-28 at 10:47 -0700, Greg Kroah-Hartman wrote: > >> > 3.15-stable review patch. If anyone has any objections, please let me > >> > know. > >> > > >> > -- > >

Re: virtio-scsi issues duplicate tags when async_abort is enabled

2014-06-14 Thread James Bottomley
On Fri, 2014-06-13 at 19:50 -0700, Venkatesh Srinivas wrote: > On 6/13/14, James Bottomley wrote: > ... > > OK, I've no idea what's in distro kernels, so you're looking for this > > fix: > > > > commit d555a2abf3481f81303d835046a5ec2c4fb3ca8e > >

[SCSI] Fix spurious request sense in error handling

2014-06-14 Thread James Bottomley
not bother them with a REQUEST_SENSE command. Fix this by testing to see if we actually got a CHECK_CONDITION return and skip asking for sense if we don't. Tested-by: Alan Stern Signed-off-by: James Bottomley --- This actually fixes a bug in SCSI error handling (causing the eh to is

Re: virtio-scsi issues duplicate tags when async_abort is enabled

2014-06-13 Thread James Bottomley
On Fri, 2014-06-13 at 12:31 -0700, Greg KH wrote: > On Fri, Jun 13, 2014 at 12:18:25PM -0700, James Bottomley wrote: > > On Fri, 2014-06-13 at 12:15 -0700, Venkatesh Srinivas wrote: > > > On Fri, Jun 13, 2014 at 12:09 PM, James Bottomley > > > wrote: > > >

Re: virtio-scsi issues duplicate tags when async_abort is enabled

2014-06-13 Thread James Bottomley
On Fri, 2014-06-13 at 12:15 -0700, Venkatesh Srinivas wrote: > On Fri, Jun 13, 2014 at 12:09 PM, James Bottomley > wrote: > > On Fri, 2014-06-13 at 11:52 -0700, Christoph Hellwig wrote: > >> On Fri, Jun 13, 2014 at 10:58:22AM -0700, Venkatesh Srinivas wrote: > >> &g

Re: virtio-scsi issues duplicate tags when async_abort is enabled

2014-06-13 Thread James Bottomley
On Fri, 2014-06-13 at 11:52 -0700, Christoph Hellwig wrote: > On Fri, Jun 13, 2014 at 10:58:22AM -0700, Venkatesh Srinivas wrote: > > CC-ing stable as 3.14 and 3.15 are affected; a conservative fix is to > > enable no_async_abort until the problem is better-understood. > > No patch attached. Neve

Re: [PATCH 3.12 033/118] usb: xhci: Link TRB must not occur within a USB payload burst

2014-01-02 Thread James Bottomley
On Thu, 2014-01-02 at 16:01 -0500, Mark Lord wrote: > On 14-01-02 02:15 PM, Sarah Sharp wrote: > > On Tue, Dec 31, 2013 at 12:40:16PM -0800, walt wrote: > .. > >> Unfortunately this patch causes a regression when copying large files to my > >> outboard USB3 drive. (Nothing at all to do with network

Re: [PATCH 5/8][SCSI] mpt2sas: Infinite loop can occur if MPI2_IOCSTATUS_CONFIG_INVALID_PAGE is not returned

2013-07-25 Thread James Bottomley
On Thu, 2013-07-25 at 11:29 +0530, Sreekanth Reddy wrote: > Infinite loop can occur if IOCStatus is not equal to > MPI2_IOCSTATUS_CONFIG_INVALID_PAGE value in the while loops in functions > _scsih_search_responding_sas_devices, > _scsih_search_responding_raid_devices and > _scsih_search_responding_

Re: [Ksummit-2013-discuss] [ATTEND] How to act on LKML

2013-07-24 Thread James Bottomley
On Tue, 2013-07-23 at 21:38 -0400, Steven Rostedt wrote: > On Tue, 2013-07-23 at 18:26 -0700, James Bottomley wrote: > > > I think it's not in the original fallacies because they come from Greek > > rhetoric and the Greeks believed dialectic: the taking opposite > &g

Re: [Ksummit-2013-discuss] [ATTEND] How to act on LKML

2013-07-23 Thread James Bottomley
On Tue, 2013-07-23 at 19:51 -0500, Felipe Contreras wrote: > On Sat, Jul 20, 2013 at 8:02 PM, Daniel Phillips > wrote: > > On 07/20/2013 12:36 PM, Felipe Contreras wrote: > >> I think you need more than "hope" to change one of the fundamental > >> rules of LKML; be open and honest, even if that me

Re: [Ksummit-2013-discuss] KS Topic request: Handling the Stable kernel, let's dump the cc: stable tag

2013-07-22 Thread James Bottomley
On Tue, 2013-07-23 at 02:40 +, Myklebust, Trond wrote: > On Mon, 2013-07-15 at 23:27 +0400, James Bottomley wrote: > > The solution, to me, looks simple: Let's co-opt a process we already > > know how to do: mailing list review and tree handling. So the pr

Re: [Ksummit-2013-discuss] [ATTEND] How to act on LKML

2013-07-19 Thread James Bottomley
On Fri, 2013-07-19 at 14:56 -0400, Steven Rostedt wrote: > On Fri, 2013-07-19 at 13:42 -0500, Felipe Contreras wrote: > > > But you are avoiding the question as well; do you think there's > > something fundamentally different about the female brain that makes > > them more susceptible to personal

Re: [Ksummit-2013-discuss] [ATTEND] How to act on LKML

2013-07-17 Thread James Bottomley
On Wed, 2013-07-17 at 17:15 +0800, Jeff Liu wrote: > On 07/17/2013 08:51 AM, Steven Rostedt wrote: > > > On Wed, 2013-07-17 at 08:32 +0800, Jeff Liu wrote: > > > >> Another thing might deviated from the main theme, but I'd like to raise it > >> here because I would like to see what's the proper w

Re: [Ksummit-2013-discuss] [ATTEND] How to act on LKML (was: [ 00/19] 3.10.1-stable review)

2013-07-16 Thread James Bottomley
On Tue, 2013-07-16 at 14:18 -0700, Paul E. McKenney wrote: > On Tue, Jul 16, 2013 at 10:27:09PM +0400, James Bottomley wrote: > > On Mon, 2013-07-15 at 15:38 -0700, Linus Torvalds wrote: > > > On Mon, Jul 15, 2013 at 3:08 PM, Steven Rostedt > > > wrote: > > &g

Re: [Ksummit-2013-discuss] [ATTEND] How to act on LKML (was: [ 00/19] 3.10.1-stable review)

2013-07-16 Thread James Bottomley
On Mon, 2013-07-15 at 15:38 -0700, Linus Torvalds wrote: > On Mon, Jul 15, 2013 at 3:08 PM, Steven Rostedt wrote: > > > > Can we please make this into a Kernel Summit discussion. I highly doubt > > we would solve anything, but it certainly would be a fun segment to > > watch :-) > > I think we sh

Re: [Ksummit-2013-discuss] KS Topic request: Handling the Stable kernel, let's dump the cc: stable tag

2013-07-16 Thread James Bottomley
On Mon, 2013-07-15 at 23:20 -0700, Greg KH wrote: > On Tue, Jul 16, 2013 at 09:17:32AM +0400, James Bottomley wrote: > > On Mon, 2013-07-15 at 14:44 -0700, Greg KH wrote: > > > On Mon, Jul 15, 2013 at 11:27:56PM +0400, James Bottomley wrote: > > > > Before the

Re: [Ksummit-2013-discuss] KS Topic request: Handling the Stable kernel, let's dump the cc: stable tag

2013-07-15 Thread James Bottomley
On Mon, 2013-07-15 at 17:06 -0700, Greg KH wrote: > On Mon, Jul 15, 2013 at 06:01:39PM -0400, Steven Rostedt wrote: > > On Mon, 2013-07-15 at 14:44 -0700, Greg KH wrote: > > > > > I don't like this at all, just for the simple reason that it will push > > > the majority of the work of stable kernel

Re: KS Topic request: Handling the Stable kernel, let's dump the cc: stable tag

2013-07-15 Thread James Bottomley
On Mon, 2013-07-15 at 14:44 -0700, Greg KH wrote: > On Mon, Jul 15, 2013 at 11:27:56PM +0400, James Bottomley wrote: > > Before the "3.10.1-stable review" thread degenerated into a disagreement > > about habits of politeness, there were some solid points being made

KS Topic request: Handling the Stable kernel, let's dump the cc: stable tag

2013-07-15 Thread James Bottomley
Before the "3.10.1-stable review" thread degenerated into a disagreement about habits of politeness, there were some solid points being made which, I think, bear consideration and which may now be lost. The problem, as Jiří Kosina put is succinctly is that the distributions are finding stable less

Re: [Ksummit-2013-discuss] When to push bug fixes to mainline

2013-07-12 Thread James Bottomley
On Thu, 2013-07-11 at 20:34 -0700, Greg Kroah-Hartman wrote: > On Thu, Jul 11, 2013 at 10:57:46PM -0400, John W. Linville wrote: > > On Thu, Jul 11, 2013 at 08:50:23PM -0400, Theodore Ts'o wrote: > > > > > In any case, I've been very conservative in _not_ pushing bug fixes to > > > Linus after -rc

Re: [PATCH] block: Fix possible sleep in invalid context

2013-07-01 Thread James Bottomley
On Mon, 2013-07-01 at 15:17 -0700, Andrew Morton wrote: > On Mon, 1 Jul 2013 20:58:35 +0530 Sujit Reddy Thumma > wrote: > > > When block runtime PM is enabled following warning is seen > > while resuming the device. > > > > BUG: sleeping function called from invalid context at > > .../drivers/

Re: [PATCH RESEND^2] sd: fix infinite kernel/udev loop on non-removable Medium Not Present

2013-04-26 Thread James Bottomley
On Fri, 2013-04-26 at 11:39 -0500, Steven J. Magnani wrote: > Commit eface65c336eff420d70beb0fb6787a732e05ffb (2.6.38) altered > set_media_not_present() in a way that prevents the sd driver from > remembering that a non-removable device has reported "Medium Not Present". > This condition can occur

Re: [PATCH] block: fix max discard sectors limit

2013-04-24 Thread James Bottomley
On Wed, 2013-04-24 at 08:23 -0600, Jens Axboe wrote: > On Wed, Apr 24 2013, Namjae Jeon wrote: > > From: James Bottomley > > > > linux-v3.8-rc1 and later support for plug for blkdev_issue_discard with > > commit 0cfbcafcae8b7364b5fa96c2b26ccde7a3a296

Re: [PATCH] block: fix max discard sectors limit

2013-04-24 Thread James Bottomley
On Wed, 2013-04-24 at 22:55 +0900, Namjae Jeon wrote: > From: James Bottomley > > linux-v3.8-rc1 and later support for plug for blkdev_issue_discard with > commit 0cfbcafcae8b7364b5fa96c2b26ccde7a3a296a9 > (block: add plug for blkdev_issue_discard ) > > For example, > 1

Re: [PATCH] block: fix max discard sectors limit

2013-04-23 Thread James Bottomley
nt 0 > [ 257.794921] request botched: dev mmcblk0: type=1, flags=122c8081 > [ 257.794921] sector 4194304, nr/cnr 2981888/4294959104 > [ 257.794921] bio df3840c0, biotail df3848c0, buffer (null), len > 1526726656 > > This patch fixes this issue. > > Reported-by:

Re: [RESEND][PATCH 2/8][SCSI] mpt2sas : Fix for issue Missing delay not getting set during system bootup

2013-02-24 Thread James Bottomley
On Sat, 2013-02-02 at 00:54 +0530, Sreekanth Reddy wrote: > Missing delay is not getting set properly. The reason is it is not defined in > the same file from where it is being invoked. > > The fix is to move the missing delay module parameter from mpt2sas_base.c to > mpt2sas_scsh.c. > > Signed

Re: [PATCH] [SCSI] sd: Reshuffle init_sd to avoid crash

2013-01-22 Thread James Bottomley
On Mon, 2013-01-21 at 01:24 -0800, Jonathan Nieder wrote: > Hi James, > > James Bottomley wrote: > > On Mon, 2013-01-21 at 03:59 -0500, CAI Qian wrote: > > >> Thanks for commenting, James. I was asked to get an ACK from the > >> maintainers > >> bef

Re: [PATCH] [SCSI] sd: Reshuffle init_sd to avoid crash

2013-01-21 Thread James Bottomley
On Mon, 2013-01-21 at 03:59 -0500, CAI Qian wrote: > > - Original Message - > > From: "James Bottomley" > > To: "CAI Qian" > > Cc: "Hannes Reinecke" , stable@vger.kernel.org, "Joel D. > > Diaz" > > Sent: Monda

Re: [PATCH] [SCSI] sd: Reshuffle init_sd to avoid crash

2013-01-21 Thread James Bottomley
On Sun, 2013-01-20 at 23:06 -0500, CAI Qian wrote: > Hello Hannes and James, > > afd5e34b2bb34881d3a789e62486814a49b47faa > > We saw some panic during IO testing without this commit for > older kernels. Since this is missing from the stable-3.0.y, > 3.4.y and 3.7.y. How do you think about includi

Re: [PATCH] [SCSI] mvsas: Fix oops when ata commond timeout.

2013-01-08 Thread James Bottomley
On Tue, 2013-01-08 at 14:27 -0800, Greg KH wrote: > On Thu, Dec 27, 2012 at 09:53:40PM -0500, CAI Qian wrote: > > > > > > - Original Message - > > > From: "Ben Hutchings" > > > To: "CAI Qian" , "James E.J. Bottomley" > > > > > > Cc: "Jianpeng Ma" , stable@vger.kernel.org > > > Sent: Fr

Re: [PATCH 1/1] Drivers: scsi: storvsc: Account for in-transit packets in the RESET path

2012-10-09 Thread James Bottomley
On Mon, 2012-10-08 at 15:51 +, KY Srinivasan wrote: > > > -Original Message- > > From: K. Y. Srinivasan [mailto:k...@microsoft.com] > > Sent: Tuesday, October 02, 2012 2:04 PM > > To: gre...@linuxfoundation.org; linux-ker...@vger.kernel.org; > > de...@linuxdriverproject.org; oher...@su

Re: [RESEND][PATCH][SCSI] mpt2sas: Fix for issue - Unable to boot from the drive connected to HBA

2012-09-17 Thread James Bottomley
On Wed, 2012-08-22 at 16:55 +0530, sreekanth.re...@lsi.com wrote: > Fix for issue - Unable to boot from the SAS drive connected to HBA > > This patch checks whether HBA is SAS2008 B0 controller. > if it is a SAS2008 B0 controller then it use IO-APIC interrupt instead of > MSIX, > as SAS2008 B0 co

Re: [PATCH] drm/i915: use hsw rps tuning values everywhere on gen6+

2012-08-17 Thread James Bottomley
On Fri, 2012-08-17 at 22:31 +0200, Daniel Vetter wrote: > James Bottomley reported [1] a massive power regression, due to the > enabling of semaphores by default in 3.5. A workaround for him is to > again disable semaphores. And indeed, his system has a very hard time > to en

Re: [Intel-gfx] [PATCH] drm/i915: use hsw rps tuning values everywhere on gen6+

2012-08-17 Thread James Bottomley
On Thu, 2012-08-16 at 00:38 +0200, Daniel Vetter wrote: > On Wed, Aug 15, 2012 at 03:36:34PM +0100, James Bottomley wrote: > > On Wed, 2012-08-15 at 16:05 +0200, Paul Menzel wrote: > > > Am Mittwoch, den 15.08.2012, 10:41 +0200 schrieb Daniel Vetter: > > > > between

Re: [Intel-gfx] [PATCH] drm/i915: use hsw rps tuning values everywhere on gen6+

2012-08-15 Thread James Bottomley
On Wed, 2012-08-15 at 16:05 +0200, Paul Menzel wrote: > Am Mittwoch, den 15.08.2012, 10:41 +0200 schrieb Daniel Vetter: > > between 3.5 and 3.6 in a merge commit! So rc6 behaviour with the > > current setting seems to be highly timing dependent and not robust > > at all. > > - The behaviour J

Re: [PATCH] virtio-scsi: Add vdrv->scan for post VIRTIO_CONFIG_S_DRIVER_OK LUN scanning

2012-07-11 Thread James Bottomley
On Fri, 2012-07-06 at 20:15 +, Nicholas A. Bellinger wrote: > From: Nicholas Bellinger > > This patch changes virtio-scsi to use a new virtio_driver->scan() callback > so that scsi_scan_host() can be properly invoked once virtio_dev_probe() has > set add_status(dev, VIRTIO_CONFIG_S_DRIVER_OK)

Re: [ 38/48] SCSI & usb-storage: add try_rc_10_first flag

2012-07-03 Thread James Bottomley
On Tue, 2012-07-03 at 15:50 -0400, Alan Stern wrote: > On Tue, 3 Jul 2012, Matthew Wilcox wrote: > > > On Tue, Jul 03, 2012 at 11:49:00AM -0400, Alan Stern wrote: > > > On Tue, 3 Jul 2012, James Bottomley wrote: > > > > > > > > What happened i

Re: [ 38/48] SCSI & usb-storage: add try_rc_10_first flag

2012-07-02 Thread James Bottomley
On Mon, 2012-07-02 at 18:41 -0600, Matthew Wilcox wrote: > On Mon, Jul 02, 2012 at 03:23:18PM -0700, Linus Torvalds wrote: > > > Martin Petersen did extensive testing of devices when we > > > changed it and doing RC16 first is hedged around by claiming support not > > > only for SCSI_3 but also fo

Re: [ 38/48] SCSI & usb-storage: add try_rc_10_first flag

2012-07-02 Thread James Bottomley
On Mon, 2012-07-02 at 11:52 -0700, Linus Torvalds wrote: > On Mon, Jul 2, 2012 at 12:10 AM, Hans de Goede wrote: > > > > So since 3.2 already tries READ_CAPACITY(10) first, this patch is > > not needed. It does not harm either, and if the scsi level reporting > > change ever finds its way into 3.2

Patch added to parisc-2.6: [PARISC] fix TLB fault path on PA2.0 narrow systems

2012-05-20 Thread James Bottomley
Your commit: [PARISC] fix TLB fault path on PA2.0 narrow systems commit 5e185581d7c46ddd33cd9c01106d1fc86efb9376 Author: James Bottomley [PARISC] fix PA1.1 oops on boot Didn't quite fix the crash on boot. It moved it from PA1.1 processors to

Patch added to parisc-2.6: [PARISC] fix boot failure on 32-bit systems caused by branch stubs placed before .text

2012-05-20 Thread James Bottomley
-by: James Bottomley has been added to the upstream parisc-2.6 tree On branch "misc" You can find it here: http://git.kernel.org/?p=linux/kernel/git/jejb/parisc-2.6.git;a=commit;h=a02bfc4ce20bc5cbe54bafd606781464ceedd0e8 This patch is scheduled to be pushed for 3.4 James Bottomley P

Patch added to parisc-2.6: [PARISC] fix PA1.1 oops on boot

2012-05-16 Thread James Bottomley
Your commit: [PARISC] fix PA1.1 oops on boot All PA1.1 systems have been oopsing on boot since commit f311847c2fcebd81912e2f0caf8a461dec28db41 Author: James Bottomley Date: Wed Dec 22 10:22:11 2010 -0600 parisc: flush pages through tmpalias space

Patch added to parisc-2.6: [PARISC] fix panic on prefetch(NULL) on PA7300LC

2012-05-16 Thread James Bottomley
. Fix this by testing the address of prefetch against NULL before doing the prefetch. Cc: stable@vger.kernel.org Signed-off-by: James Bottomley has been added to the upstream parisc-2.6 tree On branch "fixes" You can find it here: http://git.kernel.org/?p=linux/kerne

Patch added to parisc-2.6: [PARISC] fix crash in flush_icache_page_asm on PA1.1

2012-05-16 Thread James Bottomley
which is PA2.0 only resulting in an illegal instruction crash. This regression was caused by commit f311847c2fcebd81912e2f0caf8a461dec28db41 Author: James Bottomley Date: Wed Dec 22 10:22:11 2010 -0600 parisc: flush pages through

Patch added to scsi: [SCSI] libsas: fix sas_find_bcast_phy() in the presence of 'vacant' phys

2012-04-23 Thread James Bottomley
that will never have an attached device just continue the search. Cc: Signed-off-by: Thomas Jackson Signed-off-by: Dan Williams Signed-off-by: James Bottomley has been added to the upstream scsi tree On branch "fixes" You can find it here: http://git.kerne

Patch added to scsi: [SCSI] libsas: fix false positive 'device attached' conditions

2012-04-23 Thread James Bottomley
:U:0 attached: 0100 (no device) Reported-by: Andrzej Jakowski Signed-off-by: Dan Williams Cc: stable@vger.kernel.org Signed-off-by: James Bottomley has been added to the upstream scsi tree On branch "fixes" You can find it here: http://git.kernel.org/?

Re: [PATCH] [SCSI] mpt2sas : Fix unsafe using smp_processor_id() in preemptible

2012-04-20 Thread James Bottomley
MPT is enabled. > > > > I would rather go with the solution giving the best performance. James > > Bottomley is there on the discussion with Jan Schmidt, he suggested using > > get_cpu() and put_cpu(). > > I use get_cpu() / put_cpu() in the NVMe driver in sim

RE: [RESEND PATCH] mptsas: Fixed code to check whether the LU type is SSC or not for SILI bit in READ_6 and READ_16 CDB

2012-03-29 Thread James Bottomley
On Wed, 2012-03-07 at 15:04 +0530, Nandigama, Nagalakshmi wrote: > -Original Message- > From: James Bottomley [mailto:james.bottom...@hansenpartnership.com] > Sent: Wednesday, March 07, 2012 6:13 AM > To: Nandigama, Nagalakshmi > Cc: stable@vger.kernel.org; linux-scs

Re: [RESEND PATCH] mptsas: Fixed code to check whether the LU type is SSC or not for SILI bit in READ_6 and READ_16 CDB

2012-03-06 Thread James Bottomley
On Tue, 2012-03-06 at 12:16 +0530, nagalakshmi.nandig...@lsi.com wrote: > This SILI bit (suppress incorrect length indicator) is defined only for SSC > READ(6) and READ(16) commands. For other device types bit is part of LBA This isn't right ... it is for READ(6) but it's FUA_NV for READ(10,12,16)

Re: [PATCH] mptsas: Added code for checking the LU type is SSC for SILI bit in READ_6 and READ_16 CDB

2012-03-02 Thread James Bottomley
On Fri, 2012-03-02 at 15:26 +0530, nagalakshmi.nandig...@lsi.com wrote: > Added code for checking the LU type is SSC for SILI bit in READ_6 and > READ_16 CDB > > Signed-off-by: Nagalakshmi Nandigama The description doesn't give me the impression that this is a bug fix ... is this a bug fix and

Patch added to scsi-rc-fixes-2.6: [SCSI] osd_uld: Bump MAX_OSD_DEVICES from 64 to 1,048,576

2012-02-25 Thread James Bottomley
y: Boaz Harrosh Signed-off-by: James Bottomley has been added to the upstream scsi-rc-fixes-2.6 tree On branch "master" You can find it here: http://git.kernel.org/?p=linux/kernel/git/jejb/scsi-rc-fixes-2.6.git;a=commit;h=41f8ad76362e7aefe3a03949c43e23102dae6e0b This patch is sched