lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Thu, 21 Aug 2014 17:09:37 +0800 From: Fugang Duan <b38611@...escale.com> To: <richardcochran@...il.com>, <davem@...emloft.net> CC: <netdev@...r.kernel.org>, <b38611@...escale.com> Subject: [PATCH v5 0/1] net: fec: ptp: avoid register access when ipg clock is disabled V5: Unlock the mutex when ptp clk is off in fec_ptp_settime() function. V4: * Init the ptp_clk_on flag to false in .probe(), and add mutex to protect the ptp clock status. V3: * Suggest from Richard Cochran, time_keep work is COMPLETELY INDEPENDENT from time stamping, let it always run. In .fec_ptp_gettime() function will return an error when ptp physical clock is disabled. V2: * As Richard Cochran's suggestion, use schedule_delayed_work instead of period timer. * Stop delayed work before ipg clock disable like suspend, ethx close. Fugang Duan (1): net: fec: ptp: avoid register access when ipg clock is disabled drivers/net/ethernet/freescale/fec.h | 5 +++- drivers/net/ethernet/freescale/fec_main.c | 18 ++++++++++++++-- drivers/net/ethernet/freescale/fec_ptp.c | 31 ++++++++++++++++++---------- 3 files changed, 39 insertions(+), 15 deletions(-) -- 1.7.8 -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists