stable.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* FAILED: patch "[PATCH] crypto: qat - VF should never trigger SBR on PH" failed to apply to 4.1-stable tree
@ 2015-10-17 23:35 gregkh
  2015-10-19 13:10 ` Tadeusz Struk
  0 siblings, 1 reply; 2+ messages in thread
From: gregkh @ 2015-10-17 23:35 UTC (permalink / raw)
  To: conor.mcloughlin, herbert, tadeusz.struk; +Cc: stable


The patch below does not apply to the 4.1-stable tree.
If someone wants it applied there, or to any other stable or longterm
tree, then please email the backport, including the original git commit
id to <stable@vger.kernel.org>.

thanks,

greg k-h

------------------ original commit in Linus's tree ------------------

>From 17762c5acee2f1f065291d2a74ebea4d0168063b Mon Sep 17 00:00:00 2001
From: Conor McLoughlin <conor.mcloughlin@intel.com>
Date: Fri, 18 Sep 2015 08:59:47 -0700
Subject: [PATCH] crypto: qat - VF should never trigger SBR on PH

Don't allow to trigger SBR from a VF running in VMM context.

Cc: stable@vger.kernel.org
Signed-off-by: Conor McLoughlin <conor.mcloughlin@intel.com>
Signed-off-by: Tadeusz Struk <tadeusz.struk@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>

diff --git a/drivers/crypto/qat/qat_common/adf_aer.c b/drivers/crypto/qat/qat_common/adf_aer.c
index a57b4194de28..0a5ca0ba5d64 100644
--- a/drivers/crypto/qat/qat_common/adf_aer.c
+++ b/drivers/crypto/qat/qat_common/adf_aer.c
@@ -88,6 +88,9 @@ static void adf_dev_restore(struct adf_accel_dev *accel_dev)
 	struct pci_dev *parent = pdev->bus->self;
 	uint16_t bridge_ctl = 0;
 
+	if (accel_dev->is_vf)
+		return;
+
 	dev_info(&GET_DEV(accel_dev), "Resetting device qat_dev%d\n",
 		 accel_dev->accel_id);
 


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: FAILED: patch "[PATCH] crypto: qat - VF should never trigger SBR on PH" failed to apply to 4.1-stable tree
  2015-10-17 23:35 FAILED: patch "[PATCH] crypto: qat - VF should never trigger SBR on PH" failed to apply to 4.1-stable tree gregkh
@ 2015-10-19 13:10 ` Tadeusz Struk
  0 siblings, 0 replies; 2+ messages in thread
From: Tadeusz Struk @ 2015-10-19 13:10 UTC (permalink / raw)
  To: gregkh, conor.mcloughlin, herbert; +Cc: stable

On 10/17/2015 04:35 PM, gregkh@linuxfoundation.org wrote:
> 
> The patch below does not apply to the 4.1-stable tree.
> If someone wants it applied there, or to any other stable or longterm
> tree, then please email the backport, including the original git commit
> id to <stable@vger.kernel.org>.
> 
> thanks,
> 
> greg k-h
> 
> ------------------ original commit in Linus's tree ------------------
> 
> From 17762c5acee2f1f065291d2a74ebea4d0168063b Mon Sep 17 00:00:00 2001
> From: Conor McLoughlin <conor.mcloughlin@intel.com>
> Date: Fri, 18 Sep 2015 08:59:47 -0700
> Subject: [PATCH] crypto: qat - VF should never trigger SBR on PH
> 
> Don't allow to trigger SBR from a VF running in VMM context.
> 
> Cc: stable@vger.kernel.org
> Signed-off-by: Conor McLoughlin <conor.mcloughlin@intel.com>
> Signed-off-by: Tadeusz Struk <tadeusz.struk@intel.com>
> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
> 
> diff --git a/drivers/crypto/qat/qat_common/adf_aer.c b/drivers/crypto/qat/qat_common/adf_aer.c
> index a57b4194de28..0a5ca0ba5d64 100644
> --- a/drivers/crypto/qat/qat_common/adf_aer.c
> +++ b/drivers/crypto/qat/qat_common/adf_aer.c
> @@ -88,6 +88,9 @@ static void adf_dev_restore(struct adf_accel_dev *accel_dev)
>  	struct pci_dev *parent = pdev->bus->self;
>  	uint16_t bridge_ctl = 0;
>  
> +	if (accel_dev->is_vf)
> +		return;
> +
>  	dev_info(&GET_DEV(accel_dev), "Resetting device qat_dev%d\n",
>  		 accel_dev->accel_id);
>  
> 

Hi Greg,
This is only applicable for 4.3. Sorry for the confusion.
Thanks

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-10-19 13:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-17 23:35 FAILED: patch "[PATCH] crypto: qat - VF should never trigger SBR on PH" failed to apply to 4.1-stable tree gregkh
2015-10-19 13:10 ` Tadeusz Struk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).