From: Tadeusz Struk <tadeusz.struk@intel.com>
To: herbert@gondor.apana.org.au
Cc: linux-crypto@vger.kernel.org
Subject: Re: [PATCH] crypto: qat - adf_dev_stop should not be called in atomic context
Date: Fri, 1 Apr 2016 10:51:34 -0700 [thread overview]
Message-ID: <56FEB526.4050604@intel.com> (raw)
In-Reply-To: <20160329172036.2482.65213.stgit@tstruk-mobl1>
Hi Herbert,
On 03/29/2016 10:20 AM, Tadeusz Struk wrote:
> VFs call adf_dev_stop() from a PF to VF interrupt bottom half.
> This causes an oops "scheduling while atomic", because it tries
> to aquire a mutex to unregister crypto algorithms.
> This patch fixes the issue by calling adf_dev_stop() asynchronusely.
>
> Signed-off-by: Tadeusz Struk <tadeusz.struk@intel.com>
> ---
> drivers/crypto/qat/qat_common/adf_vf_isr.c | 31 +++++++++++++++++++++++++---
> 1 file changed, 28 insertions(+), 3 deletions(-)
This patch in not correct. Please drop it.
I'll sent a v2 early next week.
Thanks,
--
TS
prev parent reply other threads:[~2016-04-01 17:56 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-29 17:20 [PATCH] crypto: qat - adf_dev_stop should not be called in atomic context Tadeusz Struk
2016-04-01 17:51 ` Tadeusz Struk [this message]
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=56FEB526.4050604@intel.com \
--to=tadeusz.struk@intel.com \
--cc=herbert@gondor.apana.org.au \
--cc=linux-crypto@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.