For some 32-bit architectures calculation of DTO and STO timeout can be
incorrect
due to multiply overflow. Lets prevent this by casting multiply and result to
u64.
Suggested by Jisheng Zhang.
Switch DIV_ROUND_UP macro to DIV_ROUND_UP_ULL is not reasonable
because overflow happens on multiply an
In commit 9d9491a7da2a ("mmc: dw_mmc: Fix the DTO timeout calculation") have
been made
changes which cause multiply overflow for 32-bit systems.
The broken timeout calculations caused false interrupt latency warnings
and stacktrace splat (such as below) when accessing the SD Card.
| Running : 4M
In commit 4c2357f57dd5 ("mmc: dw_mmc: Fix the CTO timeout calculation")
have been made changes which can cause multiply overflow for 32-bit systems.
The value of cto_ms is lower the drto_ms, but nevertheless overflow can occur.
Lets cast this multiply to u64 type which prevents overflow.
Signed-of
On Mon, Feb 26, 2018 at 4:34 PM, Evgeniy Didin
wrote:
> In commit 4c2357f57dd5 ("mmc: dw_mmc: Fix the CTO timeout calculation")
> have been made changes which can cause multiply overflow for 32-bit systems.
> The value of cto_ms is lower the drto_ms, but nevertheless overflow can occur.
> Lets cas
On Mon, Feb 26, 2018 at 4:34 PM, Evgeniy Didin
wrote:
> In commit 9d9491a7da2a ("mmc: dw_mmc: Fix the DTO timeout calculation") have
> been made
> changes which cause multiply overflow for 32-bit systems.
> The broken timeout calculations caused false interrupt latency warnings
> and stacktrace s
This patch adds documentation of device tree bindings for the Synopsys
DesignWare AXI DMA controller.
Signed-off-by: Eugeniy Paltsev
---
.../devicetree/bindings/dma/snps,dw-axi-dmac.txt | 41 ++
1 file changed, 41 insertions(+)
create mode 100644 Documentation/devicetree/b
This patch adds support for the DW AXI DMAC controller.
DW AXI DMAC is a part of HSDK development board from Synopsys.
In this driver implementation only DMA_MEMCPY transfers are
supported.
Signed-off-by: Eugeniy Paltsev
---
MAINTAINERS|6 +
drivers/dma/Kconf
This patch series add support for the DW AXI DMAC controller.
DW AXI DMAC is a part of HSDK development board from Synopsys.
In this driver implementation only DMA_MEMCPY transfers
are supported.
Changes v1->v2 (suggested by Andy Shevchenko):
* Use SPDX licence identifier.
* Refactor axi_chan_
On Mon, 2018-02-26 at 16:39 +0200, Andy Shevchenko wrote:
> On Mon, Feb 26, 2018 at 4:34 PM, Evgeniy Didin
> wrote:
> > In commit 4c2357f57dd5 ("mmc: dw_mmc: Fix the CTO timeout calculation")
> > have been made changes which can cause multiply overflow for 32-bit systems.
> > The value of cto_ms i
On Mon, Feb 26, 2018 at 4:56 PM, Eugeniy Paltsev
wrote:
> This patch adds support for the DW AXI DMAC controller.
> DW AXI DMAC is a part of HSDK development board from Synopsys.
>
> In this driver implementation only DMA_MEMCPY transfers are
> supported.
> +/*
> + * Synopsys DesignWare AXI DMA C
On Mon, Feb 26, 2018 at 5:14 PM, Evgeniy Didin
wrote:
> On Mon, 2018-02-26 at 16:39 +0200, Andy Shevchenko wrote:
>> On Mon, Feb 26, 2018 at 4:34 PM, Evgeniy Didin
>> wrote:
>> > In commit 4c2357f57dd5 ("mmc: dw_mmc: Fix the CTO timeout calculation")
>> > have been made changes which can cause mu
On Mon, 2018-02-26 at 18:53 +0200, Andy Shevchenko wrote:
> On Mon, Feb 26, 2018 at 5:14 PM, Evgeniy Didin
> wrote:
> > On Mon, 2018-02-26 at 16:39 +0200, Andy Shevchenko wrote:
> > > On Mon, Feb 26, 2018 at 4:34 PM, Evgeniy Didin
> > > wrote:
> > > > In commit 4c2357f57dd5 ("mmc: dw_mmc: Fix the
On Mon, Feb 26, 2018 at 7:14 PM, Evgeniy Didin
wrote:
> On Mon, 2018-02-26 at 18:53 +0200, Andy Shevchenko wrote:
>> On Mon, Feb 26, 2018 at 5:14 PM, Evgeniy Didin
>> wrote:
>> > On Mon, 2018-02-26 at 16:39 +0200, Andy Shevchenko wrote:
>> > > On Mon, Feb 26, 2018 at 4:34 PM, Evgeniy Didin
>> > >
Hi Andy,
On Mon, 2018-02-26 at 20:30 +0200, Andy Shevchenko wrote:
> On Mon, Feb 26, 2018 at 7:14 PM, Evgeniy Didin
> wrote:
> > On Mon, 2018-02-26 at 18:53 +0200, Andy Shevchenko wrote:
> > > On Mon, Feb 26, 2018 at 5:14 PM, Evgeniy Didin
> > > wrote:
> > > > On Mon, 2018-02-26 at 16:39 +0200,
Hi Vineet, all
On Fri, 2018-02-16 at 15:40 +0300, Alexey Brodkin wrote:
> Hi Vineet,
>
> While playing with OOM killer I bumped in a pure software deadlock on ARC
> which is even observed in simulation (i.e. it has nothing to do with HW
> peculiarities).
>
> What's nice kernel even sees that lo
On 02/26/2018 11:59 AM, Waldemar Brodkorb wrote:
The syscall cancellation failures are still there with gcc 7.3.0 and
binutils 2.30. Do you have any patches on top of it?
Are you talking about these results?
https://urldefense.proofpoint.com/v2/url?u=https-3A__downloads.uclibc-2Dng.org_reports_1
Hi Vineet,
Vineet Gupta wrote,
> On 02/26/2018 11:59 AM, Waldemar Brodkorb wrote:
> >>>The syscall cancellation failures are still there with gcc 7.3.0 and
> >>>binutils 2.30. Do you have any patches on top of it?
> >>Are you talking about these results?
> >>https://urldefense.proofpoint.com/v2/ur
On 02/26/2018 12:50 PM, Waldemar Brodkorb wrote:
Hi Vineet,
Vineet Gupta wrote,
On 02/26/2018 11:59 AM, Waldemar Brodkorb wrote:
The syscall cancellation failures are still there with gcc 7.3.0 and
binutils 2.30. Do you have any patches on top of it?
Are you talking about these results?
https
On Mon, 26 Feb 2018 17:34:11 +0300 Evgeniy Didin wrote:
> For some 32-bit architectures calculation of DTO and STO timeout can be
> incorrect
> due to multiply overflow. Lets prevent this by casting multiply and result to
> u64.
>
> Suggested by Jisheng Zhang.
> Switch DIV_ROUND_UP macro to DI
On Mon, 26 Feb 2018 20:27:22 + Alexey Brodkin wrote:
> Hi Andy,
>
> On Mon, 2018-02-26 at 20:30 +0200, Andy Shevchenko wrote:
> > On Mon, Feb 26, 2018 at 7:14 PM, Evgeniy Didin
> > wrote:
> > > On Mon, 2018-02-26 at 18:53 +0200, Andy Shevchenko wrote:
> > > > On Mon, Feb 26, 2018 at 5:14
20 matches
Mail list logo