Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1400725 > unrolled thread

Re: [PATCH] efifb: Don't show the mapping VA

Started byTomi Valkeinen <tomi.valkeinen@ti.com>
First post2016-05-13 13:50 +0200
Last post2016-05-13 13:50 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH] efifb: Don't show the mapping VA Tomi Valkeinen <tomi.valkeinen@ti.com> - 2016-05-13 13:50 +0200

#1400725 — Re: [PATCH] efifb: Don't show the mapping VA

FromTomi Valkeinen <tomi.valkeinen@ti.com>
Date2016-05-13 13:50 +0200
SubjectRe: [PATCH] efifb: Don't show the mapping VA
Message-ID<ryjLs-2sD-25@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

On 12/05/16 02:57, Andy Lutomirski wrote:
> The framebuffer mapping virtual address leaks information about the
> kernel memory layout.  Stop logging it.
> 
> Cc: Peter Jones <pjones@redhat.com>
> Cc: Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com>
> Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
> Cc: linux-fbdev@vger.kernel.org
> Cc: linux-kernel@vger.kernel.org
> Signed-off-by: Andy Lutomirski <luto@kernel.org>
> ---
>  drivers/video/fbdev/efifb.c | 6 ++----
>  1 file changed, 2 insertions(+), 4 deletions(-)
> 
> diff --git a/drivers/video/fbdev/efifb.c b/drivers/video/fbdev/efifb.c
> index 95d293b7445a..3dcaf4e82885 100644
> --- a/drivers/video/fbdev/efifb.c
> +++ b/drivers/video/fbdev/efifb.c
> @@ -247,10 +247,8 @@ static int efifb_probe(struct platform_device *dev)
>  		goto err_release_fb;
>  	}
>  
> -	printk(KERN_INFO "efifb: framebuffer at 0x%lx, mapped to 0x%p, "
> -	       "using %dk, total %dk\n",
> -	       efifb_fix.smem_start, info->screen_base,
> -	       size_remap/1024, size_total/1024);
> +	printk(KERN_INFO "efifb: framebuffer at 0x%lx, using %dk, total %dk\n",
> +	       efifb_fix.smem_start, size_remap/1024, size_total/1024);
>  	printk(KERN_INFO "efifb: mode is %dx%dx%d, linelength=%d, pages=%d\n",
>  	       efifb_defined.xres, efifb_defined.yres,
>  	       efifb_defined.bits_per_pixel, efifb_fix.line_length,
> 

Thanks, queued for 4.7.

 Tomi

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web