[prev in list] [next in list] [prev in thread] [next in thread] 

List:       dmaengine
Subject:    Re: dma-mapping: clearing GFP_ZERO flag caused crashes of Ethernet on arc/hsdk board.
From:       "hch () lst ! de" <hch () lst ! de>
Date:       2018-03-28 7:53:13
Message-ID: 20180328075313.GA19864 () lst ! de
[Download RAW message or body]

> > The logical question is why?
> 
> 1. See that's another platform with ARC core so maybe in case of ARM
>    DMA allocator already zeroes pages regardless provided flags -
>    personally I didn't check that.

Yes, most architectures always clear memory returned by dma_alloc*.
Looks like a few don't and my commit got them in trouble.  As usual
I'd prefer to match x86 semantics for now to avoid problems.

I'll send patches for arc and s390 which seem to be actually used
holdouts, and will look if anyone else is also affected.
--
To unsubscribe from this list: send the line "unsubscribe dmaengine" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic