The patch does not work correctly, quoting Dave Airlie:
> So we have calls to set_memory_array_uc that used to take unsigned
> long *, they now take dma_addr_t *... this would be an issue.
This will break all users of agp_generic_alloc_pages and agp_generic_destroy_pages on CONFIG_HIGHMEM64G systems.
Soo.. For me, the obvious solution would be to iterate over the array, calling set_memory_uc. Since the code obviously does not check for errors from set_memory_array_uc, this should work the same. Similar for set_memory_array_wb. Patch will follow.
The patch does not work correctly, quoting Dave Airlie:
> So we have calls to set_memory_array_uc that used to take unsigned
> long *, they now take dma_addr_t *... this would be an issue.
This will break all users of agp_generic_ alloc_pages and agp_generic_ destroy_ pages on CONFIG_HIGHMEM64G systems.
Soo.. For me, the obvious solution would be to iterate over the array, calling set_memory_uc. Since the code obviously does not check for errors from set_memory_ array_uc, this should work the same. Similar for set_memory_ array_wb. Patch will follow.