summaryrefslogtreecommitdiff
path: root/samples/kdb
diff options
context:
space:
mode:
authorLv Zheng <lv.zheng@intel.com>2015-02-05 08:27:29 (GMT)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2015-02-05 14:42:18 (GMT)
commit9e295ac14d6a59180beed0735e6a504c2ee87761 (patch)
tree90268475ce9937bd908dfabb0cffde87381abe5c /samples/kdb
parentca37bfdfbc8d0a3ec73e4b97bb26dcfa51d515aa (diff)
downloadlinux-9e295ac14d6a59180beed0735e6a504c2ee87761.tar.xz
ACPI / EC: Reduce ec_poll() by referencing the last register access timestamp.
Timeout in the ec_poll() doesn't refer to the last register access time. It thus can win the competition against the acpi_ec_gpe_handler() if a transaction takes longer than 1ms but individual register accesses are less than 1ms. In some cases, it can make the following silicon bug easier to be triggered: GPE EN is not wired to the GPE trigger line, so when GPE STS is already set when 1 is written to GPE EN, no GPE can be triggered. This patch adds register access timestamp reference support for ec_poll() to reduce the number of ec_poll() invocations. Reported-by: Venkat Raghavulu <venkat.raghavulu@intel.com> Signed-off-by: Lv Zheng <lv.zheng@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'samples/kdb')
0 files changed, 0 insertions, 0 deletions