All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
To: kbuild-all@lists.01.org
Subject: Re: ERROR: "devm_platform_ioremap_resource" undefined!
Date: Wed, 24 Mar 2021 12:55:54 +0200	[thread overview]
Message-ID: <YFsaulvNkN6pG8Yt@smile.fi.intel.com> (raw)
In-Reply-To: <202103241300.gHagtjGJ-lkp@intel.com>

[-- Attachment #1: Type: text/plain, Size: 1682 bytes --]

On Wed, Mar 24, 2021 at 01:58:06PM +0800, kernel test robot wrote:
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> head:   7acac4b3196caee5e21fb5ea53f8bc124e6a16fc
> commit: a9c56721d6ae99b22e983d0722e6b1b53a11dd59 dmaengine: dw: platform: Use devm_platform_ioremap_resource()
> date:   1 year, 7 months ago
> config: s390-randconfig-r013-20210324 (attached as .config)
> compiler: s390-linux-gcc (GCC) 9.3.0
> reproduce (this is a W=1 build):
>         wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
>         chmod +x ~/bin/make.cross
>         # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=a9c56721d6ae99b22e983d0722e6b1b53a11dd59
>         git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
>         git fetch --no-tags linus master
>         git checkout a9c56721d6ae99b22e983d0722e6b1b53a11dd59
>         # save the attached .config to linux build tree
>         COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=s390 
> 
> If you fix the issue, kindly add following tag as appropriate
> Reported-by: kernel test robot <lkp@intel.com>
> 
> All errors (new ones prefixed by >>):
> 
> >> ERROR: "devm_platform_ioremap_resource" [drivers/dma/dw/dw_dmac.ko] undefined!

Because s390 does not have IOMEM (IIRC). I forgot how it's usually fixed.

Again IIRC it should be done somewhere in the generic files, otherwise we have
to have add 'depends on HAVE_IOMEM' everywhere.

Okay, seems it's not. Fine, I'll send a patch soon.

-- 
With Best Regards,
Andy Shevchenko


WARNING: multiple messages have this Message-ID (diff)
From: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
To: kernel test robot <lkp@intel.com>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
	Vinod Koul <vkoul@kernel.org>
Subject: Re: ERROR: "devm_platform_ioremap_resource" undefined!
Date: Wed, 24 Mar 2021 12:55:54 +0200	[thread overview]
Message-ID: <YFsaulvNkN6pG8Yt@smile.fi.intel.com> (raw)
In-Reply-To: <202103241300.gHagtjGJ-lkp@intel.com>

On Wed, Mar 24, 2021 at 01:58:06PM +0800, kernel test robot wrote:
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> head:   7acac4b3196caee5e21fb5ea53f8bc124e6a16fc
> commit: a9c56721d6ae99b22e983d0722e6b1b53a11dd59 dmaengine: dw: platform: Use devm_platform_ioremap_resource()
> date:   1 year, 7 months ago
> config: s390-randconfig-r013-20210324 (attached as .config)
> compiler: s390-linux-gcc (GCC) 9.3.0
> reproduce (this is a W=1 build):
>         wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
>         chmod +x ~/bin/make.cross
>         # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=a9c56721d6ae99b22e983d0722e6b1b53a11dd59
>         git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
>         git fetch --no-tags linus master
>         git checkout a9c56721d6ae99b22e983d0722e6b1b53a11dd59
>         # save the attached .config to linux build tree
>         COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=s390 
> 
> If you fix the issue, kindly add following tag as appropriate
> Reported-by: kernel test robot <lkp@intel.com>
> 
> All errors (new ones prefixed by >>):
> 
> >> ERROR: "devm_platform_ioremap_resource" [drivers/dma/dw/dw_dmac.ko] undefined!

Because s390 does not have IOMEM (IIRC). I forgot how it's usually fixed.

Again IIRC it should be done somewhere in the generic files, otherwise we have
to have add 'depends on HAVE_IOMEM' everywhere.

Okay, seems it's not. Fine, I'll send a patch soon.

-- 
With Best Regards,
Andy Shevchenko



  reply	other threads:[~2021-03-24 10:55 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-24  5:58 ERROR: "devm_platform_ioremap_resource" undefined! kernel test robot
2021-03-24  5:58 ` kernel test robot
2021-03-24 10:55 ` Andy Shevchenko [this message]
2021-03-24 10:55   ` Andy Shevchenko
  -- strict thread matches above, loose matches on Subject: below --
2021-01-29 14:08 kernel test robot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=YFsaulvNkN6pG8Yt@smile.fi.intel.com \
    --to=andriy.shevchenko@linux.intel.com \
    --cc=kbuild-all@lists.01.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.