GNU Linux-libre 4.4-gnu1b erratum notes (no logs) logs/v4.4-gnu1b
authorAlexandre Oliva <lxoliva@fsfla.org>
Mon, 30 Aug 2021 07:33:21 +0000 (03:33 -0400)
committerAlexandre Oliva <lxoliva@fsfla.org>
Sat, 4 Sep 2021 07:15:51 +0000 (03:15 -0400)
ERRATUM.txt [new file with mode: 0644]
scripts-4.4-gnu1-4.4-gnu1b.patch [new file with mode: 0644]
scripts-4.4-gnu1-4.4-gnu1b.patch.sign [new file with mode: 0644]
scripts-4.4-gnu1a-4.4-gnu1b.patch [new file with mode: 0644]
scripts-4.4-gnu1a-4.4-gnu1b.patch.sign [new file with mode: 0644]
sources-4.4-gnu1-4.4-gnu1b.patch [new file with mode: 0644]
sources-4.4-gnu1-4.4-gnu1b.patch.sign [new file with mode: 0644]
sources-4.4-gnu1a-4.4-gnu1b.patch [new file with mode: 0644]
sources-4.4-gnu1a-4.4-gnu1b.patch.sign [new file with mode: 0644]

diff --git a/ERRATUM.txt b/ERRATUM.txt
new file mode 100644 (file)
index 0000000..e0a8767
--- /dev/null
@@ -0,0 +1,13 @@
+This is an erratum, not a release proper, so the usual logs and
+signatures are not here.
+
+Unlike releases, this hasn't gone through the release process, it's
+just a record of the fix for an error introduced by a cleaning up bug.
+
+The scripts-* patch file holds the change to the cleaning-up scripts.
+Applying it to the scripts used to create the release should get you
+the corrected scripts, that have been tagged with the erratum identifier.
+
+The sources-* patch file holds the changes the scripts bring about to
+the sources.  Applying it to the sources of the release should get you 
+corrected sources, that have been tagged with the erratum identifier.
diff --git a/scripts-4.4-gnu1-4.4-gnu1b.patch b/scripts-4.4-gnu1-4.4-gnu1b.patch
new file mode 100644 (file)
index 0000000..fb052b8
--- /dev/null
@@ -0,0 +1,27 @@
+diff --git scripts/linux-libre-4.4-gnu1/deblob-4.4 scripts/linux-libre-4.4-gnu1/deblob-4.4
+index 084e6eec5f2c..7fe38ad5097f 100755
+--- scripts/linux-libre-4.4-gnu1/deblob-4.4
++++ scripts/linux-libre-4.4-gnu1/deblob-4.4
+@@ -1751,14 +1751,20 @@ clean_sed '
+               goto error;\
+       }
+ }' drivers/net/wireless/b43/main.c 'double-check and reject non-Free firmware'
+-# Major portions of firmware filenames not deblobbed.
++clean_sed '
++/^[\t]*filename = "\(ucode\|b0g0\(bs\)\?initvals\)5";$/! {
++      s,^\([\t]*filename = "\)\(ucode\|pcm\|[^ "]*initvals\)[0-9][^ ."]*";,\1/*(DEBLOBBED)*/";,g
++}' drivers/net/wireless/b43/main.c 'cleaned up blob basenames'
+ clean_blob drivers/net/wireless/b43/main.c
+ clean_kconfig drivers/net/wireless/b43/Kconfig B43
+ clean_mk CONFIG_B43 drivers/net/wireless/b43/Makefile
+ announce B43LEGACY - "Broadcom 43xx-legacy wireless support (mac80211 stack)"
+ reject_firmware drivers/net/wireless/b43legacy/main.c
+-# Major portions of firwmare filenames not deblobbed.
++clean_sed '
++{
++      s,^\([\t]*filename = "\)\(ucode\|pcm\|[^ "]*initvals\)[0-9][^ ."]*";,\1/*(DEBLOBBED)*/";,g
++}' drivers/net/wireless/b43legacy/main.c 'cleaned up blob basenames'
+ clean_blob drivers/net/wireless/b43legacy/main.c
+ clean_kconfig drivers/net/wireless/b43legacy/Kconfig B43LEGACY
+ clean_mk CONFIG_B43LEGACY drivers/net/wireless/b43legacy/Makefile
diff --git a/scripts-4.4-gnu1-4.4-gnu1b.patch.sign b/scripts-4.4-gnu1-4.4-gnu1b.patch.sign
new file mode 100644 (file)
index 0000000..4bb8248
--- /dev/null
@@ -0,0 +1,6 @@
+-----BEGIN PGP SIGNATURE-----
+
+iF0EABECAB0WIQRHRALIxYLa++OJxCe8t8+Hfn1HpwUCYS728wAKCRC8t8+Hfn1H
+p931AJ97MwUiOmolYtO7fPW+w+7YFvNEtQCeNfjavpNaXOMq0obUJ4bnHCAKhp4=
+=hnxH
+-----END PGP SIGNATURE-----
diff --git a/scripts-4.4-gnu1a-4.4-gnu1b.patch b/scripts-4.4-gnu1a-4.4-gnu1b.patch
new file mode 100644 (file)
index 0000000..6a356bd
--- /dev/null
@@ -0,0 +1,16 @@
+diff --git scripts/linux-libre-4.4-gnu1/deblob-4.4 scripts/linux-libre-4.4-gnu1/deblob-4.4
+index 431d13026832..7fe38ad5097f 100755
+--- scripts/linux-libre-4.4-gnu1/deblob-4.4
++++ scripts/linux-libre-4.4-gnu1/deblob-4.4
+@@ -1761,7 +1761,10 @@ clean_mk CONFIG_B43 drivers/net/wireless/b43/Makefile
+ announce B43LEGACY - "Broadcom 43xx-legacy wireless support (mac80211 stack)"
+ reject_firmware drivers/net/wireless/b43legacy/main.c
+-# Major portions of firwmare filenames not deblobbed.
++clean_sed '
++{
++      s,^\([\t]*filename = "\)\(ucode\|pcm\|[^ "]*initvals\)[0-9][^ ."]*";,\1/*(DEBLOBBED)*/";,g
++}' drivers/net/wireless/b43legacy/main.c 'cleaned up blob basenames'
+ clean_blob drivers/net/wireless/b43legacy/main.c
+ clean_kconfig drivers/net/wireless/b43legacy/Kconfig B43LEGACY
+ clean_mk CONFIG_B43LEGACY drivers/net/wireless/b43legacy/Makefile
diff --git a/scripts-4.4-gnu1a-4.4-gnu1b.patch.sign b/scripts-4.4-gnu1a-4.4-gnu1b.patch.sign
new file mode 100644 (file)
index 0000000..f1e0515
--- /dev/null
@@ -0,0 +1,6 @@
+-----BEGIN PGP SIGNATURE-----
+
+iF0EABECAB0WIQRHRALIxYLa++OJxCe8t8+Hfn1HpwUCYS728wAKCRC8t8+Hfn1H
+p4XhAJkBFkP3G9DYL9vupgFsaHb2WLN7NgCaAruuNzh0+SouGNB8rR7sFVKkdKM=
+=SdgM
+-----END PGP SIGNATURE-----
diff --git a/sources-4.4-gnu1-4.4-gnu1b.patch b/sources-4.4-gnu1-4.4-gnu1b.patch
new file mode 100644 (file)
index 0000000..71e10da
--- /dev/null
@@ -0,0 +1,283 @@
+diff --git linux-libre-4.4-gnu1/drivers/net/wireless/b43/main.c linux-libre-4.4-gnu1/drivers/net/wireless/b43/main.c
+index c430c8d60f02..2400bbdcac28 100644
+--- linux-libre-4.4-gnu1/drivers/net/wireless/b43/main.c
++++ linux-libre-4.4-gnu1/drivers/net/wireless/b43/main.c
+@@ -2306,60 +2306,60 @@ static int b43_try_request_fw(struct b43_request_fw_context *ctx)
+       switch (rev) {
+       case 42:
+               if (phy->type == B43_PHYTYPE_AC)
+-                      filename = /*(DEBLOBBED)*/;
++                      filename = "/*(DEBLOBBED)*/";
+               break;
+       case 40:
+               if (phy->type == B43_PHYTYPE_AC)
+-                      filename = /*(DEBLOBBED)*/;
++                      filename = "/*(DEBLOBBED)*/";
+               break;
+       case 33:
+               if (phy->type == B43_PHYTYPE_LCN40)
+-                      filename = /*(DEBLOBBED)*/;
++                      filename = "/*(DEBLOBBED)*/";
+               break;
+       case 30:
+               if (phy->type == B43_PHYTYPE_N)
+-                      filename = /*(DEBLOBBED)*/;
++                      filename = "/*(DEBLOBBED)*/";
+               break;
+       case 29:
+               if (phy->type == B43_PHYTYPE_HT)
+-                      filename = /*(DEBLOBBED)*/;
++                      filename = "/*(DEBLOBBED)*/";
+               break;
+       case 26:
+               if (phy->type == B43_PHYTYPE_HT)
+-                      filename = /*(DEBLOBBED)*/;
++                      filename = "/*(DEBLOBBED)*/";
+               break;
+       case 28:
+       case 25:
+               if (phy->type == B43_PHYTYPE_N)
+-                      filename = /*(DEBLOBBED)*/;
++                      filename = "/*(DEBLOBBED)*/";
+               else if (phy->type == B43_PHYTYPE_LCN)
+-                      filename = /*(DEBLOBBED)*/;
++                      filename = "/*(DEBLOBBED)*/";
+               break;
+       case 24:
+               if (phy->type == B43_PHYTYPE_LCN)
+-                      filename = /*(DEBLOBBED)*/;
++                      filename = "/*(DEBLOBBED)*/";
+               break;
+       case 23:
+               if (phy->type == B43_PHYTYPE_N)
+-                      filename = /*(DEBLOBBED)*/;
++                      filename = "/*(DEBLOBBED)*/";
+               break;
+       case 16 ... 19:
+               if (phy->type == B43_PHYTYPE_N)
+-                      filename = /*(DEBLOBBED)*/;
++                      filename = "/*(DEBLOBBED)*/";
+               else if (phy->type == B43_PHYTYPE_LP)
+-                      filename = /*(DEBLOBBED)*/;
++                      filename = "/*(DEBLOBBED)*/";
+               break;
+       case 15:
+-              filename = /*(DEBLOBBED)*/;
++              filename = "/*(DEBLOBBED)*/";
+               break;
+       case 14:
+-              filename = /*(DEBLOBBED)*/;
++              filename = "/*(DEBLOBBED)*/";
+               break;
+       case 13:
+-              filename = /*(DEBLOBBED)*/;
++              filename = "/*(DEBLOBBED)*/";
+               break;
+       case 11 ... 12:
+-              filename = /*(DEBLOBBED)*/;
++              filename = "/*(DEBLOBBED)*/";
+               break;
+       case 5 ... 10:
+               filename = "ucode5";
+@@ -2373,7 +2373,7 @@ static int b43_try_request_fw(struct b43_request_fw_context *ctx)
+       /* Get PCM code */
+       if ((rev >= 5) && (rev <= 10))
+-              filename = /*(DEBLOBBED)*/;
++              filename = "/*(DEBLOBBED)*/";
+       else if (rev >= 11)
+               filename = NULL;
+       else
+@@ -2392,53 +2392,53 @@ static int b43_try_request_fw(struct b43_request_fw_context *ctx)
+       switch (dev->phy.type) {
+       case B43_PHYTYPE_G:
+               if (rev == 13)
+-                      filename = /*(DEBLOBBED)*/;
++                      filename = "/*(DEBLOBBED)*/";
+               else if (rev >= 5 && rev <= 10)
+                       filename = "b0g0initvals5";
+               break;
+       case B43_PHYTYPE_N:
+               if (rev == 30)
+-                      filename = /*(DEBLOBBED)*/;
++                      filename = "/*(DEBLOBBED)*/";
+               else if (rev == 28 || rev == 25)
+-                      filename = /*(DEBLOBBED)*/;
++                      filename = "/*(DEBLOBBED)*/";
+               else if (rev == 24)
+-                      filename = /*(DEBLOBBED)*/;
++                      filename = "/*(DEBLOBBED)*/";
+               else if (rev == 23)
+-                      filename = /*(DEBLOBBED)*/; /*(DEBLOBBED)*/
++                      filename = "/*(DEBLOBBED)*/"; /*(DEBLOBBED)*/
+               else if (rev >= 16 && rev <= 18)
+-                      filename = /*(DEBLOBBED)*/;
++                      filename = "/*(DEBLOBBED)*/";
+               else if (rev >= 11 && rev <= 12)
+-                      filename = /*(DEBLOBBED)*/;
++                      filename = "/*(DEBLOBBED)*/";
+               break;
+       case B43_PHYTYPE_LP:
+               if (rev >= 16 && rev <= 18)
+-                      filename = /*(DEBLOBBED)*/;
++                      filename = "/*(DEBLOBBED)*/";
+               else if (rev == 15)
+-                      filename = /*(DEBLOBBED)*/;
++                      filename = "/*(DEBLOBBED)*/";
+               else if (rev == 14)
+-                      filename = /*(DEBLOBBED)*/;
++                      filename = "/*(DEBLOBBED)*/";
+               else if (rev == 13)
+-                      filename = /*(DEBLOBBED)*/;
++                      filename = "/*(DEBLOBBED)*/";
+               break;
+       case B43_PHYTYPE_HT:
+               if (rev == 29)
+-                      filename = /*(DEBLOBBED)*/;
++                      filename = "/*(DEBLOBBED)*/";
+               else if (rev == 26)
+-                      filename = /*(DEBLOBBED)*/;
++                      filename = "/*(DEBLOBBED)*/";
+               break;
+       case B43_PHYTYPE_LCN:
+               if (rev == 24)
+-                      filename = /*(DEBLOBBED)*/;
++                      filename = "/*(DEBLOBBED)*/";
+               break;
+       case B43_PHYTYPE_LCN40:
+               if (rev == 33)
+-                      filename = /*(DEBLOBBED)*/;
++                      filename = "/*(DEBLOBBED)*/";
+               break;
+       case B43_PHYTYPE_AC:
+               if (rev == 42)
+-                      filename = /*(DEBLOBBED)*/;
++                      filename = "/*(DEBLOBBED)*/";
+               else if (rev == 40)
+-                      filename = /*(DEBLOBBED)*/;
++                      filename = "/*(DEBLOBBED)*/";
+               break;
+       }
+       if (!filename)
+@@ -2452,53 +2452,53 @@ static int b43_try_request_fw(struct b43_request_fw_context *ctx)
+       switch (dev->phy.type) {
+       case B43_PHYTYPE_G:
+               if (rev == 13)
+-                      filename = /*(DEBLOBBED)*/;
++                      filename = "/*(DEBLOBBED)*/";
+               else if (rev >= 5 && rev <= 10)
+                       filename = "b0g0bsinitvals5";
+               break;
+       case B43_PHYTYPE_N:
+               if (rev == 30)
+-                      filename = /*(DEBLOBBED)*/;
++                      filename = "/*(DEBLOBBED)*/";
+               else if (rev == 28 || rev == 25)
+-                      filename = /*(DEBLOBBED)*/;
++                      filename = "/*(DEBLOBBED)*/";
+               else if (rev == 24)
+-                      filename = /*(DEBLOBBED)*/;
++                      filename = "/*(DEBLOBBED)*/";
+               else if (rev == 23)
+-                      filename = /*(DEBLOBBED)*/; /*(DEBLOBBED)*/
++                      filename = "/*(DEBLOBBED)*/"; /*(DEBLOBBED)*/
+               else if (rev >= 16 && rev <= 18)
+-                      filename = /*(DEBLOBBED)*/;
++                      filename = "/*(DEBLOBBED)*/";
+               else if (rev >= 11 && rev <= 12)
+-                      filename = /*(DEBLOBBED)*/;
++                      filename = "/*(DEBLOBBED)*/";
+               break;
+       case B43_PHYTYPE_LP:
+               if (rev >= 16 && rev <= 18)
+-                      filename = /*(DEBLOBBED)*/;
++                      filename = "/*(DEBLOBBED)*/";
+               else if (rev == 15)
+-                      filename = /*(DEBLOBBED)*/;
++                      filename = "/*(DEBLOBBED)*/";
+               else if (rev == 14)
+-                      filename = /*(DEBLOBBED)*/;
++                      filename = "/*(DEBLOBBED)*/";
+               else if (rev == 13)
+-                      filename = /*(DEBLOBBED)*/;
++                      filename = "/*(DEBLOBBED)*/";
+               break;
+       case B43_PHYTYPE_HT:
+               if (rev == 29)
+-                      filename = /*(DEBLOBBED)*/;
++                      filename = "/*(DEBLOBBED)*/";
+               else if (rev == 26)
+-                      filename = /*(DEBLOBBED)*/;
++                      filename = "/*(DEBLOBBED)*/";
+               break;
+       case B43_PHYTYPE_LCN:
+               if (rev == 24)
+-                      filename = /*(DEBLOBBED)*/;
++                      filename = "/*(DEBLOBBED)*/";
+               break;
+       case B43_PHYTYPE_LCN40:
+               if (rev == 33)
+-                      filename = /*(DEBLOBBED)*/;
++                      filename = "/*(DEBLOBBED)*/";
+               break;
+       case B43_PHYTYPE_AC:
+               if (rev == 42)
+-                      filename = /*(DEBLOBBED)*/;
++                      filename = "/*(DEBLOBBED)*/";
+               else if (rev == 40)
+-                      filename = /*(DEBLOBBED)*/;
++                      filename = "/*(DEBLOBBED)*/";
+               break;
+       }
+       if (!filename)
+diff --git linux-libre-4.4-gnu1/drivers/net/wireless/b43legacy/main.c linux-libre-4.4-gnu1/drivers/net/wireless/b43legacy/main.c
+index 2f03d6790484..7d2a49e696bc 100644
+--- linux-libre-4.4-gnu1/drivers/net/wireless/b43legacy/main.c
++++ linux-libre-4.4-gnu1/drivers/net/wireless/b43legacy/main.c
+@@ -1597,20 +1597,20 @@ static void b43legacy_request_firmware(struct work_struct *work)
+       if (!fw->ucode) {
+               if (rev == 2)
+-                      filename = /*(DEBLOBBED)*/;
++                      filename = "/*(DEBLOBBED)*/";
+               else if (rev == 4)
+-                      filename = /*(DEBLOBBED)*/;
++                      filename = "/*(DEBLOBBED)*/";
+               else
+-                      filename = "ucode5";
++                      filename = "/*(DEBLOBBED)*/";
+               err = do_request_fw(dev, filename, &fw->ucode, true);
+               if (err)
+                       goto err_load;
+       }
+       if (!fw->pcm) {
+               if (rev < 5)
+-                      filename = /*(DEBLOBBED)*/;
++                      filename = "/*(DEBLOBBED)*/";
+               else
+-                      filename = /*(DEBLOBBED)*/;
++                      filename = "/*(DEBLOBBED)*/";
+               err = do_request_fw(dev, filename, &fw->pcm, false);
+               if (err)
+                       goto err_load;
+@@ -1620,9 +1620,9 @@ static void b43legacy_request_firmware(struct work_struct *work)
+               case B43legacy_PHYTYPE_B:
+               case B43legacy_PHYTYPE_G:
+                       if ((rev >= 5) && (rev <= 10))
+-                              filename = "b0g0initvals5";
++                              filename = "/*(DEBLOBBED)*/";
+                       else if (rev == 2 || rev == 4)
+-                              filename = /*(DEBLOBBED)*/;
++                              filename = "/*(DEBLOBBED)*/";
+                       else
+                               goto err_no_initvals;
+                       break;
+@@ -1638,7 +1638,7 @@ static void b43legacy_request_firmware(struct work_struct *work)
+               case B43legacy_PHYTYPE_B:
+               case B43legacy_PHYTYPE_G:
+                       if ((rev >= 5) && (rev <= 10))
+-                              filename = "b0g0bsinitvals5";
++                              filename = "/*(DEBLOBBED)*/";
+                       else if (rev >= 11)
+                               filename = NULL;
+                       else if (rev == 2 || rev == 4)
diff --git a/sources-4.4-gnu1-4.4-gnu1b.patch.sign b/sources-4.4-gnu1-4.4-gnu1b.patch.sign
new file mode 100644 (file)
index 0000000..8881af8
--- /dev/null
@@ -0,0 +1,6 @@
+-----BEGIN PGP SIGNATURE-----
+
+iF0EABECAB0WIQRHRALIxYLa++OJxCe8t8+Hfn1HpwUCYS728wAKCRC8t8+Hfn1H
+pyraAJ43JZ+aO7MifEGeUMtNQgp3jyIohACgmcwm3jBZ2skcUvSgGoGPZYnY/qY=
+=Xv4j
+-----END PGP SIGNATURE-----
diff --git a/sources-4.4-gnu1a-4.4-gnu1b.patch b/sources-4.4-gnu1a-4.4-gnu1b.patch
new file mode 100644 (file)
index 0000000..6914ba3
--- /dev/null
@@ -0,0 +1,51 @@
+diff --git linux-libre-4.4-gnu1/drivers/net/wireless/b43legacy/main.c linux-libre-4.4-gnu1/drivers/net/wireless/b43legacy/main.c
+index 2f03d6790484..7d2a49e696bc 100644
+--- linux-libre-4.4-gnu1/drivers/net/wireless/b43legacy/main.c
++++ linux-libre-4.4-gnu1/drivers/net/wireless/b43legacy/main.c
+@@ -1597,20 +1597,20 @@ static void b43legacy_request_firmware(struct work_struct *work)
+       if (!fw->ucode) {
+               if (rev == 2)
+-                      filename = /*(DEBLOBBED)*/;
++                      filename = "/*(DEBLOBBED)*/";
+               else if (rev == 4)
+-                      filename = /*(DEBLOBBED)*/;
++                      filename = "/*(DEBLOBBED)*/";
+               else
+-                      filename = "ucode5";
++                      filename = "/*(DEBLOBBED)*/";
+               err = do_request_fw(dev, filename, &fw->ucode, true);
+               if (err)
+                       goto err_load;
+       }
+       if (!fw->pcm) {
+               if (rev < 5)
+-                      filename = /*(DEBLOBBED)*/;
++                      filename = "/*(DEBLOBBED)*/";
+               else
+-                      filename = /*(DEBLOBBED)*/;
++                      filename = "/*(DEBLOBBED)*/";
+               err = do_request_fw(dev, filename, &fw->pcm, false);
+               if (err)
+                       goto err_load;
+@@ -1620,9 +1620,9 @@ static void b43legacy_request_firmware(struct work_struct *work)
+               case B43legacy_PHYTYPE_B:
+               case B43legacy_PHYTYPE_G:
+                       if ((rev >= 5) && (rev <= 10))
+-                              filename = "b0g0initvals5";
++                              filename = "/*(DEBLOBBED)*/";
+                       else if (rev == 2 || rev == 4)
+-                              filename = /*(DEBLOBBED)*/;
++                              filename = "/*(DEBLOBBED)*/";
+                       else
+                               goto err_no_initvals;
+                       break;
+@@ -1638,7 +1638,7 @@ static void b43legacy_request_firmware(struct work_struct *work)
+               case B43legacy_PHYTYPE_B:
+               case B43legacy_PHYTYPE_G:
+                       if ((rev >= 5) && (rev <= 10))
+-                              filename = "b0g0bsinitvals5";
++                              filename = "/*(DEBLOBBED)*/";
+                       else if (rev >= 11)
+                               filename = NULL;
+                       else if (rev == 2 || rev == 4)
diff --git a/sources-4.4-gnu1a-4.4-gnu1b.patch.sign b/sources-4.4-gnu1a-4.4-gnu1b.patch.sign
new file mode 100644 (file)
index 0000000..65fa3ef
--- /dev/null
@@ -0,0 +1,6 @@
+-----BEGIN PGP SIGNATURE-----
+
+iF0EABECAB0WIQRHRALIxYLa++OJxCe8t8+Hfn1HpwUCYS728wAKCRC8t8+Hfn1H
+p5VQAJwMOn3nqEHEOBaLDe6Kf+teeR/A4ACgo4KR43mkt74U0GC9k0/WF9PChWY=
+=FonP
+-----END PGP SIGNATURE-----