From: Tadeusz Struk <tadeusz.struk@intel.com>
To: herbert@gondor.apana.org.au
Cc: linux-crypto@vger.kernel.org, qat-linux@intel.com,
conor.mcloughlin@intel.com
Subject: Re: [PATCH] crypto: qat - VF should never trigger SBR on PH
Date: Fri, 18 Sep 2015 09:01:59 -0700 [thread overview]
Message-ID: <55FC3577.40802@intel.com> (raw)
In-Reply-To: <20150918155947.24663.97648.stgit@tstruk-mobl1>
Hi Herbert,
On 09/18/2015 08:59 AM, Tadeusz Struk wrote:
> From: Conor McLoughlin <conor.mcloughlin@intel.com>
>
> Don't allow to trigger SBR from a VF running in VMM context.
>
> Signed-off-by: Conor McLoughlin <conor.mcloughlin@intel.com>
> Signed-off-by: Tadeusz Struk <tadeusz.struk@intel.com>
> ---
> drivers/crypto/qat/qat_common/adf_aer.c | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/drivers/crypto/qat/qat_common/adf_aer.c b/drivers/crypto/qat/qat_common/adf_aer.c
> index a57b419..0a5ca0b 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);
This should also go to 4.2 stable.
Thanks
next prev parent reply other threads:[~2015-09-18 16:05 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-18 15:59 [PATCH] crypto: qat - VF should never trigger SBR on PH Tadeusz Struk
2015-09-18 16:01 ` Tadeusz Struk [this message]
2015-09-21 15:04 ` Herbert Xu
2015-09-21 15:27 ` Tadeusz Struk
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=55FC3577.40802@intel.com \
--to=tadeusz.struk@intel.com \
--cc=conor.mcloughlin@intel.com \
--cc=herbert@gondor.apana.org.au \
--cc=linux-crypto@vger.kernel.org \
--cc=qat-linux@intel.com \
/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 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).