[OpenWrt-Devel] [PATCH] kernel: fix hw-crypto detection of qce driver

Christian Lamparter chunkeey at gmail.com
Mon Sep 23 14:39:49 EDT 2019


On Mon, Sep 23, 2019 at 2:28 PM Eneas Queiroz <cotequeiroz at gmail.com> wrote:
>
> On Fri, Sep 20, 2019 at 5:48 PM Eneas U de Queiroz
> <cotequeiroz at gmail.com> wrote:
> >
> > This adds the CRYPTO_ALG_KERN_DRIVER_ONLY flag to Qualcomm crypto engine
> > driver algorithms, so that openssl devcrypto can recognize them as
> > hardware-accelerated.
> >
> > Signed-off-by: Eneas U de Queiroz <cotequeiroz at gmail.com>
>
> I noticed this was moved to ipq40xx, but ipq806x is also enabling the
> qce driver:
> https://git.openwrt.org/?p=openwrt/openwrt.git;a=blob;f=target/linux/ipq806x/config-4.14#l119
>
> So I imagine we need to either copy the patch to ipq806x, or disable
> the qce driver in ipq806x/config-4.14.  I don't have enough knowledge
> to decide what to do, so can someone more knowledgeable, please,
> either do it or point me to the right direction.

The upstream qce crypto driver does not support the IPQ806x series.
The ipq806x target used to host ipq40xx, so this driver was enabled as
builtin back then.
But since ipq40xx moved out, it's has become a symbol of "hope"....
That maybe some day
the NSS support of the IPQ806x can make use of it....

So yeah, if you want to crush the hopes and dreams of the IPQ806X users,
you can disable/remove the driver for the ipq806x target.

Regards,
Christian

_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list