Commit ed57967a authored by Tomas Winkler's avatar Tomas Winkler Committed by Joonas Lahtinen

mei: add slow_firmware flag to the mei auxiliary device

Add slow_firmware flag to the mei auxiliary device info
to inform the mei driver about slow underlying firmware.
Such firmware will require to use larger operation timeouts.
Signed-off-by: default avatarAlexander Usyskin <alexander.usyskin@intel.com>
Signed-off-by: default avatarTomas Winkler <tomas.winkler@intel.com>
Reviewed-by: default avatarDaniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Signed-off-by: default avatarDaniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220907215113.1596567-4-tomas.winkler@intel.comAcked-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarJoonas Lahtinen <joonas.lahtinen@linux.intel.com>
parent fd72cb1b
...@@ -12,11 +12,14 @@ ...@@ -12,11 +12,14 @@
* @aux_dev: - auxiliary device object * @aux_dev: - auxiliary device object
* @irq: interrupt driving the mei auxiliary device * @irq: interrupt driving the mei auxiliary device
* @bar: mmio resource bar reserved to mei auxiliary device * @bar: mmio resource bar reserved to mei auxiliary device
* @slow_firmware: The device has slow underlying firmware.
* Such firmware will require to use larger operation timeouts.
*/ */
struct mei_aux_device { struct mei_aux_device {
struct auxiliary_device aux_dev; struct auxiliary_device aux_dev;
int irq; int irq;
struct resource bar; struct resource bar;
bool slow_firmware;
}; };
#define auxiliary_dev_to_mei_aux_dev(auxiliary_dev) \ #define auxiliary_dev_to_mei_aux_dev(auxiliary_dev) \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment