Received: by 2002:ab2:69cc:0:b0:1f4:be93:e15a with SMTP id n12csp1833410lqp; Mon, 15 Apr 2024 21:12:51 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCV7H82lDc1FJag8HRFejLaWb3jv67pqIxxTQwgkpEjKW8s3+P+ZTW6YyEejP+C5KiljMvTjapJ59ETVsrNoEhYmIY7w5o2LDYRoXWWF2A== X-Google-Smtp-Source: AGHT+IFfA8DNj/KnAfGE4+xXXOcMiiddRusUf8N1JOlMnT/ULUpOCrnCbZqG1gqrXjUMnIxaj43C X-Received: by 2002:a50:c05a:0:b0:56c:2785:ca34 with SMTP id u26-20020a50c05a000000b0056c2785ca34mr6999768edd.5.1713240770961; Mon, 15 Apr 2024 21:12:50 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713240770; cv=pass; d=google.com; s=arc-20160816; b=J7MpsF+9UYWTAN9kEc1yQZngLdRtCj1hcRNa7IClfEZt2VoIMsaHn9JnY+TlkPQ2Be JHG2h5BkU4OSC0/D3Ag3txkNoZQDmnoadL7DtGntmiqRVmtafO3LMYr2fu3Ogee21jGY Bn0zKty/WyY7tpZXJvSKpUQHa05ZiANrDETaV8mlGWvDZyRI/p/r+oFwoaR645/07YdI M7hDAs3T/EM8Wj8DGlj90BqkBLgbU0qvziKoF/FvGt0ieNIPYWSugF/Rej86m43l8yll lWfGnSFOpfFhyo3bB36uyLMgveGcIfX61BWAJrhC0ylWHjFiMJI4Md17mh6uF0oIMMeE QUlA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=XjIfhSwfHRsBz5u/Ep3mPORR8rWAcMP+i2i3CrSSnGM=; fh=gFk7PKi11BrY6+P0dfHx2YIZSX/Yd8tg1wAVeyvhb7s=; b=teDXzAPjCi6hW5R0uzDqCTgLR1oNq4BCrVd6u5zZ2Hn1qB8EsXRptLOpAN8SiyRAN7 QiEeYPafZTC4dKrZQG09ykRyU0fXL6RuLGrjZF6jzpdaVkT3DH1bEUQ26ZNyn7fJeooP Kqqb6/vR5ZMeYnV7tS/pfLi+IOi31ZOw29sqecjc9bmIm5BJRoQhOlZDpopwoXpdT94H yI4WFqyWxjKqVVrGULPPnKjDlGR7r9mTNugHRNIA4M1E2d+NlEULTHOtzeFjYmGmxiCV fRfK+gkBtXXZdVWv/NKPqSkCjQ3bzRZW4CgBjijy3mqu9xcuv+QqCtZaDNH/R6r8SREa K6cQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@rivosinc-com.20230601.gappssmtp.com header.s=20230601 header.b=YncWKge2; arc=pass (i=1 spf=pass spfdomain=rivosinc.com dkim=pass dkdomain=rivosinc-com.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-146205-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-146205-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id er10-20020a056402448a00b0056e5be847cbsi5098389edb.414.2024.04.15.21.12.50 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Apr 2024 21:12:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-146205-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@rivosinc-com.20230601.gappssmtp.com header.s=20230601 header.b=YncWKge2; arc=pass (i=1 spf=pass spfdomain=rivosinc.com dkim=pass dkdomain=rivosinc-com.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-146205-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-146205-linux.lists.archive=gmail.com@vger.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 am.mirrors.kernel.org (Postfix) with ESMTPS id A759F1F2380B for ; Tue, 16 Apr 2024 04:12:50 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5FBE13BB30; Tue, 16 Apr 2024 04:12:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=rivosinc-com.20230601.gappssmtp.com header.i=@rivosinc-com.20230601.gappssmtp.com header.b="YncWKge2" Received: from mail-pf1-f169.google.com (mail-pf1-f169.google.com [209.85.210.169]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1991138398 for ; Tue, 16 Apr 2024 04:12:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.169 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713240728; cv=none; b=aUz3LOCWsev08bNpWgfBbSsGjAu/AekYs/x82ouQZ10pyUQTU9b81pvNYHaunrUpZCQs2HL9iCAPd+kCYPZDtzNQcA0wyE11Fed6/9iqwJsHInrAFN7Zm4f7NkKlZ0XQ3160DtMNIEEw0QcBILX+FajsdeTOT4YLGtKPtIFmN5E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713240728; c=relaxed/simple; bh=xhhAyhCeh9v1HfzcYB9jMdx24aaf/W++T5TjP1BYwrM=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=TP06dC35cgcFerY6yopZa670HZDl+ozXYhXrhPhjLJmNE4d1pV4udzWkrUQFuu12MDZtN+UgQ3XzbYZyyFvwRdqfcf58JB62vQtu80G+mMtS062Snl0DB4KamzBE/AqZ8WuXtO091m3z1+y8xGYFgahmIiKov7RwTnct5jhTJac= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=rivosinc.com; spf=pass smtp.mailfrom=rivosinc.com; dkim=pass (2048-bit key) header.d=rivosinc-com.20230601.gappssmtp.com header.i=@rivosinc-com.20230601.gappssmtp.com header.b=YncWKge2; arc=none smtp.client-ip=209.85.210.169 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=rivosinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=rivosinc.com Received: by mail-pf1-f169.google.com with SMTP id d2e1a72fcca58-6ed054f282aso2839757b3a.0 for ; Mon, 15 Apr 2024 21:12:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rivosinc-com.20230601.gappssmtp.com; s=20230601; t=1713240726; x=1713845526; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=XjIfhSwfHRsBz5u/Ep3mPORR8rWAcMP+i2i3CrSSnGM=; b=YncWKge2pZUFHcofScLdpIr6oDJtIUQY3JDSuYwHX2P8sWyeheFwgUNQ3DncUXZCm2 uvV0yepYginqxp1N4MZGp8bMh238OgoYhx/zSI7A05WDsqfVT3brnZ3DrbrFBIZ+VaDl cc15QPI1vCaPHD+76BT2Qjo/Lf3S7JlUpHoy7noKhyVbMH484nxwSYSmfuy6yBKgp/lk rNwxw52mszGetkn7B2d6SMpjrjqL57PPHvJoZKxqtm2TQpTjpbgqZX4IMJIeVCdT0Btk wDNVg7ymv/q1kI1D/y/QbiGNterqj1WtmxpUlH7pfRjJbcWwRdou1irJUgu1WvJqVU+u leTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713240726; x=1713845526; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=XjIfhSwfHRsBz5u/Ep3mPORR8rWAcMP+i2i3CrSSnGM=; b=PqScOoLi0SmX9673dCSD1jadAJAzojuC4VvPqsa6jYDDH9TCfCqJyteqhRiYv4TzK4 Cj10arf9oYGgXsvMCHDbUPNs2T7+9LtmYe5UecUCg2zTpfDexXbwIQDTWIqrxBZkPJUP 1WQciLiJ5HWvmuKsYX7FdX/J727O+IQ2pU/tTEFtVcsJMFUDXWYOI01IvwbbxU4+lA03 dWPG81JPs6SNWCrxvGURbInwCnVhYNXhwDjCzRPd2GtabzwfJIKKUKDGhhdYPqkhEa0J WguipCZwBZBDbjNdNESLda5AJV56qDkSxwl3tRqAeJKcOsok42Fa0VKZFNSfAxKhjLBR tZdg== X-Forwarded-Encrypted: i=1; AJvYcCUeB5dpsmSs3u8/fmHmtAPpst8jxD98P24opL4ivXeoxyGCpfY+8gujApSQHsuLkeIYhmBjG3jW8yq3CtRwN70SQIfaH8kk9fHFNcCn X-Gm-Message-State: AOJu0Yz9zXW4UHvMJLQwo48Xc6PMR5FJyummXi1UHp3mFgc1H/kToHjv lK1xPKL0/fjpm9RQl3k14zPgLpz31vnfnf4Cxm+VJJSL4Jy8CuS3SobHUWE3rQs= X-Received: by 2002:a05:6a00:1955:b0:6ed:de6f:d72f with SMTP id s21-20020a056a00195500b006edde6fd72fmr13091989pfk.20.1713240726023; Mon, 15 Apr 2024 21:12:06 -0700 (PDT) Received: from charlie.ba.rivosinc.com ([64.71.180.162]) by smtp.gmail.com with ESMTPSA id z184-20020a6265c1000000b006ed4c430acesm8383149pfb.40.2024.04.15.21.12.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Apr 2024 21:12:05 -0700 (PDT) From: Charlie Jenkins Date: Mon, 15 Apr 2024 21:12:00 -0700 Subject: [PATCH v2 03/17] dt-bindings: riscv: Add vendorid Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240415-dev-charlie-support_thead_vector_6_9-v2-3-c7d68c603268@rivosinc.com> References: <20240415-dev-charlie-support_thead_vector_6_9-v2-0-c7d68c603268@rivosinc.com> In-Reply-To: <20240415-dev-charlie-support_thead_vector_6_9-v2-0-c7d68c603268@rivosinc.com> To: Conor Dooley , Rob Herring , Krzysztof Kozlowski , Paul Walmsley , Palmer Dabbelt , Albert Ou , Guo Ren , Conor Dooley , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Conor Dooley , Evan Green , =?utf-8?q?Cl=C3=A9ment_L=C3=A9ger?= , Jonathan Corbet , Shuah Khan Cc: linux-riscv@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Palmer Dabbelt , linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-doc@vger.kernel.org, linux-kselftest@vger.kernel.org, Charlie Jenkins X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1713240719; l=1073; i=charlie@rivosinc.com; s=20231120; h=from:subject:message-id; bh=xhhAyhCeh9v1HfzcYB9jMdx24aaf/W++T5TjP1BYwrM=; b=9ADEOjEKpNqNT1uwJT37rRw3/i4KOWKzh4dKPxd8bccq49fjrEN1MfFYxs+5aLex6kyTKifm2 4sY6qIIN0aoD5yumAyImnKAJ7dRaK2lAGGwoME32kwjE2loQhyDKO9j X-Developer-Key: i=charlie@rivosinc.com; a=ed25519; pk=t4RSWpMV1q5lf/NWIeR9z58bcje60/dbtxxmoSfBEcs= vendorid are required during DT parsing to determine known hardware capabilities. This parsing happens before the whole system has booted, so only the boot hart is online and able to report the value of its vendorid. Signed-off-by: Charlie Jenkins --- Documentation/devicetree/bindings/riscv/cpus.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Documentation/devicetree/bindings/riscv/cpus.yaml b/Documentation/devicetree/bindings/riscv/cpus.yaml index d87dd50f1a4b..030c7697d3b7 100644 --- a/Documentation/devicetree/bindings/riscv/cpus.yaml +++ b/Documentation/devicetree/bindings/riscv/cpus.yaml @@ -94,6 +94,11 @@ properties: description: The blocksize in bytes for the Zicboz cache operations. + riscv,vendorid: + $ref: /schemas/types.yaml#/definitions/uint64 + description: + Same value as the mvendorid CSR. + # RISC-V has multiple properties for cache op block sizes as the sizes # differ between individual CBO extensions cache-op-block-size: false -- 2.44.0