[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20191121025610.GO18325@lunn.ch>
Date: Thu, 21 Nov 2019 03:56:10 +0100
From: Andrew Lunn <andrew@...n.ch>
To: Yangbo Lu <yangbo.lu@....com>
Cc: netdev@...r.kernel.org,
Alexandre Belloni <alexandre.belloni@...tlin.com>,
Microchip Linux Driver Support <UNGLinuxDriver@...rochip.com>,
"David S . Miller" <davem@...emloft.net>,
Vladimir Oltean <vladimir.oltean@....com>,
Claudiu Manoil <claudiu.manoil@....com>,
Vivien Didelot <vivien.didelot@...il.com>,
Florian Fainelli <f.fainelli@...il.com>,
Richard Cochran <richardcochran@...il.com>
Subject: Re: [PATCH 5/5] net: dsa: ocelot: add hardware timestamping support
for Felix
> +static irqreturn_t felix_irq_handler(int irq, void *data)
> +{
> + struct ocelot *ocelot = (struct ocelot *)data;
> +
> + /* The INTB interrupt is used for both PTP TX timestamp interrupt
> + * and preemption status change interrupt on each port.
> + *
> + * - Get txtstamp if have
> + * - TODO: handle preemption. Without handling it, driver may get
> + * interrupt storm.
> + */
I assume there are no register bits to enable/disable these two
interrupt sources?
What is preemption?
Andrew
Powered by blists - more mailing lists