diff options
author | David E. Box <david.e.box@linux.intel.com> | 2022-04-20 18:56:20 +0300 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2022-04-27 17:55:54 +0300 |
commit | 679c7a3f1596e8b5493c9473da4d967de540027c (patch) | |
tree | 0a24b40a294fe0d8ee238e0e8c1226e4176d38fe /tools/perf/scripts/python/futex-contention.py | |
parent | 8d75f7b4a3dfd5714a5dc87cfdaa27bd2d14aa48 (diff) | |
download | linux-679c7a3f1596e8b5493c9473da4d967de540027c.tar.xz |
platform/x86/intel/sdsi: Handle leaky bucket
To prevent an agent from indefinitely holding the mailbox firmware has
implemented a leaky bucket algorithm. Repeated access to the mailbox may
now incur a delay of up to 2.1 seconds. Add a retry loop that tries for
up to 2.5 seconds to acquire the mailbox.
Fixes: 2546c6000430 ("platform/x86: Add Intel Software Defined Silicon driver")
Signed-off-by: David E. Box <david.e.box@linux.intel.com>
Link: https://lore.kernel.org/r/20220420155622.1763633-2-david.e.box@linux.intel.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/futex-contention.py')
0 files changed, 0 insertions, 0 deletions