Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1614065 > unrolled thread
| Started by | Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
|---|---|
| First post | 2017-03-31 16:20 +0200 |
| Last post | 2017-03-31 21:30 +0200 |
| Articles | 3 — 1 participant |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: [PATCH] scsi: mpt3sas: fix hang on ata passthrough commands Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2017-03-31 16:20 +0200
Re: [PATCH] scsi: mpt3sas: fix hang on ata passthrough commands Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2017-03-31 17:00 +0200
Re: [PATCH] scsi: mpt3sas: fix hang on ata passthrough commands Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2017-03-31 21:30 +0200
| From | Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
|---|---|
| Date | 2017-03-31 16:20 +0200 |
| Subject | Re: [PATCH] scsi: mpt3sas: fix hang on ata passthrough commands |
| Message-ID | <tr5zd-5Hc-25@gated-at.bofh.it> |
On Fri, Mar 31, 2017 at 09:50:30AM -0400, Joe Korty wrote: > [PATCH] scsi: mpt3sas: fix hang on ata passthrough commands > > commit 16236802bfecb1082144a48b7d6fa60997824662 upstream > commit ffb58456589443ca572221fabbdef3db8483a779 upstream > > Lockdep complains that the base level-only hctx->lock > is being grabbed from interrupt level, at the time the > mpt3sas driver initializes. This is a result of two > of three tightly interconnected mpt3sas bugfix patches > having been backported into 4.4. The previously two ported > patches are: > > > From: Andrey Grodzovsky <andrey2805@gmail.com> > > Date: Thu, 10 Nov 2016 09:35:27 -0500 > > Subject: [PATCH] scsi: mpt3sas: Fix secure erase premature termination > > Git-Commit: ffffc1ed47e76d13cafbc645792ca184331b3123 > > > From: Suganath Prabu S <suganath-prabu.subramani@broadcom.com> > > Date: Thu, 17 Nov 2016 16:15:58 +0530 > > Subject: [PATCH] scsi: mpt3sas: Unblock device after controller reset > > Git-Commit: 6eddf5c993dd9bf4efcf2509e4ca633b9441a66a > > The missing third patch is attached below. > > Signed-off-by: Joe Korty <joe.korty@ccur.com> > > > > From: James Bottomley <James.Bottomley@HansenPartnership.com> > > Date: Sun, 1 Jan 2017 09:39:24 -0800 > > Subject: [PATCH] scsi: mpt3sas: fix hang on ata passthrough commands > > Git-Commit: 16236802bfecb1082144a48b7d6fa60997824662 > > commit ffb58456589443ca572221fabbdef3db8483a779 upstream. > > mpt3sas has a firmware failure where it can only handle one pass through > ATA command at a time. If another comes in, contrary to the SAT > standard, it will hang until the first one completes (causing long > commands like secure erase to timeout). The original fix was to block > the device when an ATA command came in, but this caused a regression > with > > commit 669f044170d8933c3d66d231b69ea97cb8447338 > Author: Bart Van Assche <bart.vanassche@sandisk.com> > Date: Tue Nov 22 16:17:13 2016 -0800 > > scsi: srp_transport: Move queuecommand() wait code to SCSI core > > So fix the original fix of the secure erase timeout by properly > returning SAM_STAT_BUSY like the SAT recommends. The original patch > also had a concurrency problem since scsih_qcmd is lockless at that > point (this is fixed by using atomic bitops to set and test the flag). > > [mkp: addressed feedback wrt. test_bit and fixed whitespace] > > Fixes: 18f6084a989ba1b (mpt3sas: Fix secure erase premature termination) > Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com> > Acked-by: Sreekanth Reddy <Sreekanth.Reddy@broadcom.com> > Reviewed-by: Christoph Hellwig <hch@lst.de> > Reported-by: Ingo Molnar <mingo@kernel.org> > Tested-by: Ingo Molnar <mingo@kernel.org> > Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com> > Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> I signed off on this patch? When? Where? totall confused here, greg k-h
[toc] | [next] | [standalone]
| From | Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
|---|---|
| Date | 2017-03-31 17:00 +0200 |
| Message-ID | <tr6bT-5VY-9@gated-at.bofh.it> |
| In reply to | #1614065 |
A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? A: No. Q: Should I include quotations after my reply? http://daringfireball.net/2007/07/on_top On Fri, Mar 31, 2017 at 10:16:47AM -0400, Joe Korty wrote: > Hi Greg, > This patch is not yet in 4.4. What patch is that? I can't find a git commit id here at all :( > It is in 4.9 and upstream. No one has submitted it to you before this > email. I only discovered the need for it because lockdep complains > when it is missing. I do not know how it was missed; perhaps there is > a reason rather than it being missed by accident. Others in the know > can comment if they like. You need to say what you want to have happen for a stable patch, you did read Documenation/stable_kernel_rules.txt, right? still confused, greg k-h
[toc] | [prev] | [next] | [standalone]
| From | Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
|---|---|
| Date | 2017-03-31 21:30 +0200 |
| Message-ID | <trapc-nk-15@gated-at.bofh.it> |
| In reply to | #1614086 |
On Fri, Mar 31, 2017 at 02:10:29PM -0400, Joe Korty wrote: > On Fri, Mar 31, 2017 at 04:50:52PM +0200, Greg Kroah-Hartman wrote: > > A: Because it messes up the order in which people normally read text. > > Q: Why is top-posting such a bad thing? > > A: Top-posting. > > Q: What is the most annoying thing in e-mail? > > > > A: No. > > Q: Should I include quotations after my reply? > > > > > > http://daringfireball.net/2007/07/on_top > > > > On Fri, Mar 31, 2017 at 10:16:47AM -0400, Joe Korty wrote: > > > Hi Greg, > > > This patch is not yet in 4.4. > > > > What patch is that? I can't find a git commit id here at all :( > > > > > It is in 4.9 and upstream. No one has submitted it to you before this > > > email. I only discovered the need for it because lockdep complains > > > when it is missing. I do not know how it was missed; perhaps there is > > > a reason rather than it being missed by accident. Others in the know > > > can comment if they like. > > > > You need to say what you want to have happen for a stable patch, you did > > read Documenation/stable_kernel_rules.txt, right? > > > > still confused, > > > > greg k-h > > > Hi Greg, > The patch is one that has already been backported into 4.9, > and as such I assumed it was already in a format acceptable > for submission. > > 4.4 is the only additional branch that needs this patch, > and there it is needed only because in 4.4.28 two other > mpt3sas patches had been backported. Those two patches > introduced the lock dependency problem that this, the > third patch, fixes. > > In summary, either all three patches should be backported, > or none should be backported. Porting just two is wrong. What patches? Please start over, resend the email in a format that can be understand as to what commits you want added to what stable kernel tree. As it is, I still have no clue... greg k-h
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web