Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 08145C433DB for ; Fri, 29 Jan 2021 08:11:00 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 982EB64DE9 for ; Fri, 29 Jan 2021 08:10:59 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 982EB64DE9 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=huawei.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date:Message-ID:From: References:To:Subject:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=S+Tl0yOspKXdp+9SVUUQf7tgB1uWsIkMipAdRUYErh8=; b=zB1QzVJuugk6QBpn4Bn+n9WXV LPWHfQ1fSA0hpA9MvNWQzxHN6FEOsuXis76kvhNl3nlLMGV8MwpTFV712tBMJ//tpbcqA3xxV8bh2 BmrTXqz5dhe1EKVrBZ9YMm3BzJXfcgiZtCazntFOM42rriFAobILCu4e9uFDJrLSAa2Ni4KlHEObg YhLMMPnWifq6Fq//VOODDMLl2YPouxe9DHgAMM+fvdyKAmB9vw0XFzXwbelZfy6clo2+LG2AMSe6p mp4UwIM4sF2slvjS9M458LjbaPFFGl26uN9Cc8l8d8E2jdnO9UTRdlTiZVfIcKiPnCpfeP1ShHW6h k4yfd+uaA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1l5Oqd-0000Nc-Nx; Fri, 29 Jan 2021 08:09:43 +0000 Received: from szxga04-in.huawei.com ([45.249.212.190]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1l5Oqb-0000M7-2s for linux-arm-kernel@lists.infradead.org; Fri, 29 Jan 2021 08:09:42 +0000 Received: from DGGEMS411-HUB.china.huawei.com (unknown [172.30.72.60]) by szxga04-in.huawei.com (SkyGuard) with ESMTP id 4DRqhy2ZVcz160nL; Fri, 29 Jan 2021 16:08:18 +0800 (CST) Received: from [127.0.0.1] (10.174.176.220) by DGGEMS411-HUB.china.huawei.com (10.3.19.211) with Microsoft SMTP Server id 14.3.498.0; Fri, 29 Jan 2021 16:09:25 +0800 Subject: Re: [PATCH v5 2/4] ARM: hisi: add support for Kunpeng50x SoC To: Arnd Bergmann References: <20210116032740.873-1-thunder.leizhen@huawei.com> <20210116032740.873-3-thunder.leizhen@huawei.com> From: "Leizhen (ThunderTown)" Message-ID: Date: Fri, 29 Jan 2021 16:09:23 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 MIME-Version: 1.0 In-Reply-To: Content-Language: en-US X-Originating-IP: [10.174.176.220] X-CFilter-Loop: Reflected X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210129_030941_411491_FDAFAD48 X-CRM114-Status: GOOD ( 17.41 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree , Arnd Bergmann , Greg Kroah-Hartman , Will Deacon , linux-kernel , Haojian Zhuang , Rob Herring , Wei Xu , Russell King , linux-arm-kernel Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 2021/1/28 22:28, Arnd Bergmann wrote: > On Sat, Jan 16, 2021 at 4:32 AM Zhen Lei wrote: >> >> Enable support for the Hisilicon Kunpeng506 and Kunpeng509 SoC. >> >> Signed-off-by: Zhen Lei >> --- >> arch/arm/mach-hisi/Kconfig | 8 ++++++++ >> 1 file changed, 8 insertions(+) >> >> diff --git a/arch/arm/mach-hisi/Kconfig b/arch/arm/mach-hisi/Kconfig >> index 2e980f834a6aa1b..c724acc5c642b97 100644 >> --- a/arch/arm/mach-hisi/Kconfig >> +++ b/arch/arm/mach-hisi/Kconfig >> @@ -55,6 +55,14 @@ config ARCH_HIX5HD2 >> help >> Support for Hisilicon HIX5HD2 SoC family >> >> +config ARCH_KUNPENG50X >> + bool "Hisilicon Kunpeng50x family" >> + depends on ARCH_MULTI_V7 >> + select ARCH_FLATMEM_ENABLE >> + select ARCH_HAS_HOLES_MEMORYMODEL if SPARSEMEM > > I think the two 'select' statements are both wrong, though for > different reasons: > > - ARCH_FLATMEM_ENABLE is already selected by ARCH_MULTIPLATFORM, > and is something that should not be platform specific Right. I will drop it. > > - ARCH_HAS_HOLES_MEMORYMODEL was removed in v5.11, > and should also not be selected by a platform. Thanks. I will drop it. > > Otherwise, this seems fine. > > Arnd > > . > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel