diff --git a/kernel/drivers/module-bbswitch/pspec.xml b/kernel/drivers/module-bbswitch/pspec.xml
index b1c41357..91f0f532 100644
--- a/kernel/drivers/module-bbswitch/pspec.xml
+++ b/kernel/drivers/module-bbswitch/pspec.xml
@@ -13,7 +13,7 @@
Kernel module allowing to switch dedicated graphics card on Optimus laptops
kernel module allowing to switch dedicated graphics card on Optimus laptops
- kernel-module-headers
+ kernel-module-headers
https://github.com/Bumblebee-Project/bbswitch/archive/v0.8.tar.gz
@@ -24,7 +24,7 @@
module-bbswitch
- kernel
+ kernel
bbswitch-common
@@ -62,6 +62,13 @@
+
+ 2021-01-29
+ 0.8
+ Rebuild.
+ Mustafa Cinasal
+ muscnsl@gmail.com
+
2021-01-06
0.8
diff --git a/kernel/drivers/module-broadcom-wl/pspec.xml b/kernel/drivers/module-broadcom-wl/pspec.xml
index e33cea1a..d9476ef0 100755
--- a/kernel/drivers/module-broadcom-wl/pspec.xml
+++ b/kernel/drivers/module-broadcom-wl/pspec.xml
@@ -15,7 +15,7 @@
https://docs.broadcom.com/docs-and-downloads/docs/linux_sta/hybrid-v35-nodebug-pcoem-6_30_223_271.tar.gz
https://docs.broadcom.com/docs-and-downloads/docs/linux_sta/hybrid-v35_64-nodebug-pcoem-6_30_223_271.tar.gz
- kernel-module-headers
+ kernel-module-headers
broadcom-wl-6.30.223.271-debian-fix-kernel-warnings.patch
@@ -41,7 +41,7 @@
module-broadcom-wl
- kernel
+ kernel
module-broadcom-wl-userspace
@@ -70,6 +70,13 @@
+
+ 2021-01-29
+ 6.30.223.271
+ Rebuild.
+ Mustafa Cinasal
+ muscnsl@gmail.com
+
2021-01-06
6.30.223.271
diff --git a/kernel/drivers/module-virtualbox-guest/pspec.xml b/kernel/drivers/module-virtualbox-guest/pspec.xml
index 1de88e10..c65ec469 100644
--- a/kernel/drivers/module-virtualbox-guest/pspec.xml
+++ b/kernel/drivers/module-virtualbox-guest/pspec.xml
@@ -14,7 +14,7 @@
This package provides the kernel modules needed for mouse integration and shared folder support between VirtualBox host and guest systems.
https://sourceforge.net/projects/pisilinux/files/source/module-virtualbox-guest-6.1.16.tar.xz
- kernel-module-headers
+ kernel-module-headers
@@ -24,7 +24,7 @@
module-virtualbox-guest
- kernel
+ kernel
baselayout
module-virtualbox-guest-userspace
@@ -55,6 +55,13 @@
+
+ 2021-01-29
+ 6.1.16
+ Rebuild.
+ Mustafa Cinasal
+ muscnsl@gmail.com
+
2021-01-06
6.1.16
diff --git a/kernel/drivers/module-virtualbox/pspec.xml b/kernel/drivers/module-virtualbox/pspec.xml
index db5f6b1c..59ab5122 100644
--- a/kernel/drivers/module-virtualbox/pspec.xml
+++ b/kernel/drivers/module-virtualbox/pspec.xml
@@ -14,7 +14,7 @@
This package provides the kernel support for VirtualBox.
https://sourceforge.net/projects/pisilinux/files/source/module-virtualbox-6.1.16.tar.xz
- kernel-module-headers
+ kernel-module-headers
@@ -45,7 +45,7 @@
module-ndiswrapper
- kernel
+ kernel
ndiswrapper-common
diff --git a/kernel/tools/cpupowertools/files/patches/linux/patch-5.10.11.xz b/kernel/tools/cpupowertools/files/patches/linux/patch-5.10.11.xz
new file mode 100644
index 00000000..93aadcd3
Binary files /dev/null and b/kernel/tools/cpupowertools/files/patches/linux/patch-5.10.11.xz differ
diff --git a/kernel/tools/cpupowertools/files/patches/mageia/3rd-fix-kconfig.patch b/kernel/tools/cpupowertools/files/patches/mageia/3rd-fix-kconfig.patch
index a513aa07..6d1a4406 100644
--- a/kernel/tools/cpupowertools/files/patches/mageia/3rd-fix-kconfig.patch
+++ b/kernel/tools/cpupowertools/files/patches/mageia/3rd-fix-kconfig.patch
@@ -42,4 +42,4 @@ diff -up ./3rdparty/viahss/Kconfig.tv ./3rdparty/viahss/Kconfig
+ help
VIA High Speed Serial is a little kernel module (1 KB) which enables
high speed serial port modes of VIA VT82C686A or VT82C686B
- southbridge-equipped motherboards. With this module, you can use the
\ No newline at end of file
+ southbridge-equipped motherboards. With this module, you can use the
diff --git a/kernel/tools/cpupowertools/files/patches/mageia/3rd-rtl8821ce-kernel-5.10.patch b/kernel/tools/cpupowertools/files/patches/mageia/3rd-rtl8821ce-kernel-5.10.patch
new file mode 100644
index 00000000..08005840
--- /dev/null
+++ b/kernel/tools/cpupowertools/files/patches/mageia/3rd-rtl8821ce-kernel-5.10.patch
@@ -0,0 +1,162 @@
+diff -urp linux-5.10/3rdparty/rtl8821ce.orig/core/rtw_btcoex.c linux-5.10/3rdparty/rtl8821ce/core/rtw_btcoex.c
+--- linux-5.10/3rdparty/rtl8821ce.orig/core/rtw_btcoex.c 2021-01-19 22:18:00.924067581 +0200
++++ linux-5.10/3rdparty/rtl8821ce/core/rtw_btcoex.c 2021-01-19 22:22:20.057518961 +0200
+@@ -1474,15 +1474,20 @@ u8 rtw_btcoex_sendmsgbysocket(_adapter *
+ udpmsg.msg_control = NULL;
+ udpmsg.msg_controllen = 0;
+ udpmsg.msg_flags = MSG_DONTWAIT | MSG_NOSIGNAL;
++
++#if (LINUX_VERSION_CODE < KERNEL_VERSION(5, 10, 0))
+ oldfs = get_fs();
+ set_fs(KERNEL_DS);
++#endif
+
+ #if (LINUX_VERSION_CODE >= KERNEL_VERSION(4, 1, 0))
+ error = sock_sendmsg(pcoex_info->udpsock, &udpmsg);
+ #else
+ error = sock_sendmsg(pcoex_info->udpsock, &udpmsg, msg_size);
+ #endif
++#if (LINUX_VERSION_CODE < KERNEL_VERSION(5, 10, 0))
+ set_fs(oldfs);
++#endif
+ if (error < 0) {
+ RTW_INFO("Error when sendimg msg, error:%d\n", error);
+ return _FAIL;
+diff -urp linux-5.10/3rdparty/rtl8821ce.orig/core/rtw_wlan_util.c linux-5.10/3rdparty/rtl8821ce/core/rtw_wlan_util.c
+--- linux-5.10/3rdparty/rtl8821ce.orig/core/rtw_wlan_util.c 2021-01-19 22:18:00.937068206 +0200
++++ linux-5.10/3rdparty/rtl8821ce/core/rtw_wlan_util.c 2021-01-19 22:22:20.067519442 +0200
+@@ -4751,8 +4751,10 @@ int rtw_dev_nlo_info_set(struct pno_nlo_
+ return 0;
+ }
+
++#if (LINUX_VERSION_CODE <= KERNEL_VERSION(5, 10, 0))
+ fs = get_fs();
+ set_fs(KERNEL_DS);
++#endif
+
+ source = rtw_zmalloc(2048);
+
+@@ -4762,7 +4764,9 @@ int rtw_dev_nlo_info_set(struct pno_nlo_
+ rtw_mfree(source, 2048);
+ }
+
++#if (LINUX_VERSION_CODE <= KERNEL_VERSION(5, 10, 0))
+ set_fs(fs);
++#endif
+ filp_close(fp, NULL);
+
+ RTW_INFO("-%s-\n", __func__);
+diff -urp linux-5.10/3rdparty/rtl8821ce.orig/os_dep/linux/os_intfs.c linux-5.10/3rdparty/rtl8821ce/os_dep/linux/os_intfs.c
+--- linux-5.10/3rdparty/rtl8821ce.orig/os_dep/linux/os_intfs.c 2021-01-19 22:18:01.078074981 +0200
++++ linux-5.10/3rdparty/rtl8821ce/os_dep/linux/os_intfs.c 2021-01-19 22:22:20.068519490 +0200
+@@ -4008,14 +4008,18 @@ static int route_dump(u32 *gw_addr , int
+ msg.msg_controllen = 0;
+ msg.msg_flags = MSG_DONTWAIT;
+
++#if (LINUX_VERSION_CODE < KERNEL_VERSION(5, 10, 0))
+ oldfs = get_fs();
+ set_fs(KERNEL_DS);
++#endif
+ #if (LINUX_VERSION_CODE >= KERNEL_VERSION(4, 1, 0))
+ err = sock_sendmsg(sock, &msg);
+ #else
+ err = sock_sendmsg(sock, &msg, sizeof(req));
+ #endif
++#if (LINUX_VERSION_CODE < KERNEL_VERSION(5, 10, 0))
+ set_fs(oldfs);
++#endif
+
+ if (err < 0)
+ goto out_sock;
+@@ -4040,14 +4044,18 @@ restart:
+ iov_iter_init(&msg.msg_iter, READ, &iov, 1, PAGE_SIZE);
+ #endif
+
++#if (LINUX_VERSION_CODE < KERNEL_VERSION(5, 10, 0))
+ oldfs = get_fs();
+ set_fs(KERNEL_DS);
++#endif
+ #if (LINUX_VERSION_CODE >= KERNEL_VERSION(4, 7, 0))
+ err = sock_recvmsg(sock, &msg, MSG_DONTWAIT);
+ #else
+ err = sock_recvmsg(sock, &msg, PAGE_SIZE, MSG_DONTWAIT);
+ #endif
++#if (LINUX_VERSION_CODE < KERNEL_VERSION(5, 10, 0))
+ set_fs(oldfs);
++#endif
+
+ if (err < 0)
+ goto out_sock_pg;
+@@ -4118,14 +4126,18 @@ done:
+ msg.msg_controllen = 0;
+ msg.msg_flags = MSG_DONTWAIT;
+
++#if (LINUX_VERSION_CODE < KERNEL_VERSION(5, 10, 0))
+ oldfs = get_fs();
+ set_fs(KERNEL_DS);
++#endif
+ #if (LINUX_VERSION_CODE >= KERNEL_VERSION(4, 1, 0))
+ err = sock_sendmsg(sock, &msg);
+ #else
+ err = sock_sendmsg(sock, &msg, sizeof(req));
+ #endif
++#if (LINUX_VERSION_CODE < KERNEL_VERSION(5, 10, 0))
+ set_fs(oldfs);
++#endif
+
+ if (err > 0)
+ goto restart;
+diff -urp linux-5.10/3rdparty/rtl8821ce.orig/os_dep/osdep_service.c linux-5.10/3rdparty/rtl8821ce/os_dep/osdep_service.c
+--- linux-5.10/3rdparty/rtl8821ce.orig/os_dep/osdep_service.c 2021-01-19 22:18:01.081075125 +0200
++++ linux-5.10/3rdparty/rtl8821ce/os_dep/osdep_service.c 2021-01-19 22:22:20.068519490 +0200
+@@ -2200,8 +2200,10 @@ static int isFileReadable(const char *pa
+ if (IS_ERR(fp))
+ ret = PTR_ERR(fp);
+ else {
++ #if (LINUX_VERSION_CODE < KERNEL_VERSION(5, 10, 0))
+ oldfs = get_fs();
+ set_fs(KERNEL_DS);
++ #endif
+
+ if (1 != readFile(fp, &buf, 1))
+ ret = PTR_ERR(fp);
+@@ -2214,7 +2216,9 @@ static int isFileReadable(const char *pa
+ #endif
+ }
+
++#if (LINUX_VERSION_CODE < KERNEL_VERSION(5, 10, 0))
+ set_fs(oldfs);
++#endif
+ filp_close(fp, NULL);
+ }
+ return ret;
+@@ -2238,10 +2242,14 @@ static int retriveFromFile(const char *p
+ if (0 == ret) {
+ RTW_INFO("%s openFile path:%s fp=%p\n", __FUNCTION__, path , fp);
+
++ #if (LINUX_VERSION_CODE < KERNEL_VERSION(5, 10, 0))
+ oldfs = get_fs();
+ set_fs(KERNEL_DS);
++ #endif
+ ret = readFile(fp, buf, sz);
++ #if (LINUX_VERSION_CODE < KERNEL_VERSION(5, 10, 0))
+ set_fs(oldfs);
++ #endif
+ closeFile(fp);
+
+ RTW_INFO("%s readFile, ret:%d\n", __FUNCTION__, ret);
+@@ -2273,10 +2281,14 @@ static int storeToFile(const char *path,
+ if (0 == ret) {
+ RTW_INFO("%s openFile path:%s fp=%p\n", __FUNCTION__, path , fp);
+
++ #if (LINUX_VERSION_CODE < KERNEL_VERSION(5, 10, 0))
+ oldfs = get_fs();
+ set_fs(KERNEL_DS);
++ #endif
+ ret = writeFile(fp, buf, sz);
++ #if (LINUX_VERSION_CODE < KERNEL_VERSION(5, 10, 0))
+ set_fs(oldfs);
++ #endif
+ closeFile(fp);
+
+ RTW_INFO("%s writeFile, ret:%d\n", __FUNCTION__, ret);
diff --git a/kernel/tools/cpupowertools/pspec.xml b/kernel/tools/cpupowertools/pspec.xml
index a388e5ed..4d5e7f8e 100644
--- a/kernel/tools/cpupowertools/pspec.xml
+++ b/kernel/tools/cpupowertools/pspec.xml
@@ -18,7 +18,7 @@
- patches/linux/patch-5.10.5.xz
+ patches/linux/patch-5.10.11.xz
patches/mageia/fs-aufs5.10.patch
patches/mageia/fs-aufs5.10-symbol-exports.patch
@@ -55,6 +55,7 @@
patches/mageia/3rd-rtl8821ce.patch
patches/mageia/3rd-rtl8821ce-Kconfig-Makefile.patch
patches/mageia/3rd-rtl8821ce-5.8-fix.patch
+ patches/mageia/3rd-rtl8821ce-kernel-5.10.patch
patches/mageia/3rd-fix-kconfig.patch
@@ -87,6 +88,13 @@
+
+ 2021-01-29
+ 5.10.11
+ Version bump
+ Mustafa Cinasal
+ muscnsl@gmail.com
+
2021-01-06
5.10.5