Re: [PATCH] drm/fb_helper: Allow leaking fbdev smem_start

2018-09-24 Thread Daniel Vetter
On Mon, Sep 24, 2018 at 10:44:05AM +0200, Neil Armstrong wrote: > Hi Maxime, Daniel, > > On 22/09/2018 10:56, Daniel Vetter wrote: > > On Fri, Sep 21, 2018 at 04:07:40PM +0200, Maxime Ripard wrote: > >> Hi, > >> > >> On Thu, Sep 20, 2018 at 03:04:12PM +0200, Neil Armstrong wrote: > >>> Since "drm/

Re: [PATCH] drm/fb_helper: Allow leaking fbdev smem_start

2018-09-24 Thread Neil Armstrong
Hi Maxime, Daniel, On 22/09/2018 10:56, Daniel Vetter wrote: > On Fri, Sep 21, 2018 at 04:07:40PM +0200, Maxime Ripard wrote: >> Hi, >> >> On Thu, Sep 20, 2018 at 03:04:12PM +0200, Neil Armstrong wrote: >>> Since "drm/fb: Stop leaking physical address", the default behaviour of >>> the DRM fbdev e

Re: [PATCH] drm/fb_helper: Allow leaking fbdev smem_start

2018-09-22 Thread Daniel Vetter
On Fri, Sep 21, 2018 at 04:07:40PM +0200, Maxime Ripard wrote: > Hi, > > On Thu, Sep 20, 2018 at 03:04:12PM +0200, Neil Armstrong wrote: > > Since "drm/fb: Stop leaking physical address", the default behaviour of > > the DRM fbdev emulation is to set the smem_base to 0 and pass the new > > FBINFO_

Re: [PATCH] drm/fb_helper: Allow leaking fbdev smem_start

2018-09-21 Thread Maxime Ripard
Hi, On Thu, Sep 20, 2018 at 03:04:12PM +0200, Neil Armstrong wrote: > Since "drm/fb: Stop leaking physical address", the default behaviour of > the DRM fbdev emulation is to set the smem_base to 0 and pass the new > FBINFO_HIDE_SMEM_START flag. > > The main reason is to avoid leaking physical add

[PATCH] drm/fb_helper: Allow leaking fbdev smem_start

2018-09-20 Thread Neil Armstrong
Since "drm/fb: Stop leaking physical address", the default behaviour of the DRM fbdev emulation is to set the smem_base to 0 and pass the new FBINFO_HIDE_SMEM_START flag. The main reason is to avoid leaking physical addresse to user-space, and it follows a general move over the kernel code to avoi