aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorNaushir Patuck <naush@raspberrypi.com>2024-11-27 11:15:15 +0000
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2024-12-19 12:50:18 +0100
commit7b1ec3e38906224c2b201e3317d2b6c7fdbeff9b (patch)
treeb79f1e8a41be1fa330be688bb9c7fbed91d21de6 /tools/perf/scripts/python/call-graph-from-postgresql.py
parentmedia: bcm2835-unicam: Disable trigger mode operation (diff)
downloadwireguard-linux-7b1ec3e38906224c2b201e3317d2b6c7fdbeff9b.tar.xz
wireguard-linux-7b1ec3e38906224c2b201e3317d2b6c7fdbeff9b.zip
media: bcm2835-unicam: Fix for possible dummy buffer overrun
The Unicam hardware has been observed to cause a buffer overrun when using the dummy buffer as a circular buffer. The conditions that cause the overrun are not fully known, but it seems to occur when the memory bus is heavily loaded. To avoid the overrun, program the hardware with a buffer size of 0 when using the dummy buffer. This will cause overrun into the allocated dummy buffer, but avoid out of bounds writes. Signed-off-by: Naushir Patuck <naush@raspberrypi.com> Reviewed-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions