summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustin M. Forbes <jforbes@fedoraproject.org>2020-08-01 10:18:11 -0500
committerJustin M. Forbes <jforbes@fedoraproject.org>2020-08-01 10:18:11 -0500
commit1427a1b472eaa6f9131d0d122fbea8b2383b9edb (patch)
tree39fdca5175cf2e48e0f1c8d9b0a12de95fcec4f6
parent8e15bd07df907f55820528b27870221739dc6e46 (diff)
downloadkernel-1427a1b472eaa6f9131d0d122fbea8b2383b9edb.tar.gz
kernel-1427a1b472eaa6f9131d0d122fbea8b2383b9edb.tar.xz
kernel-1427a1b472eaa6f9131d0d122fbea8b2383b9edb.zip
Work around gcc bug
Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
-rw-r--r--0001-Work-around-for-gcc-bug-https-gcc.gnu.org-bugzilla-s.patch29
-rw-r--r--kernel.spec3
2 files changed, 32 insertions, 0 deletions
diff --git a/0001-Work-around-for-gcc-bug-https-gcc.gnu.org-bugzilla-s.patch b/0001-Work-around-for-gcc-bug-https-gcc.gnu.org-bugzilla-s.patch
new file mode 100644
index 000000000..93b1e9be0
--- /dev/null
+++ b/0001-Work-around-for-gcc-bug-https-gcc.gnu.org-bugzilla-s.patch
@@ -0,0 +1,29 @@
+From 90750a5b1205a7dcc002224738585b861779cdae Mon Sep 17 00:00:00 2001
+From: "Justin M. Forbes" <jforbes@fedoraproject.org>
+Date: Thu, 30 Jul 2020 10:26:11 -0500
+Subject: [PATCH] Work around for gcc bug
+ https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96377
+
+Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
+---
+ crypto/aegis128-neon-inner.c | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/crypto/aegis128-neon-inner.c b/crypto/aegis128-neon-inner.c
+index 2a660ac1bc3a..fa87ff6a2a71 100644
+--- a/crypto/aegis128-neon-inner.c
++++ b/crypto/aegis128-neon-inner.c
+@@ -148,8 +148,8 @@ void crypto_aegis128_init_neon(void *state, const void *key, const void *iv)
+ kiv,
+ vld1q_u8(const1),
+ vld1q_u8(const0),
+- k ^ vld1q_u8(const0),
+- k ^ vld1q_u8(const1),
++ (uint8x16_t) (k ^ vld1q_u8(const0)),
++ (uint8x16_t) (k ^ vld1q_u8(const1)),
+ }};
+ int i;
+
+--
+2.26.2
+
diff --git a/kernel.spec b/kernel.spec
index d108c6931..329f8b2ff 100644
--- a/kernel.spec
+++ b/kernel.spec
@@ -886,6 +886,9 @@ Patch124: 0001-PCI-Add-MCFG-quirks-for-Tegra194-host-controllers.patch
# rhbz 1857101
Patch125: 0001-ALSA-hda-Workaround-for-spurious-wakeups-on-some-Int.patch
+# Work around a bug in gcc https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96377
+Patch126: 0001-Work-around-for-gcc-bug-https-gcc.gnu.org-bugzilla-s.patch
+
# END OF PATCH DEFINITIONS
%endif