From c5f969e212001f9555cc5a7fbb1121f17639060d Mon Sep 17 00:00:00 2001 From: Johnny Mnemonic Date: Sun, 24 Nov 2024 11:09:32 +0100 Subject: [PATCH] Fix build due to cc92882ee218d62ef017fa545b3c8a2d1e060a5a Also update standard patch set to v6.13-pre-rc-w-ia64-6 from https://github.com/johnny-mnemonic/linux-ia64/tree/v6.13-pre-rc-w-ia64-6 --- ...tion-Drop-or-replace-remaining-menti.patch | 2 +- ...2-Revert-lib-raid6-Drop-IA64-support.patch | 2 +- ...tion-Drop-IA64-from-feature-descript.patch | 2 +- ...op-IA64-support-from-sig_fault-handl.patch | 2 +- ...ch-Remove-Itanium-IA-64-architecture.patch | 2 +- .../0006-ia64-Use-generic-lock-bitops.patch | 2 +- ...Remove-unused-syscall_lookup_dcookie.patch | 2 +- ...ect-parse_crashkernel-argument-count.patch | 2 +- ...erve-map_shadow_stack-syscall-number.patch | 2 +- .../0010-ia64-Add-futex_wake-syscall.patch | 2 +- .../0011-ia64-Add-futex_wait-syscall.patch | 2 +- .../0012-ia64-Add-futex_requeue-syscall.patch | 2 +- .../0013-ia64-Remove-sentinel-element.patch | 2 +- ...ort-clean-up-the-IA-64-KSYM_FUNC-mac.patch | 2 +- ...all-reserved-memblocks-to-0-at-setup.patch | 2 +- ...4-rename-MAX_ORDER-to-MAX_PAGE_ORDER.patch | 2 +- ...ve-unnecessary-ia64-code-and-comment.patch | 2 +- ...h-remove-ARCH_THREAD_STACK_ALLOCATOR.patch | 2 +- ...ch-remove-ARCH_TASK_STRUCT_ALLOCATOR.patch | 2 +- ...rch-remove-ARCH_TASK_STRUCT_ON_STACK.patch | 2 +- ...vert-tty-deprecate-tty_write_message.patch | 2 +- ...ve-the-IA64-specific-vma-expansion-i.patch | 2 +- ...ert-hpet-remove-hpets-hp_clocksource.patch | 2 +- ...ange-alloc_pages-name-in-dma_map_ops.patch | 2 +- ...A-early-use-of-cpu_to_node-returns-0.patch | 2 +- ...move-guard-around-pgd_offset_k-macro.patch | 2 +- ...-Squash-acpi_numa_memory_affinity_in.patch | 2 +- ...-Remove-architecture-dependent-remai.patch | 2 +- ...d-vtime-Do-not-include-asm-vtime.h-h.patch | 2 +- .../0030-ia64-fix-Python-string-escapes.patch | 2 +- ...-dma-mapping-clearly-mark-DMA-ops-as.patch | 2 +- ...tially-revert-x86-remove-PG_uncached.patch | 2 +- ...rch_get_unmapped_area-take-vm_flags-.patch | 2 +- ...e-unused-declaration-efi_initialize_.patch | 2 +- ...-asm-unaligned.h-to-linux-unaligned..patch | 2 +- ...ence-warning-due-to-redefinition-of-.patch | 2 +- ...karound-Wmissing-prototypes-warnings.patch | 2 +- ...ove-unused-__HAVE_THREAD_FUNCTIONS-h.patch | 2 +- ...generic-provide-generic-page_to_phys.patch | 2 +- ...-define-CONFIG_PAGE_SIZE_-KB-on-all-.patch | 2 +- ...emove-unused-hugepage-for-vma_alloc_.patch | 2 +- ...sm-generic-introduce-text-patching.h.patch | 4 +- ...rop-hugetlb_get_unmapped_area-_-func.patch | 55 +++++++++++++++++++ 43 files changed, 98 insertions(+), 43 deletions(-) create mode 100644 patches/standard/0043-ia64-replay-mm-drop-hugetlb_get_unmapped_area-_-func.patch diff --git a/patches/standard/0001-Revert-Documentation-Drop-or-replace-remaining-menti.patch b/patches/standard/0001-Revert-Documentation-Drop-or-replace-remaining-menti.patch index 9447b30..1128aa3 100644 --- a/patches/standard/0001-Revert-Documentation-Drop-or-replace-remaining-menti.patch +++ b/patches/standard/0001-Revert-Documentation-Drop-or-replace-remaining-menti.patch @@ -1,7 +1,7 @@ From 2486e8435cf74b76cdca6ce8fe1dc7e77b517b5d Mon Sep 17 00:00:00 2001 From: Tomas Glozar Date: Fri, 27 Oct 2023 13:11:28 +0200 -Subject: [PATCH 01/42] Revert "Documentation: Drop or replace remaining +Subject: [PATCH 01/43] Revert "Documentation: Drop or replace remaining mentions of IA64" This reverts commit 944834901adc94b3a44d1dd153eb739a937e52d2. diff --git a/patches/standard/0002-Revert-lib-raid6-Drop-IA64-support.patch b/patches/standard/0002-Revert-lib-raid6-Drop-IA64-support.patch index 55f7d0b..3ceaf55 100644 --- a/patches/standard/0002-Revert-lib-raid6-Drop-IA64-support.patch +++ b/patches/standard/0002-Revert-lib-raid6-Drop-IA64-support.patch @@ -1,7 +1,7 @@ From 970297140f122e56c576cb6c9a29f5ab3cb716dd Mon Sep 17 00:00:00 2001 From: Tomas Glozar Date: Fri, 27 Oct 2023 13:11:38 +0200 -Subject: [PATCH 02/42] Revert "lib/raid6: Drop IA64 support" +Subject: [PATCH 02/43] Revert "lib/raid6: Drop IA64 support" This reverts commit b089ea3cc30de85ea7e20aa66500feb4082dfbf7. --- diff --git a/patches/standard/0003-Revert-Documentation-Drop-IA64-from-feature-descript.patch b/patches/standard/0003-Revert-Documentation-Drop-IA64-from-feature-descript.patch index ba4f6de..2d4fd68 100644 --- a/patches/standard/0003-Revert-Documentation-Drop-IA64-from-feature-descript.patch +++ b/patches/standard/0003-Revert-Documentation-Drop-IA64-from-feature-descript.patch @@ -1,7 +1,7 @@ From 9cd0cbd8297525422c0589e08df75a6ab20a9fda Mon Sep 17 00:00:00 2001 From: Tomas Glozar Date: Fri, 27 Oct 2023 13:11:48 +0200 -Subject: [PATCH 03/42] Revert "Documentation: Drop IA64 from feature +Subject: [PATCH 03/43] Revert "Documentation: Drop IA64 from feature descriptions" This reverts commit af1f459233d4edeef634f559539e7f4b64cb1d25. diff --git a/patches/standard/0004-Revert-kernel-Drop-IA64-support-from-sig_fault-handl.patch b/patches/standard/0004-Revert-kernel-Drop-IA64-support-from-sig_fault-handl.patch index 96b1e5e..8b0e3b5 100644 --- a/patches/standard/0004-Revert-kernel-Drop-IA64-support-from-sig_fault-handl.patch +++ b/patches/standard/0004-Revert-kernel-Drop-IA64-support-from-sig_fault-handl.patch @@ -1,7 +1,7 @@ From 2800672e91d0b37153e838ba658c4b8c62c49f93 Mon Sep 17 00:00:00 2001 From: Tomas Glozar Date: Fri, 27 Oct 2023 13:11:55 +0200 -Subject: [PATCH 04/42] Revert "kernel: Drop IA64 support from sig_fault +Subject: [PATCH 04/43] Revert "kernel: Drop IA64 support from sig_fault handlers" This reverts commit f5e836884d8e55b416dfad55c29481ec1b65c1f0. diff --git a/patches/standard/0005-Revert-arch-Remove-Itanium-IA-64-architecture.patch b/patches/standard/0005-Revert-arch-Remove-Itanium-IA-64-architecture.patch index 526162f..37151d1 100644 --- a/patches/standard/0005-Revert-arch-Remove-Itanium-IA-64-architecture.patch +++ b/patches/standard/0005-Revert-arch-Remove-Itanium-IA-64-architecture.patch @@ -1,7 +1,7 @@ From c7004280fce66a07f9af6ccce3a7f486a16bb940 Mon Sep 17 00:00:00 2001 From: Tomas Glozar Date: Fri, 27 Oct 2023 13:13:25 +0200 -Subject: [PATCH 05/42] Revert "arch: Remove Itanium (IA-64) architecture" +Subject: [PATCH 05/43] Revert "arch: Remove Itanium (IA-64) architecture" This reverts commit cf8e8658100d4eae80ce9b21f7a81cb024dd5057. --- diff --git a/patches/standard/0006-ia64-Use-generic-lock-bitops.patch b/patches/standard/0006-ia64-Use-generic-lock-bitops.patch index 8452caf..c28e0de 100644 --- a/patches/standard/0006-ia64-Use-generic-lock-bitops.patch +++ b/patches/standard/0006-ia64-Use-generic-lock-bitops.patch @@ -1,7 +1,7 @@ From 66c55fbad774321d61706bb46497345d2fc79332 Mon Sep 17 00:00:00 2001 From: Tomas Glozar Date: Tue, 31 Oct 2023 19:49:13 +0100 -Subject: [PATCH 06/42] ia64: Use generic lock bitops +Subject: [PATCH 06/43] ia64: Use generic lock bitops ia64 is missing the function xor_unlock_is_negative_byte. Resolve this by including asm-generic/bitops/lock.h and removing clear_bit_unlock diff --git a/patches/standard/0007-ia64-Remove-unused-syscall_lookup_dcookie.patch b/patches/standard/0007-ia64-Remove-unused-syscall_lookup_dcookie.patch index 480aeb9..41b7df5 100644 --- a/patches/standard/0007-ia64-Remove-unused-syscall_lookup_dcookie.patch +++ b/patches/standard/0007-ia64-Remove-unused-syscall_lookup_dcookie.patch @@ -1,7 +1,7 @@ From 8bd8d061e174d5baf50018e643bd7e5b8b6b999c Mon Sep 17 00:00:00 2001 From: Tomas Glozar Date: Tue, 31 Oct 2023 19:51:09 +0100 -Subject: [PATCH 07/42] ia64: Remove unused syscall_lookup_dcookie +Subject: [PATCH 07/43] ia64: Remove unused syscall_lookup_dcookie lookup_dcookie was removed on other architectures after ia64 was dropped. diff --git a/patches/standard/0008-ia64-Correct-parse_crashkernel-argument-count.patch b/patches/standard/0008-ia64-Correct-parse_crashkernel-argument-count.patch index ef5e30a..bd8632c 100644 --- a/patches/standard/0008-ia64-Correct-parse_crashkernel-argument-count.patch +++ b/patches/standard/0008-ia64-Correct-parse_crashkernel-argument-count.patch @@ -1,7 +1,7 @@ From 52232e0370562f8e6b98b6e300d76931c9514ba9 Mon Sep 17 00:00:00 2001 From: Tomas Glozar Date: Tue, 31 Oct 2023 19:49:39 +0100 -Subject: [PATCH 08/42] ia64: Correct parse_crashkernel argument count +Subject: [PATCH 08/43] ia64: Correct parse_crashkernel argument count New function has two more parameters crash_size and crash_base; fix build by passing NULL to them. diff --git a/patches/standard/0009-ia64-Reserve-map_shadow_stack-syscall-number.patch b/patches/standard/0009-ia64-Reserve-map_shadow_stack-syscall-number.patch index cb29655..df060a2 100644 --- a/patches/standard/0009-ia64-Reserve-map_shadow_stack-syscall-number.patch +++ b/patches/standard/0009-ia64-Reserve-map_shadow_stack-syscall-number.patch @@ -1,7 +1,7 @@ From fd4e53f8cc5be5eaabda5fcb971eb7047a69898b Mon Sep 17 00:00:00 2001 From: Tomas Glozar Date: Thu, 9 Nov 2023 17:18:24 +0100 -Subject: [PATCH 09/42] ia64: Reserve map_shadow_stack() syscall number +Subject: [PATCH 09/43] ia64: Reserve map_shadow_stack() syscall number map_shadow_stack was introducted after ia64 was removed from the kernel hence it was not added to ia64 syscall table. diff --git a/patches/standard/0010-ia64-Add-futex_wake-syscall.patch b/patches/standard/0010-ia64-Add-futex_wake-syscall.patch index 67ea653..5e5001f 100644 --- a/patches/standard/0010-ia64-Add-futex_wake-syscall.patch +++ b/patches/standard/0010-ia64-Add-futex_wake-syscall.patch @@ -1,7 +1,7 @@ From 4ecffeead698c2511fa20ba7ba260400c28307a7 Mon Sep 17 00:00:00 2001 From: Tomas Glozar Date: Thu, 9 Nov 2023 17:24:02 +0100 -Subject: [PATCH 10/42] ia64: Add futex_wake() syscall +Subject: [PATCH 10/43] ia64: Add futex_wake() syscall futex_wake() was added after ia64 was removed from the kernel. diff --git a/patches/standard/0011-ia64-Add-futex_wait-syscall.patch b/patches/standard/0011-ia64-Add-futex_wait-syscall.patch index 7997fbe..a7bdc42 100644 --- a/patches/standard/0011-ia64-Add-futex_wait-syscall.patch +++ b/patches/standard/0011-ia64-Add-futex_wait-syscall.patch @@ -1,7 +1,7 @@ From 5871eb266c060aad8979784d2843353c3440d84c Mon Sep 17 00:00:00 2001 From: Tomas Glozar Date: Thu, 9 Nov 2023 17:31:05 +0100 -Subject: [PATCH 11/42] ia64: Add futex_wait() syscall +Subject: [PATCH 11/43] ia64: Add futex_wait() syscall futex_wait() was added after ia64 was removed from the kernel. diff --git a/patches/standard/0012-ia64-Add-futex_requeue-syscall.patch b/patches/standard/0012-ia64-Add-futex_requeue-syscall.patch index b6c314c..1f2d038 100644 --- a/patches/standard/0012-ia64-Add-futex_requeue-syscall.patch +++ b/patches/standard/0012-ia64-Add-futex_requeue-syscall.patch @@ -1,7 +1,7 @@ From d10256731a254cb810e34867e2771d7535896b21 Mon Sep 17 00:00:00 2001 From: Tomas Glozar Date: Thu, 9 Nov 2023 17:32:42 +0100 -Subject: [PATCH 12/42] ia64: Add futex_requeue() syscall +Subject: [PATCH 12/43] ia64: Add futex_requeue() syscall futex_requeue() was added after ia64 was removed from the kernel. diff --git a/patches/standard/0013-ia64-Remove-sentinel-element.patch b/patches/standard/0013-ia64-Remove-sentinel-element.patch index 4a2f2aa..f54603e 100644 --- a/patches/standard/0013-ia64-Remove-sentinel-element.patch +++ b/patches/standard/0013-ia64-Remove-sentinel-element.patch @@ -1,7 +1,7 @@ From 15d901696ee2358fb7f39e2af5d8f5870b706bc0 Mon Sep 17 00:00:00 2001 From: Johnny Mnemonic Date: Mon, 13 Nov 2023 22:54:43 +0100 -Subject: [PATCH 13/42] ia64: Remove sentinel element +Subject: [PATCH 13/43] ia64: Remove sentinel element See 426ee5196d1821d70192923e70c0f8347faade47. --- diff --git a/patches/standard/0014-Revert-linux-export-clean-up-the-IA-64-KSYM_FUNC-mac.patch b/patches/standard/0014-Revert-linux-export-clean-up-the-IA-64-KSYM_FUNC-mac.patch index aeb684a..3c4ba95 100644 --- a/patches/standard/0014-Revert-linux-export-clean-up-the-IA-64-KSYM_FUNC-mac.patch +++ b/patches/standard/0014-Revert-linux-export-clean-up-the-IA-64-KSYM_FUNC-mac.patch @@ -1,7 +1,7 @@ From a27d02e7a856f0ba2b5d40f2220c27b06bbf36f4 Mon Sep 17 00:00:00 2001 From: Tomas Glozar Date: Mon, 20 Nov 2023 17:08:57 +0100 -Subject: [PATCH 14/42] Revert "linux/export: clean up the IA-64 KSYM_FUNC +Subject: [PATCH 14/43] Revert "linux/export: clean up the IA-64 KSYM_FUNC macro" This reverts commit 9e0be3f50c0e8517d0238b62409c20bcb8cd8785. diff --git a/patches/standard/0015-ia64-set-nid-of-all-reserved-memblocks-to-0-at-setup.patch b/patches/standard/0015-ia64-set-nid-of-all-reserved-memblocks-to-0-at-setup.patch index 288e3df..b872326 100644 --- a/patches/standard/0015-ia64-set-nid-of-all-reserved-memblocks-to-0-at-setup.patch +++ b/patches/standard/0015-ia64-set-nid-of-all-reserved-memblocks-to-0-at-setup.patch @@ -1,7 +1,7 @@ From 31e75e17c2cf416989bf8f65748f7627278069d5 Mon Sep 17 00:00:00 2001 From: Tomas Glozar Date: Tue, 21 Nov 2023 16:40:42 +0100 -Subject: [PATCH 15/42] ia64: set nid of all reserved memblocks to 0 at setup +Subject: [PATCH 15/43] ia64: set nid of all reserved memblocks to 0 at setup Kernel panic was reported on HP Integrity rx6600 servers after commit 61167ad5fecde ("mm: pass nid to reserve_bootmem_region()"): diff --git a/patches/standard/0016-ia64-rename-MAX_ORDER-to-MAX_PAGE_ORDER.patch b/patches/standard/0016-ia64-rename-MAX_ORDER-to-MAX_PAGE_ORDER.patch index 4e7e247..19d9f26 100644 --- a/patches/standard/0016-ia64-rename-MAX_ORDER-to-MAX_PAGE_ORDER.patch +++ b/patches/standard/0016-ia64-rename-MAX_ORDER-to-MAX_PAGE_ORDER.patch @@ -1,7 +1,7 @@ From 436ac87b8da9bc0d2d6d15ef047fcfff1c313575 Mon Sep 17 00:00:00 2001 From: Tomas Glozar Date: Thu, 11 Jan 2024 13:37:09 +0100 -Subject: [PATCH 16/42] ia64: rename MAX_ORDER to MAX_PAGE_ORDER +Subject: [PATCH 16/43] ia64: rename MAX_ORDER to MAX_PAGE_ORDER MAX_ORDER was renamed to MAX_PAGE_ORDER in commit 5e0a760b44417 ("mm, treewide: rename MAX_ORDER to MAX_PAGE_ORDER"). Rename it also diff --git a/patches/standard/0017-Revert-mm-remove-unnecessary-ia64-code-and-comment.patch b/patches/standard/0017-Revert-mm-remove-unnecessary-ia64-code-and-comment.patch index 3fcb8b9..5a149ba 100644 --- a/patches/standard/0017-Revert-mm-remove-unnecessary-ia64-code-and-comment.patch +++ b/patches/standard/0017-Revert-mm-remove-unnecessary-ia64-code-and-comment.patch @@ -1,7 +1,7 @@ From 08ca9bf8aa70cfc969a191d8192828766637ba4d Mon Sep 17 00:00:00 2001 From: Tomas Glozar Date: Thu, 11 Jan 2024 14:21:54 +0100 -Subject: [PATCH 17/42] Revert "mm: remove unnecessary ia64 code and comment" +Subject: [PATCH 17/43] Revert "mm: remove unnecessary ia64 code and comment" This reverts commit e99fb98d478a0480d50e334df21bef12fb74e17f. --- diff --git a/patches/standard/0018-Revert-arch-remove-ARCH_THREAD_STACK_ALLOCATOR.patch b/patches/standard/0018-Revert-arch-remove-ARCH_THREAD_STACK_ALLOCATOR.patch index 3f58554..b94d21b 100644 --- a/patches/standard/0018-Revert-arch-remove-ARCH_THREAD_STACK_ALLOCATOR.patch +++ b/patches/standard/0018-Revert-arch-remove-ARCH_THREAD_STACK_ALLOCATOR.patch @@ -1,7 +1,7 @@ From 20b71599addf292b3eac16b384f61981094c5374 Mon Sep 17 00:00:00 2001 From: Tomas Glozar Date: Fri, 12 Jan 2024 18:54:34 +0100 -Subject: [PATCH 18/42] Revert "arch: remove ARCH_THREAD_STACK_ALLOCATOR" +Subject: [PATCH 18/43] Revert "arch: remove ARCH_THREAD_STACK_ALLOCATOR" This reverts commit f72709ab69430d986dfc5a08c9a86f625e3fed33. --- diff --git a/patches/standard/0019-Revert-arch-remove-ARCH_TASK_STRUCT_ALLOCATOR.patch b/patches/standard/0019-Revert-arch-remove-ARCH_TASK_STRUCT_ALLOCATOR.patch index ca4fa2f..4bf63c4 100644 --- a/patches/standard/0019-Revert-arch-remove-ARCH_TASK_STRUCT_ALLOCATOR.patch +++ b/patches/standard/0019-Revert-arch-remove-ARCH_TASK_STRUCT_ALLOCATOR.patch @@ -1,7 +1,7 @@ From 293e2ab353bd72170f343d508cac82e4107d68d3 Mon Sep 17 00:00:00 2001 From: Tomas Glozar Date: Thu, 11 Jan 2024 16:45:16 +0100 -Subject: [PATCH 19/42] Revert "arch: remove ARCH_TASK_STRUCT_ALLOCATOR" +Subject: [PATCH 19/43] Revert "arch: remove ARCH_TASK_STRUCT_ALLOCATOR" This reverts commit 3888750e21ccb909051c810cc79fcc0650a740f8. --- diff --git a/patches/standard/0020-Revert-arch-remove-ARCH_TASK_STRUCT_ON_STACK.patch b/patches/standard/0020-Revert-arch-remove-ARCH_TASK_STRUCT_ON_STACK.patch index 17e24df..d468fc2 100644 --- a/patches/standard/0020-Revert-arch-remove-ARCH_TASK_STRUCT_ON_STACK.patch +++ b/patches/standard/0020-Revert-arch-remove-ARCH_TASK_STRUCT_ON_STACK.patch @@ -1,7 +1,7 @@ From eb181b6a48ac9769c2c8ef336ddaddd922b7223b Mon Sep 17 00:00:00 2001 From: Tomas Glozar Date: Fri, 12 Jan 2024 19:11:18 +0100 -Subject: [PATCH 20/42] Revert "arch: remove ARCH_TASK_STRUCT_ON_STACK" +Subject: [PATCH 20/43] Revert "arch: remove ARCH_TASK_STRUCT_ON_STACK" This reverts commit 0eb5085c38749f2a91e5bd8cbebb1ebf3398343c. --- diff --git a/patches/standard/0021-Revert-tty-deprecate-tty_write_message.patch b/patches/standard/0021-Revert-tty-deprecate-tty_write_message.patch index e3dd3d9..8c04c3b 100644 --- a/patches/standard/0021-Revert-tty-deprecate-tty_write_message.patch +++ b/patches/standard/0021-Revert-tty-deprecate-tty_write_message.patch @@ -1,7 +1,7 @@ From 8812981cec30a97abe78401bc70f38d0008d9e46 Mon Sep 17 00:00:00 2001 From: Tomas Glozar Date: Fri, 19 Jan 2024 20:18:07 +0100 -Subject: [PATCH 21/42] Revert "tty: deprecate tty_write_message()" +Subject: [PATCH 21/43] Revert "tty: deprecate tty_write_message()" This reverts commit 4c74253b831e5a8eb87d4d8d4a0eae40c331e682. diff --git a/patches/standard/0022-Revert-mmap-remove-the-IA64-specific-vma-expansion-i.patch b/patches/standard/0022-Revert-mmap-remove-the-IA64-specific-vma-expansion-i.patch index 9afd523..bd4cf2b 100644 --- a/patches/standard/0022-Revert-mmap-remove-the-IA64-specific-vma-expansion-i.patch +++ b/patches/standard/0022-Revert-mmap-remove-the-IA64-specific-vma-expansion-i.patch @@ -1,7 +1,7 @@ From a8697d84b28da0ae5e85decbb95c6455369397d0 Mon Sep 17 00:00:00 2001 From: Tomas Glozar Date: Sun, 24 Mar 2024 19:43:52 +0100 -Subject: [PATCH 22/42] Revert "mmap: remove the IA64-specific vma expansion +Subject: [PATCH 22/43] Revert "mmap: remove the IA64-specific vma expansion implementation" This reverts commit 69e583eaca579d50ffc699b1f4358258e75fa008. diff --git a/patches/standard/0023-Revert-hpet-remove-hpets-hp_clocksource.patch b/patches/standard/0023-Revert-hpet-remove-hpets-hp_clocksource.patch index 054dd72..324c08d 100644 --- a/patches/standard/0023-Revert-hpet-remove-hpets-hp_clocksource.patch +++ b/patches/standard/0023-Revert-hpet-remove-hpets-hp_clocksource.patch @@ -1,7 +1,7 @@ From 456606d009c11c45af72694c4bf181c3b93dad72 Mon Sep 17 00:00:00 2001 From: Tomas Glozar Date: Sun, 24 Mar 2024 20:20:36 +0100 -Subject: [PATCH 23/42] Revert "hpet: remove hpets::hp_clocksource" +Subject: [PATCH 23/43] Revert "hpet: remove hpets::hp_clocksource" This reverts commit b44abdd29423a77074a9edb462de37f1a09daaab. --- diff --git a/patches/standard/0024-ia64-replay-change-alloc_pages-name-in-dma_map_ops.patch b/patches/standard/0024-ia64-replay-change-alloc_pages-name-in-dma_map_ops.patch index f1181bb..d63453f 100644 --- a/patches/standard/0024-ia64-replay-change-alloc_pages-name-in-dma_map_ops.patch +++ b/patches/standard/0024-ia64-replay-change-alloc_pages-name-in-dma_map_ops.patch @@ -1,7 +1,7 @@ From 171eb8cb6b7ee6de8764879ed10969af51c4b663 Mon Sep 17 00:00:00 2001 From: Johnny Mnemonic Date: Sun, 2 Jun 2024 10:02:39 +0200 -Subject: [PATCH 24/42] ia64: replay "change alloc_pages name in dma_map_ops +Subject: [PATCH 24/43] ia64: replay "change alloc_pages name in dma_map_ops [...]" See 8a2f11878771da65b8ac135c73b47dae13afbd62. diff --git a/patches/standard/0025-ia64-handle-NUMA-early-use-of-cpu_to_node-returns-0.patch b/patches/standard/0025-ia64-handle-NUMA-early-use-of-cpu_to_node-returns-0.patch index 5acc15f..7017b6a 100644 --- a/patches/standard/0025-ia64-handle-NUMA-early-use-of-cpu_to_node-returns-0.patch +++ b/patches/standard/0025-ia64-handle-NUMA-early-use-of-cpu_to_node-returns-0.patch @@ -1,7 +1,7 @@ From 544d94cb6d9efef601d33fa8bdd1120c08c58322 Mon Sep 17 00:00:00 2001 From: Johnny Mnemonic Date: Sun, 2 Jun 2024 13:28:12 +0200 -Subject: [PATCH 25/42] ia64: handle "NUMA: early use of cpu_to_node() returns +Subject: [PATCH 25/43] ia64: handle "NUMA: early use of cpu_to_node() returns 0 [...]" See f9899c028151468d8c4af0bcbb3d5e87619b0973. diff --git a/patches/standard/0026-Revert-mm-remove-guard-around-pgd_offset_k-macro.patch b/patches/standard/0026-Revert-mm-remove-guard-around-pgd_offset_k-macro.patch index fe5333b..8da3c99 100644 --- a/patches/standard/0026-Revert-mm-remove-guard-around-pgd_offset_k-macro.patch +++ b/patches/standard/0026-Revert-mm-remove-guard-around-pgd_offset_k-macro.patch @@ -1,7 +1,7 @@ From 3d709c4ba7016d8a59eb5a0aefe5a70a08d39a29 Mon Sep 17 00:00:00 2001 From: Johnny Mnemonic Date: Sun, 2 Jun 2024 10:03:49 +0200 -Subject: [PATCH 26/42] Revert "mm: remove guard around pgd_offset_k() macro" +Subject: [PATCH 26/43] Revert "mm: remove guard around pgd_offset_k() macro" This reverts commit 5b0a67008b0d608bb7585fe4c3c0c09d5ceaf1c9. --- diff --git a/patches/standard/0027-Revert-ACPI-NUMA-Squash-acpi_numa_memory_affinity_in.patch b/patches/standard/0027-Revert-ACPI-NUMA-Squash-acpi_numa_memory_affinity_in.patch index fdc8db0..2199e5d 100644 --- a/patches/standard/0027-Revert-ACPI-NUMA-Squash-acpi_numa_memory_affinity_in.patch +++ b/patches/standard/0027-Revert-ACPI-NUMA-Squash-acpi_numa_memory_affinity_in.patch @@ -1,7 +1,7 @@ From e06a4c38afd93606ad11b2493f57e5aa201444c3 Mon Sep 17 00:00:00 2001 From: Johnny Mnemonic Date: Sun, 2 Jun 2024 10:05:31 +0200 -Subject: [PATCH 27/42] Revert "ACPI/NUMA: Squash +Subject: [PATCH 27/43] Revert "ACPI/NUMA: Squash acpi_numa_memory_affinity_init() into acpi_parse_memory_affinity()" This reverts commit 57ba79e865e5b50a6ad15a98ea4b2cf808f19c0c. diff --git a/patches/standard/0028-Revert-ACPI-NUMA-Remove-architecture-dependent-remai.patch b/patches/standard/0028-Revert-ACPI-NUMA-Remove-architecture-dependent-remai.patch index 02cc7b9..cda842b 100644 --- a/patches/standard/0028-Revert-ACPI-NUMA-Remove-architecture-dependent-remai.patch +++ b/patches/standard/0028-Revert-ACPI-NUMA-Remove-architecture-dependent-remai.patch @@ -1,7 +1,7 @@ From ed7559e83cb6357e524f8a2e5dfebcf8afde3934 Mon Sep 17 00:00:00 2001 From: Johnny Mnemonic Date: Sun, 2 Jun 2024 10:10:34 +0200 -Subject: [PATCH 28/42] Revert "ACPI/NUMA: Remove architecture dependent +Subject: [PATCH 28/43] Revert "ACPI/NUMA: Remove architecture dependent remainings" This reverts commit 3a785e19f432672b9ef53f07c506d5e698439033. diff --git a/patches/standard/0029-ia64-replay-sched-vtime-Do-not-include-asm-vtime.h-h.patch b/patches/standard/0029-ia64-replay-sched-vtime-Do-not-include-asm-vtime.h-h.patch index 5ddf5c8..e97cd44 100644 --- a/patches/standard/0029-ia64-replay-sched-vtime-Do-not-include-asm-vtime.h-h.patch +++ b/patches/standard/0029-ia64-replay-sched-vtime-Do-not-include-asm-vtime.h-h.patch @@ -1,7 +1,7 @@ From f7f647a51d779889a538665a704a3208877652fc Mon Sep 17 00:00:00 2001 From: Johnny Mnemonic Date: Thu, 18 Jul 2024 20:48:20 +0200 -Subject: [PATCH 29/42] ia64: replay "sched/vtime: Do not include +Subject: [PATCH 29/43] ia64: replay "sched/vtime: Do not include header" See 08a36a48544d73bf153960245aec6c5fa23960de. diff --git a/patches/standard/0030-ia64-fix-Python-string-escapes.patch b/patches/standard/0030-ia64-fix-Python-string-escapes.patch index 11d6e21..a2ec8b0 100644 --- a/patches/standard/0030-ia64-fix-Python-string-escapes.patch +++ b/patches/standard/0030-ia64-fix-Python-string-escapes.patch @@ -1,7 +1,7 @@ From 0fdfda553f1dedb77afe2ae8392f951ad3544182 Mon Sep 17 00:00:00 2001 From: Benjamin Gray Date: Tue, 12 Sep 2023 16:07:55 +1000 -Subject: [PATCH 30/42] ia64: fix Python string escapes +Subject: [PATCH 30/43] ia64: fix Python string escapes Python 3.6 introduced a DeprecationWarning for invalid escape sequences. This is upgraded to a SyntaxWarning in Python 3.12, and will eventually diff --git a/patches/standard/0031-ia64-replay-dma-mapping-clearly-mark-DMA-ops-as.patch b/patches/standard/0031-ia64-replay-dma-mapping-clearly-mark-DMA-ops-as.patch index 98658c8..567fdb6 100644 --- a/patches/standard/0031-ia64-replay-dma-mapping-clearly-mark-DMA-ops-as.patch +++ b/patches/standard/0031-ia64-replay-dma-mapping-clearly-mark-DMA-ops-as.patch @@ -1,7 +1,7 @@ From 5b4e519f18be937933513f713cacefc8746ce38e Mon Sep 17 00:00:00 2001 From: Johnny Mnemonic Date: Thu, 19 Sep 2024 22:50:12 +0200 -Subject: [PATCH 31/42] ia64: replay "dma-mapping: clearly mark DMA ops as +Subject: [PATCH 31/43] ia64: replay "dma-mapping: clearly mark DMA ops as [...]" See de6c85bf918ea52d5c680f0d130b37ee2ff152d6. diff --git a/patches/standard/0032-Partially-revert-x86-remove-PG_uncached.patch b/patches/standard/0032-Partially-revert-x86-remove-PG_uncached.patch index 6005fad..a5c7d68 100644 --- a/patches/standard/0032-Partially-revert-x86-remove-PG_uncached.patch +++ b/patches/standard/0032-Partially-revert-x86-remove-PG_uncached.patch @@ -1,7 +1,7 @@ From 01358aed42ffe8d45fae87d720acf41b10ef82f0 Mon Sep 17 00:00:00 2001 From: Johnny Mnemonic Date: Fri, 27 Sep 2024 14:29:04 +0200 -Subject: [PATCH 32/42] Partially revert "x86: remove PG_uncached" +Subject: [PATCH 32/43] Partially revert "x86: remove PG_uncached" This partially reverts commit 7a87225ae2c6c317c7b80cf599e5cf0eee. --- diff --git a/patches/standard/0033-Replay-mm-make-arch_get_unmapped_area-take-vm_flags-.patch b/patches/standard/0033-Replay-mm-make-arch_get_unmapped_area-take-vm_flags-.patch index cd3502d..fe2bec2 100644 --- a/patches/standard/0033-Replay-mm-make-arch_get_unmapped_area-take-vm_flags-.patch +++ b/patches/standard/0033-Replay-mm-make-arch_get_unmapped_area-take-vm_flags-.patch @@ -1,7 +1,7 @@ From db01a785f21d3d6b20b1af244d23f1fa8103b9b3 Mon Sep 17 00:00:00 2001 From: Johnny Mnemonic Date: Fri, 27 Sep 2024 14:33:54 +0200 -Subject: [PATCH 33/42] Replay "mm: make arch_get_unmapped_area() take vm_flags +Subject: [PATCH 33/43] Replay "mm: make arch_get_unmapped_area() take vm_flags by default" See 25d4054cc97484f2555709ac233f955f674e026a. diff --git a/patches/standard/0034-Revert-efi-Remove-unused-declaration-efi_initialize_.patch b/patches/standard/0034-Revert-efi-Remove-unused-declaration-efi_initialize_.patch index 73a6f0e..ae0d296 100644 --- a/patches/standard/0034-Revert-efi-Remove-unused-declaration-efi_initialize_.patch +++ b/patches/standard/0034-Revert-efi-Remove-unused-declaration-efi_initialize_.patch @@ -1,7 +1,7 @@ From 6e00eeb6f1efa7ca9d23f8354e4129d089a88e2a Mon Sep 17 00:00:00 2001 From: Johnny Mnemonic Date: Fri, 27 Sep 2024 14:54:38 +0200 -Subject: [PATCH 34/42] Revert "efi: Remove unused declaration +Subject: [PATCH 34/43] Revert "efi: Remove unused declaration efi_initialize_iomem_resources()" This reverts commit 21b91d40575fb64f3f280f6c3af586e32a704a92. diff --git a/patches/standard/0035-ia64-replay-move-asm-unaligned.h-to-linux-unaligned..patch b/patches/standard/0035-ia64-replay-move-asm-unaligned.h-to-linux-unaligned..patch index 6ec3857..6c53498 100644 --- a/patches/standard/0035-ia64-replay-move-asm-unaligned.h-to-linux-unaligned..patch +++ b/patches/standard/0035-ia64-replay-move-asm-unaligned.h-to-linux-unaligned..patch @@ -1,7 +1,7 @@ From e231aac5e283eee35188ec48821c66781cf95242 Mon Sep 17 00:00:00 2001 From: Johnny Mnemonic Date: Fri, 4 Oct 2024 20:50:34 +0200 -Subject: [PATCH 35/42] ia64: replay "move asm/unaligned.h to +Subject: [PATCH 35/43] ia64: replay "move asm/unaligned.h to linux/unaligned.h" See 5f60d5f6bbc12e782fac78110b0ee62698f3b576. diff --git a/patches/standard/0036-ia64-For-now-silence-warning-due-to-redefinition-of-.patch b/patches/standard/0036-ia64-For-now-silence-warning-due-to-redefinition-of-.patch index 0e73fb4..2498598 100644 --- a/patches/standard/0036-ia64-For-now-silence-warning-due-to-redefinition-of-.patch +++ b/patches/standard/0036-ia64-For-now-silence-warning-due-to-redefinition-of-.patch @@ -1,7 +1,7 @@ From 8d94b8e00fabd9ad0b82d6d044d002d4889b29e7 Mon Sep 17 00:00:00 2001 From: Johnny Mnemonic Date: Sat, 5 Oct 2024 13:16:09 +0200 -Subject: [PATCH 36/42] ia64: For now silence warning due to redefinition of +Subject: [PATCH 36/43] ia64: For now silence warning due to redefinition of NODE_DATA --- diff --git a/patches/standard/0037-ia64-Workaround-Wmissing-prototypes-warnings.patch b/patches/standard/0037-ia64-Workaround-Wmissing-prototypes-warnings.patch index 300d6fe..75fe08f 100644 --- a/patches/standard/0037-ia64-Workaround-Wmissing-prototypes-warnings.patch +++ b/patches/standard/0037-ia64-Workaround-Wmissing-prototypes-warnings.patch @@ -1,7 +1,7 @@ From 3447f18fdbb356028e6dc142a09979115e7d8269 Mon Sep 17 00:00:00 2001 From: Johnny Mnemonic Date: Mon, 21 Oct 2024 11:51:37 +0200 -Subject: [PATCH 37/42] ia64: Workaround -Wmissing-prototypes warnings +Subject: [PATCH 37/43] ia64: Workaround -Wmissing-prototypes warnings Workaround the -Wmissing-prototypes warnings by declaring them locally similar to what was done in: diff --git a/patches/standard/0038-Revert-sched-remove-unused-__HAVE_THREAD_FUNCTIONS-h.patch b/patches/standard/0038-Revert-sched-remove-unused-__HAVE_THREAD_FUNCTIONS-h.patch index 4d01c0b..216a312 100644 --- a/patches/standard/0038-Revert-sched-remove-unused-__HAVE_THREAD_FUNCTIONS-h.patch +++ b/patches/standard/0038-Revert-sched-remove-unused-__HAVE_THREAD_FUNCTIONS-h.patch @@ -1,7 +1,7 @@ From c9f6313352c0fcee2f68c5778953020c086ba17e Mon Sep 17 00:00:00 2001 From: Johnny Mnemonic Date: Wed, 20 Nov 2024 11:15:14 +0100 -Subject: [PATCH 38/42] Revert "sched: remove unused __HAVE_THREAD_FUNCTIONS +Subject: [PATCH 38/43] Revert "sched: remove unused __HAVE_THREAD_FUNCTIONS hook support" This reverts commit 5e9f0c4819deb9459f32f12c4fd2b47993b8c395. diff --git a/patches/standard/0039-ia64-replay-asm-generic-provide-generic-page_to_phys.patch b/patches/standard/0039-ia64-replay-asm-generic-provide-generic-page_to_phys.patch index 9c70f6c..661ae1b 100644 --- a/patches/standard/0039-ia64-replay-asm-generic-provide-generic-page_to_phys.patch +++ b/patches/standard/0039-ia64-replay-asm-generic-provide-generic-page_to_phys.patch @@ -1,7 +1,7 @@ From 9ab9f6a528d4a7f1e2576de879b4a7c45003a3d8 Mon Sep 17 00:00:00 2001 From: Johnny Mnemonic Date: Fri, 22 Nov 2024 10:52:39 +0100 -Subject: [PATCH 39/42] ia64: replay "asm-generic: provide generic page_to_phys +Subject: [PATCH 39/43] ia64: replay "asm-generic: provide generic page_to_phys [...]" See c5c3238d9b8cee58cd4b08bbbe9347a94a566390. diff --git a/patches/standard/0040-ia64-replay-arch-define-CONFIG_PAGE_SIZE_-KB-on-all-.patch b/patches/standard/0040-ia64-replay-arch-define-CONFIG_PAGE_SIZE_-KB-on-all-.patch index 01564ec..e0f2c7d 100644 --- a/patches/standard/0040-ia64-replay-arch-define-CONFIG_PAGE_SIZE_-KB-on-all-.patch +++ b/patches/standard/0040-ia64-replay-arch-define-CONFIG_PAGE_SIZE_-KB-on-all-.patch @@ -1,7 +1,7 @@ From 882e257e4bbbb4cc936700123d304551f8ffc9ba Mon Sep 17 00:00:00 2001 From: Johnny Mnemonic Date: Fri, 22 Nov 2024 14:31:50 +0100 -Subject: [PATCH 40/42] ia64: replay "arch: define CONFIG_PAGE_SIZE_*KB on all +Subject: [PATCH 40/43] ia64: replay "arch: define CONFIG_PAGE_SIZE_*KB on all architectures" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 diff --git a/patches/standard/0041-ia64-replay-mm-remove-unused-hugepage-for-vma_alloc_.patch b/patches/standard/0041-ia64-replay-mm-remove-unused-hugepage-for-vma_alloc_.patch index a468a0b..ee1f137 100644 --- a/patches/standard/0041-ia64-replay-mm-remove-unused-hugepage-for-vma_alloc_.patch +++ b/patches/standard/0041-ia64-replay-mm-remove-unused-hugepage-for-vma_alloc_.patch @@ -1,7 +1,7 @@ From 51bb687d539771331db01538fa5fb7adffdbc1b9 Mon Sep 17 00:00:00 2001 From: Johnny Mnemonic Date: Sun, 24 Nov 2024 09:20:03 +0100 -Subject: [PATCH 41/42] ia64: replay "mm: remove unused hugepage for +Subject: [PATCH 41/43] ia64: replay "mm: remove unused hugepage for vma_alloc_folio()" See 6359c39c9de66dede8ff5ff257c9e117483dbc7c. diff --git a/patches/standard/0042-ia64-replay-asm-generic-introduce-text-patching.h.patch b/patches/standard/0042-ia64-replay-asm-generic-introduce-text-patching.h.patch index b698db4..2253a4d 100644 --- a/patches/standard/0042-ia64-replay-asm-generic-introduce-text-patching.h.patch +++ b/patches/standard/0042-ia64-replay-asm-generic-introduce-text-patching.h.patch @@ -1,7 +1,7 @@ -From adbafcdd86388cb60bf11092d169f06fb96e59a7 Mon Sep 17 00:00:00 2001 +From 66f8d1ba63dcfce4568f68d2a0ad7a7c79d83489 Mon Sep 17 00:00:00 2001 From: Johnny Mnemonic Date: Sun, 24 Nov 2024 09:55:19 +0100 -Subject: [PATCH 42/42] ia64: replay "asm-generic: introduce text-patching.h" +Subject: [PATCH 42/43] ia64: replay "asm-generic: introduce text-patching.h" See 0c3beacf681ec897e0b36685a9b49d01f5cb2dfb. --- diff --git a/patches/standard/0043-ia64-replay-mm-drop-hugetlb_get_unmapped_area-_-func.patch b/patches/standard/0043-ia64-replay-mm-drop-hugetlb_get_unmapped_area-_-func.patch new file mode 100644 index 0000000..8e15283 --- /dev/null +++ b/patches/standard/0043-ia64-replay-mm-drop-hugetlb_get_unmapped_area-_-func.patch @@ -0,0 +1,55 @@ +From 4baf8b5eb4633320f67f2bfd0c1279c565c6df61 Mon Sep 17 00:00:00 2001 +From: Johnny Mnemonic +Date: Sun, 24 Nov 2024 11:06:09 +0100 +Subject: [PATCH 43/43] ia64: replay "mm: drop hugetlb_get_unmapped_area{_*} + functions" + +See cc92882ee218d62ef017fa545b3c8a2d1e060a5a. +--- + arch/ia64/mm/hugetlbpage.c | 30 ------------------------------ + 1 file changed, 30 deletions(-) + +diff --git a/arch/ia64/mm/hugetlbpage.c b/arch/ia64/mm/hugetlbpage.c +index a6f8637f6a3f..9591aa2811fa 100644 +--- a/arch/ia64/mm/hugetlbpage.c ++++ b/arch/ia64/mm/hugetlbpage.c +@@ -130,36 +130,6 @@ void hugetlb_free_pgd_range(struct mmu_gather *tlb, + free_pgd_range(tlb, addr, end, floor, ceiling); + } + +-unsigned long hugetlb_get_unmapped_area(struct file *file, unsigned long addr, unsigned long len, +- unsigned long pgoff, unsigned long flags) +-{ +- struct vm_unmapped_area_info info; +- +- if (len > RGN_MAP_LIMIT) +- return -ENOMEM; +- if (len & ~HPAGE_MASK) +- return -EINVAL; +- +- /* Handle MAP_FIXED */ +- if (flags & MAP_FIXED) { +- if (prepare_hugepage_range(file, addr, len)) +- return -EINVAL; +- return addr; +- } +- +- /* This code assumes that RGN_HPAGE != 0. */ +- if ((REGION_NUMBER(addr) != RGN_HPAGE) || (addr & (HPAGE_SIZE - 1))) +- addr = HPAGE_REGION_BASE; +- +- info.flags = 0; +- info.length = len; +- info.low_limit = addr; +- info.high_limit = HPAGE_REGION_BASE + RGN_MAP_LIMIT; +- info.align_mask = PAGE_MASK & (HPAGE_SIZE - 1); +- info.align_offset = 0; +- return vm_unmapped_area(&info); +-} +- + static int __init hugetlb_setup_sz(char *str) + { + u64 tr_pages; +-- +2.25.1 +