public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Jonathan Steffan <jsteffan@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/memtest86+] f43: Update to 9.00 (fedora#2553773).
Date: Fri, 16 Oct 2026 15:11:13 GMT [thread overview]
Message-ID: <179216347347.1.3629050045192511982.rpms-memtest86+-091524cef756@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/memtest86+
Branch : f43
Commit : 091524cef75684e3c8bb01a80ca82d5fff230c53
Author : Jonathan Steffan <jsteffan@fedoraproject.org>
Date : 2026-10-16T08:57:37-06:00
Stats : +3/-106 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/memtest86+/c/091524cef75684e3c8bb01a80ca82d5fff230c53?branch=f43
Log:
Update to 9.00 (fedora#2553773).
---
diff --git a/.gitignore b/.gitignore
index 5cc3c72..4bb8725 100644
--- a/.gitignore
+++ b/.gitignore
@@ -7,3 +7,4 @@ memtest86+-4.10.tar.gz
/memtest86-plus-7.20.tar.gz
/memtest86-plus-8.00.tar.gz
/memtest86-plus-8.10.tar.gz
+/memtest86-plus-9.00.tar.gz
diff --git a/memtest86+.spec b/memtest86+.spec
index abd7f0d..e4fe289 100644
--- a/memtest86+.spec
+++ b/memtest86+.spec
@@ -14,7 +14,7 @@ Memtest86+.
%endif
Name: memtest86+
-Version: 8.10
+Version: 9.00
Release: %autorelease
Summary: Stand-alone memory tester for x86-64 computers
License: GPL-2.0-only
diff --git a/memtest86+.support-nx-booting.patch b/memtest86+.support-nx-booting.patch
deleted file mode 100644
index d055d06..0000000
--- a/memtest86+.support-nx-booting.patch
+++ /dev/null
@@ -1,104 +0,0 @@
-From 213285adab6b8da41800cd7fdb8bc4a3f4d2e0c5 Mon Sep 17 00:00:00 2001
-From: martinwhitaker <memtest@martin-whitaker.me.uk>
-Date: Sun, 18 Jan 2026 23:51:27 +0000
-Subject: [PATCH] Work-arounds for issues with Fedora GRUB EFI "linux" command
- (#572)
-
-* Extend the header size to 4KB align the code segment in the image file.
-
-A recent change (commit e41655885) to the Fedora implementation of the
-GRUB "linux" command for EFI boot means it now loads the entire image
-(including the header) at the preferred load address instead of just
-loading the code section. This means the code section is no longer 4KB
-aligned. In our image, the code section contains the combined .text and
-.data sections, so this means the .data section is also no longer 4kB
-aligned, which results in a GPF when the startup code loads the new page
-directory address into CR3.
-
-Work around this issue by extending the header size to force the code to
-start on a 4KB boundary.
-
-* Disable memory write protection after EFI setup.
-
-A recent change (commit e41655885) to the Fedora implementation of the
-GRUB "linux" command for EFI boot means it now attempts to make the
-loaded code section read-only, using the EFI_MEMORY_ATTRIBUTE_PROTOCOL.
-In our image the code section contains the combined .text and .data
-sections. Our startup code needs to write to the .data section before
-we can switch to our own page descriptor table, so globally disable
-write protection as soon as we return from efisetup().
-
-Our page descriptor table makes all pages writable (we need to be able
-to write to memory to test it), so there's no need to reenable the
-write protection once we've made the switch.
-
-I have no UEFI firmware that implements the EFI_MEMORY_ATTRIBUTE_PROTOCOL,
-so this fix is not yet proven.
----
- boot/boot.h | 2 +-
- boot/x86/startup64.S | 8 +++++++-
- build/i586/ldscripts/memtest_efi.lds | 2 +-
- build/x86_64/ldscripts/memtest_efi.lds | 2 +-
- 4 files changed, 10 insertions(+), 4 deletions(-)
-
-diff --git a/boot/boot.h b/boot/boot.h
-index 8f7103f9..d188ef1d 100644
---- a/boot/boot.h
-+++ b/boot/boot.h
-@@ -33,7 +33,7 @@
- #define LOW_LOAD_ADDR 0x00010000 /* The low load address for the main program */
- #define HIGH_LOAD_ADDR 0x00100000 /* The high load address for the main program */
-
--#define SETUP_SECS 2 /* Size of the 16-bit setup code in sectors */
-+#define SETUP_SECS 7 /* Size of the 16-bit setup code in sectors */
-
- #define BOOT_SEG 0x07c0 /* Segment address for the 16-bit boot code */
- #define SETUP_SEG 0x07e0 /* Segment address for the 16-bit setup code */
-diff --git a/boot/x86/startup64.S b/boot/x86/startup64.S
-index c718e245..4b2342c9 100644
---- a/boot/x86/startup64.S
-+++ b/boot/x86/startup64.S
-@@ -6,7 +6,7 @@
- // It supports both the 32-bit and 64-bit Linux boot protocols and EFI boot
- // for the first boot of the BSP.
- //
--// Copyright (C) 2020-2024 Martin Whitaker.
-+// Copyright (C) 2020-2025 Martin Whitaker.
- //
- // Derived from memtest86+ head.S:
- //
-@@ -134,6 +134,12 @@ efi_handover:
- andq $~0xf, %rsp
- call efi_setup
-
-+ # Disable write protection in case the boot loader has made the
-+ # loaded image read-only.
-+ movq %cr0, %rcx
-+ andw $0x7fff, %cx
-+ movq %rcx, %cr0
-+
- # Save the boot params pointer.
-
- movq %rax, boot_params_addr(%rip)
-diff --git a/build/i586/ldscripts/memtest_efi.lds b/build/i586/ldscripts/memtest_efi.lds
-index aa01761e..5b87ef84 100644
---- a/build/i586/ldscripts/memtest_efi.lds
-+++ b/build/i586/ldscripts/memtest_efi.lds
-@@ -59,5 +59,5 @@ SECTIONS {
- _virt_img_size = _virt_sbat_start + _virt_sbat_size;
-
- . = ASSERT(header == 0x202, "The setup header has the wrong offset!");
-- . = ASSERT(_file_text_start == 0x600, "The .text is at the wrong offset!");
-+ . = ASSERT(_file_text_start == 0x1000, "The .text is at the wrong offset!");
- }
-diff --git a/build/x86_64/ldscripts/memtest_efi.lds b/build/x86_64/ldscripts/memtest_efi.lds
-index a24c5bf6..dbcd4e8a 100644
---- a/build/x86_64/ldscripts/memtest_efi.lds
-+++ b/build/x86_64/ldscripts/memtest_efi.lds
-@@ -59,5 +59,5 @@ SECTIONS {
- _virt_img_size = _virt_sbat_start + _virt_sbat_size;
-
- . = ASSERT(header == 0x202, "The setup header has the wrong offset!");
-- . = ASSERT(_file_text_start == 0x600, "The .text is at the wrong offset!");
-+ . = ASSERT(_file_text_start == 0x1000, "The .text is at the wrong offset!");
- }
diff --git a/sources b/sources
index 0fa178b..2e0a3bf 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (memtest86-plus-8.10.tar.gz) = 2d025a1366f1c5ee3b1d5052470059cb4b6c4cf04017d2b1cce4b0efa9c0deb771a768931917bc5ac75dfdf991f7c0e7cd7901b334173ddbb70e00092d7d9dcc
+SHA512 (memtest86-plus-9.00.tar.gz) = bbde591bab4a59cc5e2d253b17cf2ae08327dfb3385895e14f927c1913768c0c94ca966cf45c8da6ae3b17d435732309fe88a19078160795a640bc45fcb63ab9
reply other threads:[~2026-10-16 15:11 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179216347347.1.3629050045192511982.rpms-memtest86+-091524cef756@fedoraproject.org \
--to=jsteffan@fedoraproject.org \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox