|
@@ -3643,7 +3643,8 @@ static int claim_resources(SLMP_INFO *info)
|
|
else
|
|
else
|
|
info->sca_statctrl_requested = true;
|
|
info->sca_statctrl_requested = true;
|
|
|
|
|
|
- info->memory_base = ioremap(info->phys_memory_base,SCA_MEM_SIZE);
|
|
|
|
|
|
+ info->memory_base = ioremap_nocache(info->phys_memory_base,
|
|
|
|
+ SCA_MEM_SIZE);
|
|
if (!info->memory_base) {
|
|
if (!info->memory_base) {
|
|
printk( "%s(%d):%s Cant map shared memory, MemAddr=%08X\n",
|
|
printk( "%s(%d):%s Cant map shared memory, MemAddr=%08X\n",
|
|
__FILE__,__LINE__,info->device_name, info->phys_memory_base );
|
|
__FILE__,__LINE__,info->device_name, info->phys_memory_base );
|
|
@@ -3651,7 +3652,7 @@ static int claim_resources(SLMP_INFO *info)
|
|
goto errout;
|
|
goto errout;
|
|
}
|
|
}
|
|
|
|
|
|
- info->lcr_base = ioremap(info->phys_lcr_base,PAGE_SIZE);
|
|
|
|
|
|
+ info->lcr_base = ioremap_nocache(info->phys_lcr_base, PAGE_SIZE);
|
|
if (!info->lcr_base) {
|
|
if (!info->lcr_base) {
|
|
printk( "%s(%d):%s Cant map LCR memory, MemAddr=%08X\n",
|
|
printk( "%s(%d):%s Cant map LCR memory, MemAddr=%08X\n",
|
|
__FILE__,__LINE__,info->device_name, info->phys_lcr_base );
|
|
__FILE__,__LINE__,info->device_name, info->phys_lcr_base );
|
|
@@ -3660,7 +3661,7 @@ static int claim_resources(SLMP_INFO *info)
|
|
}
|
|
}
|
|
info->lcr_base += info->lcr_offset;
|
|
info->lcr_base += info->lcr_offset;
|
|
|
|
|
|
- info->sca_base = ioremap(info->phys_sca_base,PAGE_SIZE);
|
|
|
|
|
|
+ info->sca_base = ioremap_nocache(info->phys_sca_base, PAGE_SIZE);
|
|
if (!info->sca_base) {
|
|
if (!info->sca_base) {
|
|
printk( "%s(%d):%s Cant map SCA memory, MemAddr=%08X\n",
|
|
printk( "%s(%d):%s Cant map SCA memory, MemAddr=%08X\n",
|
|
__FILE__,__LINE__,info->device_name, info->phys_sca_base );
|
|
__FILE__,__LINE__,info->device_name, info->phys_sca_base );
|
|
@@ -3669,7 +3670,8 @@ static int claim_resources(SLMP_INFO *info)
|
|
}
|
|
}
|
|
info->sca_base += info->sca_offset;
|
|
info->sca_base += info->sca_offset;
|
|
|
|
|
|
- info->statctrl_base = ioremap(info->phys_statctrl_base,PAGE_SIZE);
|
|
|
|
|
|
+ info->statctrl_base = ioremap_nocache(info->phys_statctrl_base,
|
|
|
|
+ PAGE_SIZE);
|
|
if (!info->statctrl_base) {
|
|
if (!info->statctrl_base) {
|
|
printk( "%s(%d):%s Cant map SCA Status/Control memory, MemAddr=%08X\n",
|
|
printk( "%s(%d):%s Cant map SCA Status/Control memory, MemAddr=%08X\n",
|
|
__FILE__,__LINE__,info->device_name, info->phys_statctrl_base );
|
|
__FILE__,__LINE__,info->device_name, info->phys_statctrl_base );
|