summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorGrygorii Strashko <grygorii.strashko@ti.com>2020-10-29 21:09:10 +0200
committerJakub Kicinski <kuba@kernel.org>2020-11-02 14:17:51 -0800
commit0a26ba0603d637eb6673a2ea79808cc73909ef3a (patch)
tree77fb71316ef26e25409e70672f699f87255b4601 /tools/perf/scripts/python/event_analyzing_sample.py
parent42172f44df77f83777d1b5004db99c23bd2df7a4 (diff)
downloadkernel-0a26ba0603d637eb6673a2ea79808cc73909ef3a.tar.gz
net: ethernet: ti: cpsw: disable PTPv1 hw timestamping advertisement
The TI CPTS does not natively support PTPv1, only PTPv2. But, as it happens, the CPTS can provide HW timestamp for PTPv1 Sync messages, because CPTS HW parser looks for PTP messageType id in PTP message octet 0 which value is 0 for PTPv1. As result, CPTS HW can detect Sync messages for PTPv1 and PTPv2 (Sync messageType = 0 for both), but it fails for any other PTPv1 messages (Delay_req/resp) and will return PTP messageType id 0 for them. The commit e9523a5a32a1 ("net: ethernet: ti: cpsw: enable HWTSTAMP_FILTER_PTP_V1_L4_EVENT filter") added PTPv1 hw timestamping advertisement by mistake, only to make Linux Kernel "timestamping" utility work, and this causes issues with only PTPv1 compatible HW/SW - Sync HW timestamped, but Delay_req/resp are not. Hence, fix it disabling PTPv1 hw timestamping advertisement, so only PTPv1 compatible HW/SW can properly roll back to SW timestamping. Fixes: e9523a5a32a1 ("net: ethernet: ti: cpsw: enable HWTSTAMP_FILTER_PTP_V1_L4_EVENT filter") Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com> Acked-by: Richard Cochran <richardcochran@gmail.com> Link: https://lore.kernel.org/r/20201029190910.30789-1-grygorii.strashko@ti.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
allocHenry Burns 2019-07-16mm/z3fold: don't try to use buddy slots after freeVitaly Wool 2019-07-12mm/z3fold.c: lock z3fold page before __SetPageMovable()Henry Burns 2019-06-01z3fold: fix sheduling while atomicVitaly Wool 2019-05-25zsfold: Convert zsfold to use the new mount APIDavid Howells 2019-05-25mount_pseudo(): drop 'name' argument, switch to d_make_root()Al Viro 2019-05-21treewide: Add SPDX license identifier for more missed filesThomas Gleixner 2019-05-21z3fold: don't bother with dentry_operationsDavid Howells 2019-05-14mm/z3fold.c: support page migrationVitaly Wool 2019-05-14mm/z3fold.c: add structure for buddy handlesVitaly Wool 2019-05-14mm/z3fold.c: improve compression by extending searchVitaly Wool 2019-05-14mm/z3fold.c: introduce helper functionsVitaly Wool 2018-11-18z3fold: fix possible reclaim racesVitaly Wool