[PATCH] kernel-5.4: backport latest patches for wireguard

Jason A. Donenfeld Jason at zx2c4.com
Sun Jun 6 03:40:44 PDT 2021


Hi Ilya,

> diff --git a/target/linux/generic/backport-5.4/080-wireguard-0124-crypto-mips-poly1305-enable-for-all-MIPS-processors.patch b/target/linux/generic/backport-5.4/080-wireguard-0124-crypto-mips-poly1305-enable-for-all-MIPS-processors.patch
> new file mode 100644
> index 0000000000..c0ee841b02
> --- /dev/null
> +++ b/target/linux/generic/backport-5.4/080-wireguard-0124-crypto-mips-poly1305-enable-for-all-MIPS-processors.patch
> @@ -0,0 +1,60 @@
> +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
> +From: "Maciej W. Rozycki" <macro at orcam.me.uk>
> +Date: Thu, 11 Mar 2021 21:50:47 -0700
> +Subject: [PATCH] crypto: mips/poly1305 - enable for all MIPS processors
> +
> +commit 6c810cf20feef0d4338e9b424ab7f2644a8b353e upstream.
> +
> +The MIPS Poly1305 implementation is generic MIPS code written such as to
> +support down to the original MIPS I and MIPS III ISA for the 32-bit and
> +64-bit variant respectively.  Lift the current limitation then to enable
> +code for MIPSr1 ISA or newer processors only and have it available for
> +all MIPS processors.

I don't remember where we wound up with the MIPS dependency maze, but
this patch here _might_ imply something can be simplified or needs
changes.

Jason



More information about the openwrt-devel mailing list