Re: [PATCH net-next 03/11] net: aquantia: add basic ptp_clock callbacks

2019-09-10 Thread kbuild test robot
Hi Igor, Thank you for the patch! Yet something to improve: [auto build test ERROR on net-next/master] url: https://github.com/0day-ci/linux/commits/Igor-Russkikh/net-aquantia-PTP-support-for-AQC-devices/20190909-233041 config: i386-allyesconfig (attached as .config) compiler: gcc-7 (Debian

Re: [PATCH net-next 03/11] net: aquantia: add basic ptp_clock callbacks

2019-09-10 Thread kbuild test robot
Hi Igor, Thank you for the patch! Yet something to improve: [auto build test ERROR on net-next/master] url: https://github.com/0day-ci/linux/commits/Igor-Russkikh/net-aquantia-PTP-support-for-AQC-devices/20190909-233041 config: i386-allmodconfig (attached as .config) compiler: gcc-7 (Debian

Re: [PATCH net-next 03/11] net: aquantia: add basic ptp_clock callbacks

2019-09-10 Thread Andrew Lunn
> +static s64 ptp_clk_offset; > +static void hw_atl_b0_get_ptp_ts(struct aq_hw_s *self, u64 *stamp) > +{ > + u64 ns; > + > + hw_atl_pcs_ptp_clock_read_enable(self, 1); > + hw_atl_pcs_ptp_clock_read_enable(self, 0); > + ns = (get_ptp_ts_val_u64(self, 0) + > + (get_ptp_ts_v

[PATCH net-next 03/11] net: aquantia: add basic ptp_clock callbacks

2019-09-09 Thread Igor Russkikh
From: Dmitry Bezrukov Basic HW functions implemented for adjusting frequency, adjusting time, getting and setting time. Firmware interface for PTP requests and interactions. Enable/disable PTP counters in HW on clock register/unregister Co-developed-by: Egor Pomozov Signed-off-by: Egor Pomozov