[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <3c36765c-9e23-7947-b6d9-29ca892bd348@nod.at>
Date: Thu, 25 May 2017 17:48:28 +0200
From: Richard Weinberger <richard@....at>
To: Logan Gunthorpe <logang@...tatee.com>,
linux-kernel@...r.kernel.org,
user-mode-linux-devel@...ts.sourceforge.net
Cc: Stephen Bates <sbates@...thlin.com>, Jeff Dike <jdike@...toit.com>,
Al Viro <viro@...IV.linux.org.uk>,
Arnd Bergmann <arnd@...db.de>
Subject: Re: [PATCH v2] um: add dummy ioremap and iounmap functions
Logan,
Am 25.05.2017 um 17:42 schrieb Logan Gunthorpe:
> The user mode architecture does not provide ioremap or iounmap, and
> because of this, the arch won't build when the functions are used in some
> core libraries.
Which ones are failing?
I thought we killed the problem by making CONFIG_COMPILE_TEST depend on !UML.
> I have designs to use these functions in scatterlist.c where they'd
> almost certainly never be called on the um architecture but it does need
> to compile. Thus, if the function is ever hit it returns NULL.
I was never a fan of that approach because in my opinion drivers should have
proper dependencies, including a dependency on HAS_IOMEM.
But I'll no longer block these attempts if we can get rid of tons of fallout
every kernel release.
Thanks,
//richard
Powered by blists - more mailing lists