Error injection and error counting during memory scrubbing operations
AssigneeInternational Business Machines Corporation
InventorsLawrence D. Curley, Glenn D. Gilda, Patrick J. Meaney
Life of this patent
Estimating the term…
Abstract
Embodiments relate to performing a memory scrubbing operation that includes injecting an error on a write operation associated with a memory address. One or more errors are detected during a two-pass scrub operation on the memory address. Based on a result of the two-pass scrub operation, one or more of a hard error counter associated with the memory address and a soft error counter associated with the memory address is selected. The one or more selected counters are updated based on the result of the two-pass scrub operation.
Claims14
A computer program product for injecting errors during a memory operation, the computer program product comprising:
- a computer readable storage medium having program instructions embodied therewith, the program instructions readable by a processing circuit to cause the processing circuit to perform a method comprising:
- injecting an error on a write operation associated with a memory address;
- detecting one or more errors during a two-pass scrub operation on the memory address;
- selecting, based on a result of the two-pass scrub operation, one or more of a hard error counter associated with the memory address and a soft error counter associated with the memory address;
- and
- updating the one or more selected counters based on the result of the two-pass scrub operation.
The computer program product of claim Error! Reference source not found., wherein the method further comprises:
- correcting the one or more errors detected during the two-pass scrub operation.
The computer program product of claim Error! Reference source not found., wherein the method further comprises:
- re-injecting the one or more errors detected during the two-pass scrub operation.
The computer program product of claim Error! Reference source not found., wherein the method further comprises:
- selecting one or more store types based on reading a field in a configuration register;
- and
- injecting the error only for the one or more selected store types.
The computer program product of claim Error! Reference source not found., wherein the method further comprises:
- selecting a memory domain based on reading a field in a configuration register;
- and
- injecting the error only for the selected memory domain.
The computer program product of claim Error! Reference source not found., wherein the method further comprises:
- selecting one or more memory ranks based on reading a field in a configuration register;
- and
- injecting the error only for the one or more selected memory ranks.
The computer program product of claim Error! Reference source not found., wherein the method further comprises:
- setting an injection limit by reading a count field in a configuration register;
- and
- injecting a number of errors equal to the injection limit.
9-15. (canceled)
A memory system for performing a scrub operation, the memory system comprising:
- a memory controller;
- and
- a plurality of memory modules in communication with the memory controller;
- the memory system configured to perform a method comprising
- injecting an error on a write operation associated with a memory address;
- detecting one or more errors during a two-pass scrub operation on the memory address;
- selecting, based on a result of the two-pass scrub operation, one or more of a hard error counter associated with the memory address and a soft error counter associated with the memory address;
- and
- updating the one or more selected counters based on the result of the two-pass scrub operation.
The memory system of claim Error! Reference source not found.6, the method further comprising:
- selecting one or more store types based on reading a field in a configuration register;
- and
- injecting the error only for the one or more selected store types.
The memory system of claim Error! Reference source not found.6, the method further comprising:
- selecting a memory domain based on reading a field in a configuration register;
- and
- injecting the error only for the selected memory domain.
The memory system of claim Error! Reference source not found.6, the method further comprising:
- selecting one or more memory ranks based on reading a field in a configuration register;
- and
- injecting the error only for the one or more selected memory ranks.
The memory system of claim Error! Reference source not found.6, the method further comprising:
- setting an injection limit by reading a count field in a configuration register;
- and
- injecting a number of errors equal to the injection limit.
Dependencies are inferred from the claim text.