Received: by 2002:ab2:69cc:0:b0:1f4:be93:e15a with SMTP id n12csp1833626lqp; Mon, 15 Apr 2024 21:13:37 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVL2qjVEVL8q0HdE5Pujny4b08/eIPJivzpst43E+Ye2TasG0DQ8C2I/ytqq09QB5qdUjua9CMAC9RpsZWI7L39O8Pw5oSfXU4Oqjrp9g== X-Google-Smtp-Source: AGHT+IGyEPbHMFUZvl7KxuLRo75EuDKTHpIeawb7xLXBeolk8fdwK+OmHYgDt/i4Opa6cNgjfqgr X-Received: by 2002:a05:6870:420f:b0:22e:c4e7:8aba with SMTP id u15-20020a056870420f00b0022ec4e78abamr14604127oac.47.1713240816977; Mon, 15 Apr 2024 21:13:36 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713240816; cv=pass; d=google.com; s=arc-20160816; b=o4YiZE1sntiXlsSGMSFlV+dR2o6xBcJFW/xvBnM06UjhatLRTQqf+pbT62cYkNvkA/ bbS6MhyM6CEFTvzZYgIbWVd4cRXUgCFI/TdFjf7w5CG6vAowee3ev1jrnE6l9lWe7L/F b4APT56EWxMtJDUwfoyd11hvAakiA4GMgmC4I5p+DbU8LqxNrb3Uqj4KEXSClb+HwkD3 KlU+4h8uwbSjjHX2i0tCu2GaRgErL+JvpXEUop3pfe7ZOVdgsbNE3y4Njfwep+Klvatp iPqzdRKBDUfCDhQzTZnVCSPSsqDrLXtWZJsPURU6Qj7laiSOun0GcS59RWARlsGA8r3L 2qjg== 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=qnud37/LSp4TdcsuxNdCbGLksvKJqKVQs/r9uH0ClfY=; fh=4AKrhrPkMSijRI5OZL4LdQ/Rp/HHvXKpQb1yMaopf8o=; b=pk/rcV7XAtQQqf4cHcKjNV31//WVSmxitEp9UhdPrIgCFYOzWZa7YchWteJ2Qxt7qz y08+z3jucZSsVXmf2YCdnZGcrMnuEaCuu3h4wcvtpgINYWKXLV6NwHyv++sZAJXUf27M bSpE7rGsWJFk7Nc/0isNZ01606MF/uiDcw8x6nhbbIuPw/lX/YB2r+1fOQoOWkOjrP8Y n6RomwkRY8DLqNjfjOuLwpXWFk28HR1A4JPV/HB6HY7y7wjU9VxJMfZ/zSYY1xVDdl44 SPXRHDQw3Ex94tvrW9q12uRkcsHIFXxHF0l0ynay48a35mwBwhhHKj7IDsaxIVx+xloK 2cvQ==; 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=BLx9TTqn; 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-146206-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-146206-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id n18-20020aa78a52000000b006e6b6700b09si8943070pfa.238.2024.04.15.21.13.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Apr 2024 21:13:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-146206-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@rivosinc-com.20230601.gappssmtp.com header.s=20230601 header.b=BLx9TTqn; 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-146206-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-146206-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 2867E285349 for ; Tue, 16 Apr 2024 04:13:08 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 412783D0D1; Tue, 16 Apr 2024 04:12:11 +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="BLx9TTqn" Received: from mail-oo1-f48.google.com (mail-oo1-f48.google.com [209.85.161.48]) (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 A60FD3A268 for ; Tue, 16 Apr 2024 04:12:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.161.48 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713240730; cv=none; b=suQozoFzHKTE5sakXn3RcGGwDF9OEBWXPe+SDKCFFymbwQ+nbCgpU7vzXodoCXDKKenIds602z9LuZUfyrueem9Zrzj+FvKnDUNyHM/+O+uasb4DGcO8x2cOlpeWOYuVd/f+INCRWmrNHgrg3AdnwZSCdoEzXV8nRqG7hOWHiCg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713240730; c=relaxed/simple; bh=Ck0zYUhgFjnqfJEM6nA8CPhR/S6l/5RzqpopDML2wMA=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=qVXMkPbjnNIq7UBuDySqnZ5V52/yW+lpQc92MssKpz064vRG5HAlKpPZDI1+MLeCApOuCmBZnsOD0kyL1hEwdRjgqr8KY/XepCkhip5p2CX9j0cE1u6T8Fw4ekGPkJj47eMxa034eYOXpY0fRAmbSMAQtTMV5OhWuV+Ad8+TcIw= 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=BLx9TTqn; arc=none smtp.client-ip=209.85.161.48 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-oo1-f48.google.com with SMTP id 006d021491bc7-5aa400b917dso2573805eaf.0 for ; Mon, 15 Apr 2024 21:12:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rivosinc-com.20230601.gappssmtp.com; s=20230601; t=1713240728; x=1713845528; 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=qnud37/LSp4TdcsuxNdCbGLksvKJqKVQs/r9uH0ClfY=; b=BLx9TTqn4sgizCTZ5nrMzgELsvmtJZVj7XGsoe6PxR/QrjEySdb/wK9OMCDSQ5+R+I 7buik+bFqNhlEq5IXaJlAUuZ2qcdRnFsMV+KCsFGDeDXrmIFIRTNVXkszOK8eR9XTo/d KRCEJaNS+H31b0siphcEVpXB5V6IfseGtWbUSxVGo/MNONrrlq30rS78vDf6SQyf9FzS hggKxpvns/6z3E7Dtb/LEqv4DBxBKDTcF9n4eDwAc8J0A+GXfHbdu9hv76upBfr/axea 29ZvXtP8E1sPuINRl84mPqZL7mFv60bAnv9qJenXKNV/H/tY8DhTb5/k0FMxxIn+Kb5n z6gg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713240728; x=1713845528; 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=qnud37/LSp4TdcsuxNdCbGLksvKJqKVQs/r9uH0ClfY=; b=wmuO+C6J3uylFe9EXxzKyzTrvSBDnTDFiNuiwJcoHsRPjgnXdo/tU1h6oUrc8Rk7pM yR1iX9wvkudk/oCjQU25CEvnQKzZtEmtgw+Rt8b5wP5QImV62t1O4sjGJ2VfXUValxlB 2XH287MCogyQJjuYwmI4gM0xI8bAjkD7sTID9n3S/rifnxXpfv1d2dPZ9qINmRAWW38Y W9WfavwS2f+zE+7j/kVhf4h/LBMmyanKeL+R3kwi7m/4QmhUtz0gGsBPGjjjDF+FqgWM 9fZ5bbxW/1WIaCvSXx0M8xYrDwic5itemsXuJmWLfSqfZTZvUGSSMAXnqz2xGiEB6ZfU ww+Q== X-Forwarded-Encrypted: i=1; AJvYcCXYWINHlV65g3tboV92OGA/D/G/2AYuxcgQ+f/XWlNo8MGM/5CW36CrmmAqAoPisCi2CpvPhKV34+3oGiynsZFCmY64OQS4WxqypyNA X-Gm-Message-State: AOJu0YyOTp4hF4FuYNnnAA4ekiRxgk0xa+m1GfRCnEeE0lc7gf63ixM4 0SAcfWH2SFMiWIPitz7b/66WclMqLEF7IjDGFCJs8LMInUTGsL6whJR88PT240o= X-Received: by 2002:a05:6870:207:b0:22e:c5a1:f739 with SMTP id j7-20020a056870020700b0022ec5a1f739mr15219542oad.25.1713240727879; Mon, 15 Apr 2024 21:12:07 -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.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Apr 2024 21:12:06 -0700 (PDT) From: Charlie Jenkins Date: Mon, 15 Apr 2024 21:12:01 -0700 Subject: [PATCH v2 04/17] 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: <20240415-dev-charlie-support_thead_vector_6_9-v2-4-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=932; i=charlie@rivosinc.com; s=20231120; h=from:subject:message-id; bh=Ck0zYUhgFjnqfJEM6nA8CPhR/S6l/5RzqpopDML2wMA=; b=g38hbePdpNwUugnCC3/gayvcqJQzC4qQSqPcs+275Mbe9bHEm948pONu+sRybahFvsJSa0I96 lkJTrD9x0FmA/ycZHi8a2Qro1bkRD2YEmFCRO+oAtJ9HssshWfD3/UK 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 for the cpu. Signed-off-by: Charlie Jenkins --- arch/riscv/boot/dts/allwinner/sun20i-d1s.dtsi | 3 ++- 1 file changed, 2 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..4788bb50afa2 100644 --- a/arch/riscv/boot/dts/allwinner/sun20i-d1s.dtsi +++ b/arch/riscv/boot/dts/allwinner/sun20i-d1s.dtsi @@ -27,7 +27,8 @@ 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>; #cooling-cells = <2>; cpu0_intc: interrupt-controller { -- 2.44.0