[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <99104102-7973-e80f-9006-9a448403562b@denx.de>
Date: Mon, 20 Apr 2020 16:12:59 +0200
From: Marek Vasut <marex@...x.de>
To: Lukas Wunner <lukas@...ner.de>
Cc: netdev@...r.kernel.org, "David S . Miller" <davem@...emloft.net>,
Petr Stetiar <ynezz@...e.cz>,
YueHaibing <yuehaibing@...wei.com>
Subject: Re: [PATCH V4 07/19] net: ks8851: Remove ks8851_rdreg32()
On 4/20/20 4:07 PM, Lukas Wunner wrote:
> On Tue, Apr 14, 2020 at 08:20:17PM +0200, Marek Vasut wrote:
>> The ks8851_rdreg32() is used only in one place, to read two registers
>> using a single read. To make it easier to support 16-bit accesses via
>> parallel bus later on, replace this single read with two 16-bit reads
>> from each of the registers and drop the ks8851_rdreg32() altogether.
>>
>> If this has noticeable performance impact on the SPI variant of KS8851,
>> then we should consider using regmap to abstract the SPI and parallel
>> bus options and in case of SPI, permit regmap to merge register reads
>> of neighboring registers into single, longer, read.
>
> Bisection has shown this patch to be the biggest cause of the performance
> regression introduced by this series: Latency increases by about 9 usec.
Just for completeness, did you perform this bisect on current linux-next
without any patches except this series OR your patched rpi downstream
vendor tree Linux 4.19 with preempt-rt patch applied ?
[...]
Powered by blists - more mailing lists