Run-time dynamic random access memory (DRAM) repair and / or replacement in a memory system for a processor-based system

The run-time DRAM repair and replacement process migrates data to backup memory, addressing downtime issues by enabling on-the-fly repairs or replacements of defective DRAM modules in processor-based systems.

WO2026246013A1PCT designated stage Publication Date: 2026-11-26MICROSOFT TECHNOLOGY LICENSING LLC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
PCT/US2026/018254
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2025-05-20
Filing Date
2026-03-08
Publication Date
2026-11-26

AI Technical Summary

Technical Problem

Existing DRAM modules in processor-based systems require full reboot or power cycle for repairs or replacements, leading to undesired long downtime and service outages due to limited error correction capabilities and hardware issues.

Method used

Implement a run-time dynamic DRAM repair and/or replacement process that migrates data from defective DRAM modules to available backup memory on non-defective modules, allowing for on-the-fly repairs or replacements without powering down the system.

Benefits of technology

Enables continuous operation by redirecting memory access requests to backup memory, facilitating safe repair or replacement of defective DRAM modules during system runtime, thereby avoiding downtime.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure US2026018254_26112026_PF_FP_ABST
    Figure US2026018254_26112026_PF_FP_ABST
Patent Text Reader

Abstract

Run time dynamic random access memory (DRAM) repair and / or replacement in a memory system for a processor-based system. To allow a DRAM module with a detected memory error to be repaired / replaced in run time, the memory system utilizes available free space on another non-defective DRAM module(s) as temporary backup memory for the defective DRAM module. The memory system is configured to perform a defective DIMM runtime repair / replacement process that migrates data on the defective DRAM module into a backup memory region(s) in a non-defective DRAM module(s) and temporarily remaps memory addressing to the defective DRAM module to the backup memory region(s). The defective DRAM module can be repaired / replaced during run time to avoid downtime. The memory system then migrates data from the backup memory region(s) to the newly repaired / replaced DRAM module and remaps memory addressing back to the repaired / replaced DRAM module.
Need to check novelty before this filing date? Find Prior Art

Description

RUN-TIME DYNAMIC RANDOM ACCESS MEMORY (DRAM) REPAIR AND / OR REPLACEMENT IN A MEMORY SYSTEM FOR A PROCESSOR-BASED SYSTEMField of the Disclosure

[0001] The technology of the disclosure relates generally to memory for a processor-based system to store and retrieve data, and more specifically to repair and / or replacement of defective memory' in an in-line memory module (IMM) (e.g., a dual IMM (DIMM).Background

[0002] Central processing units (CPUs), also known as microprocessors, perform computational tasks in a wide variety of applications. The CPU is typically provided in a processor-based system that includes other components, such as a system memory for storing data and / or software instructions. A typical CPU includes one or more processors each configured to execute software instructions. The CPU is included in a processor-based system that includes other supporting hardware / circuitry to support operation of the CPU. For example, the processor-based system includes system memory' that is used to store data and software instructions. The software instructions are fetched and executed by the CPU, which in turn can instruct the CPU to fetch data from a location in the system memory as part of a memory read operation, perform one or more CPU operations using the fetched / read data, and generate a result. The generated result may then be stored back into the system memory as a memory write operation as part of the instruction’s execution in a processor. The CPU and / or processor-based system also ty pically contain cache memory' that can be used to cache software instructions and / or data from system memory' for faster access. A cache controller manages the insertion of data into the cache memory’ from system memory and eviction of data from the cache memory back into the system memory.

[0003] It is common for system memory’ in a processor-based system to be provided as a dynamic random access memory (RAM) (DRAM). In a DRAM, individual bits of data are stored in individual DRAM bit cells comprised of a transistor and a capacitor pair. A DRAM is an electrical circuit that consists of a memory array of DRAM bit cells that are addressable for access (i.e., read and write operations). A DRAM can be provided in an integrated circuit (IC) chip, which is referred to as a “DRAM chip.’’ A DRAM module is a package that includes one or more DRAM chips that are configured to support a data word of a desired data width with a designed number of memory channels. A DRAM module is commonly packaged in an in-line memory module (IMM), which may be a single IMM (SIMM) or dual IMM (DIMM). An advantage of DRAM bit cells is that less transistors are required as opposed to a static RAM (SRAM) bit cell, and thus, DRAM bit cells can be fabricated at a high density’ in an IC. However, DRAM bit cells require a pre-charging operation for access operations. However, the use of cache memory’ in a processor-based system to provide fast memory accesses more easily allows for a tradeoff in use of a DRAM as system memory which has slower access rates, but can be provided at a higher density in an IC. To compensate for this tradeoff, a DRAM module can be provided in the form of a double data rate (DDR) DRAM module, that supports data transfer twice per clock cycle, effectively doubling the data transfer rate.

[0004] DDR DRAM failure is a hardware issue seen in server platforms. DRAM can include error correction code (ECC) memory (i.e., bits dedicated for parity for the DRAM memory rows) that can be used to incorporate parity bits to allow detection and / or correction of bit errors. However, ECC schemes can be limited. For example, an ECC scheme may be a Single-bit Error Correction and Double-bit Error Detection (SECDED) scheme that can correct a single bit error in a data word (unit of data transferrable (e.g., a memory row)), but cannot correct multiple bit errors in a data word. Thus, bit errors in a DRAM that are uncorrectable may be deemed a memory failure in the DRAM. When a DRAM module experiences a memory failure, the memory system can perform a package repair process to redirect addressing of a defective memory row(s) to a spare memory row(s) in the DRAM module. For example, the Joint Electron Device Engineering Council (JEDEC) double data rate 5thgeneration (DDR5) specification that is commonly followed for use of DDR DRAM modules defines a hardware post-package repair (hPPR) that can be used to fix defective memory rows in DIMMs. Alternatively, the DRAM module with the defective memory row(s) can be replaced. However, PUs / servers that employe the memory system require a full reboot or powder cycle for such repairs or replacement, leading to long downtime and service outages in an undesired manner.Summary

[0005] Exemplary aspects disclosed herein include run-time dynamic random access memory (DRAM) repair and / or replacement in a memory system for a processor-based system. The memory7system includes a memory7that includes multiple DRAM modules and also includes one or more memory controllers configured to process memory access requests from a processing unit (PU) in a processor-based system to the memory7. As an example, a DRAM module may be an inline memory module (IMM), such as a single IMM (SIMM) or dual IMM (DIMM), that includes a plurality of DRAM chips (e.g., x4 or x8 DRAM chips) organized to handle memory7accesses of a given data word size based on the data width of the DRAM chips and burst length. In exemplary7aspects, to allow for a DRAM module in the memory detected as having a memory error requiring repair or replacement, to be repaired / replaced during run time so as to not require the processorbased system to have to be powered down, the processor-based system is configured to utilize available free (i.e., unused) space on another non-defective DRAM module(s) as temporary7backup memory for the defective DRAM module. In response to the memory system detectingthe memory error, the processor-based system is configured to perform a defective DIMM runtime repair / replacement process. This process includes migrating data on the defective DRAM module into a backup memory region(s) in a non-defective DRAM module(s). The memory system is configured to implement a remapping where memory access requests directed to the defective DRAM module are redirected to the backup memory region(s) in the non-defective DRAM module(s). As the defective DRAM module is not being accessed after its remapping, the defective DRAM module can be safely repaired (e.g., memory7row replaced with spare memory' row) or physically replaced as needed during run time of the PU to avoid downtime. After the defective DRAM module is repaired or replaced, the memory system is configured to migrate the data previously stored from the defective DRAM module to the backup memory7region(s), back to the newly repaired or replaced DRAM module. The memory system can then de-allocate the backup memory7region(s) and exit the remapping mode such that memory access requests destined for the previously defective DRAM module are once again mapped to the repaired / replaced DRAM module in the memory of the memory system.

[0006] In an exemplary aspect, a memory controller of the memory' system can be configured to forward all memory7access requests evenly into a plurality7of DRAM modules in the memory7in an interleaved manner for performance optimization. Each DRAM module can contain normal memory rows that are designated for normal consumption (e.g., by an operating system (OS) of the PU) for memory7access requests, and unused memory rows that can be used for backup memory in the DRAM module. The memory7system is configured to detect memory7bit cell errors in the DRAM modules. For example, if a given DRAM module consistently incurs a correctable error (e.g., through the implemented ECC scheme) and / or uncorrectable error in memory bit cells at certain memory addresses, all memory addresses associated with the memory row that contains the memory bit cell(s) with the detected correctable and / or uncorrectable error may be impacted by the memory7error. To repair this memory7error, the memory7system can be configured to perform a built-in self test (BIST) repair process to try to fix the defective memory7bit cell(s). In exemplary aspects, if a hard repair (i.e.. process to repair a defective memory row or replace the defective DRAM module with the defective memory altogether), the processor-based system can be configured to allocate memory' in unused memory rows in another DRAM module(s) as backup memory. If the memory system does not have enough unused memory space, an OS operating in the PU could stop non-critical applications and / or hibernate such applications to free up space in the memory system. The memory system can then migrate the data from the defective DRAM module to the allocated unused memory7space as backup memory to allow the defective DRAM module to be repaired / replaced, remap addressing to the defective DRAM module to the backup memory to allow run-time repair / replacement of the defective DRAM module, and then thedefective DRAM module is repaired / replaced, and then migrate the backed up data from the backup memory to the newly repaired / replaced DRAM module. The processor-based system can then deallocate the backup memory in the memory'.

[0007] In this regard, in one exemplar}’ aspect, a processor-based system is provided. The processor-based system comprises a processing unit (PU) configured to generate memory access requests for a memory system in a run time of the PU. The processor-based system also comprises the memory system, comprising: a system memory- comprising a plurality of dynamic random access memory' (DRAM) modules each having a memory space configured to be allocated between a normal memory space and a spare memory space; and a memory controller configured to, in a normal access mode: receive a memory access request comprising a memory address generated by the PU; and perform the memory access request to the memory address in the memory’ access request. The processor-based system is configured to: detect a memory' error within the normal memory space in a first DRAM module of the plurality of DRAM modules in the system memory; and determine a memory repair to the first DRAM module with the detected memory error. The processor-based system is also configured, in response to determining the memory' repair for the first DRAM module, enter a memory' repair mode during the run time of the PU to: allocate spare memory space from the memory space in at least one second DRAM module of the plurality’ of DRAM modules in the system memory; copy first data in the normal memory space in the first DRAM module into the allocated spare memory space in the at least one second DRAM module; remap addressing to the first DRAM module to the allocated spare memory' space in the at least one second DRAM module, in response to the copy of the first data into the allocated spare memory space in the at least one second DRAM module; determine the memory error in the first DRAM module has been repaired; and in response to determining the memory error in the first DRAM module has been repaired: copy the first data stored in the allocated spare memory space in the at least one second DRAM module, back into the normal memory space in the first DRAM module; remap addressing to the normal memory space in the first DRAM module, to the normal memory space in the first DRAM module, in response to the copy of the first data back into the normal memory space in the first DRAM module; and enter the normal access mode, in response to remap addressing to the normal memory space in the first DRAM module.

[0008] In another exemplary aspect, a method of performing a run-time repair of a dynamic random access memory (DRAM) module in a memory system in a processor-based system is provided. The method comprises generating, by a processing unit (PU), memory' access requests for a memory' system in a run time of the PU. The method also comprises, in a normal access mode: performing a memory’ access request to a memory address in the memory access request.The method also comprises, detecting a memory error within a normal memory space of a memory space in a first DRAM module of a plurality of DRAM modules in a system memory of the memory7sy stem. The method also comprises determining a memory7repair to the first DRAM module with the detected memory error. The method also comprises in response to determining the memory repair for the first DRAM module, entering a memory repair mode during the run time of the PU for: allocating spare memory7space from the memory space in at least one second DRAM module of the plurality of DRAM modules in the system memory7; copying first data in the normal memory7space in the first DRAM module into the allocated spare memory space in the at least one second DRAM module; remapping addressing to the first DRAM module to the allocated spare memory space in the at least one second DRAM module, in response to the copying the first data into the allocated spare memory7space in the at least one second DRAM module; determining the memory error in the first DRAM module has been repaired; and in response to determining the memory error in the first DRAM module has been repaired: copying the first data stored in the allocated spare memory space in the at least one second DRAM module, back mto the normal memory' space in the first DRAM module; remapping addressing to the normal memory7space in the first DRAM module, to the normal memory space in the first DRAM module, in response to the copying of the first data back into the normal memory7space in the first DRAM module; and entering the normal access mode, in response to the remapping of the addressing to the normal memory space in the first DRAM module to the normal memory space in the first DRAM module.

[0009] In another exemplary aspect, a non-transitory computer-readable medium is provided, having stored thereon computer executable instructions, which when executed by a processor in a processor-based system comprising a plurality of processor cores, cause the processor to perform a run-time repair of a DRAM module in a memory system in the processor-based system causing the processor to: generate, by a processing unit (PU), memory access requests for a memory system in a run time of the PU; in a normal access mode: perform a memory7access request to a memory address in the memory access request; detect a memory error within a normal memory space of a memory7space in a first DRAM module of a plurality of DRAM modules in a system memory' of a memory7system; determine a memory' repair to the first DRAM module with the detected memory7error; and in response to determining the memory repair for the first DRAM module, enter a memory repair mode during the run time of the PU to: allocate spare memoryspace from the memory space in at least one second DRAM module of the plurality of DRAM modules in the system memory; copy first data in the normal memory7space in the first DRAM module into the allocated spare memory space in the at least one second DRAM module; remap addressing to the first DRAM module to the allocated spare memory space in the at least onesecond DRAM module, in response to the copy of the first data into the allocated spare memory space in the at least one second DRAM module; determine the memory error in the first DRAM module has been repaired; and in response to determining the memory error in the first DRAM module has been repaired: copy the first data stored in the allocated spare memory space in the at least one second DRAM module, back into the normal memory space in the first DRAM module; remap addressing to the normal memory space in the first DRAM module, to the normal memory space in the first DRAM module, in response to the copy of the first data back into the normal memory space in the first DRAM module; and enter the normal access mode, in response to the remap of addressing to the normal memory space in the first DRAM module to the normal memory space in the first DRAM module.

[0010] Those skilled in the art will appreciate the scope of the present disclosure and realize additional aspects thereof after reading the following detailed description of the preferred embodiments in association with the accompanying drawing figures.Brief Description of the Drawing Figures

[0011] The accompanying drawing figures incorporated in and forming a part of this specification illustrate several aspects of the disclosure, and together w ith the description sen e to explain the principles of the disclosure.

[0012] Figure 1 is a block diagram of an exemplary processor-based system that includes a processing unit (PU) that includes a plurality of processor cores ('‘cores”), and a memory system that includes a plurality of dynamic random access memory (DRAM) modules accessible by the PU for storing and retrieving data, wherein the memory system is configured to perform a defective DRAM module run-time repair / replacement process in response to detecting defective memory space in a DRAM module, to backup data from a detected defective DRAM module to other available free (i.e., unused) space on another non-defective DRAM module(s) in the memory system as temporary backup memory7, so that the defective DRAM module(s) can be repaired or replaced, as needed, during run time of the processor-based system to avoid downtime;

[0013] Figure 2A is a block diagram of an exemplary system memory that can be the system memory in the memory system in Figure 1, wherein the system memory includes four (4) double data rate (DDR) DRAM modules in the form of four (4) dual in-line memory7modules (DIMMs) that are each addressable through a respective memory7controller by an operating system (OS) executing in a PU;

[0014] Figure 2B is another block diagram of the system memory in Figure 2A illustrating that each DIMM includes normal consumed memory7rows, and spare memory rows that can be used for repairing defective memory rows, and that can also be used as temporary backup memory7for offloaded data from a defective DIMM during a defective DRAM module run-timerepair / replacement process;

[0015] Figure 3 is a block diagram of a DDR DIMM in the system memory in Figures 2A and 2B with a defective memory bit cell thus rendering its memory row defective;

[0016] Figure 4 is a block diagram of the system memory in Figures 2A and 2B illustrating an exemplary defective DRAM module run-time repair / replacement process to back up data from a detected defective DRAM module to other available free (i.e., unused) space on another nondefective DRAM module(s) in the system memory as temporary backup memory, so that the defective DRAM module(s) can be repaired or replaced, as needed, during run time of a processorbased system to avoid downtime;

[0017] Figures 5A and 5B is a flowchart illustrating an exemplary defective DRAM module run-time repair / replacement process to back up data from a detected defective DRAM module to other available free (i.e., unused) space on another non-defective DRAM module(s) in a system memory as temporary backup memory, so that the defective DRAM module(s) can be repaired or replaced, as needed, during run time of a processor-based system to avoid downtime, that can be performed in the memory systems in Figure 1-2B and 4;

[0018] Figure 6 is a flow diagram illustrating another exemplary defective DRAM module run-time repair / replacement process to back up data from a detected defective DRAM module to other available free (i.e.. unused) space on another non-defective DRAM module(s) in a system memory as temporary backup memory7, so that the defective DRAM module(s) can be repaired or replaced, as needed, during run time of a processor-based system to avoid downtime: and

[0019] Figure 7 is a block diagram of another exemplary processor-based system that can be the processor-based system in Figure 1. wherein the processor-based system includes a memory7system that can be the memory system of Figures 1-2B and 4, that can perform a defective DRAM module run-time repair / replacement process to back up data from a detected defective DRAM module to other available free (i.e., unused) space on another non-defective DRAM module(s) in the system memory7as temporary7backup memory, so that the defective DRAM module(s) can be repaired or replaced, as needed, durrng run time of the processor-based system to avoid downtime, including according to, but not limited to, the defective DRAM module run-time repair / replacement processes in Figures 5A-5B and 6.Detailed Description

[0020] Exemplary aspects disclosed herein include run-time dynamic random access memory (DRAM) repair and / or replacement in a memory system for a processor-based system. The memory system includes a memory that includes multiple DRAM modules and also includes one or more memory controllers configured to process memory7access requests from a processing unit (PU) in a processor-based system to the memory7. As an example, a DRAM module may be an in-line memory module (IMM), such as a single IMM (SIMM) or dual IMM (DIMM), that includes a plurality of DRAM chips (e.g., x4 or x8 DRAM chips) organized to handle memory' accesses of a given data word size based on the data width of the DRAM chips and burst length. In exemplary' aspects, to allow for a DRAM module in the memory’ detected as having a memory error requiring repair or replacement, to be repaired / replaced during run time so as to not require the processorbased system to have to be powered down, the processor-based system is configured to utilize available free (i.e., unused) space on another non-defective DRAM module(s) as temporary' backup memory for the defective DRAM module. In response to the memory system detecting the memory error, the processor-based system is configured to perform a defective DIMM runtime repair / replacement process. This process includes migrating data on the defective DRAM module into a backup memory' region(s) in a non-defective DRAM module(s). The memory system is configured to implement a remapping where memory access requests directed to the defective DRAM module are redirected to the backup memory region(s) in the non-defective DRAM module(s). As the defective DRAM module is not being accessed after its remapping, the defective DRAM module can be safely repaired (e.g., memory row replaced with spare memory row) or physically replaced as needed during run time of the PU to avoid downtime. After the defective DRAM module is repaired or replaced, the memory system is configured to migrate the data previously stored from the defective DRAM module to the backup memory region(s), back to the newly repaired or replaced DRAM module. The memory system can then de-allocate the backup memory region(s) and exit the remapping mode such that memory access requests destined for the previously defective DRAM module are once again mapped to the repaired / replaced DRAM module in the memory of the memory system.

[0021] In an exemplary aspect, a memory controller of the memory system can be configured to forw ard all memory access requests evenly into a plurality of DRAM modules in the memory in an interleaved manner for performance optimization. Each DRAM module can contain normal memory rows that are designated for normal consumption (e g., by an operating system (OS) of the PU) for memory access requests, and unused memory rows that can be used for backup memory in the DRAM module. The memory system is configured to detect memory' bit cell errors in the DRAM modules. For example, if a given DRAM module consistently incurs a correctable error (e.g., through the implemented ECC scheme) and / or uncorrectable error in memory bit cells at certain memory addresses, all memory’ addresses associated with the memory row that contains the memory bit cell(s) with the detected correctable and / or uncorrectable error may be impacted by the memory error. To repair this memory error, the memory system can be configured to perform a built-in self test (BIST) repair process to try’ to fix the defective memory' bit cell(s). In exemplary aspects, if a hard repair (i.e., process to repair a defective memory row or replace thedefective DRAM module with the defective memory altogether), the processor-based system can be configured to allocate memory in unused memory rows in another DRAM module(s) as backup memory. If the memory7system does not have enough unused memory7space, an OS operating in the PU could stop non-critical applications and / or hibernate such applications to free up space in the memory system. The memory system can then migrate the data from the defective DRAM module to the allocated unused memory7space as backup memory to allow the defective DRAM module to be repaired / replaced, remap addressing to the defective DRAM module to the backup memory to allow run-time repair / replacement of the defective DRAM module, and then the defective DRAM module is repaired / replaced. and then migrate the backed up data from the backup memory to the newly repaired / replaced DRAM module. The processor-based system can then deallocate the backup memory in the memory.

[0022] Before discussing examples of defective DRAM module run-time repair / replacement processes performed in a processor-based system to back up data from a detected defective DRAM module to other available free (i.e., unused) space on another non-defective DRAM module(s) in the system memory as temporary backup memory7so that the defective DRAM module(s) can be repaired or replaced during run time of the processor-based system to avoid downtime, starting at Figure 4, an exemplary7processor-based system with system memory7is first discussed in regard to Figures 1-3 below. The exemplary processor-based system in Figures 1-3 can be configured to perform a defective DRAM module run-time repair / replacement process.

[0023] In this regard, Figure 1 is a block diagram of an exemplary processor-based system 100 that includes a processing unit (PU) 102 that includes ‘N’ number of processor cores 104(1)-104(N) ("cores’'). wherein ‘N’ is a positive whole number representing the number of cores. The processor-based system 100 also includes a memory system 106 that includes a cache memory system 108 and a system memory 110. In this example, as discussed in more detail below, the system memory7110 is a DRAM that includes a plurality of DRAM modules. The system memory7110 can be configured to store both data and program instructions that can be retrieved and executed by the cores 104(l)-104(N) in the PU 102. The PU 102 can be any type of processing unit, including but not limited to, a central processing unit (CPU), graphics processing unit (GPU), neutral network processing unit (NPU), etc. In this example, the system memory 110 contains the full address space of the memory7system 106, and is addressable by a physical memory address, also referred to as a physical address (PA). The cache memory system 108 in the memory system 106 includes one or more cache memories 112( 1 )- 112(X), where ‘X’ is a positive whole number representing the number of cache memories included in the processor-based system 100. Note that the processor-based system 100 can be included in a single integrated circuit (IC) chip 114, such as a system-on-a-chip (SoC) that includes the PU 102, some or all of the cache memory7system108 and other supporting computing circuits / sy stems as shown in Figure 1.

[0024] With continuing reference to Figure 1, the memory system 106 of the processor-based system 100 also includes a memory7controller 116 that controls access to the system memory 110 in response to receiving a memory access request 118 from a core 104(l)-104(N) in the PU 102. For example, acore 104(l)-104(N) as arequesting device may issue amemory access request 118 to read data from the memory in the memory system 106 in response to processing a load instruction. The memory7access request 118 includes a target memory7address of the data to be read. When the PU 102 is operable and able to issue memory access request 118, this is considered “run time” of the PU 102, meaning the PU 102 is actively executing program instructions to carryout the tasks of applications, which can be under supervision of its operating system (OS). Using core 104(1) as an example, if the requested data is not in a private cache memory7112(1) of the core 104(1) (i.e., a cache miss to the cache memory 112(1)) which may be considered a level one (LI) cache memory, the private cache memory 112(1) forwards the memory access request 118 over an internal system bus 120 in this example to a shared cache memory 112(X) shared with all of the cores 104(l)-104(N), which may be a level 3 (L3) and last level cache memory for example. The requested data in the memory7access request 118 is eventually either fulfilled in a cache memory 112(1)- 112(X) or the system memory7110 if not contained in any of the cache memories 112(1)-112(X). Note that in Figure 1, some cache memories such as cache memories 112(2), 112(3) are shared, but only shared by a respective subset of the cores 104(2)- 104(3), 104(4)-104(X).

[0025] With continued reference to Figure 1, the processor-based system 100 also includes a built-in self testing (BIST) system 122 in this example. The BIST system 122 is configured to perform functional testing of the PU 102 and its cores 104(l)-104(N) and the memory system 106. The BIST system 122 is configured to perform functional tests in the memory^ system 106 using test scan data from a test scan file. The test scan data is data that can be applied to various circuits in the processor-based system 100 in a test mode so that such circuits are exercised. The results of applying the test scan data to the tested circuits can then be verified to determine if any errors exist. In this regard, the processor-based system 100 can include a test access port (TAP) 124 to control distribution of data for the BIST system 122 when in a test mode to perform functional testing. The processor-based system 100 may include a debug interface 126 that is configured to receive test control data 128 that is provided to the BIST system 122 to allow the BIST system 122 to control the test mode and how to control the testing of the processor-based system 100, such as through the updating of test registers. For example, the test control data 128 may be compatible with the joint test action group (JTAG) standard. The BIST system 122 is configured to apply test scan data to the circuits in the processor-based system 100 to be tested according tothe test control data 128. The testing coverage ability of the BIST system 122 is related to the amount of test scan data that can be accessed.

[0026] Figure 2A is a block diagram of an exemplary' system memory' 210 that can be provided as the system memory 110 in the processor-based system 100 in Figure 1 to support storage and retrieval of data. The system memory 210 is shown interfaced with the PU 102 in the processorbased system 100 in Figure 1. In this example, the system memory’ 210 is a DRAM 200. The DRAM 200 includes multiple DRAM modules 202(l)-202(D), which are circuit boards on which memory ICs are mounted and that may share address and control buses for controlling memory' accesses to the DRAM modules 202(1 )-202(D). In this example, each DRAM module 202(1)-202(D) is an in-line memory module (IMM), such as a single IMM (SIMM) with one side of the circuit board populated with memory ICs, or a dual IMM (DIMM) with both sides of its circuit board populated with memory ICs. In Figure 2A, the DRAM 200 includes synchronous DRAM (SDRAM) DIMMs 204(l)-204(D) (also referred to as DIMMs 204(1 )-204(D)) that synchronize with the internal system bus 120 to provide for faster data transfer rates. As shown in Figure 2 A, each DIMM 204(l)-204(D) includes a plurality' of DRAM chips 206(l)(l)-206(l)(10) -206(D)(l)-206(D)(10) that can be, for example, x4 DRAM chips having a data bus width of four (4) bits or x8 DRAM chips having a data bus width of eight (8) bits. The DRAM chips 206(l)(l)-206(1 )(10) - 206(D)(l)-206(D)(10) can be single data rate (SDR) DRAM chips or double data rate (DDR) DRAM chips, as examples. Each DIMM 204(l)-204(D) in this example can be configured as having a single memory' channel or dual memory' channels. For example, each DIMM 204(1)-204(D) could be configured with x4 DRAM chips that are each configured generate a 32-bit data word over eight DRAM chips 206(1 )(l)-206(l)(4), 206(1 )(6)-206(l)(9) and 206(D)(1)-206(D)(4), 206(D)(6)-206(D)(9) in each transfer. The DRAM chips 206(l)(5), 206(l)(10) and 206(D)(5), 206D(10) can be used to store ECC information for data. For example, the DRAM 200 can be configured with two memory channels of 40 bits each in data width, wherein one memory' channel is comprised of x4 DRAM chips 206(l)(l)-206(l)(5), and the other memory channel is comprised of x4 DRAM chips 206(D)(6)-206(D)(10). As another example, each DIMM 204(1)-204(D) could be configured with x8 DRAM chips in two memory channels of DRAM chips 206(l)(l)-206(l)(5) and 206(D)(l)-206(D)(5) for one memory' channel and DRAM chips 206(l)(6)-206(l)(10) and 206(D)(6)-206(D)(10) each configured to generate a 32-bit data word in each transfer. The DIMMs 204(1 )-204(D) can also be configured to support memory bursting as well. For example, if the DIMMs 204(l)-204(D) are configured with x4 DRAM chips that are each configured generate a 32-bit data word over eight DRAM chips 206(l)(l)-206(l)(4), 206(1 )(6)-206(l)(9) and 206(D)(l)-206(D)(4), 206(D)(6)-206(D)(9) in each transfer, and memory' bursting of size 8 is employed, a memory transaction can provide a 256 bit data word, or 32 bytedata word.

[0027] As further shown in Figure 2 A, the system memory 210 also includes respective memory controllers 116(1)-116(D) that can be the memory controller 116 in Figure 1. Separate memory controllers 116(1)- 116(D) are provided and interfaced with each respective DIMM 204(1 )-204(D) to control memory accesses to the respective DIMMs 204(1 )-204(D). Note that a single memory controller could also be employed to control memory accesses to each of the DIMMs 204(1 )-204(D) in the DRAM 200 if desired. Providing multiple memory' controllers 116(1 )-l 16(D) can support multiple memory' channels in the DRAM 200 to allow memory access to be performed to different DIMMs 204(l)-204(D) simultaneously. In this example, the PU 102 and / or an operating system (OS) 208 operating in the PU 102 can generate a memory access request 118 (i.e., a read or write request) that includes a PA for the memory' access to the memory controllers 116(1)- 116(D) in response to a memory request from a core 104(l)-104(N) in the PU 102. In this example, the DRAM 200 is configured to interleave data among in the DIMMs 204(1)-204(D), so each of the memory controllers 116(1)-116(D) in this example processes the memory access in the memory' access request 118. In this example, the DIMMs 204(l)-204(D) are organized to store and access data according to a media address (MA) scheme which is a type of virtual address of the PA. Thus, in this example, the memory controllers 116(1)-116(D) are configured to convert the received PA to a MA that is used to address their respective DIMM 204(l)-204(D) for memory' access requests 118.

[0028] Figure 2B is another block diagram of the system memory 210 and its DRAM 200 in Figure 2A that includes four (4) DIMMs 204(l)-204(4) (also labeled DIMM0 - DIMM3, respectively). As shown in Figure 2B, the PU 102 is configured to provide memory’ access requests 118, which in this example may be routed through an intermediate control processor (CP) 212. The memory' access requests 118 are provided over the internal system bus 120 to the system memory’ 210. The CP 212 may be configured to have logic circuits configured to provide the appropriate instructions for the memory access requests 118 to the respective memory controllers 116(1)-116(4) for the respective DIMMs 204(1 )-204(4). Each memory controller 116(1)-116(4) is configured to provide a memory' access request 118(1 )- 118(4) to its respective DIMM 204(1)-204(D) over respective internal buses 211 (1)-211 (4) (i.e., control, address, data buses).

[0029] DRAM failure is a hardware issue seen in computing platforms, such as server platforms. While DRAM such as the DRAM 200 in Figure 2 can include ECC to allow detection and / or correction of bit errors, ECC schemes can be limited. For example, an ECC scheme may be a Single-bit Error Correction and Double-bit Error Detection (SECDED) scheme that can correct a single bit error in a data word (unit of data transferrable (e.g. , a memory' row)), but cannot correct multiple bit errors in a data word. Thus, bit errors in the DRAM 200 that are uncorrectablemay be deemed a memory failure in the DRAM 200. For example, Figure 3 is a block diagram of the DRAM 200 in Figures 2A and 2B illustrating a defective DRAM bit cell 300(1) in the DIMM 204(2). This defective DRAM bit cell 300(1) in the DIMM 204(2) can thus effectively cause a memory error in the entire memory’ row 302 in which the defective DRAM bit cell 300(1) is included along with other DRAM bit cells 300(0). 300(2)-300(B) across the kernel pages 0-B maintained by the OS 208 operating in the PU 102. In this instance, when the DIMM 204(2) experiences this memory' failure, a package repair process can be performed to redirect addressing of the defective memory' row 302 to a spare memory row provided in the DIMM 204(2). For example, the Joint Electron Device Engineering Council (JEDEC) double data rate 5thgeneration (DDR5) specification that may be followed for use of the DRAM 200 defines a hardware postpackage repair (hPPR) that can be used to fix defective memory rows in the DIMMs 204(1)-204(D), including the DIMM 204(2). Alternatively, the DIMM 204(2) with its defective memory' row 302 can be physically replaced. However, with the PU 102 in Figure 1 employing the DRAM 200 as its system memory 110, the PU 102 would normally require a full reboot or power cycle for such DIMM 204(2) repair or replacement, leading to long downtime and service outages in an undesired manner.

[0030] Figure 4 is a block diagram of the system memory 210 in Figure 2B, but illustrating an exemplary defective DRAM module run-time repair / replacement process to back up data from a detected defective DRAM module 202(l)-202(4) to other available free (i.e., unused) space on another non-defective DRAM module(s) 202(l)-202(4) in the system memory 210 as temporary backup memory. The detected defective DRAM module 202(l)-202(4) can then be repaired or replaced, as needed, during run time of the processor-based system 100 and its PU 102 to avoid downtime.

[0031] In this regard, as shown in Figure 4, each of the DRAM chips 206(l)(l)-206(l)(10) -206(4)(l)-206(4)(10) in the DRAM modules 202(1 )-204(4) in the form of DIMMs 204(1 )-204(4) have an available memory space 400 to store data. The memory space 400 may be organized as a plurality of memory rows 405R. 407R each comprising a plurality of DRAM bit cells of the data width of the given DRAM chip 206(l)(l)-206(l)(10) - 206(4)(l)-206(4)(10). This is shown by the expanded version of DRAM chip 206(4)(10) in Figure 4, but note that these details for the DRAM chip 206(4)(10) are also applicable to the other DRAM chips 206(l)(l)-206(l)(10) -206(4)(l)-206(4)(9). Of this available memory’ space 400. the DRAM chips 206(l)(l)-206(l)(10) - 206(4)(l)-206(4)(10) can be configured to allocate some or all of this memory' space 400 as normal memory space 402 for storing data accessible by the PU 102 in Figure 1. The normal memory’ space 402 that is consumed with valid data is shown as normal memory space 402(1), and the normal memory space 402 that not consumed with valid data is shown as normal memory’space 402(2). Some of this memory space 400 can also be allocated as spare memory space 404. For example, it may be desired to allocate a portion of the normal memory space 402 of a DRAM chip 206(l)(l)-206(l)(10) - 206(4)(l)-206(4)(10) to spare memory space 404, so that if a defective memory row 405Ris detected in a given DRAM chip 206(l)(l)-206(l)(10) - 206(4)(l)-206(4)(l 0), a spare memory row 407R in the spare memory space 404 can be allocated to logically replace the defective memory row so that addressing to the defective memory row 405R in the normal memory space 402 is redirected to the replacement spare memory row 407R in the spare memory space 404. As discussed below, as examples, an OS executing in the PU 102 or a memory' controller 116(1)- 114(4) in the DRAM 200 can be configured to control replacement of a defective memory row 405R in the normal memory space 402 of a DRAM chip 206(l)(l)-206(l)(10) -206(4)(l)-206(4)(10) with a spare memory7row 407R in the spare memory space 404 of such DRAM chip 206(l)(l)-206(l)(10) - 206(4)(l)-206(4)(10).

[0032] Figures 5A and 5B is a flowchart illustrating an exemplary defective DRAM module run-time repair / replacement process 500 that can be performed by the processor-based system 100 in Figure 1 employing any desired system memory 110, including the system memory 210 in Figures 2A-4 of the DRAM 200. As discussed in more detail below, the defective DRAM module run-time repair / replacement process 500 can be employed to back up data from a detected defective DIMM 204(1 )-204(D) in the DRAM 200 to other available free (i.e.. unused) space on another non-defective DIMM 204(1 )-204(D) in the system memory 210 as temporary7backup memory. This allows the defective DIMM 204(l)-204(D) to be repaired or replaced, as needed, during run time of the processor-based system 100 to avoid dow ntime.

[0033] As an example, the defective DRAM module run-time repair / replacement process 500 in Figures 5A and 5B will now be described with reference to the system memory 210 as the DRAM 200 in Figure 4. In this regard, with reference to Figure 4, the PU 102 generates memory access requests 118 for the memory7system 106 during run time of the PU 102 (block 502 in Figure 5A). In a normal access mode (block 504 in Figure 5A), the memory7system 106 is configured to perform a memory access request to a memory addressable by a memory address in the memory access request (block 506 in Figure 5A).

[0034] The processor-based system 100, and more particularly the memory7system 106, can be configured to detect a memory7error within a normal memory space 402 in a DRAM chip 206(l)(l)-206(l)(10) - 206(4)(l)-206(4)(10) in the DRAM 200 (block 508 in Figure 5 A). In the example in Figure 4, the DRAM chip 206(2)(4) in the DIMM 204(2) is show n as having a detected memory error. For example, as previously discussed with regard to Figure 3, the memory error may be a DRAM bit cell error that is deemed to cause a memory error in an entire memory row7of the DRAM chip 206(2)(4). The memory error may be an error detected through an ECC that iscorrectable or non-correctable. For example, the memory controller 116(2) of the DIMM 204(2) may be configured to detect the memory error and report the memory error as a memory error message 406 for the defective DIMM 204(2). In this example, the CP 212 is configured to receive a report of the memory error from the memory error message 406 that identifies the defective DIMM 204(2) from the memory controller 116(2) that manages access to the DIMM 204(2). The CP 212 may then be configured to report the memory error through the memory error message 406 to the PU 102.

[0035] It may be desired to then determine a memory repair to the DRAM chip 206(2)(4) to fix the memory error, which can either be replacement of the defective memory row 405R with a spare memory row 407R in its spare memory space 404, or physical replacement of entire DIMM 204(2) (block 510 in Figure 5A). For example, the PU 102 may manage the receipt of the memory errors and determine if a memory repair should be performed. For example, an OS executing in the PU 102 may be configured to be responsible to control allocation of the spare memory space 404 in the DRAM 200. However, this cannot normally be done during run time of the PU 102, because the repaired DIMM 204(2) would need to be taken out of sendee from memory access. However, in the defective DRAM module run-time repair / replacement process 500 in Figures 5A and 5B, in response to determining the memory repair for the DIMM 204(2) (block 510 in Figure 5A), the processor-based system 100 (e.g., the PU 102, the memory system 106, and / or DRAM 200) is configured to enter a memory repair mode during run time of the PU 102 to avoid downtime (block 512 in Figure 5 A).

[0036] In this regard, in this example, in the memory' repair mode, the PU 102 continues to operate in run time. The PU 102 is configured to allocate spare memory space 404 from the memory space 400 of the defective DIMM 204(2) into one or more of the other non-defective DIMMs 204(1), 204(3)-204(4) (block 514 in Figure 5A). The memory system 106, and in this example, the memory' controller 116( 1 )- 116(4) (or a master memory controller among the memory' controllers 116(1 )-l 16(4)) is configured to start the memory repair in the memory’ repair mode by copying data from the normal memory space 402 in the detected defective DIMM 204(2) into the allocated spare memory space 404 in the other non-defective DIMM(s) 204(1), 204(3)-204(4) (block 516 in Figure 5A). The memory7system 106 and / or a memory' controller(s) 116(1)-116(4) is then configured to remap addressing to the defective DIMM 204(2) to the allocated spare memory space 404 in the other DIMM(s) 204(1), 204(3 )-204(4), in response to copying the data from the defective DIMM 204(2) into the allocated spare memory space 404 in the other DIMM(s) 204(1), 204(3)-204(4) (block 518 in Figure 5 A). This is also shown in the “Redirect” arrows in Figure 4, wherein memory addressing to the memory controller 116(2) is remapped to the other memory controllers 116(1), 116(3)-116(4) and to their allocated spare memory spaces 404 thatcontain copies of the copied data from the normal memory space 402 in the detected defective DIMM 204(2). This is so that memory access requests 118 that involve access to the defective DIMM 204(2) are remapped to the appropriate allocated spare memory space 404 in the other DIMMs 204(1), 204(3)-204(4) so that the PU 102 still has access to the previously stored data in the DIMM 204(2) as if the DIMM 204(2) were not defective.

[0037] With continuing reference to Figure 4, the repair of the defective DIMM 204(2) is performed. As discussed above, this may involve replacing a defective memory row 405R in the normal memory space 402 in the DIMM 204(2) with a spare memory row 407R in the spare memory space 404 of the defective DIMM 204(2). This may also involve a technician physically removing the defective DIMM 204(2) and replacing such with a new DIMM as the new DIMM 204(2). In either case, the PU 102 is still operational in its run time in the memory repair mode. The PU 102 is not rebooted or powered down in the memory' repair mode. The memory' system 106 and / or a memory controller(s) 116(1)- 116(4) then determines that the memory error in the defective DIMM 204(2) has been repaired (block 520 in Figure 5B). In response to determining the memory error in the defective DIMM 204(2) has been repaired (block 524 in Figure 5B), as also part of the memory' repair DRAM module run-time repair / replacement process 500 in Figures 5 A and 5B, the memory system 106 and / or a memory controller(s) 116(1)-116(4) causes the data from the defective DIMM 204(2) that was stored in the allocated spare memory space 404 in the other DIMM(s) 204(1), 204(3)-204(3) to be copied back into the normal memory space 402 in the repaired DIMM 204(2) (block 526 in Figure 5B). The memory' system 106 and / or a memory controller(s) 116(1)-116(4) then remaps addressing to the normal memory' space 402 in the repaired DIMM 204(2) back to the normal memory’ space 402 in the repaired DIMM 204(2) (block 528 in Figure 5B) after the copying the data from the allocated spare memory space 404 in the other DIMM(s) 204(1), 204(3)-204(4) back into the normal memory space 402 in the repaired DIMM 204(2) (block 526 in Figure 5B). The memory system 106 and / or a memory’ controller(s) 116(1)- 116(4) then reenters the normal access mode so that the memory controller 116(2) can resume normal access to the repaired DIMM 204(2) (block 530 in Figure 5B).

[0038] Figure 6 is a flow diagram illustrating another exemplary defective DRAM module run-time repair / replacement process 600 to back up data from a detected defective DRAM module to other available free (i.e., unused) space on another non-defective DRAM module(s) in the system memory as temporary backup memory. This is done so that the defective DRAM module(s) can be repaired or replaced, as needed, during run time of the processor-based system to avoid downtime. The defective DRAM module run-time repair / replacement process 600 is described with regard to the processor-based system 100 in Figure 1 employing the system memory 210 that includes the DRAM 200 comprised of the DIMMs 204(l)-204(D) in Figures2A-4 as an example, but such is not limiting.

[0039] The PU 102 is initially in a normal access mode to perform memory access requests 118 to the memory system 106 as normal. As illustrated in Figure 6, the PU 102 generates the memory access request 118 to the CP 212 (block 602 in Figure 6), which in turn forwards the memory access request 118 to the memory controller 116 (block 604 in Figure 6). The memory controller 116 can be one memory controller or separate memory controllers 116(1)- 116(D) if the memory' access request 118 will involve access to each of the respective DIMMs 204(l)-204(D). If the memory controller 116 detects a memory access error in a DIMM 204(1 )-204(D), the memory controller 116 is configured in this example to generate a memory interrupt indicating the memory access error to the CP 212 (block 606 in Figure 6). In response, the CP 212 generates a request to collect memory' error information from the memory controller 116 regarding the nature of the error, including the identification of the DIMM 204(1 )-204(D) that has the memory' error (block 608 in Figure 6). In response, the memory controller 116 generates a report error information message through its control status registers (CSRs) that is communicated back to the CP 212 (block 610 in Figure 6).

[0040] With continuing reference to Figure 6, the CP 212 then sends a notification to the OS 208 in the PU 102 with the memory access error information (block 612 in Figure 6). The OS 208 then determines if a memory repair is desired (block 614 in Figure 6). If so, the OS 208 determines the spare memory space 404 in the other non-defective DIMMs 204(1 )-204(D) to allocate for storing the data from the defective DIMM 204(l)-204(D) identified in the memory access error information (block 616 in Figure 6). The OS 208 then communicates the information regarding the allocated spare memory space 404 back to the CP 212 to indicate the spare memory space 404 to be allocated in the other non-defective DIMMs 204(1 )-204(D) for storing data in the defective DIMM 204(l)-204(D) (block 618 in Figure 6). The OS 208 then communicates for the memory repair to be performed for the defective DIMM 204(l)-204(D) (block 620 in Figure 6). In this manner, in this example, the OS 208 is controlling the determination to conduct a memory repair and the allocated spare memory space 404 in the system memory 210 to be allocated from the non-defective DIMMS 204(l)-204(D) during the memory' repair. This may be more efficient than trying to have another device manage these processes.

[0041] With continuing reference to Figure 6, the CP 212 receives the request to conduct the memory repair from the PU 102 (block 620), and in turn communicates a message for the memorycontroller 116 to perform the memory repair in a memory repair mode (block 622 in Figure 6). The memory controller 116 enters in the memory repair mode. In response, the memory- controller 116 performs the memory repair mode as previously discussed above and by example in blocks 516-528 in the DRAM module run-time repair / replacement process 500 in Figures 5A and 5B(block 624 in Figure 6). Once the memory repair has been completed, the memory controller 116 communicates that the memory repair is completed to the CP 212 (block 626 in Figure 6), which in turn communicates that the memory repair is completed to the PU 102 and its OS 208 (block 628 in Figure 6). The memory’ controller 116 exits the memory repair mode and returns to the normal access mode. This causes the OS 208 to de-allocate the previously allocated spare memory space 404 in the other non-defective DIMMs 204(1 )-204(D) (block 630 in Figure 6) that was previously allocated for the data in the defective DIMM 204(l)-204(D) to be copied during the repair process and then recopied back to the repaired DIMM 204(1 )-204(D). The memory' controller 116 can also be configured to initialize the repaired DIMM 204(l)-204(D) in response to the memory repair being completed (block 626 in Figure 6). Alternatively, the OS 208 may cause the repaired DIMM 204(1 )-204(D) to be initialized in response to the notification that the memory' repair has been completed (block 628 in Figure 6).

[0042] Note that during the memory repair process, and using the defective DIMM 204(2) in Figure 4 as an example, it may also be desired to support memory access redirection as a result of remapping of addressable memory’ space from the defective DRAM module 202(1 )-202(D) to the allocated spare memory' space 404 in the non-defective DRAM modules 202(1), 202(3)-202(D). This is to maintain the integrity of data during the memory repair mode and memory repair operation.

[0043] For example, using the example defective DIMM 204(2) in the system memory 210 in Figure 4, when the data from the defective DIMM 204(2) is copied to the allocated spare memory space 404 in the non-defective DIMMs 204(1), 204(3)-204(4), memory' read and write access requests still need to be handled during this time as the memory repair mode is performed during run time of the PU 102. In this regard, during the memory repair mode in the DRAM module runtime repair / replacement process 500 in Figures 5 A and 5B and in block 624 of the DRAM module run-time repair / replacement process 600 in Figure 6 as examples, the memory controller 116(2) is still configured to perform read requests in memory access requests 118 to the normal memory’ space 402 of the defective DIMM 204(1 )-204(D), because the data in the defective DIMM 204(2) has not yet been fully' copied to the allocated spare memory' space 404 in the non-defective DIMMs 204(1), 204(3)-204(4). However, for memory' access requests 118 that are write requests, the system memory 210 is configured to perform these write requests to both the normal memory' space 402 of the defective DIMM 204(2) and the allocated spare memory space 404 in the non-defective DIMMs 204(1), 204(3)-204(4) as a "‘mirroring” of the write data in such write request. This is because it is not known if the data at the address of the write request in the normal memory space 402 of the defective DIMM 204(2) has yet been copied over to the allocated spare memory' space 404 in the non-defective DIMMs 204(1), 204(3)-204(4). Thus, the write data is mirrored toboth the normal memory space 402 of the defective DIMM 204(2) and the allocated spare memory space 404 in the non-defective DIMMs 204(1), 204(3)-204(4).

[0044] After the data in the normal memory space 402 from the defective DRAM module 202(l)-202(D) in the system memory 210 has been fully copied to the allocated spare memory space 404 in the non-defective DRAM module 202(1 )-202(D) as part of the memory repair mode to repair the defective DRAM module 202(l)-202(D), read and write requests in received memory access requests 118 can be redirected solely to the allocated spare memory7space 404 in the non-defective DRAM module 202(l)-202(D). This is also known as a “forward’' mode in the system memory 210. In the example of the defective DIMM 204(2) in the system memory 210 in Figure 4, after the data in the normal memory space 402 from the defective DIMM 204(2) in the system memory 210 has been fully copied to the allocated spare memory7space 404 in the non-defective DIMMs 204(1), 204(3)-204(4), the memory7controllers 116(1), 116(3)- 116(4) process read and write requests that were remapped from the defective DIMM 204(2) to the allocated spare memory7space 404 in the non-defective DIMMs 204(1), 204(3)-204(4), exclusively to the spare memory space 404 in the non-defective DIMMs 204(1), 204(3)-204(4). In this manner, data integrity is still maintained during the memory7repair mode.

[0045] After the memory repair of a defective DRAM module 202(1 )-202(D) has been completed, as discussed above, the data previously copied from the normal memory space 402 of the defective DRAM module 202(l)-202(D) to the allocated spare memory space 404 in the non-defective DRAM modules 202(l)-202(D) is recopied back to the normal memory space 402 of the defective DRAM module 202(l)-202(D). However, memory access requests 118 can still be generated by the PU 102 to be processed by the system memory 210 as the memory repair mode is conducted during real time of the PU 102. In this regard, using the defective DIMM 204(2) in the system memory 210 in Figure 4 as an example, if a read request for a memory access request 118 is received by the system memory7210 during the migration of data from the allocated spare memory space 404 in the non-defective DIMMS 204(1), 204(3)-204(4) back to the normal memory space 402 of the repaired DIMM 204(2), the read request is directed by the system memory 210 to the allocated spare memory space 404 in the non-defective DIMMs 204(1), 204(3)-204(4). This is because the allocated spare memory7space 404 in the non-defective DIMMs 204(1), 204(3)-204(4) has not been de-allocated and still maintains the data that would normally be mapped to the defective DIMM 204(2) during a normal access mode. However, if a write request for a memory access request 118 is received by the system memory 210 during the migration of data from the allocated spare memory7space 404 in the non-defective DIMMs 204(1), 204(3)-204(4) back to the normal memory space 402 of the repaired DIMM 204(2), the write request is directed by the system memory7210 to both the normal memory space 402 in the repairedDIMM 204(2) and the allocated spare memory space 404 in the non-defective DIMMs 204(1), 204(3)-204(4) as a “mirroring” of the write data. This is because during the migration of the data back to the repaired DIMM 204(2), it is not known if the memory address of the write request has yet been copied from the allocated spare memory space 404 in the non-defective DIMMs 204(1), 204(3 )-204(4) back to the repaired DIMM 204(2). This mirroring of write data maintains the integrity of the data in the repaired DIMM 204(2) as part of the memory repair mode and after exiting the memory' repair mode so that the memory repair mode can be performed during run time of the PU 102.

[0046] Figure 7 is a block diagram of another exemplary’ processor-based system 700 that can be the processor-based system 100 in Figures 1-2B and 4, wherein the processor-based system 700 includes a memory system 702 that can be the memory system 106 of Figures 1-2B and 4, that can perform a defective DRAM module run-time repair / replacement process to back up data from a detected defective DRAM module to other available free (i.e., unused) space on another non-defective DRAM module(s) in the system memory as temporary backup memory, so that the defective DRAM module(s) can be repaired or replaced, as needed, during run time of the processor-based system to avoid downtime, including according to, but not limited to, the defective DRAM module run-time repair / replacement processes 500, 600 in Figures 5A-5B and 6.

[0047] In this regard, the processor-based system 700 may be a circuit or circuits included in an electronic board card, such as a printed circuit board (PCB), a server, a personal computer, a desktop computer, a laptop computer, a personal digital assistant (PDA), a computing pad, a mobile device, or any other device, and may represent, for example, a server or a user's computer. In this example, the processor-based system 700 includes a PU 704. The PU 704 represents one or more general-purpose processing circuits, such as a microprocessor, central processing unit, or the like. The PU 704 is configured to execute processing logic in computer instructions for performing the operations and steps discussed herein.

[0048] The PU 704 also includes an instruction cache 706 for temporary, fast access memory storage of instructions and an instruction processing circuit 708. Fetched or prefetched instructions from a memory', such as from a system memory' 710 over a system bus 712, are stored in the instruction cache 706. The system memory 710 can be a DRAM, like the DRAM 200 in Figures 2A-2B and 4, and can include a plurality of DRAM modules like the DRAM modules 202(1)-202(D) in Figures 2A-2B and 4, which may be DIMMs like the DIMMS 204(l)-204(D) in Figures 2A-2B and 4. The instruction processing circuit 708 is configured to process instructions fetched into the instruction cache 706 and process the instructions for execution. The instruction processing circuit 708 is configured to insert the fetched instructions into one or more instructionpipelines that are then processed to execution.

[0049] The PU 704 and the system memory 710 are coupled to the system bus 712 and can intercouple peripheral devices included in the processor-based system 700. The PU 704 communicates with these other devices by exchanging address, control, and data information over the system bus 712. For example, the PU 704 can communicate memory access requests 714 over the system bus 712 to be processed by the system memory 710. Although not illustrated in Figure 7, multiple system buses 712 could be provided, wherein each system bus constitutes a different fabric. In this example, a memory controller 716 in the system memory 710 is configured to provide memory read and / or write requests to a memory array 718 in the system memory 710, wherein the memory array 718 may be a DRAM like the DRAM 200 in Figures 2A and 2B. The memory array 718 is comprised of an array of storage bit cells for storing data. The system memoiy 710 may be a read-only memoiy (ROM), flash memory', DRAM, such as sy nchronous DRAM (SDRAM), etc., as non-limiting examples. The PU 704 and memory controller 716 can work together, as previously described above, to perform a memory repair process, including, but not limited to, the processes 500, 600 in Figures 5A-6, on a memory module in the memory array 718.

[0050] Other devices can be connected to the system bus 712. As illustrated in Figure 7, these devices can include the system memory 710, one or more input device(s) 719, one or more output device(s) 720, a modem 722, and one or more display controllers 724, as examples. The input device(s) 719 can include any type of input device, including, but not limited to, input keys, switches, voice processors, etc. The output device(s) 720 can include any type of output device, including, but not limited to, audio, video, other visual indicators, etc. The modem 722 can be any device configured to allow exchange of data to and from a network 726. The network 726 can be any type of network, including, but not limited to, a wired or wireless network, a private or public network, a local area network (FAN), a wireless local area network (WLAN), a wide area network (WAN), a BLUETOOTH™ network, and the Internet. The modem 722 can be configured to support any type of communications protocol desired. The PU 704 may also be configured to access the display controller(s) 724 over the system bus 712 to control information sent to one or more displays 728. The display(s) 728 can include any type of display, including, but not limited to, a cathode ray tube (CRT), a liquid crystal display (LCD), a plasma display, etc.

[0051] The processor-based system 700 in Figure 7 may include a set of instructions 730 that may be used to provide the functionality, including to perform a memoiy repair process, including, but not limited to, the processes 500, 600 in Figures 5A-6. The instructions 730 may be stored in the system memory' 710, PU 704, and / or instruction cache 706 as examples of non-transitory computer-readable medium 732. The instructions 730 may also reside, completely or at leastpartially, within the system memory 710 and / or within the PU 704 during their execution. The instructions 730 may further be transmitted or received over the network 726 via the modem 722, such that the network 726 includes the non-transitory computer-readable medium 732.

[0052] While the non-transitory computer-readable medium 732 is shown in an exemplary’ embodiment to be a single medium, the term “computer-readable medium’7should be taken to include a single medium or multiple media (e.g., a centralized or distributed database, and / or associated caches and servers) that store the one or more sets of instructions. The term “computer-readable medium” shall also be taken to include any medium that is capable of storing, encoding, or carrying a set of instructions for execution by the processing device and that cause the processing device to perform any one or more of the methodologies of the embodiments disclosed herein. The term “computer-readable medium” shall accordingly be taken to include, but not be limited to, solid-state memories, optical medium, and magnetic medium.

[0053] The embodiments disclosed herein include various steps. The steps of the embodiments disclosed herein may be formed by hardware components or may be embodied in machine-executable instructions, which may be used to cause a general-purpose or specialpurpose processor programmed with the instructions to perform the steps. Alternatively, the steps may be performed by a combination of hardware and software.

[0054] The embodiments disclosed herein may be provided as a computer program product, or software, that may include a machine-readable medium (or computer-readable medium) having stored thereon instructions, which may be used to program a computer system (or other electronic devices) to perform a process according to the embodiments disclosed herein. A machine-readable medium includes any mechanism for storing or transmitting information in a form readable by a machine (e.g., a computer). For example, a machine-readable medium includes: a machine-readable storage medium (e.g., ROM, random access memory’ (RAM), a magnetic disk storage medium, an optical storage medium, flash memory7devices, etc.) and the like.

[0055] Unless specifically stated otherwise and as apparent from the previous discussion, it is appreciated that throughout the description, discussions utilizing terms such as “processing,” “computing,” “determining,” “displaying,” or the like, refer to the action and processes of a computer system, or similar electronic computing device, that manipulates and transforms data and memories represented as physical (electronic) quantities within the computer system’s registers into other data similarly represented as physical quantities within the computer system memories, registers, or other such information storage, transmission, or display devices.

[0056] The algorithms and displays presented herein are not inherently related to any particular computer or other apparatus. Various systems may be used with programs in accordance with the teachings herein, or it may prove convenient to construct more specialized apparatusesto perform the required method steps. The required structure for a variety of these systems will appear from the description above. In addition, the embodiments described herein are not described with reference to any particular programming language. It will be appreciated that a variety of programming languages may be used to implement the teachings of the embodiments as described herein.

[0057] Those of skill in the art will further appreciate that the various illustrative logical blocks, modules, circuits, and algorithms described in connection with the embodiments disclosed herein may be implemented as electronic hardware, instructions stored in memory' or in another computer-readable medium, and executed by a processor or other processing device, or combinations of both. The components of the processors and systems described herein may be employed in any circuit, hardware component, integrated circuit (IC), or IC chip, as examples. Memory' disclosed herein may be any ty pe and size of memory' and may be configured to store any type of information desired. To clearly illustrate this interchangeability, various illustrative components, blocks, modules, circuits, and steps have been described above generally in terms of their functionality. How such functionality' is implemented depends on the particular application, design choices, and / or design constraints imposed on the overall system. Skilled artisans may implement the described functionality in vary ing ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present embodiments.

[0058] The various illustrative logical blocks, modules, and circuits described in connection with the embodiments disclosed herein may be implemented or performed with a processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA), or other programmable logic device, a discrete gate or transistor logic, discrete hardware components, or any combination thereof designed to perform the functions described herein. Furthermore, a controller may be a processor. A processor may be a microprocessor, but in the alternative, the processor may be any conventional processor, controller, microcontroller, or state machine. A processor may also be implemented as a combination of computing devices (e.g., a combination of a DSP and a microprocessor, a plurality of microprocessors, one or more microprocessors in conjunction with a DSP core, or any other such configuration).

[0059] The embodiments disclosed herein may be embodied in hardware and in instructions that are stored in hardware, and may reside, for example, in RAM, flash memory, ROM, Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), registers, a hard disk, a removable disk, a CD-ROM, or any other form of computer-readable medium known in the art. An exemplary storage medium is coupled to the processor suchthat the processor can read information from, and write information to, the storage medium. In the alternative, the storage medium may be integral to the processor. The processor and the storage medium may reside in an ASIC. The ASIC may reside in a remote station. In the alternative, the processor and the storage medium may reside as discrete components in a remote station, base station, or server.

[0060] It is also noted that the operational steps described in any of the exemplary embodiments herein are described to provide examples and discussion. The operations described may be performed in numerous different sequences other than the illustrated sequences. Furthermore, operations described in a single operational step may actually be performed in a number of different steps. Additionally, one or more operational steps discussed in the exemplary embodiments may be combined. Those of skill in the art will also understand that information and signals may be represented using any of a variety of technologies and techniques. For example, data, instructions, commands, information, signals, bits, symbols, and chips, that may be referenced throughout the above description, may be represented by voltages, currents, electromagnetic waves, magnetic fields, or particles, optical fields or particles, or any combination thereof.

[0061] Unless otherwise expressly stated, it is in no way intended that any method set forth herein be construed as requiring that its steps be performed in a specific order. Accordingly, where a method claim does not actually recite an order to be followed by its steps, or it is not otherwise specifically stated in the claims or descriptions that the steps are to be limited to a specific order, it is in no way intended that any particular order be inferred.

[0062] It will be apparent to those skilled in the art that various modifications and variations can be made without departing from the spirit or scope of the invention. Since modifications, combinations, sub-combinations, and variations of the disclosed embodiments incorporating the spirit and substance of the invention may occur to persons skilled in the art, the invention should be construed to include every thing within the scope of the appended claims and their equivalents.

Claims

Claims1. A processor-based system (100, 700), comprising:a processing unit (PU) (102, 704) configured to generate memory access requests (118, 118(1)-118(4), 714) for a memory system (106, 702) in a run time of the PU (102, 704); andthe memory system (106, 702), comprising:a system memory' (110, 210, 710) comprising a plurality of dynamic random access memory (DRAM) modules (202, 202(1 )-202(D), 202(1 )-202(4)) each having a memory space (400) configured to be allocated between a normal memory’ space (402, 402(1), 402(2)) and a spare memory space (404); and a memory’ controller (116, 116(1)- 116(4), 116(1)- 116(D), 716) configured to, in a normal access mode:receive a memory’ access request (118, 118(1)-118(4), 714) comprising a memory address generated by the PU (102, 704); andperform the memory' access request (118, 118(1)-118(4), 714) to the memory’ address in the memory’ access request (118, 118(1)-118(4), 714);the processor-based system (100, 700) configured to:detect a memory error within the normal memory space (402, 402(1), 402(2)) in a first DRAM module (202, 202(1 )-202(D), 202(1 )-202(4)) of the plurality of DRAM modules (202, 202(1 )-202(D), 202(1 )-202(4)) in the system memory (110, 210, 710);determine a memory' repair to the first DRAM module (202, 202(l)-202(D), 202(1 )-202(4)) with the detected memory error; and in response to determining the memory repair for the first DRAM module (202, 202(l)-202(D), 202(1 )-202(4)). enter a memory’ repair mode during the run time of the PU (102, 704) to:allocate spare memory space (404) from the memory space (400) in at least one second DRAM module (202, 202(1 )-202(D), 202(1 )-202(4)) of the plurality of DRAM modules (202, 202(1 )-202(D), 202(1)- 202(4)) in the system memory (110, 210. 710);copy first data in the normal memory space (402, 402(1), 402(2)) in the first DRAM module (202, 202(l)-202(D), 202(1 )-202(4)) into the allocated spare memory’ space (404) in the at least one second DRAM module (202, 202(1 )-202(D). 202(l)-202(4));remap addressing to the first DRAM module (202, 202(1 )-202(D), 202(1)- 202(4)) to the allocated spare memory space (404) in the at least one second DRAM module (202, 202(1 )-202(D), 202(1 )-202(4)), in response to the copy of the first data into the allocated spare memory space (404) in the at least one second DRAM module (202, 202(1 )-202(D), 202(1 )-202(4));determine the memory' error in the first DRAM module (202, 202(1)- 202(D), 202(l)-202(4)) has been repaired; andin response to determining the memory error in the first DRAM module (202, 202(1 )-202(D), 202(1 )-202(4)) has been repaired:copy the first data stored in the allocated spare memory' space (404) in the at least one second DRAM module (202, 202(1)- 202(D), 202(1 )-202(4)), back into the normal memory space (402, 402(1), 402(2)) in the first DRAM module (202, 202(1 )-202(D), 202(1 )-202(4));remap addressing to the normal memory space (402, 402(1), 402(2)) in the first DRAM module (202, 202(1 )-202(D), 202(1 )-202(4)), to the normal memory space (402, 402(1), 402(2)) in the first DRAM module (202, 202(1 )-202(D), 202(1 )-202(4)), in response to the copy of the first data back into the normal memory' space (402, 402(1), 402(2)) in the first DRAM module (202, 202(1 )-202(D), 202(1 )-202(4)); andenter the normal access mode, in response to remap addressing to the normal memory space (402, 402(1), 402(2)) in the first DRAM module (202, 202(1 )-202(D), 202(1 )-202(4)).

2. The processor-based system of claim 1. not configured to power down or reboot in the memory repair mode.

3. The processor-based system of any of claims 1-2, further configured to, during the normal access mode:perform a read request of the memory access request addressable in the normal memory space in the first DRAM module, to the normal memory’ space in the first DRAM module; andperform a write request of the memory' access request addressable in the normal memory' space in the first DRAM module, to the normal memory space in the first DRAMmodule.

4. The processor-based system of any of claims 1 -3, further configured to, during the memory repair mode, during the copy of the first data into the allocated spare memory space in the at least one second DRAM module:perform a read request of the memory access request addressable in the normal memory space in the first DRAM module, to the normal memory space in the first DRAM module; andperform a write request of the memory access request addressable in the normal memory' space in the first DRAM module, to the normal memory space in the first DRAM module and the allocated spare memory space in the at least one second DRAM module.

5. The processor-based system of any of claims 1 -4 further configured to, during the memory repair mode, after the remap addressing to the first DRAM module to the allocated spare memory space in the at least one second DRAM module and before the copy of the first data back into the normal memory space in the first DRAM module:perform a read request of the memory' access request addressable in the normal memory' space in the first DRAM module, to the allocated spare memory space in the at least one second DRAM module; andperform a write request of the memory' access request addressable in the normal memory space in the first DRAM module, to the allocated spare memory space in the at least one second DRAM module.

6. The processor-based system of any of claims 1 -5, further configured to, during the memory’ repair mode, and in response to determining the memory error in the first DRAM module has been repaired and during the copy of the first data back into the normal memory' space in the first DRAM module:perform a read request of the memory access request addressable in the normal memory’ space in the first DRAM module, to the allocated spare memory space in the at least one second DRAM module; andperform a write request of the memory' access request addressable in the normal memory' space in the first DRAM module, to the normal memory space in the first DRAM module and the allocated spare memory space in the at least one second DRAM module.

7. The processor-based system of any of claims 1-6 further configured to, in response to determining the memory error has been repaired:deallocate the allocated one or more spare memory’ rows in the spare memory space in theat least one second DRAM module.

8. The processor-based system of any of claims 1-7 further configured to, in response to determining the memory error in the first DRAM module has been repaired:initialize the first DRAM module.

9. The processor-based system of any of claims 1-8 configured to detect the memory error within the normal memory space in the first DRAM module by being configured to:detect an error correcting code (ECC) memory error within the normal memory space in the first DRAM module of the plurality of DRAM modules in the system memory.

10. The processor-based system of any of claims 1-9 further configured to, in response to entering the memory repair mode for the first DRAM module:determine whether sufficient spare memory space from the memory space in the at least one second DRAM module exists to copy the first data in the normal memory space in the first DRAM module into the allocated spare memory space in the at least one second DRAM module; andin response to determining there is not sufficient spare memory space from the memory space in the at least one second DRAM module:halt at least one non-critical application executing in the PU.

11. The processor-based system of any of claims 1-10, wherein in response to the remap addressing to the first DRAM module to the allocated spare memory space in the at least one second DRAM module, the memory controller is configured to:replace one or more memory' rows yvithin the normal memory space in the first DRAM module with the memory error with one or more spare memory rows in the spare memory' space in the first DRAM module.

12. The processor-based system of any of claims 1-10, yvherein in response to the remap addressing to the first DRAM module to the allocated spare memory space in the at least one second DRAM module,the memory' controller is further configured to:determine if the first DRAM module has been replaced; andin response to determining the first DRAM module has been replaced, generate a memory error repair completion message;the processor-based system configured to determine the memory error in the first DRAM module has been repaired based on the memory error repair completion message.

13. The processor-based system of any of claims 1-12, yvherein the memory controller is configured to:detect the memory error within the normal memory space in the first DRAM module ofthe plurality of DRAM modules in the system memory;copy the first data in the normal memory space in the first DRAM module into the allocated spare memory space in the at least one second DRAM module; remap the addressing to the first DRAM module to the allocated spare memory space in the at least one second DRAM module, in response to the copy of the first data into the allocated spare memory space in the at least one second DRAM module; determine the memory error in the first DRAM module has been repaired; and in response to determining the memory error in the first DRAM module has been repaired:copy the first data stored in the allocated spare memoiy space in the at least one second DRAM module, back into the normal memory space in the first DRAM module;remap the addressing to the normal memory space in the first DRAM module, to the normal memory’ space in the first DRAM module, in response to the copy of the first data back into the normal memory space in the first DRAM module; andenter the normal access mode, in response to the remap of addressing to the normal memory space in the first DRAM module to the normal memory space in the first DRAM module.

14. The processor-based system of any of claims 1-13, wherein:the PU is further configured to execute an operating system (OS) configured to:execute applications in the PU; andgenerate the memory access requests for the memory system; and the PU is further configured to:enter the memory’ repair mode, in response to determining the memory7repair for the first DRAM module;allocate the spare memory space from the memory space in the at least one second DRAM module of the plurality of DRAM modules in the system memory; andenter the normal access mode, in response to the remap of addressing to the normal memory space in the first DRAM module to the normal memory space in the first DRAM module.

15. The processor-based system of any of claims 1-14, wherein the plurality7of DRAM modules comprises a plurality of in-line memory modules (IMMs).

16. The processor-based system of any of claims 1-15, wherein the plurality of IMMs comprises a plurality of dual IMMs (DIMMs).

17. A method of performing a run-time repair of a dynamic random access memory (DRAM) module (202, 202(1 )-202(D), 202(1 )-202(4)) in a memory system (106, 702) in a processor-based system (100, 700), comprising:generating, by a processing unit (PU) (102, 704), memory access requests (118. 118(1)- 118(4), 714) for a memory system (106, 702) in a run time of the PU (102, 704); in a normal access mode:performing a memory access request (118, 118(1 )-l 18(4), 714) to a memoryaddress in the memory access request (118, 118(1)- 118(4), 714); detecting a memory error within a normal memory space (402, 402(1). 402(2)) of a memory' space (400) in a first DRAM module (202, 202(1 )-202(D), 202(1 )-202(4)) of a plurality of DRAM modules (202, 202(1 )-202(D), 202(1 )-202(4)) in a system memory' (110, 210, 710) of the memory' system (106, 702);determining a memory repair to the first DRAM module (202, 202(1 )-202(D), 202(1)- 202(4)) with the detected memory error; andin response to determining the memory repair for the first DRAM module (202, 202(1)- 202(D), 202(1 )-202(4)), entering a memory' repair mode during the run time of the PU (102, 704) for:allocating spare memory space (404) from the memory space (400) in at least one second DRAM module (202, 202(1 )-202(D), 202(1 )-202(4)) of the plurality of DRAM modules (202, 202(l)-202(D), 202(1 )-202(4)) in the system memory (110, 210, 710);copying first data in the normal memory space (402, 402(1). 402(2)) in the first DRAM module (202, 202(1 )-202(D), 202(1 )-202(4)) into the allocated spare memory' space (404) in the at least one second DRAM module (202, 202(1 )-202(D), 202(l)-202(4));remapping addressing to the first DRAM module (202, 202(1 )-202(D), 202(1)- 202(4)) to the allocated spare memory' space (404) in the at least one second DRAM module (202, 202(1 )-202(D), 202(1 )-202(4)), in response to the copying the first data into the allocated spare memory' space (404) in the at least one second DRAM module (202, 202(1 )-202(D), 202(1 )-202(4)); determining the memory error in the first DRAM module (202. 202(1 )-202(D), 202(1 )-202(4)) has been repaired; andin response to determining the memory7error in the first DRAM module (202, 202(1 )-202(D), 202(l)-202(4)) has been repaired:copying the first data stored in the allocated spare memory space (404) inthe at least one second DRAM module (202, 202(1 )-202(D), 202(1 )-202(4)), back into the normal memory space (402, 402(1), 402(2)) in the first DRAM module (202, 202(1 )-202(D), 202(1)- 202(4));remapping addressing to the normal memory space (402. 402(1). 402(2)) in the first DRAM module (202, 202(1 )-202(D), 202(1 )-202(4)), to the normal memory space (402, 402(1), 402(2)) in the first DRAM module (202, 202(1 )-202(D), 202(1 )-202(4)), in response to the copying of the first data back into the normal memory space (402, 402(1), 402(2)) in the first DRAM module (202, 202(1 )-202(D), 202(l)-202(4)); andentering the normal access mode, in response to the remapping of the addressing to the normal memory space (402. 402(1). 402(2)) in the first DRAM module (202, 202(1 )-202(D), 202(l)-202(4)) to the normal memory space (402, 402(1), 402(2)) in the first DRAM module (202, 202(1 )-202(D), 202(l)-202(4)).

18. The method of claim 17, further comprising, during the memory repair mode, during the copying of the first data into the allocated spare memory space in the at least one second DRAM module:performing a read request of the memory access request addressable in the normal memory space in the first DRAM module, to the normal memory space in the first DRAM module; andperforming a write request of the memory access request addressable in the normal memory' space in the first DRAM module, to the normal memory space in the first DRAM module and the allocated spare memory' space in the at least one second DRAM module.

19. The method of any of claims 17-18. further comprising, during the memory repair mode, and in response to determining the memory error in the first DRAM module has been repaired and during the copying of the first data back into the normal memory' space in the first DRAM module:performing a read request of the memory access request addressable in the normal memory' space in the first DRAM module, to the allocated spare memory space in the at least one second DRAM module; andperforming a write request of the memory access request addressable in the normal memory' space in the first DRAM module, to the normal memory' space in the first DRAM module and the allocated spare memory’ space in the at least one secondDRAM module.

20. A non-transitory computer-readable medium having stored thereon computer executable instructions, which when executed by a processor in a processor-based system (100, 700) comprising a plurality of processor cores, cause the processor to perform a run-time repair of a DRAM module (202. 202(1 )-202(D), 202(1 )-202(4)) in a memory system (106, 702) in the processor-based system (100, 700) causing the processor to:generate, by a processing unit (PU) (102, 704), memory' access requests (118, 118(1)- 118(4), 714) for a memory system (106, 702) in a run time of the PU (102, 704); in a normal access mode:perform a memory access request (118, 118(1 )-l 18(4), 714) to a memory' address in the memory access request (118, 118(1)-118(4), 714);detect a memory error within a normal memory space (402, 402(1), 402(2)) of a memory' space (400) in a first DRAM module (202. 202(1 )-202(D), 202(1 )-202(4)) of a plurality of DRAM modules (202, 202(1 )-202(D), 202(1 )-202(4)) in a system memory' (110, 210, 710) of a memory system (106, 702);determine a memory' repair to the first DRAM module (202, 202(1 )-202(D), 202(1)- 202(4)) with the detected memory error; andin response to determining the memory repair for the first DRAM module (202. 202(1)- 202(D), 202(1 )-202(4)), enter a memory repair mode during the run time of the PU (102, 704) to:allocate spare memory space (404) from the memory space (400) in at least one second DRAM module (202, 202(1 )-202(D), 202(1 )-202(4)) of the plurality of DRAM modules (202, 202(1 )-202(D), 202(1 )-202(4)) in the system memory7(110, 210, 710);copy first data in the normal memory7space (402, 402(1), 402(2)) in the first DRAM module (202, 202(1 )-202(D), 202(1 )-202(4)) into the allocated spare memory space (404) in the at least one second DRAM module (202, 202(1 )-202(D), 202(l)-202(4));remap addressing to the first DRAM module (202, 202(1 )-202(D), 202(1 )-202(4)) to the allocated spare memory space (404) in the at least one second DRAM module (202, 202(1 )-202(D), 202(1 )-202(4)), in response to the copy of the first data into the allocated spare memory space (404) in the at least one second DRAM module (202, 202(1 )-202(D), 202(l)-202(4)); determine the memory error in the first DRAM module (202, 202(1 )-202(D), 202(1 )-202(4)) has been repaired; andin response to determining the memory error in the first DRAM module (202, 202(1 )-202(D), 202(1 )-202(4)) has been repaired:copy the first data stored in the allocated spare memory7space (404) in the at least one second DRAM module (202, 202(1 )-202(D), 202(1)- 202(4)). back into the normal memory space (402. 402(1). 402(2)) in the first DRAM module (202, 202(1 )-202(D), 202(1 )-202(4)); remap addressing to the normal memory space (402, 402(1), 402(2)) in the first DRAM module (202, 202(1 )-202(D), 202(1 )-202(4)), to the normal memory space (402, 402(1), 402(2)) in the first DRAM module (202, 202(1 )-202(D), 202(l)-202(4)), in response to the copy of the first data back into the normal memory space (402, 402(1), 402(2)) in the first DRAM module (202, 202(1 )-202(D), 202(l)-202(4)); andenter the normal access mode, in response to the remap of addressing to the normal memory space (402, 402(1), 402(2)) in the first DRAM module (202, 202(1 )-202(D), 202(1 )-202(4)) to the normal memory7space (402, 402(1), 402(2)) in the first DRAM module (202, 202(1)- 202(D), 202(1 )-202(4)).