diff options
| author | Tony Luck <[email protected]> | 2024-03-07 19:27:04 +0000 |
|---|---|---|
| committer | Borislav Petkov (AMD) <[email protected]> | 2024-03-26 11:40:42 +0000 |
| commit | 108c6494bdf1dfeaefc0a506e2f471aa92fafdd6 (patch) | |
| tree | f3745f26c1dd0565bbee10d5b6714c9a877816f0 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | Linux 6.9-rc1 (diff) | |
| download | kernel-108c6494bdf1dfeaefc0a506e2f471aa92fafdd6.tar.gz kernel-108c6494bdf1dfeaefc0a506e2f471aa92fafdd6.zip | |
x86/mce: Dynamically size space for machine check records
Systems with a large number of CPUs may generate a large number of
machine check records when things go seriously wrong. But Linux has
a fixed-size buffer that can only capture a few dozen errors.
Allocate space based on the number of CPUs (with a minimum value based
on the historical fixed buffer that could store 80 records).
[ bp: Rename local var from tmpp to something more telling: gpool. ]
Signed-off-by: Tony Luck <[email protected]>
Signed-off-by: Borislav Petkov (AMD) <[email protected]>
Reviewed-by: Sohil Mehta <[email protected]>
Reviewed-by: Avadhut Naik <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions
