[<prev] [next>] [day] [month] [year] [list]
Message-ID: <87a89wwsib.fsf@weeman.i-did-not-set--mail-host-address--so-tickle-me>
Date: Wed, 08 Feb 2017 11:34:52 -0500
From: Vivien Didelot <vivien.didelot@...oirfairelinux.com>
To: Andrew Lunn <andrew@...n.ch>, David Miller <davem@...emloft.net>
Cc: netdev <netdev@...r.kernel.org>, Andrew Lunn <andrew@...n.ch>
Subject: Re: [PATCHv2 net-next 0/2] mv88e6xxx Watchdog support
Hi Andrew,
Andrew Lunn <andrew@...n.ch> writes:
> The Marvell switches have an in built watchdog over some of the
> internal state machine. The watchdog can be configured to raise an
> interrupt on error. The problem the watchdog found is then logged to
> the kernel log.
>
> The older switches can automagically perform a software reset when the
> watchdog triggers. This just resets the internal state machine, but
> leaves the switch configuration unchanged.
>
> The 6390 family of switches cannot both raise an interrupt and
> automagically perform a software reset. So the interrupt handler has
> to perform the switch reset, and then re-enable the watchdog
> interrupts.
>
> This has been tested using hacked together debugfs code which allows
> the "force" bit to be set, so cause a watchdog interrupt.
Please remove the "g2_" prefix in the mv88e6xxx_ops members...
Thanks,
Vivien
Powered by blists - more mailing lists