Added (de)registration functions for memory controller driver to be
notified when ECC errors occur. This allows for decoding of the
specific error by the driver.
Sponsored by: Juniper Networks, Inc.
Obtained from: Semihalf
Differential D45072
mca: Allow for passing ECC error record to memory controller driver. stevek on May 3 2024, 1:22 AM. Authored by Tags None Referenced Files
Subscribers
Details
Diff Detail
Event TimelineComment Actions I wonder if there is any real architecture where pointer load/store is non-atomic. For things that are going to be executed between once and never it feels like you are over-engineering it. :) Comment Actions We had discussions about this in D39661, which I had not originally noticed that when I submitted this one it went to a new review. Comment Actions I don't see a reason to use atomics for the operations which happen under mca_lock. It is ok to assume that unqualified aligned pointer loads and stores are atomic; at least, we make this assumption pervasively in the kernel. It is nonetheless reasonable to use atomic_load_ptr() for the unlocked load in mca_log().
|