From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753582AbcC3Ufo (ORCPT ); Wed, 30 Mar 2016 16:35:44 -0400 Received: from a.ns.miles-group.at ([95.130.255.143]:11949 "EHLO radon.swed.at" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751097AbcC3Ufm (ORCPT ); Wed, 30 Mar 2016 16:35:42 -0400 Subject: Re: [PATCH 1/2] asm-generic/io.h: provide default ioremap/iounmap for !HAS_IOMEM To: Geert Uytterhoeven , Rob Herring References: <1459275781-3863-1-git-send-email-robh@kernel.org> <3074778.3TElYrXjM1@wuerfel> Cc: Arnd Bergmann , Lee Jones , "linux-kernel@vger.kernel.org" , "linux-arch@vger.kernel.org" , uml-devel From: Richard Weinberger Message-ID: <56FC3899.4000100@nod.at> Date: Wed, 30 Mar 2016 22:35:37 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am 30.03.2016 um 22:08 schrieb Geert Uytterhoeven: >> I actually started a patch to remove the HAS_IOMEM dependency >> everywhere (or just the per driver cases). It didn't break as bad as I >> expected, but became more than I wanted to fix. Mainly, all the devm_ >> variants also need empty versions or to be always enabled. > > Should these dependencies on HAS_IOMEM be changed to "HAS_IOMEM || > COMPILE_TEST"? Another idea, the issue with COMPILE_TEST is that it is automatically selected by make targets such as allyesconfig or allmodconfig. Couldn't we make COMPILE_TEST just harder to select? i.e. that with allyesconfig it is still disabled and if someone really wants to do a compile test of anything we could issue something like "make allyesconfig COMPILE_TEST=y" to have COMPILE_TEST selected? Thanks, //richard