Re: [Intel-wired-lan] [PATCH] e1000e: allocate ring descriptors with dma_zalloc_coherent

2018-02-04 Thread Alexander Duyck
On Sun, Feb 4, 2018 at 12:01 PM, Florian Fainelli wrote: > > > On 01/26/2018 02:24 AM, Pierre-Yves Kerbrat wrote: >> Descriptor rings were not initialized at zero when allocated >> When area contained garbage data, it caused skb_over_panic in >> e1000_clean_rx_irq (if data had E1000_RXD_STAT_DD bi

Re: [PATCH] e1000e: allocate ring descriptors with dma_zalloc_coherent

2018-02-04 Thread Florian Fainelli
On 01/26/2018 02:24 AM, Pierre-Yves Kerbrat wrote: > Descriptor rings were not initialized at zero when allocated > When area contained garbage data, it caused skb_over_panic in > e1000_clean_rx_irq (if data had E1000_RXD_STAT_DD bit set) > > This patch makes use of dma_zalloc_coherent to make s

Re: [Intel-wired-lan] [PATCH] e1000e: allocate ring descriptors with dma_zalloc_coherent

2018-02-04 Thread Neftin, Sasha
On 1/26/2018 12:24, Pierre-Yves Kerbrat wrote: Descriptor rings were not initialized at zero when allocated When area contained garbage data, it caused skb_over_panic in e1000_clean_rx_irq (if data had E1000_RXD_STAT_DD bit set) This patch makes use of dma_zalloc_coherent to make sure the ring i

RE: [PATCH] e1000e: allocate ring descriptors with dma_zalloc_coherent

2018-02-02 Thread Brown, Aaron F
TCH] e1000e: allocate ring descriptors with dma_zalloc_coherent > > Descriptor rings were not initialized at zero when allocated > When area contained garbage data, it caused skb_over_panic in > e1000_clean_rx_irq (if data had E1000_RXD_STAT_DD bit set) > > This patch makes use

[PATCH] e1000e: allocate ring descriptors with dma_zalloc_coherent

2018-01-26 Thread Pierre-Yves Kerbrat
Descriptor rings were not initialized at zero when allocated When area contained garbage data, it caused skb_over_panic in e1000_clean_rx_irq (if data had E1000_RXD_STAT_DD bit set) This patch makes use of dma_zalloc_coherent to make sure the ring is memset at 0 to prevent the area from containing