From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757068AbcA2Vqo (ORCPT ); Fri, 29 Jan 2016 16:46:44 -0500 Received: from pandora.arm.linux.org.uk ([78.32.30.218]:45533 "EHLO pandora.arm.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756920AbcA2Vqk (ORCPT ); Fri, 29 Jan 2016 16:46:40 -0500 Date: Fri, 29 Jan 2016 21:46:22 +0000 From: Russell King - ARM Linux To: Arnd Bergmann Cc: Fengguang Wu , linux-arch@vger.kernel.org, linux-mips@linux-mips.org, James Hogan , Paul Burton , linux-kbuild@vger.kernel.org, Heinrich Schuchardt , linux-kernel@vger.kernel.org, Ralf Baechle , Florian Fainelli , Michal Marek , linux-arm-kernel@lists.infradead.org Subject: Re: [linux-review:James-Hogan/kbuild-Remove-stale-asm-generic-wrappers/20160119-183642] d979f99e9cc14e2667e9b6e268db695977e4197a BUILD DONE Message-ID: <20160129214622.GS10826@n2100.arm.linux.org.uk> References: <569e1dbb.MgLv8OaZwklOxxtU%fengguang.wu@intel.com> <20160128031435.GA25625@wfg-t540p.sh.intel.com> <20160128174241.GN10826@n2100.arm.linux.org.uk> <7619136.niuXthzi6R@wuerfel> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7619136.niuXthzi6R@wuerfel> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jan 29, 2016 at 12:07:21AM +0100, Arnd Bergmann wrote: > This doesn't sound too hard. I've picked the defaults out of the > git history in the patch below. The only tricky part was davinci, > which has two different addresses and requires a little rework > to avoid circular dependencies. I think there's a much better way to solve this. How about we have an architecture-defined way to provide all*config with a set of settings to be used with Kconfig to define these integer settings, rather than papering over the problem making up random addresses (like you're doing for the debug stuff.) Eg, a default architecture-provided setting for KCONFIG_ALLCONFIG that defines things such as the physical offset and the debug addresses to be used for all*config targets? Surely that's better than hacking around with the Kconfig files trying to frig something into working, which can potentially confuse people. -- RMK's Patch system: http://www.arm.linux.org.uk/developer/patches/ FTTC broadband for 0.8mile line: currently at 9.6Mbps down 400kbps up according to speedtest.net.