aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorImre Deak <imre.deak@intel.com>2022-10-25 14:44:55 +0300
committerTvrtko Ursulin <tvrtko.ursulin@intel.com>2022-10-31 12:31:57 +0000
commitd7164a5048e8a6afe2cc4aaf7f12643c14e7f241 (patch)
tree3927b900c45ec57340939e1bb0c3643941a6fe45 /tools/perf/scripts/python/stackcollapse.py
parentLinux 6.1-rc3 (diff)
downloadlinux-d7164a5048e8a6afe2cc4aaf7f12643c14e7f241.tar.gz
linux-d7164a5048e8a6afe2cc4aaf7f12643c14e7f241.zip
drm/i915/tgl+: Add locking around DKL PHY register accesses
Accessing the TypeC DKL PHY registers during modeset-commit, -verification, DP link-retraining and AUX power well toggling is racy due to these code paths being concurrent and the PHY register bank selection register (HIP_INDEX_REG) being shared between PHY instances (aka TC ports) and the bank selection being not atomic wrt. the actual PHY register access. Add the required locking around each PHY register bank selection-> register access sequence. Kudos to Ville for noticing the race conditions. v2: - Add the DKL PHY register accessors to intel_dkl_phy.[ch]. (Jani) - Make the DKL_REG_TC_PORT macro independent of PHY internals. - Move initing the DKL PHY lock to a more logical place. v3: - Fix parameter reuse in the DKL_REG_TC_PORT definition. - Document the usage of phy_lock. v4: - Fix adding TC_PORT_1 offset in the DKL_REG_TC_PORT definition. Cc: Ville Syrjälä <ville.syrjala@linux.intel.com> Cc: Jani Nikula <jani.nikula@intel.com> Cc: <stable@vger.kernel.org> # v5.5+ Acked-by: Jani Nikula <jani.nikula@intel.com> Signed-off-by: Imre Deak <imre.deak@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20221025114457.2191004-1-imre.deak@intel.com (cherry picked from commit 89cb0ba4ceee6bed1059904859c5723b3f39da68) Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
s functionsManjunath Goudar1-25/+11 2016-12-05USB: OHCI: ohci-s3c2410: remove useless functionsManjunath Goudar1-25/+14 2016-12-05USB: cdc-acm: add device id for GW Instek AFG-125Nathaniel Quillin1-0/+1 2016-12-05fsl/usb: Workarourd for USB erratum-A005697Changming Huang5-0/+28 2016-12-05usb: hub: Wait for connection to be reestablished after port resetGuenter Roeck1-2/+9 2016-12-05usbip: vudc: Refactor init_vudc_hw() to be more obviousKrzysztof Opasiak1-17/+18 2016-12-05usbip: vudc: fix: Clear already_seen flag also for ep0Krzysztof Opasiak1-0/+2 2016-11-30USB: serial: kl5kusb105: abort on open exception pathPan Bian1-0/+2 2016-11-30USB: serial: kl5kusb105: fix open error pathJohan Hovold1-9/+24 2016-11-29usb: fix improper return value when kzalloc failsPan Bian1-0/+1 2016-11-29usb: return correct errno on failuresPan Bian1-0/+1 2016-11-29usb: return correct errno code when krealloc failsPan Bian1-0/+1 2016-11-29USB: EHCI: ehci-w90x900: remove unuseful functionsManjunath Goudar1-22/+8 2016-11-29usb: ohci: s3c2410: allow probing from device treeSergio Prado1-0/+8