From: Mike Snitzer <snitzer@redhat.com>
To: Gilad Ben-Yossef <gilad@benyossef.com>
Cc: Neeraj Soni <neersoni@codeaurora.org>,
Christoph Hellwig <hch@infradead.org>,
Keith Busch <keith.busch@intel.com>,
dm-devel@redhat.com, Alasdair Kergon <agk@redhat.com>,
Ondrej Mosnacek <omosnace@redhat.com>,
Milan Broz <gmazyland@gmail.com>,
Herbert Xu <herbert@gondor.apana.org.au>,
linux-crypto@vger.kernel.org
Subject: need to pick a solution for dm-crypt IV generation and do it! [was: Re: dm: submit stacked requests in irq enabled context]
Date: Wed, 10 May 2017 10:45:25 -0400 [thread overview]
Message-ID: <20170510144525.GA5608@redhat.com> (raw)
In-Reply-To: <CAOtvUMcjULAOZYQ3K_XDvxcFoFJJjX-wxF6e6Y1+-r67tS_Y7g@mail.gmail.com>
On Wed, May 10 2017 at 9:37am -0400,
Gilad Ben-Yossef <gilad@benyossef.com> wrote:
> On Wed, May 10, 2017 at 11:49 AM, Neeraj Soni <neersoni@codeaurora.org> wrote:
> > Hi Keith,
> >
> > Request based dm (dm-req-crypt) is being used for Disk Encryption solution
> > in Android used by Google. Also as i mentioned reverting this fix improves
> > the RR/RW numbers so this proves the request based dm is coming into path
> > and is being used.
>
> Sadly, that is an out of tree module.
>
> Does it still use Qcom specific APIs in its implementation (qcrypto_* funcs)?
> It did the last time I've checked - and the driver that implements
> those is not upstream either...
>
> It makes it difficult to help - which is a shame since I am interested
> in enabling higher performance
> of dm-crypt when using HW based crypto transformation myself.
I have absolutely no interest in request-based dm-crypt. It is a hack
to work-around limitations in crypto IV generation.
If "google" is foolish enough to deploy out-of-tree request-based
dm-crypt in their android kernel then they are easily capable of
reverting the commit in question to prop up their short-cited decision.
The correct way forward is to follow through with the crypto work
discussed here (pick a solution to implement and make it happen):
https://www.redhat.com/archives/dm-devel/2017-March/msg00044.html
and here:
https://www.redhat.com/archives/dm-devel/2017-March/msg00053.html
and here:
https://www.redhat.com/archives/dm-devel/2017-April/msg00132.html
Mike
next parent reply other threads:[~2017-05-10 14:45 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <a66b6e17-a8c4-3465-fc2e-c3114abe0ca7@codeaurora.org>
[not found] ` <dee12838-7b43-2fdd-0644-41c10ecf9148@codeaurora.org>
[not found] ` <20170509155555.GB2572@localhost.localdomain>
[not found] ` <20170510071733.GA24980@infradead.org>
[not found] ` <39356321-b39b-98c7-f52b-ffd19d6dfc69@codeaurora.org>
[not found] ` <CAOtvUMcjULAOZYQ3K_XDvxcFoFJJjX-wxF6e6Y1+-r67tS_Y7g@mail.gmail.com>
2017-05-10 14:45 ` Mike Snitzer [this message]
2017-05-10 14:55 ` need to pick a solution for dm-crypt IV generation and do it! [was: Re: dm: submit stacked requests in irq enabled context] Gilad Ben-Yossef
2017-05-11 5:52 ` Neeraj Soni
2017-05-11 5:54 ` Neeraj Soni
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=20170510144525.GA5608@redhat.com \
--to=snitzer@redhat.com \
--cc=agk@redhat.com \
--cc=dm-devel@redhat.com \
--cc=gilad@benyossef.com \
--cc=gmazyland@gmail.com \
--cc=hch@infradead.org \
--cc=herbert@gondor.apana.org.au \
--cc=keith.busch@intel.com \
--cc=linux-crypto@vger.kernel.org \
--cc=neersoni@codeaurora.org \
--cc=omosnace@redhat.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).