Received: by 2002:ab2:7407:0:b0:1f4:b336:87c4 with SMTP id e7csp212798lqn; Thu, 11 Apr 2024 21:12:43 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXKCca5j64z8htkJP7kHOSKreiluAiQ70ioCQutP+VIvnqMmPCkxTqXbfnwnMUba3Sq0VUy26wB+h0HkruL+d2dIJ4BHOGKVUE3hD027Q== X-Google-Smtp-Source: AGHT+IFGu92eDzZTK3MfnBUxcrdRbOmo22Ez9plQD3c2d+u1duv5FE9ZTntrsdH9DS/tqe9pYwyz X-Received: by 2002:a17:90a:5794:b0:2a0:86b6:2e9 with SMTP id g20-20020a17090a579400b002a086b602e9mr1495443pji.12.1712895163681; Thu, 11 Apr 2024 21:12:43 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712895163; cv=pass; d=google.com; s=arc-20160816; b=eBALDcuBWHkhukkHazbUkbGWXfam0VieICNHn5i/yWd9VXNESGs4UEZazIHkXW4hh5 zKHc2Wv8MbQnD+K11aAMknFhaqUZlX0Br5A/FtTYshtkj34h6UUCpJYH5STKtWDJpR9i IM2R6imD9zaPkfjazC+1lzRt80DYc7ULHxl7zAXlTwIrvIffLW0zw3xdPJQbz8cBa1VP PE0ODVcTSFyK+A7glszlVlzo2Ey3HZBeUyUAbWwkfGM2EYQb1Zp8+WeZVQcf1QoMV92w zdjEn1JydksMTU5567u5z8nNKTXYIxihq89RnAPLGY2eRuQojWOjqMrTiFsWxivfeIqc B6bw== 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=5Sixzgo2r7kg6GY3Fpd4pBZrh6mU/5eZgncRXiQPqfM=; fh=w4dhqO8yH4l3/DItlfPvaqc3Tc1jrMS6wANBbYhjE0I=; b=lwG3eGqKE2ODhtFx2ubE3kq+mgoeSr/k9rDhF5Phj3PttkCfq8igK5PLbaJXy8CiHy GOZYpH1OrRUnpax1Qkfz2Y8EGUis5UFcHUdp8RKdfWnr9bE/6sALxib65nDAXCSRH8u3 3M3okdQmoOvRigROqxyCvnsqe5T11SBY7PtkDZPZ8P5d4lMU2uZuY/pHNzWLt9y2FN5e mQB2LsMMI/EPoyB7irUArQ+c6/+RjqQQhAB+qk9f20puHRbBOsA26bqvdJnTvQhlB2KT o4MAIOnfYKBtkj7gK5am5YYur3k7slTRPhMhujUGBlZb9nvnCwBRpmO912GK00BAJkfd McYA==; 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=0E5wWmdO; 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-141893-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-141893-linux.lists.archive=gmail.com@vger.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 y22-20020a17090aa41600b002a08fd2c322si4754813pjp.116.2024.04.11.21.12.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Apr 2024 21:12:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-141893-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=@rivosinc-com.20230601.gappssmtp.com header.s=20230601 header.b=0E5wWmdO; 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-141893-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-141893-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 04713284A4D for ; Fri, 12 Apr 2024 04:12:35 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9D48A2574D; Fri, 12 Apr 2024 04:11:43 +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="0E5wWmdO" Received: from mail-pf1-f181.google.com (mail-pf1-f181.google.com [209.85.210.181]) (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 694951CAAA for ; Fri, 12 Apr 2024 04:11:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.181 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712895102; cv=none; b=rah7RUHYEtjTI06J9LP/1i/6aIVRvEBM2EB9kAAklK9HDypQbnLlAhJZx4B1AP0Lne7h2aTTtkSJ40Esr1NxH42oQaLDJVoS4hTUmKKUqi79jjALD12AJ3YbM5+ZVQQbWG9dgcqN7CQSvJfdnNmogVMce/OMaQEGNrrQsJ8+UyQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712895102; c=relaxed/simple; bh=oL6I4ETw+/5YBi2SkRJ3Nc3nJsbymuJaBJHYjR4VtV4=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=S/te17K45nLFBJMTfp0QvSF8NZ/V0dL+p2tJgUW9BsaK8Bs2OnBCu3Lox9DsyfVYTRHcW5R6Nf+uoRp3dm/QI+AVWznCTBAd/oQgry05s+p9Ef7W6f2C/BubaG9nVgVs2CRHi6lg9MV0XUIYHz7Zt0ltsQci8UsLpzKpO1IWiHs= 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=0E5wWmdO; arc=none smtp.client-ip=209.85.210.181 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-f181.google.com with SMTP id d2e1a72fcca58-6edb76d83d0so518715b3a.0 for ; Thu, 11 Apr 2024 21:11:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rivosinc-com.20230601.gappssmtp.com; s=20230601; t=1712895101; x=1713499901; 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=5Sixzgo2r7kg6GY3Fpd4pBZrh6mU/5eZgncRXiQPqfM=; b=0E5wWmdOOwJOyXQ9RI9l1BgSQRa9PJUfT9+5H6/GfLtxfUObuOpMGkn/RsgVrnOXdO oqQDXcewdv6m0h6pX3DMye8Ra94AGjRXVfZO7mgTJyNPeChHtoPUw4bdE+va2q1wTxjn 6Br2c3hB7VY42KCG1OUOk8xycClAJF5cHl418G5UCxzdkfib+D/zo5WjItcI9cIJ6uSZ GbkDXoh76IGhLbij1S0n0zqpZeqW5gY56G6WzIJOZ8N9LAFfSDCvubiqDHrtJrqoS7Su tJfKXgknZIqgfHAHSLZq5N9n4x/b6u+Bd8PfqYMpD1L+SF3vxQRa8TNINDQ/LEyaOu+F +iFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712895101; x=1713499901; 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=5Sixzgo2r7kg6GY3Fpd4pBZrh6mU/5eZgncRXiQPqfM=; b=F62F4dxacR86tQ3lLAJJDyioL8x69py3WMSl5iFXS7gegRh8wCW9JJ7TxD6WGDfFXw ByLcU3SFTz6Ww4IoQ1at9wpbEfoPdV7ncXU3mZFeXJ075v2uJlNMYtChiDENJNUJxYTz aphiKYdmLdNuGW03LpbgN+are0T/yM4Rza6g5WU6YEwsCV6qzfhMXBI1ZZAK2SEbwtVK UIUYkBk49iWqvc+Y2z8D8noQN9NSBdassYN2u+YBz0vftHVKAdOYwIyc4iH2bd4YW8pT TOG0O9SCo7WgDsL6DvYv32lZRgDXt0SSbPmBuMcwhO5JdbaMN2GohkOxL4Xag91Fz9PT f5bQ== X-Forwarded-Encrypted: i=1; AJvYcCWlHuvfRpWG5mggORBDw9Aj6MRNTgbfhxvM8aNSWgx/NYH+lGlYCLVP/lTLLu/zMv5aJ5vcQS+Xmgx2DcGnfU9upEyhB3FkO8kVbJQp X-Gm-Message-State: AOJu0YwzPB+SQiBWu/It7ifBswElg/X3iQtHLioXvxWMVorju+mWqbg6 jiKqHLS6JY6n643Gd8FyJTNNrpU14ALqHlfsRdTZ36FT2l2L8DGI77jAMIUahEU= X-Received: by 2002:a05:6a00:c90:b0:6ec:da71:9c4c with SMTP id a16-20020a056a000c9000b006ecda719c4cmr2110137pfv.34.1712895100866; Thu, 11 Apr 2024 21:11:40 -0700 (PDT) Received: from charlie.ba.rivosinc.com ([64.71.180.162]) by smtp.gmail.com with ESMTPSA id ka13-20020a056a00938d00b006e57247f4e5sm1949712pfb.8.2024.04.11.21.11.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Apr 2024 21:11:40 -0700 (PDT) From: Charlie Jenkins Date: Thu, 11 Apr 2024 21:11:10 -0700 Subject: [PATCH 04/19] riscv: dts: allwinner: Add xtheadvector to the D1/D1s devicetree 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: <20240411-dev-charlie-support_thead_vector_6_9-v1-4-4af9815ec746@rivosinc.com> References: <20240411-dev-charlie-support_thead_vector_6_9-v1-0-4af9815ec746@rivosinc.com> In-Reply-To: <20240411-dev-charlie-support_thead_vector_6_9-v1-0-4af9815ec746@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=1712895091; l=1004; i=charlie@rivosinc.com; s=20231120; h=from:subject:message-id; bh=oL6I4ETw+/5YBi2SkRJ3Nc3nJsbymuJaBJHYjR4VtV4=; b=g/DzPC7a8tBrQ6gAdGC+lnd01Uz42ouki9Lrq70WlwEn3H44BQoong66ZykBP3aEbqygAr8DM /XZlDueiyI1BQs+8dexnhDJd/2hv+RQ1wih9R3Vr2glQhBTFzUpkdD5 X-Developer-Key: i=charlie@rivosinc.com; a=ed25519; pk=t4RSWpMV1q5lf/NWIeR9z58bcje60/dbtxxmoSfBEcs= The D1/D1s SoCs support xtheadvector which should be included in the devicetree. Also include vendorid and archid for the cpu. Signed-off-by: Charlie Jenkins --- arch/riscv/boot/dts/allwinner/sun20i-d1s.dtsi | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/riscv/boot/dts/allwinner/sun20i-d1s.dtsi b/arch/riscv/boot/dts/allwinner/sun20i-d1s.dtsi index 64c3c2e6cbe0..aee07d33a4d3 100644 --- a/arch/riscv/boot/dts/allwinner/sun20i-d1s.dtsi +++ b/arch/riscv/boot/dts/allwinner/sun20i-d1s.dtsi @@ -27,7 +27,9 @@ cpu0: cpu@0 { riscv,isa = "rv64imafdc"; riscv,isa-base = "rv64i"; riscv,isa-extensions = "i", "m", "a", "f", "d", "c", "zicntr", "zicsr", - "zifencei", "zihpm"; + "zifencei", "zihpm", "xtheadvector"; + riscv,vendorid = <0x00000000 0x0000005b7>; + riscv,archid = <0x00000000 0x000000000>; #cooling-cells = <2>; cpu0_intc: interrupt-controller { -- 2.44.0