Re: [PATCH v4 1/2] lib: devres: add a helper function for ioremap_uc

From: Andy Shevchenko
Date: Tue Oct 15 2019 - 03:44:41 EST

On Mon, Oct 14, 2019 at 01:15:53PM -0600, Tuowen Zhao wrote:
> On Tue, 2019-10-15 at 02:46 +0800, kbuild test robot wrote:
> > -O ~/bin/make.cross
> > chmod +x ~/bin/make.cross
> > # save the attached .config to linux build tree
> > GCC_VERSION=7.4.0 make.cross ARCH=sparc64
> Oops, I'm not sure how would we best fix this. Clearly the patch is not
> intended for sparc64. Maybe adding devm_ioremap_uc is rather not safe
> right now.

It seems you need a preparatory patch to satisfy sparc64.

> Although, We could declare dummies for these architectures like it has
> been for powerpc.
> I just noticed another driver having this issue, and fixed with direct
> calls to ioremap_uc().
> 3cc2dac5be3f2: drivers/video/fbdev/atyfb: Replace MTRR UC hole with
> strong UC

That's why I asked Luis to have a look at this :)

With Best Regards,
Andy Shevchenko