amdgpu errors reported with kernel 5.2.2 (was Re: Problem with kernel major than 4.15.x)

2019-07-25 Thread Yann Droneaud
6.925748] amdgpu: [powerplay] last message was failed ret is 0 [7.419539] amdgpu: [powerplay] failed to send message 15b ret is 0 [ 11.724123] amdgpu: [powerplay] last message was failed ret is 0 and so on ... Regards. -- Y

Re: [v7] Add udmabuf misc device

2018-09-12 Thread Yann Droneaud
> + > + buf = dma_buf_export(&exp_info); > + if (IS_ERR(buf)) { > + ret = PTR_ERR(buf); > + goto err_put_pages; > + } > + > + flags = 0; You need to check .flags for unsupported value: if (head->flags & ~UDMABU

Re: [RFC] UAPI: Check headers by compiling all together as C++

2018-09-06 Thread Yann Droneaud
Le mercredi 05 septembre 2018 à 19:33 +0200, Yann Droneaud a écrit : > Le mercredi 05 septembre 2018 à 18:55 +0200, Greg KH a écrit : > > On Wed, Sep 05, 2018 at 04:54:27PM +0100, David Howells wrote: > > > > > > Here's a set of patches that inserts a step into

Re: [RFC] UAPI: Check headers by compiling all together as C++

2018-09-06 Thread Yann Droneaud
can't they do the C namespace trick > themselves when they do the import? That must be how they are doing it > today, right? > They can't. Adding extern "C" { } doesn't magically make "class" a non keyword. Even if it was the case, writing C++ code