[tip: x86/splitlock] Documentation/admin-guide: Add bus lock ratelimit

From: tip-bot2 for Fenghua Yu
Date: Tue May 18 2021 - 10:45:00 EST


The following commit has been merged into the x86/splitlock branch of tip:

Commit-ID: 9d839c280b64817345c2fa462c0027a9bd742361
Gitweb: https://git.kernel.org/tip/9d839c280b64817345c2fa462c0027a9bd742361
Author: Fenghua Yu <fenghua.yu@xxxxxxxxx>
AuthorDate: Mon, 19 Apr 2021 21:49:57
Committer: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
CommitterDate: Tue, 18 May 2021 16:39:31 +02:00

Documentation/admin-guide: Add bus lock ratelimit

Since bus lock rate limit changes the split_lock_detect parameter,
update the documentation for the change.

Signed-off-by: Fenghua Yu <fenghua.yu@xxxxxxxxx>
Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
Reviewed-by: Tony Luck <tony.luck@xxxxxxxxx>
Link: https://lore.kernel.org/r/20210419214958.4035512-4-fenghua.yu@xxxxxxxxx

---
Documentation/admin-guide/kernel-parameters.txt | 8 ++++++++
1 file changed, 8 insertions(+)

diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt
index cb89dbd..ca94624 100644
--- a/Documentation/admin-guide/kernel-parameters.txt
+++ b/Documentation/admin-guide/kernel-parameters.txt
@@ -5283,6 +5283,14 @@
exception. Default behavior is by #AC if
both features are enabled in hardware.

+ ratelimit:N -
+ Set system wide rate limit to N bus locks
+ per second for bus lock detection.
+ 0 < N <= 1000.
+
+ N/A for split lock detection.
+
+
If an #AC exception is hit in the kernel or in
firmware (i.e. not while executing in user mode)
the kernel will oops in either "warn" or "fatal"