33 |
# |
# |
34 |
%define kernelversion 5 |
%define kernelversion 5 |
35 |
# WARNING: when patchlevel is bumped, please update drakx/kernel/list_modules.pm for new modules!!! |
# WARNING: when patchlevel is bumped, please update drakx/kernel/list_modules.pm for new modules!!! |
36 |
%define patchlevel 13 |
%define patchlevel 14 |
37 |
# sublevel is now used for -stable patches |
# sublevel is now used for -stable patches |
38 |
%define sublevel 16 |
%define sublevel 5 |
39 |
|
|
40 |
# Package release |
# Package release |
41 |
%define mgarel 1 |
%define mgarel 1 |
307 |
# https://bugs.mageia.org/show_bug.cgi?id=28035 |
# https://bugs.mageia.org/show_bug.cgi?id=28035 |
308 |
Patch1035: revert-module-delay-kobject-uevent-until-after-module-init-.patch |
Patch1035: revert-module-delay-kobject-uevent-until-after-module-init-.patch |
309 |
|
|
|
# amd_nb |
|
|
Patch1040: x86-amd_nb-add-AMD-family-19h-model-50h-PCI-ids.patch |
|
|
|
|
|
# arm |
|
|
Patch1050: arm-dts-add-Raspberry-Pi-400-support.patch |
|
|
|
|
|
# efi |
|
|
Patch1060: x86-efi-Restore-Firmware-IDT-before-calling-ExitBootServices.patch |
|
|
|
|
310 |
### |
### |
311 |
### ACPI |
### ACPI |
312 |
### |
### |
320 |
# backlight fixes |
# backlight fixes |
321 |
Patch1110: ACPI-video-Add-a-quirk-to-force-acpi-video-backlight.patch |
Patch1110: ACPI-video-Add-a-quirk-to-force-acpi-video-backlight.patch |
322 |
|
|
323 |
# ACPI PM fixes (TTL: 5.14) |
# ACPI PM fixes (TTL: 5.15) |
324 |
Patch1130: ACPI-PM-Only-mark-EC-GPE-for-wakeup-on-Intel-systems.patch |
Patch1130: x86-ACPI-State-Optimize-C3-entry-on-AMD-CPUs.patch |
|
Patch1131: ACPI-PM-s2idle-Use-correct-revision-id.patch |
|
|
Patch1132: ACPI-PM-s2idle-Refactor-common-code.patch |
|
|
Patch1133: ACPI-PM-s2idle-Add-support-for-multiple-func-mask.patch |
|
|
Patch1134: ACPI-PM-s2idle-Add-support-for-new-Microsoft-UUID.patch |
|
|
Patch1135: ACPI-PM-Adjust-behavior-for-field-problems-on-AMD-sy.patch |
|
|
Patch1136: ACPI-PM-Add-support-for-upcoming-AMD-uPEP-HID-AMDI007.patch |
|
|
# TTL 5.15 |
|
|
Patch1137: x86-ACPI-State-Optimize-C3-entry-on-AMD-CPUs.patch |
|
325 |
|
|
326 |
### |
### |
327 |
### Block |
### Block |
330 |
# FIXME: Don't know know why this is needed |
# FIXME: Don't know know why this is needed |
331 |
Patch1200: scsi-megaraid-new-sysfs-name.patch |
Patch1200: scsi-megaraid-new-sysfs-name.patch |
332 |
|
|
|
# Looks like fixes from Arnaud, not sure why they're needed |
|
|
Patch1205: ide-pci-sis5513-965.patch |
|
|
|
|
333 |
# adds aliases to support upgrade from old dm-raid45 patch |
# adds aliases to support upgrade from old dm-raid45 patch |
334 |
Patch1215: dm-raid-aliases.patch |
Patch1215: dm-raid-aliases.patch |
335 |
|
|
336 |
# disable floppy autoloading (mga #4696) |
# disable floppy autoloading (mga #4696) |
337 |
Patch1220: block-floppy-disable-pnp-modalias.patch |
Patch1220: block-floppy-disable-pnp-modalias.patch |
338 |
|
|
|
# prefer ata over ide drivers |
|
|
Patch1225: ata-prefer-ata-drivers-over-ide-drivers-when-both-are-built.patch |
|
|
|
|
|
# ahci |
|
|
Patch1230: ahci-Add-support-for-Dell-S140-and-later-controllers.patch |
|
|
|
|
339 |
### |
### |
340 |
### Crypto |
### Crypto |
341 |
### |
### |
348 |
### File-system |
### File-system |
349 |
### |
### |
350 |
|
|
351 |
# aufs diffed from: https://github.com/sfjro/aufs5-linux/tree/aufs5.13 (mga#8314) |
# aufs diffed from: https://github.com/sfjro/aufs5-linux/tree/aufs5.14 (mga#8314) |
352 |
Patch1310: fs-aufs5.13.patch |
Patch1310: fs-aufs5.14.patch |
353 |
# symbol exports needed for modular aufs |
# symbol exports needed for modular aufs |
354 |
Patch1311: fs-aufs5.13-symbol-exports.patch |
Patch1311: fs-aufs5.14-symbol-exports.patch |
355 |
# set aufs tristate |
# set aufs tristate |
356 |
Patch1312: fs-aufs5.13-tristate.patch |
Patch1312: fs-aufs5.14-tristate.patch |
357 |
|
|
358 |
# paragon ntfs rw driver v26 from lkml |
# paragon ntfs rw driver (TTL 5.15) |
359 |
|
# https://github.com/Paragon-Software-Group/linux-ntfs3.git |
360 |
Patch1321: fs-ntfs3-Add-headers-and-misc-files.patch |
Patch1321: fs-ntfs3-Add-headers-and-misc-files.patch |
361 |
Patch1322: fs-ntfs3-Add-initialization-of-super-block.patch |
Patch1322: fs-ntfs3-Add-initialization-of-super-block.patch |
362 |
Patch1323: fs-ntfs3-Add-bitmap.patch |
Patch1323: fs-ntfs3-Add-bitmap.patch |
363 |
Patch1324: fs-ntfs3-add-file-operations-and-implementation.patch |
Patch1324: fs-ntfs3-Add-file-operations-and-implementation.patch |
364 |
Patch1325: fs-ntfs3-Add-attrib-operations.patch |
Patch1325: fs-ntfs3-Add-attrib-operations.patch |
365 |
Patch1326: fs-ntfs3-Add-compression.patch |
Patch1326: fs-ntfs3-Add-compression.patch |
366 |
Patch1327: fs-ntfs3-Add-NTFS-journal.patch |
Patch1327: fs-ntfs3-Add-NTFS-journal.patch |
367 |
Patch1328: fs-ntfs3-Add-Kconfig-Makefile-and-doc.patch |
Patch1328: fs-ntfs3-Add-Kconfig-Makefile-and-doc.patch |
368 |
Patch1329: fs-ntfs3-Add-NTFS3-in-fs-Kconfig-and-fs-Makefile.patch |
Patch1329: fs-ntfs3-Add-NTFS3-in-fs-Kconfig-and-fs-Makefile.patch |
369 |
Patch1330: fs-ntfs3-Add-MAINTAINERS.patch |
Patch1330: fs-ntfs3-Add-MAINTAINERS.patch |
370 |
|
Patch1331: fs-ntfs3-Fix-various-spelling-mistakes.patch |
371 |
|
Patch1332: fs-ntfs3-Use-linux-log2-is_power_of_2-function.patch |
372 |
|
Patch1333: fs-ntfs3-Add-ifndef-define-to-all-header-files.patch |
373 |
|
Patch1334: fs-ntfs3-Fix-integer-overflow-in-multiplication.patch |
374 |
|
Patch1335: fs-ntfs3-Remove-unused-variable-cnt-in-ntfs_security.patch |
375 |
|
Patch1336: fs-ntfs3-Fix-one-none-utf8-char-in-source-file.patch |
376 |
|
Patch1337: fs-ntfs3-Fix-fall-through-warnings-for-Clang.patch |
377 |
|
Patch1338: fs-ntfs3-Remove-unused-including-linux-version.h.patch |
378 |
|
Patch1339: fs-ntfs3-Restyle-comment-block-in-ni_parse_reparse.patch |
379 |
|
Patch1340: fs-ntfs3-Use-kernel-ALIGN-macros-over-driver-specifi.patch |
380 |
|
Patch1341: fs-ntfs3-Do-not-use-driver-own-alloc-wrappers.patch |
381 |
|
Patch1342: fs-ntfs3-Use-kcalloc-kmalloc_array-over-kzalloc-kmal.patch |
382 |
|
Patch1343: fs-ntfs3-add-checks-for-allocation-failure.patch |
383 |
|
Patch1344: fs-ntfs3-fix-an-error-code-in-ntfs_get_acl_ex.patch |
384 |
|
Patch1345: fs-ntfs3-Fix-error-code-in-indx_add_allocate.patch |
385 |
|
Patch1346: fs-ntfs3-Potential-NULL-dereference-in-hdr_find_spli.patch |
386 |
|
Patch1347: fs-ntfs3-Fix-error-handling-in-indx_insert_into_root.patch |
387 |
|
Patch1348: fs-ntfs3-Restyle-comments-to-better-align-with-kerne.patch |
388 |
|
|
389 |
### |
### |
390 |
### FireWire |
### FireWire |
394 |
Patch1400: firewire-ieee1394-module-aliases.patch |
Patch1400: firewire-ieee1394-module-aliases.patch |
395 |
|
|
396 |
### |
### |
397 |
|
### Firmware |
398 |
|
### |
399 |
|
|
400 |
|
### |
401 |
### GPU/DRM |
### GPU/DRM |
402 |
### |
### |
403 |
|
|
404 |
# amdgpu |
# amdgpu |
405 |
Patch1510: drm-amdgpu-add-some-additional-RDNA2-PCI-IDs.patch |
Patch1510: drm-amdgpu-add-some-additional-RDNA2-PCI-IDs.patch |
406 |
|
Patch1511: drm-amd-amdgpu-Increase-HWIP_MAX_INSTANCE-to-10.patch |
407 |
|
Patch1514: drm-amdgpu-Fix-a-deadlock-if-previous-GEM-object-allocation-fails.patch |
408 |
|
|
409 |
# switch SI and CIK from radeon to amdgpu |
# switch SI and CIK from radeon to amdgpu |
410 |
Patch1520: drm-amdgpu-SI-and-CIK-enabled-by-default.patch |
Patch1520: drm-amdgpu-SI-and-CIK-enabled-by-default.patch |
438 |
### HID |
### HID |
439 |
### |
### |
440 |
|
|
|
# amd_sfh |
|
|
Patch1750: hid-amd_sfh-extend-driver-capabilities-for-multi-generation-support.patch |
|
|
Patch1751: hid-amd_sfh-extend-als-support-for-newer-amd-platform.patch |
|
|
Patch1752: hid-amd_sfh-add-initial-support-for-hpd-sensor.patch |
|
|
Patch1753: hid-amd_sfh-use-correct-mmio-register-for-dma-address.patch |
|
|
|
|
441 |
### |
### |
442 |
### MFD |
### MFD |
443 |
### |
### |
481 |
# rtl8xxxu |
# rtl8xxxu |
482 |
Patch1940: net-wireless-rtl8xxxu-disable-interrupt_in-transfer-for-8188cu-and-8192cu.patch |
Patch1940: net-wireless-rtl8xxxu-disable-interrupt_in-transfer-for-8188cu-and-8192cu.patch |
483 |
|
|
484 |
# bluetooth CVE-2021-3640 |
# rtw89 patchset v6 for 802.11ax hw (TTL: 5.15) |
|
Patch1950: net-bluetooth-avoid-circular-locks-in-sco_sock_connect.patch |
|
|
Patch1951: net-bluetooth-switch-to-lock_sock-in-SCO.patch |
|
|
|
|
|
# rtw89 for 802.11ax hw (TTL: 5.15) |
|
485 |
Patch1960: net-wireless-rtw89-add-CAM-files.patch |
Patch1960: net-wireless-rtw89-add-CAM-files.patch |
486 |
Patch1961: net-wireless-rtw89-add-BT-coexistence-files.patch |
Patch1961: net-wireless-rtw89-add-BT-coexistence-files.patch |
487 |
Patch1962: net-wireless-rtw89-add-core-and-trx-files.patch |
Patch1962: net-wireless-rtw89-add-core-and-trx-files.patch |
506 |
Patch1981: net-wireless-rtw89-add-PS-files.patch |
Patch1981: net-wireless-rtw89-add-PS-files.patch |
507 |
Patch1982: net-wireless-rtw89-add-SAR-files.patch |
Patch1982: net-wireless-rtw89-add-SAR-files.patch |
508 |
Patch1983: net-wireless-rtw89-add-Kconfig-and-Makefile.patch |
Patch1983: net-wireless-rtw89-add-Kconfig-and-Makefile.patch |
|
# |
|
|
Patch1985: net-wireless-rtw89-add-8852AE-variant-0xa85a.patch |
|
|
# |
|
|
Patch1986: net-wireless-rtw89-improve-connectivity.patch |
|
509 |
|
|
510 |
# iwlfiwi |
# iwlfiwi |
511 |
Patch1996: net-wireless-iwlwifi-add-new-pci-id-for-6235.patch |
Patch1996: net-wireless-iwlwifi-add-new-pci-id-for-6235.patch |
|
Patch1997: net-wireless-iwlwifi-Add-support-for-ax201-in-Samsung-Galaxy-Book-Flex2-Alpha.patch |
|
512 |
|
|
513 |
### |
### |
514 |
### PCI |
### PCI |
515 |
### |
### |
516 |
|
|
517 |
|
Patch2000: pci-add-amd-gpu-multi-function-power-dependencies.patch |
518 |
|
|
519 |
### |
### |
520 |
### Platform |
### Platform |
521 |
### |
### |
528 |
Patch2053: platform-x86-shuttle-wmi-4.13-buildfix.patch |
Patch2053: platform-x86-shuttle-wmi-4.13-buildfix.patch |
529 |
Patch2054: platform-x86-shuttle-wmi-kernel-5.5.patch |
Patch2054: platform-x86-shuttle-wmi-kernel-5.5.patch |
530 |
|
|
|
# intel-hid |
|
|
Patch2065: platform-x86-intel-hid-add-Alder-Lake-ACPI-device-ID.patch |
|
|
|
|
|
# amd-pmc |
|
|
Patch2070: platform-x86-amd-pmc-add-support-for-ACPI-ID-AMDI0006.patch |
|
|
|
|
531 |
### |
### |
532 |
### PM |
### PM |
533 |
### |
### |
552 |
### Thunderbolt |
### Thunderbolt |
553 |
### |
### |
554 |
|
|
|
Patch2250: thunderbolt-Add-support-for-Intel-Alder-Lake.patch |
|
|
|
|
555 |
### |
### |
556 |
### USB |
### USB |
557 |
### |
### |
650 |
### |
### |
651 |
### Python fixes |
### Python fixes |
652 |
### |
### |
653 |
Patch4000: linux-5.13-python3.patch |
Patch4000: linux-5.14-python3.patch |
654 |
|
|
655 |
### |
### |
656 |
### TTY |
### TTY |
1306 |
mkdir -p $TempDevelRoot/tools/arch/x86/lib |
mkdir -p $TempDevelRoot/tools/arch/x86/lib |
1307 |
cp -fR tools/arch/x86/lib/{inat.c,insn.c,x86-opcode-map.txt} $TempDevelRoot/tools/arch/x86/lib/ |
cp -fR tools/arch/x86/lib/{inat.c,insn.c,x86-opcode-map.txt} $TempDevelRoot/tools/arch/x86/lib/ |
1308 |
mkdir -p $TempDevelRoot/tools/arch/x86/include/asm |
mkdir -p $TempDevelRoot/tools/arch/x86/include/asm |
1309 |
cp -fR tools/arch/x86/include/asm/{emulate_prefix.h,inat.h,inat_types.h,insn.h,nops.h,orc_types.h} $TempDevelRoot/tools/arch/x86/include/asm/ |
cp -fR tools/arch/x86/include/asm/{asm.h,emulate_prefix.h,inat.h,inat_types.h,insn.h,nops.h,orc_types.h} $TempDevelRoot/tools/arch/x86/include/asm/ |
1310 |
%endif |
%endif |
1311 |
|
|
1312 |
for i in alpha arc avr32 blackfin c6x cris csky frv h8300 hexagon ia64 m32r m68k m68knommu metag microblaze \ |
for i in alpha arc avr32 blackfin c6x cris csky frv h8300 hexagon ia64 m32r m68k m68knommu metag microblaze \ |
1763 |
# remove perf files we dont ship |
# remove perf files we dont ship |
1764 |
rm -rf %{buildroot}/usr/lib/perf/examples |
rm -rf %{buildroot}/usr/lib/perf/examples |
1765 |
rm -rf %{buildroot}/usr/lib/perf/include/bpf |
rm -rf %{buildroot}/usr/lib/perf/include/bpf |
1766 |
|
rm -rf %{buildroot}/usr/include/perf/perf_dlfilter.h |
1767 |
%endif |
%endif |
1768 |
|
|
1769 |
%if %{build_cpupower} |
%if %{build_cpupower} |
1941 |
%if %{build_libbpf} |
%if %{build_libbpf} |
1942 |
%files -n %{_lib}bpf0 |
%files -n %{_lib}bpf0 |
1943 |
%{_libdir}/libbpf.so.0 |
%{_libdir}/libbpf.so.0 |
1944 |
%{_libdir}/libbpf.so.0.4.0 |
%{_libdir}/libbpf.so.0.5.0 |
1945 |
|
|
1946 |
%files -n %{_lib}bpf-devel |
%files -n %{_lib}bpf-devel |
1947 |
%{_libdir}/libbpf.a |
%{_libdir}/libbpf.a |
1956 |
%{_includedir}/bpf/btf.h |
%{_includedir}/bpf/btf.h |
1957 |
%{_includedir}/bpf/libbpf.h |
%{_includedir}/bpf/libbpf.h |
1958 |
%{_includedir}/bpf/libbpf_common.h |
%{_includedir}/bpf/libbpf_common.h |
1959 |
|
%{_includedir}/bpf/libbpf_legacy.h |
1960 |
|
%{_includedir}/bpf/skel_internal.h |
1961 |
%{_includedir}/bpf/xsk.h |
%{_includedir}/bpf/xsk.h |
1962 |
%endif |
%endif |