diff options
author | Tomas Winkler <tomas.winkler@intel.com> | 2013-07-30 15:11:51 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-09-08 09:09:59 +0400 |
commit | 9c289c0c140b31ce6e3b29898fd1deb80ec04b88 (patch) | |
tree | d9dc70516af8f2cad72a9000672bfa0c13a2dacb /tools/perf/builtin-mem.c | |
parent | 382e9ff11306c83aa73219a4749e55c9146205cf (diff) | |
download | linux-9c289c0c140b31ce6e3b29898fd1deb80ec04b88.tar.xz |
mei: me: fix hardware reset flow
commit ff96066e3171acdea356b331163495957cb833d0 upstream.
Both H_IS and H_IE needs to be set to receive H_RDY
interrupt
1. Assert H_IS to clear the interrupts during hw reset
and use mei_me_reg_write instead of mei_hcsr_set as the later
strips down the H_IS
2. fix interrupt disablement embarrassing typo
hcsr |= ~H_IE -> hcsr &= ~H_IE;
this will remove the unwanted interrupt on power down
3. remove useless debug print outs
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Cc: Shuah Khan <shuah.kh@samsung.com>
Cc: Konstantin Khlebnikov <khlebnikov@openvz.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/builtin-mem.c')
0 files changed, 0 insertions, 0 deletions