Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp542787rwr; Wed, 19 Apr 2023 09:42:51 -0700 (PDT) X-Google-Smtp-Source: AKy350Z4DSyO6P5VOHncs2NZyrjl75qgH5vbrRiToIBLkqZ+VPBZeUCXpNl4htCtZaUkHJTnKYTE X-Received: by 2002:a05:6a00:b4e:b0:628:1b3:d499 with SMTP id p14-20020a056a000b4e00b0062801b3d499mr5308070pfo.21.1681922571246; Wed, 19 Apr 2023 09:42:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681922571; cv=none; d=google.com; s=arc-20160816; b=aCfNtuBCJj3IRQPTG1Wt9LI+0Yr+dbtNI8TmnkdwTRR1rzmKdcCxs3sV29kousCq55 dSfvXQ/g8lS5QVcSvT5l/ayWWIeBRtdgFHjycAXadIRvC6fUh9oKJAUCxUUQJHYsQp6S Pq0cFRlX0MIQ90QaBHQtTNRG8bwzq5V+G1/zALyAtobVWQsDSwI7dM7aJ1LNSAwMs9Ov ftQCI8HshDyb7aWgMPn8XxboqgETdL9ElPrQ+Z4MtWn6hXdn2psLg5/l2PYx3oXpSDho 6Ay/Y9WZvLlXLFres4EYzde5bO82t1NqEa/jUimTnnqBvLs+JFp6heUAzc3UIlMSDSHY bftQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=gczPHOPFC5Oa1n8xm+YVvEBQVDVJ/qk+fMtEFwJEsz0=; b=Y9G63sLIRdoH+8OHJTWSn7Ka3vUvpdSmWATg401lvRekBj8xJO+DOU/3WtnSzrNpo5 tT1w3cdaNiSCzkx37h1K8+BBwXBLb+1u44uEypeN1iePVisp5q6WcSAbSmqsCFQF3pFh 1OpslfwaC7lXjgjUhKFjvkl3MSK3ziLBdSzKyktOHzrve9kA8Zn605x+69nfsBQYFaoY gKjSot3WkRRNVVxwR7sM9Jm/YCaITv8lzf8MO03ZOXpGrcDeHSMyRlHBgE+a3NhSYnlZ Fg9n+V4iFAv9MdOvSTz7Re2WWr6Xr9MKKdw6Tbjgg1iMvZXCkfWzRDkGiOual9f15wcQ kkYQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sberdevices.ru header.s=mail header.b=Rntcl+dI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=sberdevices.ru Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y20-20020aa78f34000000b0063d30bb0aa7si5402245pfr.381.2023.04.19.09.42.37; Wed, 19 Apr 2023 09:42:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@sberdevices.ru header.s=mail header.b=Rntcl+dI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=sberdevices.ru Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232909AbjDSQEO (ORCPT + 99 others); Wed, 19 Apr 2023 12:04:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52766 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231779AbjDSQEN (ORCPT ); Wed, 19 Apr 2023 12:04:13 -0400 Received: from mx.sberdevices.ru (mx.sberdevices.ru [45.89.227.171]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D1606273B; Wed, 19 Apr 2023 09:04:09 -0700 (PDT) Received: from s-lin-edge02.sberdevices.ru (localhost [127.0.0.1]) by mx.sberdevices.ru (Postfix) with ESMTP id CAFDD5FD27; Wed, 19 Apr 2023 19:04:06 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sberdevices.ru; s=mail; t=1681920246; bh=gczPHOPFC5Oa1n8xm+YVvEBQVDVJ/qk+fMtEFwJEsz0=; h=Date:From:To:Subject:Message-ID:MIME-Version:Content-Type; b=Rntcl+dI83kBRnQMotz3w+kPs6cXaxOeaHoNULYPvfFluGi/jgz/hol9F2mzMbhJ5 Ia7QNayXMPQOyp136/IAb9vB/tkh6IiNj04EtRg14/gGRSm2Duol+VJKmwqo6D9FoJ Yy+TEKkDv1596uDkkHPs0R+N9QkWyWj7al3qZ89Az3eWyA941MTXJnIBiexBbgjpbz fkNCbSuIWLohl46J6iSTGl8/y8NDD+iy3VbsYxy+IfA+nmiRAdhKewSJd0L548KQ5Q 6591RQ3MnJ14GH9UdtmFRKm2jOAubITdS+NrsblJzIK/S72qlvcMoLzLjK8S6WqJ2E qUf+Pwk5cJAxg== Received: from S-MS-EXCH01.sberdevices.ru (S-MS-EXCH01.sberdevices.ru [172.16.1.4]) by mx.sberdevices.ru (Postfix) with ESMTP; Wed, 19 Apr 2023 19:04:05 +0300 (MSK) Date: Wed, 19 Apr 2023 19:04:05 +0300 From: Dmitry Rokosov To: Neil Armstrong CC: =Xianwei Zhao , , , , , Catalin Marinas , Will Deacon , Kevin Hilman , Rob Herring , Krzysztof Kozlowski Subject: Re: [RFC PATCH 1/2] arm64: amlogic: add new ARCH_AMLIPC for IPC SoC Message-ID: <20230419160405.d7qfir3nv6tlxx2a@CAB-WSD-L081021> References: <20230419073834.972273-1-xianwei.zhao@amlogic.com> <20230419073834.972273-2-xianwei.zhao@amlogic.com> <20230419131416.cns3xvkbzjeyrnux@CAB-WSD-L081021> <661cea17-a4dd-75d1-6a7e-16efa5aea52b@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <661cea17-a4dd-75d1-6a7e-16efa5aea52b@linaro.org> User-Agent: NeoMutt/20220415 X-Originating-IP: [172.16.1.6] X-ClientProxiedBy: S-MS-EXCH01.sberdevices.ru (172.16.1.4) To S-MS-EXCH01.sberdevices.ru (172.16.1.4) X-KSMG-Rule-ID: 4 X-KSMG-Message-Action: clean X-KSMG-AntiSpam-Status: not scanned, disabled by settings X-KSMG-AntiSpam-Interceptor-Info: not scanned X-KSMG-AntiPhishing: not scanned, disabled by settings X-KSMG-AntiVirus: Kaspersky Secure Mail Gateway, version 1.1.2.30, bases: 2023/04/19 10:42:00 #21127526 X-KSMG-AntiVirus-Status: Clean, skipped X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 19, 2023 at 03:43:12PM +0200, Neil Armstrong wrote: > On 19/04/2023 15:14, Dmitry Rokosov wrote: > > On Wed, Apr 19, 2023 at 03:38:33PM +0800, =Xianwei Zhao wrote: > > > From: Xianwei Zhao > > > > > > The C series SoCs are designed for smart IP camera > > > applications, which does not belong to Meson series. > > > So, Add ARCH_AMLIPC for the new series. > > > > > > There are now multiple amlogic SoC seies supported, so group them under > > > their own menu. we can easily add new platforms there in the future. > > > Introduce ARCH_AMLOGIC to cover all Amlogic SoC series. > > > > > > No functional changes introduced. > > > > > > Signed-off-by: Xianwei Zhao > > > --- > > > arch/arm64/Kconfig.platforms | 12 ++++++++++++ > > > arch/arm64/configs/defconfig | 2 ++ > > > 2 files changed, 14 insertions(+) > > > > > > diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms > > > index 89a0b13b058d..bfbc817eef8f 100644 > > > --- a/arch/arm64/Kconfig.platforms > > > +++ b/arch/arm64/Kconfig.platforms > > > @@ -162,12 +162,24 @@ config ARCH_MEDIATEK > > > This enables support for MediaTek MT27xx, MT65xx, MT76xx > > > & MT81xx ARMv8 SoCs > > > +menuconfig ARCH_AMLOGIC > > > + bool "NXP SoC support" > > > > NXP? Did you mean "Amlogic"? > > > > > + > > > +if ARCH_AMLOGIC > > > + > > > config ARCH_MESON > > > bool "Amlogic Platforms" > > > help > > > This enables support for the arm64 based Amlogic SoCs > > > such as the s905, S905X/D, S912, A113X/D or S905X/D2 > > > +config ARCH_AMLIPC > > > > Do we really need a different ARCH for Amlogic IPC? > > I can imagine that it's not the Meson architecture at all. > > But maybe a better solution is just to rename ARCH_MESON to ARCH_AMLOGIC? > > It should be changed treewide, and is it worth it ? As far as I understand, the A1 and S4 families are not fully compatible with the Meson architecture, and we haven't provided additional ARCH_* for them. In my opinion, it's a good time to split the Meson architecture into proper subsets, or rename it treewide (maybe only config option ARCH_MESON => ARCH_AMLOGIC). > > > > > + bool "Amlogic IPC Platforms" > > > + help > > > + This enables support for the arm64 based Amlogic IPC SoCs > > > + such as the C302X, C308L > > > +endif > > > + > > > config ARCH_MVEBU > > > bool "Marvell EBU SoC Family" > > > select ARMADA_AP806_SYSCON > > > diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig > > > index 7790ee42c68a..f231bd1723fd 100644 > > > --- a/arch/arm64/configs/defconfig > > > +++ b/arch/arm64/configs/defconfig > > > @@ -46,7 +46,9 @@ CONFIG_ARCH_LG1K=y > > > CONFIG_ARCH_HISI=y > > > CONFIG_ARCH_KEEMBAY=y > > > CONFIG_ARCH_MEDIATEK=y > > > +CONFIG_ARCH_AMLOGIC=y > > > CONFIG_ARCH_MESON=y > > > +CONFIG_ARCH_AMLIPC=y > > > CONFIG_ARCH_MVEBU=y > > > CONFIG_ARCH_NXP=y > > > CONFIG_ARCH_LAYERSCAPE=y > > > -- > > > 2.37.1 > > > > > > > > > _______________________________________________ > > > linux-amlogic mailing list > > > linux-amlogic@lists.infradead.org > > > http://lists.infradead.org/mailman/listinfo/linux-amlogic > > > -- Thank you, Dmitry