Commit Graph

  • 1748d29f40 Manually align registers array to a 16-byte boundary x86fr/sse_on_x64 Sam Demeulemeester 2025-02-17 15:55:29 +01:00
  • 2c42ed3293 Save & Restore XMM registers while processing INT Add disabled AVX init code Sam Demeulemeester 2025-02-16 23:42:36 +01:00
  • 6cee90c4ce Fixed tabs Sam Demeulemeester 2025-02-16 18:18:49 +01:00
  • 41925cb290 Explicitly enable SSE in ASM startup64.S Sam Demeulemeester 2025-02-16 18:10:39 +01:00
  • 0112df884a Enable SIMD up to SSE2 on x86_64 Sam Demeulemeester 2025-02-16 17:29:35 +01:00
  • 76dbe7efad Add dummy get_ram_temp() function on LA64 x86fr/d5temp Sam Demeulemeester 2025-02-16 17:22:48 +01:00
  • 56e587ab94 Change I2C includes defines name to avoid conflict Sam Demeulemeester 2025-02-16 17:19:48 +01:00
  • 3e912b549a Change smbus.h to i2c_x86.h Sam Demeulemeester 2025-02-16 17:14:11 +01:00
  • 5f315018a6 Initial commit for DDR5 Temperature report Sam Demeulemeester 2025-02-16 16:53:09 +01:00
  • 3b1d85291d Change README.md to add recently added 'dark' mode main Sam Demeulemeester 2025-02-10 23:39:13 +01:00
  • 97de11f9f5 Add support for color schemes and implement a dark mode (#496) Sam Demeulemeester 2025-02-10 23:33:48 +01:00
  • bc67b156b3 Avoid unnecessary Frame Buffer updates optimizations 01e3 2025-02-08 16:49:52 -08:00
  • 1eb65bd8bd Avoid unnecessary screen writes 01e3 2025-02-08 15:08:21 -08:00
  • 2f6ab949ae Significantly optimize the bit fade and own addr tests for size, by folding near-identical switch case bodies together, and removing code duplication by merging pattern_fill() and pattern_check(). Also, add a rep stos[lq] path in the bit fade test. Lionel Debroux 2023-10-11 23:37:53 +02:00
  • 6f3039698d Improve the IMC reading code by including IMC support files into */memctrl.c: the Makefile becomes simpler, the build becomes faster, the redundant includes can go away, the resulting binary is more optimized. Lionel Debroux 2023-05-13 21:07:40 +02:00
  • 525a9b4dc3 Inline several functions which are simple or have a single caller, to save a bit of space. Lionel Debroux 2022-09-15 22:08:39 +02:00
  • d1e6ba7d97 Optimize the JEP106 list by switching from relocated string pointers to offsets from the beginning of a string table, defined in a generated file. Lionel Debroux 2022-08-26 22:16:27 +02:00
  • 3fafea11e3 Make paths more uniform across architectures; adjust the build system and Github workflows accordingly. multiarch Lionel Debroux 2024-09-29 22:16:55 +02:00
  • 1a8a65667e Add .osrel section to the EFI binaries so that boot loaders that support the "Boot Loader Spec" can better deal with memtest86+ automatically. Fixes #265. osrel Lionel Debroux 2023-04-01 01:09:51 +02:00
  • e16118505f WIP BROKEN Add SIMD tests for x86 & x86-64: MMX, SSE, SSE2, AVX ( #98 ). simd Lionel Debroux 2023-09-28 23:43:56 +02:00
  • 4821c1bdba Trace cr0, cr3, cr4 upon processor exception. Lionel Debroux 2023-09-28 23:41:14 +02:00
  • a4bc51aac2 WIP BROKEN NX enablement, for now only for the second page directory. Lionel Debroux 2023-01-18 23:36:44 +01:00
  • 88d2095632 Add experimental mode with nontemporal stores (movnt[iq]) in own addr test, the only one where helps with performance across most processors I have access to, both single and multi-socket. Per #79, it saves several dozens of minutes on my 4S Opteron 62xx / 63xx servers equipped with 256 GB of RAM. nontemporal Lionel Debroux 2022-07-13 10:27:44 +02:00
  • 8244b5afde Add beep sound upon pass or failure, based on PIT channel 2. sound demiurg-spb 2024-05-15 16:40:37 +03:00
  • 9053696e12 Switch Address Tests from SEQ to ONE for Faster Error Detection on HCC CPUs (#485) Sam Demeulemeester 2025-02-06 14:14:38 +01:00
  • e5c4800e58 Github workflow: test build on Ubuntu 24.04 as well. (#488) Lionel Debroux 2025-02-06 14:09:52 +01:00
  • 37f8bae2dc build64: Fix iso creation on LoongArch (#490) Chao Li 2025-02-06 20:46:44 +08:00
  • e285fbb4b9 Ignore PS/2 mouse events (issue #456) (#484) martinwhitaker 2025-01-27 20:54:54 +00:00
  • 5a5c6f3c8b Ignore PS/2 mouse events (issue #456) ignore-mouse-events Martin Whitaker 2025-01-27 19:43:54 +00:00
  • 71d061a4c7 Merge bootsect.S and setup.S into header.S (#467) 01e3 2025-01-27 10:43:24 -08:00
  • b51c6e75f3 Add Thermaltake and SSTC Jedec IDs Sam Demeulemeester 2025-01-27 19:41:36 +01:00
  • a65857b702 Early bump to v8.00 Sam Demeulemeester 2025-01-27 19:28:03 +01:00
  • 422212b06a system/hwquirks: Optimization Loongson 7A2000 EHCI quirk (#473) Chao Li 2024-12-07 05:51:18 +08:00
  • bdefff91ce Fix LD error while linking LoongArch EFI binary (#457) Sam Demeulemeester 2024-11-25 17:39:00 +01:00
  • 5a046291fa Add a few RAM manufacturers in JEDEC DB Sam Demeulemeester 2024-11-12 00:25:38 +01:00
  • 51b78487f5 hwquirks: Detect cache on VIA VP3/MVP3 (#356) Jonathan Teh 2024-11-11 23:10:40 +00:00
  • d2ecbac5fd Add PCI ID for the SMBus controller behind the VT8237S bridge. (#448) Lionel Debroux 2024-11-11 23:57:36 +01:00
  • 9ef7eae74e Improve BadRAM pattern collection and add more condensed error reporting modes (#454) martinwhitaker 2024-11-11 22:57:21 +00:00
  • d551d92b45 temperature: Add support for AMD Excavator (#440) Jonathan Teh 2024-11-11 22:49:31 +00:00
  • 63e0ee1a3b Update README to include the new error reporting modes. badram-enhancements Martin Whitaker 2024-11-09 18:24:02 +00:00
  • 52c6c64d57 Bump version to v7.20 v7.20 Sam Demeulemeester 2024-11-11 15:28:41 +01:00
  • 46e3b43859 Add support for latest AMD Zen5 CPU (Ryzen 9000) Change DDR5 SPD Bank switch method on AMD according to feedbacks from betatesters Sam Demeulemeester 2024-11-10 23:45:49 +01:00
  • 461fdd2e8a badram: Increase the number of stored patterns/ranges. Martin Whitaker 2024-11-09 17:32:10 +00:00
  • ccc03d4aeb badram: Add more modes for recording/displaying error maps. Martin Whitaker 2024-11-09 17:26:27 +00:00
  • 0caacfdace badram: Factor out code that wraps to a new line when necessary. Martin Whitaker 2024-11-09 13:29:20 +00:00
  • eded95fba9 badram: Merge patterns immediately when there is no additional cost. Martin Whitaker 2024-11-04 21:06:55 +00:00
  • d50ae56e14 badram: Don't display leading zeros for BadRAM addresses. Martin Whitaker 2024-11-04 18:14:19 +00:00
  • 7df3df62e9 badram: Make DEFAULT_MASK depend on ARCH_BITS, not x86_64 architecture. Martin Whitaker 2024-11-09 12:37:53 +00:00
  • 0736cf2112 efisetup: Ignore Unicode byte-order mark in command line (#421) Tormod Volden 2024-11-03 14:53:24 +01:00
  • 3ce7c3fb39 loongarch: Add 64-bit PCIe memory space mapping and change the stable timer as the main timer (#450) Chao Li 2024-10-25 01:28:00 +08:00
  • a52ad6aa61 system/loongarch: Fix a bug about the memory boundary. (#447) Chao Li 2024-10-17 20:43:27 +08:00
  • f34a85ce07 Add support for Intel MTL & ARL CPUs (#441) Sam Demeulemeester 2024-09-30 13:38:13 +02:00
  • 0a543a41f2 x86_64: preserve r8-11 over call to interrupt handler. (#430) martinwhitaker 2024-09-28 21:19:27 +01:00
  • 97922cc4cf Add LoongArch support (#410) Chao Li 2024-08-30 19:38:46 +08:00
  • 4deea7f228 x86_64: preserve r8-11 over call to interrupt handler. x86-64-preserve-r8-11-on-irq Martin Whitaker 2024-08-11 13:15:39 +01:00
  • e38ad8e6a4 Mark EFI image .text section as writable. Martin Whitaker 2024-08-10 16:11:08 +01:00
  • 771d6d4dca Split SPD parsing and printing code from smbus.c to spd.c (#426) 01e3 2024-08-07 17:41:19 -07:00
  • ce62772c3f WIP BROKEN Attempt to build memtest_shared with LTO: works for the static build but not the dynamic build. lto Lionel Debroux 2022-12-11 18:22:24 +01:00
  • 58b0c5c103 De-pessimize i2c.c by commenting out LA64 code on x86/x86_64, and the other way round. 410_smbus Lionel Debroux 2024-07-24 22:34:45 +02:00
  • 719a07662e system/i2c: Add a method of readout SPD via I2C Chao Li 2024-07-22 11:06:40 +08:00
  • 57dcee96e9 De-pessimize spd.c and i2c.c by building them together again, saving nearly 1 KB. Lionel Debroux 2024-07-24 22:04:42 +02:00
  • 97240e83ae system: Split the SPD functions from smbus.c to spd.c, rename smbus.c to i2c.c Chao Li 2024-06-12 15:24:05 +08:00
  • 98b8aa982e system/memrw: Add LoongArch memory access operations Chao Li 2024-07-16 18:58:08 +08:00
  • 23349da047 system/memrw: Add 8-bit and 16-bit memory operations Chao Li 2024-07-16 18:45:55 +08:00
  • e99ce97648 Add the 64-bit and 32-bit CC flag Chao Li 2024-07-10 15:06:26 +08:00
  • 8d966d98f4 Refactor the memrw functions to reduce the redundancy. (#415) Lionel Debroux 2024-07-16 09:55:13 +02:00
  • fa583c906b app/main: Adjust the inline ASM to i386 only Chao Li 2024-06-18 10:39:55 +08:00
  • 28689102a4 boot: Export the startup64 symbol Chao Li 2024-06-18 10:30:45 +08:00
  • d84c8eebee boot/peimage: Add LoongArch and RISC-V PE machine numbers. Chao Li 2024-06-13 15:50:13 +08:00
  • 5c12c1b2e4 Fix hexadecimal conversion in read_value(). Martin Whitaker 2024-06-21 22:58:25 +01:00
  • f52751d325 Fix read_value() to correctly scale value when shift parameter is negative. Martin Whitaker 2024-06-21 22:25:23 +01:00
  • 3f86696f00 Add GPT partition support Pete Batard 2024-05-20 12:35:45 +01:00
  • e31e24bda5 Help the code build with contemporary Clang: rework the PTE definition macros to avoid excessive recursivity (and in fact avoid it completely), replace a non-portable goto construct. clang Lionel Debroux 2024-03-19 18:12:38 +01:00
  • 778c7b4cc4 Fix the behaviour of sort_pm_map() (issue #392) Martin Whitaker 2024-04-09 20:07:09 +01:00
  • 375e22a4d7 Significantly optimize the bit fade and own addr tests for size, by folding near-identical switch case bodies together, and removing code duplication by merging pattern_fill() and pattern_check(). Also, add a rep stos[lq] path in the bit fade test. bit_fade_own_addr Lionel Debroux 2023-10-11 23:37:53 +02:00
  • 53ca89f8ae Add initial NUMA awareness support (#378) Lionel Debroux 2024-03-13 01:43:26 +01:00
  • ded371e9da Note that BadRAM patterns exclude errors found in tests 0 and 7. Martin Whitaker 2024-03-05 23:06:57 +00:00
  • 7b70c6e026 Fix typo in README. Martin Whitaker 2024-03-05 09:42:59 +00:00
  • 4988b5be5e Initial NUMA awareness (#12) support: parse the ACPI SRAT to build up new internal structures related to proximity domains and affinity; use these structures in setup_vm_map() and calculate_chunk() to skip the work on the processors which don't belong to the proximity domain currently being tested. numa Lionel Debroux 2023-01-22 23:53:05 +01:00
  • ea2cf16f55 Add a file containing useful macro definitions, currently a single top-level macro for obtaining the size of an array; use it to replace a sizeof(x) / sizeof(x[0]) construct in system/smbus.c . This requires switching the GCC build mode from C11 to C11 with GCC extensions. Lionel Debroux 2024-02-04 22:19:22 +01:00
  • 20fca09752 Add boot options to perform display rotation and set preferred screen resolution (#383) martinwhitaker 2024-03-04 13:49:13 +00:00
  • 3608ed8455 Fix typo in README. screen-rotation Martin Whitaker 2024-02-29 18:06:28 +00:00
  • c8be3095b9 Document the new screen and efidebug boot command line options. Martin Whitaker 2024-02-25 12:07:38 +00:00
  • 59a441af61 Improve EFI debug test screen pattern. Martin Whitaker 2024-02-25 10:07:44 +00:00
  • c4aeb079a5 Add a boot command line option for efisetup debug. Martin Whitaker 2024-02-25 10:00:36 +00:00
  • b99edbbf8a Replicate command line parsing of screen options in efisetup.c. Martin Whitaker 2024-02-25 09:32:30 +00:00
  • f8093ab406 Add more debug output for EFI frame buffer mode. Martin Whitaker 2024-02-24 09:24:12 +00:00
  • dbf93d57f0 Extend boot command line options for display screen control. Martin Whitaker 2024-02-23 22:58:53 +00:00
  • 1c314c95f9 Add boot option to rotate screen display through 90 degrees. Martin Whitaker 2024-02-21 16:19:47 +00:00
  • 507f7c4e5b Initial NUMA awareness (#12) support: parse the ACPI SRAT to build up new internal structures related to proximity domains and affinity; use these structures in setup_vm_map() and calculate_chunk() to skip the work on the processors which don't belong to the proximity domain currently being tested. numa_combined Lionel Debroux 2023-01-22 23:53:05 +01:00
  • 61afe1143b WIP BROKEN NX enablement, for now only for the second page directory. Lionel Debroux 2023-01-18 23:36:44 +01:00
  • a541469850 Add experimental mode with nontemporal stores (movnt[iq]) in own addr test, the only one where helps with performance across most processors I have access to, both single and multi-socket. Per #79, it saves several dozens of minutes on my 4S Opteron 62xx / 63xx servers equipped with 256 GB of RAM. Lionel Debroux 2022-07-13 10:27:44 +02:00
  • 78c6d4b400 Significantly optimize the bit fade and own addr tests for size, by folding near-identical switch case bodies together, and removing code duplication by merging pattern_fill() and pattern_check(). Also, add a rep stos[lq] path in the bit fade test. Lionel Debroux 2023-10-11 23:37:53 +02:00
  • 2d3b14ed1a Add detection for various JEDEC Manufacturers Sam Demeulemeester 2024-01-07 15:20:19 +01:00
  • 9ac78de289 Bump actions/stale from 8 to 9 (#362) dependabot[bot] 2024-01-07 15:10:22 +01:00
  • 5dde13b0a1 Preliminary ECC support for AMD Zen CPUs (#353) v7.00 Sam Demeulemeester 2023-11-29 12:53:05 +01:00
  • 9b9c65b968 Reduce padding and relocations (#355) Lionel Debroux 2023-11-29 12:45:17 +01:00
  • 34eb8186fd Significantly optimize test_mov_inv_walk1() for size by moving the ternary operators related to inverse and pattern outside hot paths, which prevents generated code duplication and shortens one of the sides of duplicated loops. (#351) Lionel Debroux 2023-11-19 17:14:08 +01:00
  • bda3776df1 Fix list item references in README (issue #352) Martin Whitaker 2023-11-15 21:48:05 +00:00
  • b8d6788776 Significantly optimize test_mov_inv_walk1() for size by moving the ternary operators related to inverse and pattern outside hot paths, which prevents generated code duplication and shortens one of the sides of duplicated loops. mov_inv_walk1 Lionel Debroux 2023-10-11 21:34:59 +02:00