linux/drivers/platform/x86/intel_speed_select_if
Srinivas Pandruvada 5c782817a9 platform/x86: ISST: Account for increased timeout in some cases
In some cases when firmware is busy or updating, some mailbox commands
still timeout on some newer CPUs. To fix this issue, change how we
process timeout.

With this change, replaced timeout from using simple count with real
timeout in micro-seconds using ktime. When the command response takes
more than average processing time, yield to other tasks. The worst case
timeout is extended upto 1 milli-second.

Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Link: https://lore.kernel.org/r/20210330220840.3113959-1-srinivas.pandruvada@linux.intel.com
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2021-04-07 19:47:22 +02:00
..
isst_if_common.c platform/x86: ISST: Allow additional core-power mailbox commands 2020-01-20 11:39:31 +02:00
isst_if_common.h platform/x86: ISST: Change PCI device macros 2020-12-07 16:10:12 +01:00
isst_if_mbox_msr.c platform/x86: Convert to new CPU match macros 2020-03-24 21:33:00 +01:00
isst_if_mbox_pci.c platform/x86: ISST: Account for increased timeout in some cases 2021-04-07 19:47:22 +02:00
isst_if_mmio.c platform/x86: ISST: Mark mmio_range_devid_0 and mmio_range_devid_1 with static keyword 2020-12-08 16:30:55 +01:00
Kconfig
Makefile platform/x86: ISST: Add Intel Speed Select mailbox interface via MSRs 2019-07-02 18:41:16 +03:00