2008-10-22 22:26:29 -07:00
|
|
|
|
|
|
|
|
|
2007-10-15 23:28:20 +02:00
|
|
|
|
|
|
|
|
|
2011-01-20 20:32:14 +09:00
|
|
|
|
2012-03-28 18:11:12 +01:00
|
|
|
|
2007-10-15 23:28:20 +02:00
|
|
|
|
2009-07-10 09:57:38 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-04-23 10:36:22 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-07-10 09:57:38 -07:00
|
|
|
|
|
|
|
|
|
2010-04-23 10:36:22 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-07-10 09:57:38 -07:00
|
|
|
|
2010-04-23 10:36:22 -05:00
|
|
|
|
2009-07-10 09:57:38 -07:00
|
|
|
|
2010-04-23 10:36:22 -05:00
|
|
|
|
2009-07-10 09:57:38 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-04-23 10:36:22 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-07-10 09:57:38 -07:00
|
|
|
|
|
|
|
|
|
2010-04-23 10:36:22 -05:00
|
|
|
|
2009-07-10 09:57:38 -07:00
|
|
|
|
|
|
|
|
|
2010-04-23 10:36:22 -05:00
|
|
|
|
2009-07-10 09:57:38 -07:00
|
|
|
|
|
|
|
|
|
2010-04-23 10:36:22 -05:00
|
|
|
|
2009-07-10 09:57:38 -07:00
|
|
|
|
|
|
|
|
|
2010-04-23 10:36:22 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-07-10 09:57:38 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
x86: a new API for drivers/etc to control cache and other page attributes
Right now, if drivers or other code want to change, say, a cache attribute of a
page, the only API they have is change_page_attr(). c-p-a is a really bad API
for this, because it forces the caller to know *ALL* the attributes he wants
for the page, not just the 1 thing he wants to change. So code that wants to
set a page uncachable, needs to be aware of the NX status as well etc etc etc.
This patch introduces a set of new APIs for this, set_pages_<attr> and
set_memory_<attr>, that offer a logical change to the user, and leave all
attributes not implied by the requested logical change alone.
Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2008-01-30 13:34:06 +01:00
|
|
|
|
2008-04-17 17:41:31 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-03-17 16:24:16 -03:00
|
|
|
|
2008-04-17 17:41:31 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
x86: a new API for drivers/etc to control cache and other page attributes
Right now, if drivers or other code want to change, say, a cache attribute of a
page, the only API they have is change_page_attr(). c-p-a is a really bad API
for this, because it forces the caller to know *ALL* the attributes he wants
for the page, not just the 1 thing he wants to change. So code that wants to
set a page uncachable, needs to be aware of the NX status as well etc etc etc.
This patch introduces a set of new APIs for this, set_pages_<attr> and
set_memory_<attr>, that offer a logical change to the user, and leave all
attributes not implied by the requested logical change alone.
Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2008-01-30 13:34:06 +01:00
|
|
|
|
2008-03-18 17:00:18 -07:00
|
|
|
|
2008-03-18 17:00:23 -07:00
|
|
|
|
2008-03-18 17:00:18 -07:00
|
|
|
|
x86: a new API for drivers/etc to control cache and other page attributes
Right now, if drivers or other code want to change, say, a cache attribute of a
page, the only API they have is change_page_attr(). c-p-a is a really bad API
for this, because it forces the caller to know *ALL* the attributes he wants
for the page, not just the 1 thing he wants to change. So code that wants to
set a page uncachable, needs to be aware of the NX status as well etc etc etc.
This patch introduces a set of new APIs for this, set_pages_<attr> and
set_memory_<attr>, that offer a logical change to the user, and leave all
attributes not implied by the requested logical change alone.
Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2008-01-30 13:34:06 +01:00
|
|
|
|
2008-03-18 17:00:23 -07:00
|
|
|
|
x86: a new API for drivers/etc to control cache and other page attributes
Right now, if drivers or other code want to change, say, a cache attribute of a
page, the only API they have is change_page_attr(). c-p-a is a really bad API
for this, because it forces the caller to know *ALL* the attributes he wants
for the page, not just the 1 thing he wants to change. So code that wants to
set a page uncachable, needs to be aware of the NX status as well etc etc etc.
This patch introduces a set of new APIs for this, set_pages_<attr> and
set_memory_<attr>, that offer a logical change to the user, and leave all
attributes not implied by the requested logical change alone.
Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2008-01-30 13:34:06 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-01-30 13:34:07 +01:00
|
|
|
|
2008-03-12 03:53:29 +01:00
|
|
|
|
x86: a new API for drivers/etc to control cache and other page attributes
Right now, if drivers or other code want to change, say, a cache attribute of a
page, the only API they have is change_page_attr(). c-p-a is a really bad API
for this, because it forces the caller to know *ALL* the attributes he wants
for the page, not just the 1 thing he wants to change. So code that wants to
set a page uncachable, needs to be aware of the NX status as well etc etc etc.
This patch introduces a set of new APIs for this, set_pages_<attr> and
set_memory_<attr>, that offer a logical change to the user, and leave all
attributes not implied by the requested logical change alone.
Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2008-01-30 13:34:06 +01:00
|
|
|
|
2008-08-21 10:46:06 +08:00
|
|
|
|
2010-04-01 12:45:01 +00:00
|
|
|
|
2008-08-21 10:46:06 +08:00
|
|
|
|
|
|
|
|
|
2009-03-19 14:51:15 -07:00
|
|
|
|
2010-04-01 12:45:01 +00:00
|
|
|
|
2009-03-19 14:51:15 -07:00
|
|
|
|
|
|
|
|
|
2008-04-17 17:41:31 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-01-30 13:34:09 +01:00
|
|
|
|
2007-10-15 23:28:20 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-02-12 12:12:01 -08:00
|
|
|
|
2009-10-28 18:46:56 -08:00
|
|
|
|
2009-02-17 17:57:30 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-10-15 23:28:20 +02:00
|
|
|
|
2008-02-12 12:12:01 -08:00
|
|
|
|
2008-01-30 13:34:08 +01:00
|
|
|
|
2008-02-12 12:12:01 -08:00
|
|
|
|
2008-01-30 13:34:08 +01:00
|
|
|
|
2008-02-12 12:12:01 -08:00
|
|
|
|
2008-01-30 13:34:08 +01:00
|
|
|
|
2008-02-12 12:12:01 -08:00
|
|
|
|
2008-01-30 13:34:08 +01:00
|
|
|
|
|
|
|
|
|
2007-10-15 23:28:20 +02:00
|
|
|
|
2008-10-22 22:26:29 -07:00
|
|
|
|