Received: by 2002:a89:2c3:0:b0:1ed:23cc:44d1 with SMTP id d3csp76124lqs; Mon, 4 Mar 2024 15:46:42 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVMK5nKoisCJ+fT/JGs1t3/v0rXcarb7AIo+oJfmeWcRR3VC6YPj5ISqT6cHuaasZ4lA3JO4VuNx5fDQxxo6L3kiHneEzzUJuzctQ0J8g== X-Google-Smtp-Source: AGHT+IHjgfx+ATRowAYVI4rd87qi+hYS5vz4FnCzPqjHmNq8y1VrNkA3WgaveXejuCG5w9PlSXBN X-Received: by 2002:a05:6a00:8611:b0:6e5:db1b:27cd with SMTP id hg17-20020a056a00861100b006e5db1b27cdmr6681127pfb.6.1709596001798; Mon, 04 Mar 2024 15:46:41 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709596001; cv=pass; d=google.com; s=arc-20160816; b=SP/YGk1nn3af90d5x2Pasbigv4IiFup41rNRTwzGhW+NQPKF+mmWr9mUyL9/XfYalO QyhJxcGmwYJaux69Wm95lPtfxK3ErTurTTws+aYM4aUxEisiSgeYjuoqRul6yU/oVNyF SUrrlzfBHs4SyOes8ipx1A9uXNa6xj/aV9FKZmfvsM6hFWjjS+uwW3FTSuDLMysDngLR GJkTkAxNEEiehrWpQ+oCRhuCs9V40RmheQqfYYge7qNHFFvSkojacsytn6VCW+nAIrXA kuQYOow8ypUDH5FaB9tSnL/Lf4gPHE3GNXV/Eb/rJqYIYBAVzj7/ZMrNOuuor3iVOaH0 wyNg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:organization:from:references :cc:to:content-language:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=gfcMEGF9mZCBdCOoE4T1vovbwQI4guRQBV6tumEtZF8=; fh=Q5xK0P9e4+UNtqBdJiBRdvuUcVOZ5qOJJepXUC76jno=; b=LHn9OmD3EnvLYO3QlOistQ7KqypH8+R+Dmn8K00uHgbE1ZQBkq1OZb3D4/4U7FbcZo Z6r361d2OMJN+pBGIk098IZZ7A2SaIPD/GJAhMQgq0vV6sPSAnQo/ThswM3PYt7k1Aa7 opMTRHjvB7gepY9mX/iVVm1IBSSqLWgm3gyyu1YSnq0WizyklR5w7xh6+h7sxOkxe/3X xIJxnYcKC4dYLO+YLBB1piyUz0BatRE9myB1l9HocJVo5QW8bWAoqOGTTrnH21z7DIOA hH+vTmD6uQfRwIuetfRiTw4ZKXS1aklYcS/PQdKUstCnwwDHIOqFmx1CHgwLGVAXRt0W pmtA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=nIjIbBWf; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-91422-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-91422-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id e8-20020aa78c48000000b006e47a6d1068si8873017pfd.201.2024.03.04.15.46.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Mar 2024 15:46:41 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-91422-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=nIjIbBWf; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-91422-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-91422-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 76D08281238 for ; Mon, 4 Mar 2024 23:46:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 986CE7D3F4; Mon, 4 Mar 2024 23:46:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="nIjIbBWf" 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 BD98F7D06E; Mon, 4 Mar 2024 23:46:33 +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=1709595993; cv=none; b=gH1Lz7TUfa3vq7RHMDCE04I7ZIiUSJuO67XEtoaGoI39VXriG8i/1NUf6XcbwlyumKWTzbdAjLGH6ENc5Y7uWmLiM2t+K7muu9+oB5jm51kGORR/jpif1RweLVueRyQsKau5maRseiyB1rR636wFrTdpR5Vziy6BrIxMvxYmKrM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709595993; c=relaxed/simple; bh=7WNSrD/gX6pibCjhneUKu3M0LMXGqqIQ3WUVG/m73CI=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=CgPkx9uOdDO04Z9Z7XG+ykB5S3hwrmOHYklfQo9FNn9tdn5SpbTwofhvxsmdvN7BhsGZCJDUgEMyQ37NbybuXllupxqlkQvs0KB/Uz0eem2qJXpjpxkpcAJSrmgIu1zlKYrq9LWNq2A3yGTwgIUFaOxe5VreO0NtSF4UH0jRE1s= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=nIjIbBWf; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 65789C433F1; Mon, 4 Mar 2024 23:46:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1709595993; bh=7WNSrD/gX6pibCjhneUKu3M0LMXGqqIQ3WUVG/m73CI=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=nIjIbBWftHai18rNn9jTJowhR3eCHntl3VdVe+YCqfo+/Aw8Ogr3jceQj2XoJG6vn OR35iMW+pnXfkgwM9cxbv2g1a0rEzNBpeCRdo4SPH/AXH+LcP1Y2ovA187cJ/Ul04C jbkmWH/HKPwkqlzQpGOqxLGHTqF0rEH9FRbboVRrziiTdnCLVLPlR9c2cqj+2iSDZy lZ8l2wyalfWn80EzB7dar6xRtYfPIdE5Z57oMwafPjzlV2ks1Q+oei4WZL5B35qp+o UezBaw+B49MQ3T0kGoZgCOZPoJPdl9+r7bga9PIH+zFY6w0mzoIxsoJVtVNB24kyVm OE3cVtk6QxuPg== Message-ID: Date: Tue, 5 Mar 2024 08:46:26 +0900 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v3 5/7] riscv: Kconfig.socs: Allow SOC_CANAAN with MMU for K230 Content-Language: en-US To: Yangyu Chen , linux-riscv@lists.infradead.org Cc: Conor Dooley , Rob Herring , Krzysztof Kozlowski , Paul Walmsley , Palmer Dabbelt , Albert Ou , Guo Ren , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Conor Dooley References: From: Damien Le Moal Organization: Western Digital Research In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 3/5/24 06:05, Yangyu Chen wrote: > Since K230 was released, SOC_CANAAN is no longer only referred to the K210. > Remove it depends on !MMU will allow building dts for K230 and remove the > K210 string from the help message. > > Signed-off-by: Yangyu Chen > Reviewed-by: Conor Dooley > --- > arch/riscv/Kconfig.socs | 5 ++--- > 1 file changed, 2 insertions(+), 3 deletions(-) > > diff --git a/arch/riscv/Kconfig.socs b/arch/riscv/Kconfig.socs > index 623de5f8a208..b4e9b7f75510 100644 > --- a/arch/riscv/Kconfig.socs > +++ b/arch/riscv/Kconfig.socs > @@ -75,13 +75,12 @@ config ARCH_CANAAN > def_bool SOC_CANAAN > > config SOC_CANAAN > - bool "Canaan Kendryte K210 SoC" > - depends on !MMU This seems wrong to me. The k210 support does require no-mmu. So why remove this ? Does the k230 have MMU support ? If yes, then I do not think these 2 can fall under the same SOC_CANAAN. > + bool "Canaan Kendryte SoC" > select CLINT_TIMER if RISCV_M_MODE > select ARCH_HAS_RESET_CONTROLLER > select PINCTRL > select COMMON_CLK > help > - This enables support for Canaan Kendryte K210 SoC platform hardware. > + This enables support for Canaan Kendryte SoC platform hardware. > > endmenu # "SoC selection" -- Damien Le Moal Western Digital Research