bnxt_en: Handle async event when the PHC is updated in RTC mode
authorPavan Chebbi <pavan.chebbi@broadcom.com>
Wed, 26 Jan 2022 04:40:13 +0000 (23:40 -0500)
committerDavid S. Miller <davem@davemloft.net>
Wed, 26 Jan 2022 15:35:20 +0000 (15:35 +0000)
commit8bcf6f04d4a531d2efd9b51f13d903aa03985ac6
tree110053addf17a6bf8d9d0e9c6ede76f58cc571b9
parente7b0afb69083ff7199dec51e7b9b1646e799943b
bnxt_en: Handle async event when the PHC is updated in RTC mode

In Multi-host environment, when the PHC is updated by one host,
an async message from firmware will be sent to other hosts.
Re-initialize the timecounter when the driver receives this
async message.

Cc: Richard Cochran <richardcochran@gmail.com>
Reviewed-by: Somnath Kotur <somnath.kotur@broadcom.com>
Signed-off-by: Pavan Chebbi <pavan.chebbi@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnxt/bnxt.c