From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8726A2D780E; Wed, 2 Jul 2025 19:57:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1751486262; cv=none; b=f9sejaQejhaqyolV8ErsgxRppKx10TsThTj34okgyhxxXA6NkeF3qs/qF2GVI89rTrN6+Pns264Lnm4loXI09g1i2yRlrPW4geRnEen8mKXDNtvVl+Pp9Bm+pVSq9nqluKQ+QkqkA5pXL7klH9ZinTA3Lp4eXWE5GPSU0E5nU3c= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1751486262; c=relaxed/simple; bh=CaQXOmGi1Q4hapePQLyAziFqod4bCIqfR+jrX6VTL94=; h=MIME-Version:Date:From:To:Cc:Message-Id:In-Reply-To:References: Subject:Content-Type; b=g0Bncl1gTzQ7NNLPJsa+7pin3Bi3Bbt6ud91+VCtv+TS5ZcrRN6XKjoeS74w/ZdTypY8UfpY726nSonbDfrO4gcYEoDblB9ZnaiDMRvQYA/j6HRf/Chi/NO4nq1TrpTFSytFHwbalZG+Aj2P4Ny6bVsU2UQCPc2fucBsH2nCsrA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=iphs3Fr4; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="iphs3Fr4" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6C284C4CEEE; Wed, 2 Jul 2025 19:57:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1751486262; bh=CaQXOmGi1Q4hapePQLyAziFqod4bCIqfR+jrX6VTL94=; h=Date:From:To:Cc:In-Reply-To:References:Subject:From; b=iphs3Fr47nWhPR0TagxlvNifwvoipDSOQbi9gEDaqxer7o5R3rwhexpiw+MxfZQ1u 1T/wgYkjS39E64y2k/kFWowyaORm+eOxHZbPVpm/RyaEX967hz53DKJy8jHVQ74gDD uxYv/eEKpEdwFhX2SQ0ePE7O73BUjPbA0mPN2ZtvRln7myS8SyAQamergJDu+lNqSy 6MDhVy6t+8DutVkRvYGv0SCDbq+YBdE2cl+3c2VpXE1f2LB1EobYutBkLpw61ULGFm v0RvrEDiMNc50AMBjt4JOc03BHlzcScYmYQ0Brw7tT7aM967kBApfeLFLMLkEbEN6Q FCTpcbdusJgyQ== Received: from phl-compute-05.internal (phl-compute-05.phl.internal [10.202.2.45]) by mailfauth.phl.internal (Postfix) with ESMTP id 6F059F40068; Wed, 2 Jul 2025 15:57:40 -0400 (EDT) Received: from phl-imap-02 ([10.202.2.81]) by phl-compute-05.internal (MEProxy); Wed, 02 Jul 2025 15:57:40 -0400 X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdefgddukedvlecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpuffrtefokffrpgfnqfghnecuuegr ihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjug hrpefoggffhffvvefkjghfufgtgfesthejredtredttdenucfhrhhomhepfdetrhhnugcu uegvrhhgmhgrnhhnfdcuoegrrhhnugeskhgvrhhnvghlrdhorhhgqeenucggtffrrghtth gvrhhnpeejjeffteetfeetkeeijedugeeuvdfgfeefiedtudeikeeggeefkefhudfhlefh veenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrrh hnugdomhgvshhmthhprghuthhhphgvrhhsohhnrghlihhthidquddvkeehudejtddvgedq vdekjedttddvieegqdgrrhhnugeppehkvghrnhgvlhdrohhrghesrghrnhgusgdruggvpd hnsggprhgtphhtthhopedviedpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtoheptggr thgrlhhinhdrmhgrrhhinhgrshesrghrmhdrtghomhdprhgtphhtthhopehlihhnuhigse grrhhmlhhinhhugidrohhrghdruhhkpdhrtghpthhtoheprghlvgigrghnughrvgdrsggv lhhlohhnihessghoohhtlhhinhdrtghomhdprhgtphhtthhopegurghvvghmsegurghvvg hmlhhofhhtrdhnvghtpdhrtghpthhtohephhgvrhgsvghrthesghhonhguohhrrdgrphgr nhgrrdhorhhgrdgruhdprhgtphhtthhopegrnhguihdrshhhhihtiheskhgvrhhnvghlrd horhhgpdhrtghpthhtohepsghrohhonhhivgeskhgvrhhnvghlrdhorhhgpdhrtghpthht ohepjhhirhhishhlrggshieskhgvrhhnvghlrdhorhhgpdhrtghpthhtoheplhgvvgeskh gvrhhnvghlrdhorhhg X-ME-Proxy: Feedback-ID: i36794607:Fastmail Received: by mailuser.phl.internal (Postfix, from userid 501) id 4464B700068; Wed, 2 Jul 2025 15:57:40 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface Precedence: bulk X-Mailing-List: dmaengine@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-ThreadId: Tf4af6f8839cae169 Date: Wed, 02 Jul 2025 21:57:10 +0200 From: "Arnd Bergmann" To: "Robert Marko" , "Russell King" , "Nicolas Ferre" , "Alexandre Belloni" , "Claudiu Beznea" , "Catalin Marinas" , "Will Deacon" , "Olivia Mackall" , "Herbert Xu" , "David S . Miller" , "Vinod Koul" , "Andi Shyti" , "Lee Jones" , "Mark Brown" , "Greg Kroah-Hartman" , "Jiri Slaby" , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-crypto@vger.kernel.org, dmaengine@vger.kernel.org, linux-i2c@vger.kernel.org, linux-spi@vger.kernel.org, linux-serial@vger.kernel.org, "Oleksij Rempel" , "Daniel Machon" Cc: luka.perkov@sartura.hr Message-Id: In-Reply-To: <20250702183856.1727275-2-robert.marko@sartura.hr> References: <20250702183856.1727275-1-robert.marko@sartura.hr> <20250702183856.1727275-2-robert.marko@sartura.hr> Subject: Re: [PATCH v8 01/10] arm64: Add config for Microchip SoC platforms Content-Type: text/plain Content-Transfer-Encoding: 7bit On Wed, Jul 2, 2025, at 20:35, Robert Marko wrote: > Currently, Microchip SparX-5 SoC is supported and it has its own symbol. > > However, this means that new Microchip platforms that share drivers need > to constantly keep updating depends on various drivers. > > So, to try and reduce this lets add ARCH_MICROCHIP symbol that drivers > could instead depend on. Thanks for updating the series to my suggestion! > @@ -174,6 +160,27 @@ config ARCH_MESON > This enables support for the arm64 based Amlogic SoCs > such as the s905, S905X/D, S912, A113X/D or S905X/D2 > > +menuconfig ARCH_MICROCHIP > + bool "Microchip SoC support" > + > +if ARCH_MICROCHIP > + > +config ARCH_SPARX5 > + bool "Microchip Sparx5 SoC family" This part is the one bit I'm not sure about: The user-visible arm64 CONFIG_ARCH_* symbols are usually a little higher-level, so I don't think we want both ARCH_MICROCHIP /and/ ARCH_SPARX5 here, or more generally speaking any of the nested ARCH_* symbols. This version of your patch is going to be slightly annoying to existing sparx5 users because updating an old .config breaks when ARCH_MICROCHIP is not enabled. The two options that I would prefer here are a) make ARCH_SPARX5 a hidden symbol in order to keep the series bisectable, remove it entirely once all references are moved over to ARCH_MICROCHIP b) Make ARCH_MICROCHIP a hidden symbol that is selected by ARCH_SPARX5 but keep the menu unchanged. Let's see what the sparx5 and at91 maintainers think about these options. The other patches all look fine to me. Arnd