aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorThinh Nguyen <Thinh.Nguyen@synopsys.com>2020-09-30 17:44:19 -0700
committerFelipe Balbi <balbi@kernel.org>2020-10-02 09:57:46 +0300
commitf9cc581badb144a3dcd841aee2d3bc2d242fcb2f (patch)
treedcac746ffb14aee49a4e6cf8dc16365a5f1f1d1f /tools/perf/scripts/python/export-to-postgresql.py
parentusb: dwc3: gadget: Allow restarting a transfer (diff)
downloadwireguard-linux-f9cc581badb144a3dcd841aee2d3bc2d242fcb2f.tar.xz
wireguard-linux-f9cc581badb144a3dcd841aee2d3bc2d242fcb2f.zip
usb: dwc3: gadget: Look ahead when setting IOC
Previously if we run out of TRBs for the last SG entry that requires an extra TRB, we set interrupt-on-completion (IOC) bit to an already prepared TRB (i.e. HWO=1). This logic is not clean, and it's not a typical way to prepare TRB. Also, this prevents showing IOC setup in tracepoint when __dwc3_prepare_one_trb() is executed. Instead, let's look ahead when preparing TRB to know whether to set the IOC bit before the last SG entry. This requires adding a new parameter "must_interrupt" to dwc3_prepare_one_trb(). Signed-off-by: Thinh Nguyen <Thinh.Nguyen@synopsys.com> Signed-off-by: Felipe Balbi <balbi@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions