kernel-release 5.7.6-1 (znver1;x86_64) 2020-11954
9999

Status published
Submitter benbullard79 [@T] cox.net
Platform rolling
Repository main
URL https://abf.openmandriva.org/build_lists/786316
Packages
bpftool-5.7.6-1.znver1.binary
cpupower-5.7.6-1.znver1.binary
cpupower-devel-5.7.6-1.znver1.binary
cross-aarch64-openmandriva-linux-android-kernel-release-headers-5.7.6-1.znver1.binary
cross-aarch64-openmandriva-linux-gnu-kernel-release-headers-5.7.6-1.znver1.binary
cross-aarch64-openmandriva-linux-musl-kernel-release-headers-5.7.6-1.znver1.binary
cross-armv7hnl-openmandriva-linux-gnueabihf-kernel-release-headers-5.7.6-1.znver1.binary
cross-armv7hnl-openmandriva-linux-musleabihf-kernel-release-headers-5.7.6-1.znver1.binary
cross-armv7l-openmandriva-linux-androideabi-kernel-release-headers-5.7.6-1.znver1.binary
cross-armv8l-openmandriva-linux-androideabi-kernel-release-headers-5.7.6-1.znver1.binary
cross-i686-openmandriva-linux-gnu-kernel-release-headers-5.7.6-1.znver1.binary
cross-i686-openmandriva-linux-musl-kernel-release-headers-5.7.6-1.znver1.binary
cross-riscv32-openmandriva-linux-gnu-kernel-release-headers-5.7.6-1.znver1.binary
cross-riscv32-openmandriva-linux-musl-kernel-release-headers-5.7.6-1.znver1.binary
cross-riscv64-openmandriva-linux-gnu-kernel-release-headers-5.7.6-1.znver1.binary
cross-riscv64-openmandriva-linux-musl-kernel-release-headers-5.7.6-1.znver1.binary
cross-x86_64-openmandriva-linux-android-kernel-release-headers-5.7.6-1.znver1.binary
cross-x86_64-openmandriva-linux-gnux32-kernel-release-headers-5.7.6-1.znver1.binary
cross-x86_64-openmandriva-linux-musl-kernel-release-headers-5.7.6-1.znver1.binary
cross-x86_64-openmandriva-linux-muslx32-kernel-release-headers-5.7.6-1.znver1.binary
kernel-release-5.7.6-1.znver1.source
kernel-release-desktop-5.7.6-1.znver1.binary
kernel-release-desktop-devel-5.7.6-1.znver1.binary
kernel-release-headers-1:5.7.6-1.znver1.binary
kernel-release-server-5.7.6-1.znver1.binary
kernel-release-server-devel-5.7.6-1.znver1.binary
kernel-release-source-5.7.6-1.znver1.binary
lib64bpf0-5.7.6-1.znver1.binary
lib64bpf-devel-5.7.6-1.znver1.binary
turbostat-5.7.6-1.znver1.binary
x86_energy_perf_policy-5.7.6-1.znver1.binary
bpftool-5.7.6-1.x86_64.binary
cpupower-5.7.6-1.x86_64.binary
cpupower-devel-5.7.6-1.x86_64.binary
cross-aarch64-openmandriva-linux-android-kernel-release-headers-5.7.6-1.x86_64.binary
cross-aarch64-openmandriva-linux-gnu-kernel-release-headers-5.7.6-1.x86_64.binary
cross-aarch64-openmandriva-linux-musl-kernel-release-headers-5.7.6-1.x86_64.binary
cross-armv7hnl-openmandriva-linux-gnueabihf-kernel-release-headers-5.7.6-1.x86_64.binary
cross-armv7hnl-openmandriva-linux-musleabihf-kernel-release-headers-5.7.6-1.x86_64.binary
cross-armv7l-openmandriva-linux-androideabi-kernel-release-headers-5.7.6-1.x86_64.binary
cross-armv8l-openmandriva-linux-androideabi-kernel-release-headers-5.7.6-1.x86_64.binary
cross-i686-openmandriva-linux-gnu-kernel-release-headers-5.7.6-1.x86_64.binary
cross-i686-openmandriva-linux-musl-kernel-release-headers-5.7.6-1.x86_64.binary
cross-riscv32-openmandriva-linux-gnu-kernel-release-headers-5.7.6-1.x86_64.binary
cross-riscv32-openmandriva-linux-musl-kernel-release-headers-5.7.6-1.x86_64.binary
cross-riscv64-openmandriva-linux-gnu-kernel-release-headers-5.7.6-1.x86_64.binary
cross-riscv64-openmandriva-linux-musl-kernel-release-headers-5.7.6-1.x86_64.binary
cross-x86_64-openmandriva-linux-android-kernel-release-headers-5.7.6-1.x86_64.binary
cross-x86_64-openmandriva-linux-gnux32-kernel-release-headers-5.7.6-1.x86_64.binary
cross-x86_64-openmandriva-linux-musl-kernel-release-headers-5.7.6-1.x86_64.binary
cross-x86_64-openmandriva-linux-muslx32-kernel-release-headers-5.7.6-1.x86_64.binary
kernel-release-5.7.6-1.x86_64.source
kernel-release-desktop-5.7.6-1.x86_64.binary
kernel-release-desktop-devel-5.7.6-1.x86_64.binary
kernel-release-headers-1:5.7.6-1.x86_64.binary
kernel-release-server-5.7.6-1.x86_64.binary
kernel-release-server-devel-5.7.6-1.x86_64.binary
kernel-release-source-5.7.6-1.x86_64.binary
lib64bpf0-5.7.6-1.x86_64.binary
lib64bpf-devel-5.7.6-1.x86_64.binary
turbostat-5.7.6-1.x86_64.binary
x86_energy_perf_policy-5.7.6-1.x86_64.binary
Build Date 2020-06-27 04:14:08 +0000 UTC
Last Updated 2020-06-29 19:31:50.899292161 +0000 UTC
$ git diff --patch-with-stat --summary 9a72a400e3a59210c69ac2f9c335a9f92de7f1aa..7d043cff69a1381876bcecf233e42839dfc10f57

 .abf.yml                                           |   2 +-
 ...-6602f080cb28745259e2fab1a4cf55eeb5894f93.patch | 166 +++++++++++++++++++++
 kernel-release.spec                                |  10 +-
 socket.h-include-bitsperlong.h.patch               |  11 ++
 4 files changed, 186 insertions(+), 3 deletions(-)
 create mode 100644 01-revert-6602f080cb28745259e2fab1a4cf55eeb5894f93.patch
 create mode 100644 socket.h-include-bitsperlong.h.patch

diff --git a/.abf.yml b/.abf.yml
index 6cc6ae7..c660bda 100644
--- a/.abf.yml
+++ b/.abf.yml
@@ -3,4 +3,4 @@ sources:
   saa716x-driver.tar.xz: f9b6ef1cd6f1f71f53d9a8aadfba2cf6b5c3d7b6
   linux-5.7.tar.xz: 07e40057b78f1c9dd2b042056325d99fcf9f8a08
   linux-5.7.tar.sign: 9bdcc9e48ee0eca0baa8118b9a10ba2eda64363e
-  patch-5.7.4.xz: 5c55717fb519216e9777d81be6b3a4618ee3d5b3
+  patch-5.7.6.xz: 8a9b3bafa34bedf15a67ab8b5fed6b4d033e3bbb
diff --git a/01-revert-6602f080cb28745259e2fab1a4cf55eeb5894f93.patch b/01-revert-6602f080cb28745259e2fab1a4cf55eeb5894f93.patch
new file mode 100644
index 0000000..d527b7c
--- /dev/null
+++ b/01-revert-6602f080cb28745259e2fab1a4cf55eeb5894f93.patch
@@ -0,0 +1,166 @@
+diff --git a/drivers/net/wireless/ath/ath9k/hif_usb.c b/drivers/net/wireless/ath/ath9k/hif_usb.c
+index 4ed21dad6a8e..6049d3766c64 100644
+--- a/drivers/net/wireless/ath/ath9k/hif_usb.c
++++ b/drivers/net/wireless/ath/ath9k/hif_usb.c
+@@ -643,9 +643,9 @@ static void ath9k_hif_usb_rx_stream(struct hif_device_usb *hif_dev,
+ 
+ static void ath9k_hif_usb_rx_cb(struct urb *urb)
+ {
+-	struct rx_buf *rx_buf = (struct rx_buf *)urb->context;
+-	struct hif_device_usb *hif_dev = rx_buf->hif_dev;
+-	struct sk_buff *skb = rx_buf->skb;
++	struct sk_buff *skb = (struct sk_buff *) urb->context;
++	struct hif_device_usb *hif_dev =
++		usb_get_intfdata(usb_ifnum_to_if(urb->dev, 0));
+ 	int ret;
+ 
+ 	if (!skb)
+@@ -685,15 +685,14 @@ static void ath9k_hif_usb_rx_cb(struct urb *urb)
+ 	return;
+ free:
+ 	kfree_skb(skb);
+-	kfree(rx_buf);
+ }
+ 
+ static void ath9k_hif_usb_reg_in_cb(struct urb *urb)
+ {
+-	struct rx_buf *rx_buf = (struct rx_buf *)urb->context;
+-	struct hif_device_usb *hif_dev = rx_buf->hif_dev;
+-	struct sk_buff *skb = rx_buf->skb;
++	struct sk_buff *skb = (struct sk_buff *) urb->context;
+ 	struct sk_buff *nskb;
++	struct hif_device_usb *hif_dev =
++		usb_get_intfdata(usb_ifnum_to_if(urb->dev, 0));
+ 	int ret;
+ 
+ 	if (!skb)
+@@ -751,7 +750,6 @@ static void ath9k_hif_usb_reg_in_cb(struct urb *urb)
+ 	return;
+ free:
+ 	kfree_skb(skb);
+-	kfree(rx_buf);
+ 	urb->context = NULL;
+ }
+ 
+@@ -797,7 +795,7 @@ static int ath9k_hif_usb_alloc_tx_urbs(struct hif_device_usb *hif_dev)
+ 	init_usb_anchor(&hif_dev->mgmt_submitted);
+ 
+ 	for (i = 0; i < MAX_TX_URB_NUM; i++) {
+-		tx_buf = kzalloc(sizeof(*tx_buf), GFP_KERNEL);
++		tx_buf = kzalloc(sizeof(struct tx_buf), GFP_KERNEL);
+ 		if (!tx_buf)
+ 			goto err;
+ 
+@@ -834,9 +832,8 @@ static void ath9k_hif_usb_dealloc_rx_urbs(struct hif_device_usb *hif_dev)
+ 
+ static int ath9k_hif_usb_alloc_rx_urbs(struct hif_device_usb *hif_dev)
+ {
+-	struct rx_buf *rx_buf = NULL;
+-	struct sk_buff *skb = NULL;
+ 	struct urb *urb = NULL;
++	struct sk_buff *skb = NULL;
+ 	int i, ret;
+ 
+ 	init_usb_anchor(&hif_dev->rx_submitted);
+@@ -844,12 +841,6 @@ static int ath9k_hif_usb_alloc_rx_urbs(struct hif_device_usb *hif_dev)
+ 
+ 	for (i = 0; i < MAX_RX_URB_NUM; i++) {
+ 
+-		rx_buf = kzalloc(sizeof(*rx_buf), GFP_KERNEL);
+-		if (!rx_buf) {
+-			ret = -ENOMEM;
+-			goto err_rxb;
+-		}
+-
+ 		/* Allocate URB */
+ 		urb = usb_alloc_urb(0, GFP_KERNEL);
+ 		if (urb == NULL) {
+@@ -864,14 +855,11 @@ static int ath9k_hif_usb_alloc_rx_urbs(struct hif_device_usb *hif_dev)
+ 			goto err_skb;
+ 		}
+ 
+-		rx_buf->hif_dev = hif_dev;
+-		rx_buf->skb = skb;
+-
+ 		usb_fill_bulk_urb(urb, hif_dev->udev,
+ 				  usb_rcvbulkpipe(hif_dev->udev,
+ 						  USB_WLAN_RX_PIPE),
+ 				  skb->data, MAX_RX_BUF_SIZE,
+-				  ath9k_hif_usb_rx_cb, rx_buf);
++				  ath9k_hif_usb_rx_cb, skb);
+ 
+ 		/* Anchor URB */
+ 		usb_anchor_urb(urb, &hif_dev->rx_submitted);
+@@ -897,8 +885,6 @@ static int ath9k_hif_usb_alloc_rx_urbs(struct hif_device_usb *hif_dev)
+ err_skb:
+ 	usb_free_urb(urb);
+ err_urb:
+-	kfree(rx_buf);
+-err_rxb:
+ 	ath9k_hif_usb_dealloc_rx_urbs(hif_dev);
+ 	return ret;
+ }
+@@ -910,21 +896,14 @@ static void ath9k_hif_usb_dealloc_reg_in_urbs(struct hif_device_usb *hif_dev)
+ 
+ static int ath9k_hif_usb_alloc_reg_in_urbs(struct hif_device_usb *hif_dev)
+ {
+-	struct rx_buf *rx_buf = NULL;
+-	struct sk_buff *skb = NULL;
+ 	struct urb *urb = NULL;
++	struct sk_buff *skb = NULL;
+ 	int i, ret;
+ 
+ 	init_usb_anchor(&hif_dev->reg_in_submitted);
+ 
+ 	for (i = 0; i < MAX_REG_IN_URB_NUM; i++) {
+ 
+-		rx_buf = kzalloc(sizeof(*rx_buf), GFP_KERNEL);
+-		if (!rx_buf) {
+-			ret = -ENOMEM;
+-			goto err_rxb;
+-		}
+-
+ 		/* Allocate URB */
+ 		urb = usb_alloc_urb(0, GFP_KERNEL);
+ 		if (urb == NULL) {
+@@ -939,14 +918,11 @@ static int ath9k_hif_usb_alloc_reg_in_urbs(struct hif_device_usb *hif_dev)
+ 			goto err_skb;
+ 		}
+ 
+-		rx_buf->hif_dev = hif_dev;
+-		rx_buf->skb = skb;
+-
+ 		usb_fill_int_urb(urb, hif_dev->udev,
+ 				  usb_rcvintpipe(hif_dev->udev,
+ 						  USB_REG_IN_PIPE),
+ 				  skb->data, MAX_REG_IN_BUF_SIZE,
+-				  ath9k_hif_usb_reg_in_cb, rx_buf, 1);
++				  ath9k_hif_usb_reg_in_cb, skb, 1);
+ 
+ 		/* Anchor URB */
+ 		usb_anchor_urb(urb, &hif_dev->reg_in_submitted);
+@@ -972,8 +948,6 @@ static int ath9k_hif_usb_alloc_reg_in_urbs(struct hif_device_usb *hif_dev)
+ err_skb:
+ 	usb_free_urb(urb);
+ err_urb:
+-	kfree(rx_buf);
+-err_rxb:
+ 	ath9k_hif_usb_dealloc_reg_in_urbs(hif_dev);
+ 	return ret;
+ }
+diff --git a/drivers/net/wireless/ath/ath9k/hif_usb.h b/drivers/net/wireless/ath/ath9k/hif_usb.h
+index 5985aa15ca93..a94e7e1c86e9 100644
+--- a/drivers/net/wireless/ath/ath9k/hif_usb.h
++++ b/drivers/net/wireless/ath/ath9k/hif_usb.h
+@@ -86,11 +86,6 @@ struct tx_buf {
+ 	struct list_head list;
+ };
+ 
+-struct rx_buf {
+-	struct sk_buff *skb;
+-	struct hif_device_usb *hif_dev;
+-};
+-
+ #define HIF_USB_TX_STOP  BIT(0)
+ #define HIF_USB_TX_FLUSH BIT(1)
+ 
diff --git a/kernel-release.spec b/kernel-release.spec
index b4b0b2b..5bd013b 100644
--- a/kernel-release.spec
+++ b/kernel-release.spec
@@ -18,7 +18,7 @@
 # compose tar.xz name and release
 %define kernelversion	5
 %define patchlevel	7
-%define sublevel	4
+%define sublevel	6
 %define relc		%{nil}
 # Only ever wrong on x.0 releases...
 %define previous	%{kernelversion}.%(echo $((%{patchlevel}-1)))
@@ -87,7 +87,7 @@
 %bcond_with cross_headers
 %endif
 
-%global cross_header_archs	aarch64-linux armv7hnl-linux i686-linux x86_64-linux x32-linux riscv32-linux riscv64-linux aarch64-linuxmusl armv7hnl-linuxmusl i686-linuxmusl x86_64-linuxmusl x32-linuxmusl riscv32-linuxmusl riscv64-linuxmusl aarch64-android armv7l-android armv8l-android
+%global cross_header_archs	aarch64-linux armv7hnl-linux i686-linux x86_64-linux x32-linux riscv32-linux riscv64-linux aarch64-linuxmusl armv7hnl-linuxmusl i686-linuxmusl x86_64-linuxmusl x32-linuxmusl riscv32-linuxmusl riscv64-linuxmusl aarch64-android armv7l-android armv8l-android x86_64-android aarch64-linuxuclibc armv7hnl-linuxuclibc i686-linuxuclibc x86_64-linuxuclibc x32-linuxuclibc riscv32-linuxuclibc riscv64-linuxuclibc
 %global long_cross_header_archs %(
 	for i in %{cross_header_archs}; do
 		CPU=$(echo $i |cut -d- -f1)
@@ -236,6 +236,8 @@ Patch6:		linux-5.2.9-riscv-compile.patch
 # error: Illegal char ']' (0x5d) in: 1.2.1[50983]_custom
 # caused by aacraid versioning ("1.2.1[50983]-custom")
 Patch7:		aacraid-dont-freak-out-dependency-generator.patch
+# Make uClibc-ng happy
+Patch8:		socket.h-include-bitsperlong.h.patch
 
 # Patches to VirtualBox and other external modules are
 # pulled in as Source: rather than Patch: because it's arch specific
@@ -352,6 +354,10 @@ Patch810:	linux-5.4.5-fix-build.patch
 Patch812:	linux-5.5-corsair-strafe-quirks.patch
 Patch814:	http://crazy.dev.frugalware.org/smpboot-no-stack-protector-for-gcc10.patch
 
+# crazy reverts, temporary fix, for ath9 driver
+# https://lore.kernel.org/lkml/CAEJqkgjV8p6LtBV8YUGbNb0vYzKOQt4-AMAvYw5mzFr3eicyTg@mail.gmail.com/
+Patch1000:	01-revert-6602f080cb28745259e2fab1a4cf55eeb5894f93.patch
+
 # Defines for the things that are needed for all the kernels
 #
 %define common_desc_kernel The kernel package contains the Linux kernel (vmlinuz), the core of your \
diff --git a/socket.h-include-bitsperlong.h.patch b/socket.h-include-bitsperlong.h.patch
new file mode 100644
index 0000000..d021976
--- /dev/null
+++ b/socket.h-include-bitsperlong.h.patch
@@ -0,0 +1,11 @@
+diff -up linux-5.7/include/uapi/asm-generic/socket.h.omv~ linux-5.7/include/uapi/asm-generic/socket.h
+--- linux-5.7/include/uapi/asm-generic/socket.h.omv~	2020-06-21 14:40:19.478327294 +0200
++++ linux-5.7/include/uapi/asm-generic/socket.h	2020-06-21 14:41:14.638889566 +0200
+@@ -3,6 +3,7 @@
+ #define __ASM_GENERIC_SOCKET_H
+ 
+ #include <linux/posix_types.h>
++#include <asm/bitsperlong.h>
+ #include <asm/sockios.h>
+ 
+ /* For setsockopt(2) */
Not Available

benbullard79 [@T] cox.netNo Comment.1367d 21hrs
benbullard79 [@T] cox.netNo Comment.1367d 21hrs