Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Ubuntu Kernel Team (http://www.linux-archive.org/ubuntu-kernel-team/)
-   -   UBUNTU: SAUCE: vesafb: enable mtrr WC by default (http://www.linux-archive.org/ubuntu-kernel-team/528284-ubuntu-sauce-vesafb-enable-mtrr-wc-default.html)

Andy Whitcroft 05-19-2011 01:54 PM

UBUNTU: SAUCE: vesafb: enable mtrr WC by default
 
From: Thomas Schlichter <thomas.schlichter@web.de>

BugLink: http://bugs.launchpad.net/bugs/778043

Move to enabling a write-combining MTRR by default, this then matches
the uvesafb module.

Signed-off-by: Andy Whitcroft <apw@canonical.com>
---
drivers/video/vesafb.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/video/vesafb.c b/drivers/video/vesafb.c
index d0db4bb..43d9054 100644
--- a/drivers/video/vesafb.c
+++ b/drivers/video/vesafb.c
@@ -55,7 +55,7 @@ static struct fb_fix_screeninfo vesafb_fix __initdata = {
#ifndef MODULE
static int inverse __read_mostly;
#endif
-static int mtrr __read_mostly; /* disable mtrr */
+static int mtrr __read_mostly = 3; /* disable mtrr */
static int vram_remap __initdata; /* Set amount of memory to be used */
static int vram_total __initdata; /* Set total amount of memory */
static int pmi_setpal __read_mostly = 1; /* pmi for palette changes ??? */
--
1.7.4.1


--
kernel-team mailing list
kernel-team@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kernel-team

Andy Whitcroft 05-19-2011 01:54 PM

UBUNTU: SAUCE: vesafb: enable mtrr WC by default
 
From: Thomas Schlichter <thomas.schlichter@web.de>

BugLink: http://bugs.launchpad.net/bugs/778043

Move to enabling a write-combining MTRR by default, this then matches
the uvesafb module.

Signed-off-by: Andy Whitcroft <apw@canonical.com>
---
drivers/video/vesafb.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/video/vesafb.c b/drivers/video/vesafb.c
index d0db4bb..43d9054 100644
--- a/drivers/video/vesafb.c
+++ b/drivers/video/vesafb.c
@@ -55,7 +55,7 @@ static struct fb_fix_screeninfo vesafb_fix __initdata = {
#ifndef MODULE
static int inverse __read_mostly;
#endif
-static int mtrr __read_mostly; /* disable mtrr */
+static int mtrr __read_mostly = 3; /* disable mtrr */
static int vram_remap __initdata; /* Set amount of memory to be used */
static int vram_total __initdata; /* Set total amount of memory */
static int pmi_setpal __read_mostly = 1; /* pmi for palette changes ??? */
--
1.7.4.1


--
kernel-team mailing list
kernel-team@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kernel-team

Leann Ogasawara 05-19-2011 02:03 PM

UBUNTU: SAUCE: vesafb: enable mtrr WC by default
 
On Thu, 2011-05-19 at 14:54 +0100, Andy Whitcroft wrote:
> From: Thomas Schlichter <thomas.schlichter@web.de>
>
> BugLink: http://bugs.launchpad.net/bugs/778043
>
> Move to enabling a write-combining MTRR by default, this then matches
> the uvesafb module.
>
> Signed-off-by: Andy Whitcroft <apw@canonical.com>
Acked-by: Leann Ogasawara <leann.ogasawara@canonical.com>

> ---
> drivers/video/vesafb.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/video/vesafb.c b/drivers/video/vesafb.c
> index d0db4bb..43d9054 100644
> --- a/drivers/video/vesafb.c
> +++ b/drivers/video/vesafb.c
> @@ -55,7 +55,7 @@ static struct fb_fix_screeninfo vesafb_fix __initdata = {
> #ifndef MODULE
> static int inverse __read_mostly;
> #endif
> -static int mtrr __read_mostly; /* disable mtrr */
> +static int mtrr __read_mostly = 3; /* disable mtrr */
> static int vram_remap __initdata; /* Set amount of memory to be used */
> static int vram_total __initdata; /* Set total amount of memory */
> static int pmi_setpal __read_mostly = 1; /* pmi for palette changes ??? */
> --
> 1.7.4.1
>
>



--
kernel-team mailing list
kernel-team@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kernel-team

Leann Ogasawara 05-19-2011 02:03 PM

UBUNTU: SAUCE: vesafb: enable mtrr WC by default
 
On Thu, 2011-05-19 at 14:54 +0100, Andy Whitcroft wrote:
> From: Thomas Schlichter <thomas.schlichter@web.de>
>
> BugLink: http://bugs.launchpad.net/bugs/778043
>
> Move to enabling a write-combining MTRR by default, this then matches
> the uvesafb module.
>
> Signed-off-by: Andy Whitcroft <apw@canonical.com>
Acked-by: Leann Ogasawara <leann.ogasawara@canonical.com>

> ---
> drivers/video/vesafb.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/video/vesafb.c b/drivers/video/vesafb.c
> index d0db4bb..43d9054 100644
> --- a/drivers/video/vesafb.c
> +++ b/drivers/video/vesafb.c
> @@ -55,7 +55,7 @@ static struct fb_fix_screeninfo vesafb_fix __initdata = {
> #ifndef MODULE
> static int inverse __read_mostly;
> #endif
> -static int mtrr __read_mostly; /* disable mtrr */
> +static int mtrr __read_mostly = 3; /* disable mtrr */
> static int vram_remap __initdata; /* Set amount of memory to be used */
> static int vram_total __initdata; /* Set total amount of memory */
> static int pmi_setpal __read_mostly = 1; /* pmi for palette changes ??? */
> --
> 1.7.4.1
>
>



--
kernel-team mailing list
kernel-team@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kernel-team

Brad Figg 05-19-2011 02:21 PM

UBUNTU: SAUCE: vesafb: enable mtrr WC by default
 
On 05/19/2011 06:54 AM, Andy Whitcroft wrote:

From: Thomas Schlichter<thomas.schlichter@web.de>

BugLink: http://bugs.launchpad.net/bugs/778043

Move to enabling a write-combining MTRR by default, this then matches
the uvesafb module.

Signed-off-by: Andy Whitcroft<apw@canonical.com>
---
drivers/video/vesafb.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/video/vesafb.c b/drivers/video/vesafb.c
index d0db4bb..43d9054 100644
--- a/drivers/video/vesafb.c
+++ b/drivers/video/vesafb.c
@@ -55,7 +55,7 @@ static struct fb_fix_screeninfo vesafb_fix __initdata = {
#ifndef MODULE
static int inverse __read_mostly;
#endif
-static int mtrr __read_mostly; /* disable mtrr */
+static int mtrr __read_mostly = 3; /* disable mtrr */
static int vram_remap __initdata; /* Set amount of memory to be used */
static int vram_total __initdata; /* Set total amount of memory */
static int pmi_setpal __read_mostly = 1; /* pmi for palette changes ??? */


Acked-by: Brad Figg <brad.figg@canonical.com>

Andy,

Don't forget to add the SRU justification text.

Brad
--
Brad Figg brad.figg@canonical.com http://www.canonical.com

--
kernel-team mailing list
kernel-team@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kernel-team

Brad Figg 05-19-2011 02:21 PM

UBUNTU: SAUCE: vesafb: enable mtrr WC by default
 
On 05/19/2011 06:54 AM, Andy Whitcroft wrote:

From: Thomas Schlichter<thomas.schlichter@web.de>

BugLink: http://bugs.launchpad.net/bugs/778043

Move to enabling a write-combining MTRR by default, this then matches
the uvesafb module.

Signed-off-by: Andy Whitcroft<apw@canonical.com>
---
drivers/video/vesafb.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/video/vesafb.c b/drivers/video/vesafb.c
index d0db4bb..43d9054 100644
--- a/drivers/video/vesafb.c
+++ b/drivers/video/vesafb.c
@@ -55,7 +55,7 @@ static struct fb_fix_screeninfo vesafb_fix __initdata = {
#ifndef MODULE
static int inverse __read_mostly;
#endif
-static int mtrr __read_mostly; /* disable mtrr */
+static int mtrr __read_mostly = 3; /* disable mtrr */
static int vram_remap __initdata; /* Set amount of memory to be used */
static int vram_total __initdata; /* Set total amount of memory */
static int pmi_setpal __read_mostly = 1; /* pmi for palette changes ??? */


Acked-by: Brad Figg <brad.figg@canonical.com>

Andy,

Don't forget to add the SRU justification text.

Brad
--
Brad Figg brad.figg@canonical.com http://www.canonical.com

--
kernel-team mailing list
kernel-team@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kernel-team

Steve Conklin 05-24-2011 04:31 PM

UBUNTU: SAUCE: vesafb: enable mtrr WC by default
 
Applied

On Thu, 2011-05-19 at 14:54 +0100, Andy Whitcroft wrote:
> From: Thomas Schlichter <thomas.schlichter@web.de>
>
> BugLink: http://bugs.launchpad.net/bugs/778043
>
> Move to enabling a write-combining MTRR by default, this then matches
> the uvesafb module.
>
> Signed-off-by: Andy Whitcroft <apw@canonical.com>
> ---
> drivers/video/vesafb.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/video/vesafb.c b/drivers/video/vesafb.c
> index d0db4bb..43d9054 100644
> --- a/drivers/video/vesafb.c
> +++ b/drivers/video/vesafb.c
> @@ -55,7 +55,7 @@ static struct fb_fix_screeninfo vesafb_fix __initdata = {
> #ifndef MODULE
> static int inverse __read_mostly;
> #endif
> -static int mtrr __read_mostly; /* disable mtrr */
> +static int mtrr __read_mostly = 3; /* disable mtrr */
> static int vram_remap __initdata; /* Set amount of memory to be used */
> static int vram_total __initdata; /* Set total amount of memory */
> static int pmi_setpal __read_mostly = 1; /* pmi for palette changes ??? */
> --
> 1.7.4.1
>
>

--
kernel-team mailing list
kernel-team@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kernel-team


All times are GMT. The time now is 11:17 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.