Re: [PATCH] siano: make it work again with CONFIG_VMAP_STACK

2017-02-14 Thread Mauro Carvalho Chehab
Em Tue, 14 Feb 2017 11:41:46 -0800 Greg KH escreveu: > On Tue, Feb 14, 2017 at 05:32:11PM -0200, Mauro Carvalho Chehab wrote: > > Reported as a Kaffeine bug: > > https://bugs.kde.org/show_bug.cgi?id=375811 > > > > The USB control messages require DMA to work. We cannot pass > > a stack-alloc

Re: [PATCH] siano: make it work again with CONFIG_VMAP_STACK

2017-02-14 Thread Greg KH
On Tue, Feb 14, 2017 at 05:32:11PM -0200, Mauro Carvalho Chehab wrote: > Reported as a Kaffeine bug: > https://bugs.kde.org/show_bug.cgi?id=375811 > > The USB control messages require DMA to work. We cannot pass > a stack-allocated buffer, as it is not warranted that the > stack would be int

[PATCH] siano: make it work again with CONFIG_VMAP_STACK

2017-02-14 Thread Mauro Carvalho Chehab
Reported as a Kaffeine bug: https://bugs.kde.org/show_bug.cgi?id=375811 The USB control messages require DMA to work. We cannot pass a stack-allocated buffer, as it is not warranted that the stack would be into a DMA enabled area. On Kernel 4.9, the default is to not accept DMA on stack a