Re: [PATCH v3 19/27] drm: replace devm_ioremap_nocache with devm_ioremap

2018-01-12 Thread Yisheng Xie
Hi Benjamin , On 2018/1/9 17:21, Benjamin Gaignard wrote: > 2017-12-23 12:01 GMT+01:00 Yisheng Xie : >> > Default ioremap is ioremap_nocache, so devm_ioremap has the same >> > function with devm_ioremap_nocache, which can just be killed to >> > save the size of devres.o >

Re: [PATCH v3 19/27] drm: replace devm_ioremap_nocache with devm_ioremap

2018-01-09 Thread Benjamin Gaignard
2017-12-23 12:01 GMT+01:00 Yisheng Xie : > Default ioremap is ioremap_nocache, so devm_ioremap has the same > function with devm_ioremap_nocache, which can just be killed to > save the size of devres.o That looks true for arm and arm64 architectures but not, for exemple,

[PATCH v3 19/27] drm: replace devm_ioremap_nocache with devm_ioremap

2017-12-27 Thread Yisheng Xie
Default ioremap is ioremap_nocache, so devm_ioremap has the same function with devm_ioremap_nocache, which can just be killed to save the size of devres.o This patch is to use use devm_ioremap instead of devm_ioremap_nocache, which should not have any function change but prepare for killing