Re: Question on kzalloc and GFP_DMA32

2016-10-06 Thread Adrian Chadd
On 28 September 2016 at 16:37, Ben Greear wrote: > On 09/28/2016 02:11 PM, David Rientjes wrote: [snip] >> >> I suppose it's failing sometimes because the BUG() will trigger when >> trying to allocate new slab or CONFIG_ZONE_DMA32 isn't configured. That >> shouldn't

Re: Question on kzalloc and GFP_DMA32

2016-10-06 Thread Adrian Chadd
On 28 September 2016 at 16:37, Ben Greear wrote: > On 09/28/2016 02:11 PM, David Rientjes wrote: [snip] >> >> I suppose it's failing sometimes because the BUG() will trigger when >> trying to allocate new slab or CONFIG_ZONE_DMA32 isn't configured. That >> shouldn't panic the kernel anymore

Re: Question on kzalloc and GFP_DMA32

2016-09-28 Thread Ben Greear
On 09/28/2016 02:11 PM, David Rientjes wrote: On Tue, 27 Sep 2016, Ben Greear wrote: I have been running this patch for a while: ath10k: Use GPF_DMA32 for firmware swap memory. This fixes OS crash when using QCA 9984 NIC on x86-64 system without vt-d enabled. Also tested

Re: Question on kzalloc and GFP_DMA32

2016-09-28 Thread Ben Greear
On 09/28/2016 02:11 PM, David Rientjes wrote: On Tue, 27 Sep 2016, Ben Greear wrote: I have been running this patch for a while: ath10k: Use GPF_DMA32 for firmware swap memory. This fixes OS crash when using QCA 9984 NIC on x86-64 system without vt-d enabled. Also tested

Re: Question on kzalloc and GFP_DMA32

2016-09-28 Thread David Rientjes
On Tue, 27 Sep 2016, Ben Greear wrote: > > I have been running this patch for a while: > > ath10k: Use GPF_DMA32 for firmware swap memory. > > This fixes OS crash when using QCA 9984 NIC on x86-64 system > without vt-d enabled. > > Also tested on ea8500 with 9980, and x86-64

Re: Question on kzalloc and GFP_DMA32

2016-09-28 Thread David Rientjes
On Tue, 27 Sep 2016, Ben Greear wrote: > > I have been running this patch for a while: > > ath10k: Use GPF_DMA32 for firmware swap memory. > > This fixes OS crash when using QCA 9984 NIC on x86-64 system > without vt-d enabled. > > Also tested on ea8500 with 9980, and x86-64

Question on kzalloc and GFP_DMA32

2016-09-27 Thread Ben Greear
I have been running this patch for a while: ath10k: Use GPF_DMA32 for firmware swap memory. This fixes OS crash when using QCA 9984 NIC on x86-64 system without vt-d enabled. Also tested on ea8500 with 9980, and x86-64 with 9980 and 9880. All tests were with CT firmware.

Question on kzalloc and GFP_DMA32

2016-09-27 Thread Ben Greear
I have been running this patch for a while: ath10k: Use GPF_DMA32 for firmware swap memory. This fixes OS crash when using QCA 9984 NIC on x86-64 system without vt-d enabled. Also tested on ea8500 with 9980, and x86-64 with 9980 and 9880. All tests were with CT firmware.