All of lore.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <gregkh@linuxfoundation.org>
To: Jack Wang <jinpu.wang@cloud.ionos.com>
Cc: sashal@kernel.org, stable@vger.kernel.org,
	Viswas G <Viswas.G@microsemi.com>,
	Deepak Ukey <deepak.ukey@microsemi.com>,
	"Martin K . Petersen" <martin.petersen@oracle.com>
Subject: Re: [stable-4.19 1/2] scsi: pm80xx: panic on ncq error cleaning up the read log.
Date: Tue, 10 Mar 2020 12:41:24 +0100	[thread overview]
Message-ID: <20200310114124.GD3106483@kroah.com> (raw)
In-Reply-To: <20200309101739.32483-2-jinpu.wang@cloud.ionos.com>

On Mon, Mar 09, 2020 at 11:17:38AM +0100, Jack Wang wrote:
> From: Viswas G <Viswas.G@microsemi.com>
> 
> commit 0b6df110b3d0c12562011fcd032cfb6ff16b6d56 upstream
> 
> when there's an error in 'ncq mode' the host has to read the ncq error
> log (10h) to clear the error state. however, the ccb that is setup for
> doing this doesn't setup the ccb so that the previous state is
> cleared. if the ccb was previously used for an IO n_elems is set and
> pm8001_ccb_task_free() treats this as the signal to go free a
> scatter-gather list (that's already been freed).
> 
> Signed-off-by: Deepak Ukey <deepak.ukey@microsemi.com>
> Signed-off-by: Viswas G <Viswas.G@microsemi.com>
> Acked-by: Jack Wang <jinpu.wang@profitbricks.com>
> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
> ---
>  drivers/scsi/pm8001/pm80xx_hwi.c | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)

This commit showed up in 4.15, how can it also go into 4.19 again?

Totally confused,

greg k-h

  reply	other threads:[~2020-03-10 11:41 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-09 10:17 [stable-4.19 0/2] 2 stable fix for pm80xx Jack Wang
2020-03-09 10:17 ` [stable-4.19 1/2] scsi: pm80xx: panic on ncq error cleaning up the read log Jack Wang
2020-03-10 11:41   ` Greg KH [this message]
2020-03-10 11:41   ` Greg KH
2020-03-10 11:47     ` Jinpu Wang
2020-03-09 10:17 ` [stable-4.19 2/2] scsi: pm80xx: Fixed kernel panic during error recovery for SATA drive Jack Wang
2020-03-10 11:42   ` Greg KH

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200310114124.GD3106483@kroah.com \
    --to=gregkh@linuxfoundation.org \
    --cc=Viswas.G@microsemi.com \
    --cc=deepak.ukey@microsemi.com \
    --cc=jinpu.wang@cloud.ionos.com \
    --cc=martin.petersen@oracle.com \
    --cc=sashal@kernel.org \
    --cc=stable@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.