From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933197AbcBBPbo (ORCPT ); Tue, 2 Feb 2016 10:31:44 -0500 Received: from cam-admin0.cambridge.arm.com ([217.140.96.50]:38448 "EHLO cam-admin0.cambridge.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932304AbcBBPbn (ORCPT ); Tue, 2 Feb 2016 10:31:43 -0500 Subject: Re: [PATCH 04/11] arm64: Introduce Allwinner SoC config option To: Matthias Brugger , Maxime Ripard , Chen-Yu Tsai , linux-sunxi@googlegroups.com References: <1454348370-3816-1-git-send-email-andre.przywara@arm.com> <1454348370-3816-5-git-send-email-andre.przywara@arm.com> <56B0C95B.4040500@gmail.com> Cc: Catalin Marinas , Will Deacon , linux-arm-kernel@lists.infradead.org, Arnd Bergmann , linux-kernel@vger.kernel.org From: Andre Przywara X-Enigmail-Draft-Status: N1110 Organization: ARM Ltd. Message-ID: <56B0CBA8.3020804@arm.com> Date: Tue, 2 Feb 2016 15:30:48 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 MIME-Version: 1.0 In-Reply-To: <56B0C95B.4040500@gmail.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On 02/02/16 15:20, Matthias Brugger wrote: > > > On 01/02/16 18:39, Andre Przywara wrote: >> To prepare for the Allwinner A64 SoC support, introduce a config >> option to allow compiling Allwinner (aka. sunxi) specific drivers >> for the arm64 architecture as well. >> This patch just defines the ARCH_SUNXI symbol to allow Allwinner >> specific drivers to be selected during kernel configuration. >> Since the MMC driver is quite essential for Linux to be useful, select >> it by default. >> > > This mostly depends on the board you have. The rootfs could be on the > flash, on nfs or even on a usb stick. Yeah, could be. It's just that all boards I know of so far have either SD card or eMMC. Maybe it's better put in defconfig. I just want to avoid people getting disappointed when enabling Allwinner support and not being able to use it properly. You know that arm64 has only _one_ defconfig to rule them all, so compiling a special kernel with magic config options is not the usual drill for arm64 - for good reasons. > I don't see why MMC support should be essential for A64 SoC. So I guess I put it in defconfig then, together with the patch to actually enable Allwinner support by default, which I forgot in this series. Cheers, Andre.