aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorJan Niehusmann <jan@gondor.com>2011-03-04 00:28:02 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2011-03-07 15:05:23 -0800
commitc5a3ef83c9b4cd3eb38b4c33ef4aed89eb790d53 (patch)
treee554d38747f03e3a3a30f132d00c6791fc62ddbb /tools/perf/util/scripting-engines/trace-event-python.c
parente8d5b85f2cce50980de6d36dad4e81ab44f53bd0 (diff)
drm/i915: fix memory corruption with GM965 and >4GB RAM
commit 6927faf30920b8c03dfa007e732642a1f1f20089 upstream. On a Thinkpad x61s, I noticed some memory corruption when plugging/unplugging the external VGA connection. The symptoms are that 4 bytes at the beginning of a page get overwritten by zeroes. The address of the corruption varies when rebooting the machine, but stays constant while it's running (so it's possible to repeatedly write some data and then corrupt it again by plugging the cable). Further investigation revealed that the corrupted address is (dev_priv->status_page_dmah->busaddr & 0xffffffff), ie. the beginning of the hardware status page of the i965 graphics card, cut to 32 bits. So it seems that for some memory access, the hardware uses only 32 bit addressing. If the hardware status page is located >4GB, this corrupts unrelated memory. Signed-off-by: Jan Niehusmann <jan@gondor.com> Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions