summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustin M. Forbes <jforbes@fedoraproject.org>2020-07-30 10:27:30 -0500
committerJustin M. Forbes <jforbes@fedoraproject.org>2020-07-30 10:27:30 -0500
commit64d63e754c89bae4f6c1de25f7e4a5f81989a0df (patch)
tree77a9788f09d3f70c83dcb47d5deacb39743e6f6d
parent38ae8ad573eed85916454766404b352bb53c56bc (diff)
downloadkernel-64d63e754c89bae4f6c1de25f7e4a5f81989a0df.tar.gz
kernel-64d63e754c89bae4f6c1de25f7e4a5f81989a0df.tar.xz
kernel-64d63e754c89bae4f6c1de25f7e4a5f81989a0df.zip
Work around for gcc bug https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96377
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.spec1
2 files changed, 30 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 ebf38017a..ad0356b0d 100644
--- a/kernel.spec
+++ b/kernel.spec
@@ -813,6 +813,7 @@ Patch95: 0001-drm-panel-st7703-Enter-sleep-after-display-off.patch
Patch96: 0001-drm-panel-st7703-Assert-reset-prior-to-powering-down.patch
Patch97: 0001-arm64-dts-sun50i-a64-pinephone-Enable-LCD-support-on.patch
Patch98: 0001-arm64-dts-sun50i-a64-pinephone-Add-touchscreen-suppo.patch
+Patch99: 0001-Work-around-for-gcc-bug-https-gcc.gnu.org-bugzilla-s.patch
%endif