Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 153953 Details for
Bug 238709
GATT pages must be uncacheable
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
upstream patch
patch (text/plain), 1.29 KB, created by
Chip Coldwell
on 2007-05-02 14:31:52 UTC
(
hide
)
Description:
upstream patch
Filename:
MIME Type:
Creator:
Chip Coldwell
Created:
2007-05-02 14:31:52 UTC
Size:
1.29 KB
patch
obsolete
>commit cf6387daf8858bdcb3e123034ca422e8979d73f1 >Author: Joachim Deguara <joachim.deguara@amd.com> >Date: Tue Apr 24 13:05:36 2007 +0200 > > [PATCH] x86-64: make GART PTEs uncacheable > > This patches fixes the silent data corruption problems being seen using the > GART iommu where 4kB of data where incorrect (seen mostly on Nvidia CK804 > systems). This fix, to mark the memory regin the GART PTEs reside on as > uncacheable, also brings the code in line with the AGP specification. > > Signed-off-by: Joachim Deguara <joachim.deguara@amd.com> > Signed-off-by: Andi Kleen <ak@suse.de> > >diff --git a/arch/x86_64/kernel/pci-gart.c b/arch/x86_64/kernel/pci-gart.c >index 2bac8c6..0bae862 100644 >--- a/arch/x86_64/kernel/pci-gart.c >+++ b/arch/x86_64/kernel/pci-gart.c >@@ -519,7 +519,11 @@ static __init int init_k8_gatt(struct agp_kern_info *info) > gatt_size = (aper_size >> PAGE_SHIFT) * sizeof(u32); > gatt = (void *)__get_free_pages(GFP_KERNEL, get_order(gatt_size)); > if (!gatt) >- panic("Cannot allocate GATT table"); >+ panic("Cannot allocate GATT table"); >+ if (change_page_attr_addr((unsigned long)gatt, gatt_size >> PAGE_SHIFT, PAGE_KERNEL_NOCACHE)) >+ panic("Could not set GART PTEs to uncacheable pages"); >+ global_flush_tlb(); >+ > memset(gatt, 0, gatt_size); > agp_gatt_table = gatt; >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 238709
: 153953 |
153955