Messages in this thread | | | Date | Tue, 9 Apr 2013 11:38:54 +0200 | From | Borislav Petkov <> | Subject | Re: [PATCH] x86, amd, mce: Prevent potential cpu-online oops |
| |
On Tue, Apr 09, 2013 at 11:25:16AM +0200, Steffen Persvold wrote: > Why not let all cores just create their individual kobject and skip > this "shared" nb->bank4 concept ? Any disadvantage to that (apart from > the obvious storage bloat?).
Well, bank4 is shared across cores on the northbridge in *hardware*. So it is only logical to represent the hardware layout correctly in software.
Also, if you want to configure any settings over one core's sysfs nodes, you want those to be visible across all cores automagically:
# echo 12 > machinecheck2/northbridge/dram/threshold_limit # grep . -Er /sys/devices/system/machinecheck | grep -E "dram.*threshold_limit" /sys/devices/system/machinecheck/machinecheck0/northbridge/dram/threshold_limit:12 /sys/devices/system/machinecheck/machinecheck1/northbridge/dram/threshold_limit:12 /sys/devices/system/machinecheck/machinecheck2/northbridge/dram/threshold_limit:12 /sys/devices/system/machinecheck/machinecheck3/northbridge/dram/threshold_limit:12 /sys/devices/system/machinecheck/machinecheck4/northbridge/dram/threshold_limit:12 /sys/devices/system/machinecheck/machinecheck5/northbridge/dram/threshold_limit:12 /sys/devices/system/machinecheck/machinecheck6/northbridge/dram/threshold_limit:12 /sys/devices/system/machinecheck/machinecheck7/northbridge/dram/threshold_limit:12
HTH.
-- Regards/Gruss, Boris.
Sent from a fat crate under my desk. Formatting is fine. --
| |