All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nishanth Menon <nm@ti.com>
To: Denys Dmytriyenko <denis@denix.org>
Cc: meta-arago <meta-arago@arago-project.org>
Subject: Re: [PATCH dunfell] cryptodev: Move to 1.12 revision
Date: Thu, 4 Mar 2021 17:18:45 -0600	[thread overview]
Message-ID: <20210304231845.xtxge5g7em6r7zmo@crisping> (raw)
In-Reply-To: <20210304184811.GF4892@denix.org>

On 13:48-20210304, Denys Dmytriyenko wrote:
> On Thu, Mar 04, 2021 at 12:52:00AM -0600, Nishanth Menon wrote:
> > Cryptodev out of kernel module and suite has yet another set of

[...]

> > +PR_append = ".arago0"
> 
> Same.

Thanks.. Subject to our thread continuing in parallel if a new layer is
needed... just posting for reference a v2 - inline:

-- >8 --
From 7a345806bda670973300e64e32affcf0ceab2d01 Mon Sep 17 00:00:00 2001
From: Nishanth Menon <nm@ti.com>
Date: Thu, 4 Mar 2021 00:26:29 -0600
Subject: [PATCH V2 master/dunfell] cryptodev: Move to 1.12 revision

Cryptodev out of kernel module and suite has yet another set of
challenge with broken API compatibility. However, the complete list of
patches beteween dunfell's default 1.10 and current latest 1.12 revisions:
 e0c25e289d6b (tag: cryptodev-linux-1.12) Release version 1.12
 55c6315058fc Fix build for Linux 5.11-rc1
 2f5e08aebf92 Fix build for Linux 5.9-rc1
 e8263d2d682b remove VLA usage from authenc.c
 dafa42cadc86 Fix for change in Kernel 4.4.168
 f4d3653c8dcb Release version 1.11
 9e765068582a Fix build for Linux 5.8-rc1
 7e72f6758f2d enabled the support for TLS1.1 - AES128-SHA1 - AES256-SHA1
 98b163a23f6b cryptlib.c: fix build on kernel v5.5+
 a1e738aef624 tests: cipher-aead-srtp: Fix cao->dst alignment
 f971e0cd4a0e Fix module loading with Linux v5.0-rc5

We have the following choices
1) just cherry-pick minimum set of kernel patches relevant for kernel
compatibility
OR
2) switch to a newer version with richer set of fixups

Attempting to switch to 1.12 version with minimal changes as a better
option to get a wider swath of kernel compatibility (v5.5 to v5.11), vs
the default of v5.4 kernel in dunfell vanilla.

Signed-off-by: Nishanth Menon <nm@ti.com>
---
 .../recipes-kernel/cryptodev/cryptodev-linux_%.bbappend      | 5 +++++
 .../recipes-kernel/cryptodev/cryptodev-module_%.bbappend     | 5 +++++
 .../recipes-kernel/cryptodev/cryptodev-tests_%.bbappend      | 5 +++++
 3 files changed, 15 insertions(+)
 create mode 100644 meta-arago-distro/recipes-kernel/cryptodev/cryptodev-linux_%.bbappend
 create mode 100644 meta-arago-distro/recipes-kernel/cryptodev/cryptodev-tests_%.bbappend

diff --git a/meta-arago-distro/recipes-kernel/cryptodev/cryptodev-linux_%.bbappend b/meta-arago-distro/recipes-kernel/cryptodev/cryptodev-linux_%.bbappend
new file mode 100644
index 000000000000..a4ae187d4082
--- /dev/null
+++ b/meta-arago-distro/recipes-kernel/cryptodev/cryptodev-linux_%.bbappend
@@ -0,0 +1,5 @@
+# Bring in fixes including https://github.com/cryptodev-linux/cryptodev-linux/pull/55
+# just pull 1.12 revision, everything else remains the same.
+
+PV = "1.12"
+SRCREV = "e0c25e289d6baf1d83c2b9cb523d3bc237d0c0c9"
diff --git a/meta-arago-distro/recipes-kernel/cryptodev/cryptodev-module_%.bbappend b/meta-arago-distro/recipes-kernel/cryptodev/cryptodev-module_%.bbappend
index f8a35cd73765..a1e1c91978c4 100644
--- a/meta-arago-distro/recipes-kernel/cryptodev/cryptodev-module_%.bbappend
+++ b/meta-arago-distro/recipes-kernel/cryptodev/cryptodev-module_%.bbappend
@@ -1,3 +1,8 @@
+# Bring in fixes including https://github.com/cryptodev-linux/cryptodev-linux/pull/55
+# just pull 1.12 revision, everything else remains the same.
+
+PV = "1.12"
 PR_append = ".arago0"
+SRCREV = "e0c25e289d6baf1d83c2b9cb523d3bc237d0c0c9"
 
 KERNEL_MODULE_AUTOLOAD += "cryptodev"
diff --git a/meta-arago-distro/recipes-kernel/cryptodev/cryptodev-tests_%.bbappend b/meta-arago-distro/recipes-kernel/cryptodev/cryptodev-tests_%.bbappend
new file mode 100644
index 000000000000..a4ae187d4082
--- /dev/null
+++ b/meta-arago-distro/recipes-kernel/cryptodev/cryptodev-tests_%.bbappend
@@ -0,0 +1,5 @@
+# Bring in fixes including https://github.com/cryptodev-linux/cryptodev-linux/pull/55
+# just pull 1.12 revision, everything else remains the same.
+
+PV = "1.12"
+SRCREV = "e0c25e289d6baf1d83c2b9cb523d3bc237d0c0c9"
-- 
2.25.1.377.g2d2118b814c1

-- 
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3  1A34 DDB5 849D 1736 249D


  parent reply	other threads:[~2021-03-04 23:18 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-04  6:52 [PATCH dunfell] cryptodev: Move to 1.12 revision Nishanth Menon
2021-03-04 18:48 ` Denys Dmytriyenko
2021-03-04 19:48   ` Denys Dmytriyenko
2021-03-04 23:14     ` Nishanth Menon
2021-03-05  0:58       ` Denys Dmytriyenko
2021-03-05  1:24         ` Nishanth Menon
2021-03-05  2:26           ` Denys Dmytriyenko
2021-03-05  2:34             ` Nishanth Menon
2021-03-04 23:18   ` Nishanth Menon [this message]
2021-03-05  0:27     ` Denys Dmytriyenko

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=20210304231845.xtxge5g7em6r7zmo@crisping \
    --to=nm@ti.com \
    --cc=denis@denix.org \
    --cc=meta-arago@arago-project.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.