set the PFL1_PCD, if PTATTR_UNCACHABLE is specified. (bug#14)
This commit is contained in:
@@ -200,7 +200,7 @@ static unsigned long attr_to_l2attr(enum ihk_mc_pt_attribute attr)
|
|||||||
static unsigned long attr_to_l1attr(enum ihk_mc_pt_attribute attr)
|
static unsigned long attr_to_l1attr(enum ihk_mc_pt_attribute attr)
|
||||||
{
|
{
|
||||||
if (attr & PTATTR_UNCACHABLE) {
|
if (attr & PTATTR_UNCACHABLE) {
|
||||||
return (attr & ATTR_MASK) | PFL1_PWT | PFL1_PWT;
|
return (attr & ATTR_MASK) | PFL1_PCD | PFL1_PWT;
|
||||||
} else {
|
} else {
|
||||||
return (attr & ATTR_MASK);
|
return (attr & ATTR_MASK);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user