Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1367067

Re: [PATCH 1/2] asm-generic/io.h: provide default ioremap/iounmap for !HAS_IOMEM

From Arnd Bergmann <arnd@arndb.de>
Newsgroups linux.kernel
Subject Re: [PATCH 1/2] asm-generic/io.h: provide default ioremap/iounmap for !HAS_IOMEM
Date 2016-03-30 12:10 +0200
Message-ID <rilez-3Ki-23@gated-at.bofh.it> (permalink)
References <ri6yS-1Fp-11@gated-at.bofh.it> <rijmr-2uB-19@gated-at.bofh.it> <rijw5-2y5-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wednesday 30 March 2016 10:13:53 Richard Weinberger wrote:
> 
> I fully understand your point of view. COMPILE_TEST is a monster that
> can do the heavy lifting for you, but monsters also have claws and fangs. 
> 
> Having COMPILE_TEST having depend on !UML works for me. But don't
> we have other archs without io mem? At least a few years ago while
> porting nandsim to UML I found s390 that lacks of io mem too.

s390 gained IOMEM support when they started having PCI attachments.

arch/score selects NO_IOMEM, though they do in fact use MMIO, and
I'm sure their architecture has lots of other problems with build
testing that nobody cares about.

arch/tile can select NO_IOMEM when PCI is disabled, they might
care about this, though I think they also have other build-time
issues.

> Maybe we depend COMPILE_TEST on HAS_IOMEM?

That sounds fine with me as well.

	Arnd

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 1/2] asm-generic/io.h: provide default ioremap/iounmap for !HAS_IOMEM Rob Herring <robh@kernel.org> - 2016-03-29 20:30 +0200
  [PATCH 2/2] mfd: remove dependency on HAS_IOMEM Rob Herring <robh@kernel.org> - 2016-03-29 20:30 +0200
    Re: [PATCH 2/2] mfd: remove dependency on HAS_IOMEM Krzysztof Kozlowski <k.kozlowski@samsung.com> - 2016-03-30 06:30 +0200
  Re: [PATCH 1/2] asm-generic/io.h: provide default ioremap/iounmap for !HAS_IOMEM Arnd Bergmann <arnd@arndb.de> - 2016-03-29 21:40 +0200
    Re: [PATCH 1/2] asm-generic/io.h: provide default ioremap/iounmap for  !HAS_IOMEM Richard Weinberger <richard@nod.at> - 2016-03-29 22:00 +0200
    Re: [PATCH 1/2] asm-generic/io.h: provide default ioremap/iounmap for !HAS_IOMEM Rob Herring <robh@kernel.org> - 2016-03-29 22:20 +0200
      Re: [PATCH 1/2] asm-generic/io.h: provide default ioremap/iounmap for  !HAS_IOMEM Richard Weinberger <richard@nod.at> - 2016-03-30 10:00 +0200
        Re: [PATCH 1/2] asm-generic/io.h: provide default ioremap/iounmap for !HAS_IOMEM Arnd Bergmann <arnd@arndb.de> - 2016-03-30 10:10 +0200
          Re: [PATCH 1/2] asm-generic/io.h: provide default ioremap/iounmap for  !HAS_IOMEM Richard Weinberger <richard@nod.at> - 2016-03-30 10:20 +0200
            Re: [PATCH 1/2] asm-generic/io.h: provide default ioremap/iounmap for !HAS_IOMEM Arnd Bergmann <arnd@arndb.de> - 2016-03-30 12:10 +0200
              Re: [PATCH 1/2] asm-generic/io.h: provide default ioremap/iounmap for !HAS_IOMEM Rob Herring <robh@kernel.org> - 2016-03-30 15:40 +0200
                Re: [PATCH 1/2] asm-generic/io.h: provide default ioremap/iounmap for !HAS_IOMEM Arnd Bergmann <arnd@arndb.de> - 2016-03-30 16:00 +0200
      Re: [PATCH 1/2] asm-generic/io.h: provide default ioremap/iounmap for !HAS_IOMEM Geert Uytterhoeven <geert@linux-m68k.org> - 2016-03-30 22:10 +0200
        Re: [PATCH 1/2] asm-generic/io.h: provide default ioremap/iounmap for !HAS_IOMEM Arnd Bergmann <arnd@arndb.de> - 2016-03-30 22:40 +0200
        Re: [PATCH 1/2] asm-generic/io.h: provide default ioremap/iounmap for  !HAS_IOMEM Richard Weinberger <richard@nod.at> - 2016-03-30 22:40 +0200
        Re: [PATCH 1/2] asm-generic/io.h: provide default ioremap/iounmap for !HAS_IOMEM Rob Herring <robh@kernel.org> - 2016-03-30 23:30 +0200
          Re: [PATCH 1/2] asm-generic/io.h: provide default ioremap/iounmap for !HAS_IOMEM Geert Uytterhoeven <geert@linux-m68k.org> - 2016-03-31 10:40 +0200
  Re: [PATCH 1/2] asm-generic/io.h: provide default ioremap/iounmap for !HAS_IOMEM Krzysztof Kozlowski <k.kozlowski@samsung.com> - 2016-03-30 06:30 +0200

csiph-web