Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp2426rdb; Sun, 28 Jan 2024 10:32:44 -0800 (PST) X-Google-Smtp-Source: AGHT+IG61D3ji7if/JSoXdHfjKar+qmY618orpIZLPIz0CV3rUvpdHopFf2hos8VXfhK8xCTK4Pd X-Received: by 2002:a05:6808:128e:b0:3bd:99f5:b18b with SMTP id a14-20020a056808128e00b003bd99f5b18bmr5020872oiw.44.1706466764568; Sun, 28 Jan 2024 10:32:44 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706466764; cv=pass; d=google.com; s=arc-20160816; b=wJma4kCslhdl6ORcvLdFtJ1ZeOg19mFiggR2T+zW4YqFqGkSgmU75h3CFdN1/mZBeC SLu9RtaIuc++A3pzY0cOxx5QQG9RJsqLfzv5CqDY18doqegUmDw3LgZKraaQeC4VJzZq SBKsWfohUgfQx4Y3Feap3zUJZCUhIy53TD3UQZn40EoWxsD9/t0AXoelsE28aY26e/ym hzGTWk2FJq6tb9t3/FyeK+JMldSkKL3IMjxZyAiFdo+Dd9swsBGd3plsUnDcAmjIEmL6 M/bGeB8D4SxW8DE4/qnpPPEXAm09gKr94ZHvIyr1lMcnog9wTV+/s9qmT/QYMUzPF9lq U41Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=Vutysr8zKp94azivfu5X8ZtSSGaT9WFnXqrtSd/Jfpg=; fh=lQs4IhXFUWAmwABI7onO67EzvUEAZxVm6cpcdy9pMCQ=; b=DIbAAVYIW1kkjImahFyOQx58jrPMHjrketde2rvF4SvXAEJ5RRzoXBI1T3u6F90YoN G7+q3y8fFbj6JGQDVcDudDw05/FaFVxTOWMpOKu35zm5taXzoohQibHVPa1kQSCg3PeD Qa9tNrgI/QPd7afBklXzZtReCLmNohRmWDL89MywSYG9CHJjyfXLNLZTKpk0lK73OzRh YEexLTU1EzuI1GEryLWZdQ9ia3l8DPIj2v5TRxzO5l0NNxfnwmRq2LfLNJok/JGFG36c M+HpHHkKo9Rg3rnEilqNCVOHv82hvmGsX151Q3yQMOKEG7PIJn0u8mh+RpbLrOzXglVY SEjg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=BzuF8bzU; arc=pass (i=1 spf=pass spfdomain=canonical.com dkim=pass dkdomain=canonical.com dmarc=pass fromdomain=canonical.com); spf=pass (google.com: domain of linux-kernel+bounces-41883-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-41883-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canonical.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id fn21-20020a056a002fd500b006dbd7d25e4dsi4427261pfb.161.2024.01.28.10.32.44 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 28 Jan 2024 10:32:44 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-41883-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=@canonical.com header.s=20210705 header.b=BzuF8bzU; arc=pass (i=1 spf=pass spfdomain=canonical.com dkim=pass dkdomain=canonical.com dmarc=pass fromdomain=canonical.com); spf=pass (google.com: domain of linux-kernel+bounces-41883-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-41883-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canonical.com 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 399D92820F6 for ; Sun, 28 Jan 2024 18:32:44 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 525FC2E842; Sun, 28 Jan 2024 18:32:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=canonical.com header.i=@canonical.com header.b="BzuF8bzU" Received: from smtp-relay-canonical-0.canonical.com (smtp-relay-canonical-0.canonical.com [185.125.188.120]) (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 E27198C1F; Sun, 28 Jan 2024 18:32:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.125.188.120 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706466756; cv=none; b=KtNeZ5KP9FiipN+M3BsbSrzcO4a5BBYbhJH7qKfvnxuwMs1mpouIn7x7JNwvLL8+OMqkmmd0V1VO5FNFrV8+RNVD3xQigRCXD2Mpo8uH1hSy8XAcuD98M4b+piIiNv9lo+SHMCqod63WxYn6rD9h2Ta7/UKrYCdtXIHdnmK8B6k= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706466756; c=relaxed/simple; bh=uTT/jcj1NmTzHT+D89Z39WUaWCXDZ3FlJM+w3u9zLuU=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=T4s4IBRK7NtRtVpogcUWv6cHGeMIHjltn0vRjNwk3qoJuHLDQxBTNocEer18bJpzIy2ye8Q9ViAN5FtE8mtECXB+MGcti3oY1XaZZvIInUjL/W7y5KInE1RzPyDsK3aHInoDgY5XFtmaRJXA2nbaSWi9aQ0FzpvInOotiLGCQ3M= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=canonical.com; spf=pass smtp.mailfrom=canonical.com; dkim=pass (2048-bit key) header.d=canonical.com header.i=@canonical.com header.b=BzuF8bzU; arc=none smtp.client-ip=185.125.188.120 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=canonical.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=canonical.com Received: from [192.168.123.161] (ip-178-202-040-247.um47.pools.vodafone-ip.de [178.202.40.247]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-canonical-0.canonical.com (Postfix) with ESMTPSA id 3DEB63F2CA; Sun, 28 Jan 2024 18:23:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1706466218; bh=Vutysr8zKp94azivfu5X8ZtSSGaT9WFnXqrtSd/Jfpg=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=BzuF8bzUYA4t+yxx6PQycQS2U0JOsRK15YX6jpA/cIdC/LtCrqjhTAc1GDGQHC8S5 PkncFd4yspBegHIhL9r4HaKXwhcbboBrohdvi/PiewF49cbKQ9yt+pi6FeKddDGG6p WK+KyyQBfLeEq5RqC3uNKmNWhZyAt+oFC7Pv+MYefkkwqx99PPF15XJOtDvlv65ESu P98N0bXOT27F25UfRNzn46YitsyxrbcB1cOM0EmtMsPzNpT33onSeyUZBxbxhWHt6B peORJ9cMegLl91r3oSEQBK5B/BYIKh+I31hbcdY/NGf70Va4ou/c0hUZ8+q+EVwvqZ ylMv858ZtReew== Message-ID: <3f751ed6-871e-424e-a50e-4362e1bfb527@canonical.com> Date: Sun, 28 Jan 2024 19:23:39 +0100 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 1/1] dt-bindings: riscv: cpus: reg matches hart ID Content-Language: en-US, de-DE To: Conor Dooley Cc: Rob Herring , Krzysztof Kozlowski , Paul Walmsley , Palmer Dabbelt , Albert Ou , linux-riscv@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20240128180621.85686-1-heinrich.schuchardt@canonical.com> <20240128-simile-endocrine-9e8af979d361@spud> From: Heinrich Schuchardt In-Reply-To: <20240128-simile-endocrine-9e8af979d361@spud> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 1/28/24 19:20, Conor Dooley wrote: > On Sun, Jan 28, 2024 at 07:06:21PM +0100, Heinrich Schuchardt wrote: >> Add a description to the CPU reg property to clarify that >> the reg property must match the hart ID. > > That is the expected usage alright. Did you come across something where > it was not being used in that way? No. I was simply missing it in the documentation. There is a page https://www.kernel.org/doc/Documentation/devicetree/bindings/riscv/cpus.txt but that seems not to be generated from the kernel tree. Best regards Heinrich > > Acked-by: Conor Dooley > > Cheers, > Conor. > >> >> Signed-off-by: Heinrich Schuchardt >> --- >> Documentation/devicetree/bindings/riscv/cpus.yaml | 4 ++++ >> 1 file changed, 4 insertions(+) >> >> diff --git a/Documentation/devicetree/bindings/riscv/cpus.yaml b/Documentation/devicetree/bindings/riscv/cpus.yaml >> index f392e367d673..fa9da59d9316 100644 >> --- a/Documentation/devicetree/bindings/riscv/cpus.yaml >> +++ b/Documentation/devicetree/bindings/riscv/cpus.yaml >> @@ -74,6 +74,10 @@ properties: >> - riscv,sv57 >> - riscv,none >> >> + reg: >> + description: >> + The hart ID of this CPU node. >> + >> riscv,cbom-block-size: >> $ref: /schemas/types.yaml#/definitions/uint32 >> description: >> -- >> 2.43.0 >>