mei: gsc: use polling instead of interrupts
authorTomas Winkler <tomas.winkler@intel.com>
Wed, 7 Sep 2022 21:51:03 +0000 (00:51 +0300)
committerJoonas Lahtinen <joonas.lahtinen@linux.intel.com>
Mon, 12 Sep 2022 12:23:10 +0000 (15:23 +0300)
commit5b063995de950d45edecf25a3eac5d8a44bd0ab9
tree74418db65cecde6d14b038c97d4f33d450678843
parent2d427248aac4e4c8daeb1a4e021f9e22eb0c8e6f
mei: gsc: use polling instead of interrupts

A work-around for a HW issue in XEHPSDV that manifests itself when SW reads
a gsc register when gsc is sending an interrupt. The work-around is
to disable interrupts and to use polling instead.

Cc: James Ausmus <james.ausmus@intel.com>
Signed-off-by: Vitaly Lubart <vitaly.lubart@intel.com>
Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Reviewed-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220907215113.1596567-7-tomas.winkler@intel.com
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
drivers/misc/mei/gsc-me.c
drivers/misc/mei/hw-me.c
drivers/misc/mei/hw-me.h