From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-qv1-f41.google.com (mail-qv1-f41.google.com [209.85.219.41]) (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 3D28516CD2A for ; Mon, 1 Jul 2024 15:27:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.41 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719847627; cv=none; b=DUfSZIWNIbJUZAQEM1vWm77XOkTZqmWr3X+m8vvwEB25fdtXru2YYsLOA3WYr9pwv6H1+pSt3aSnuZVemKF3EAHWJMvuMvxLjFtHFRmbRzibcs4Xajvy6IfYsC/sBCvFWf81vOXsNZL8CENMt1AZ3DPAeMOXFVPdru9NnYa5Y88= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719847627; c=relaxed/simple; bh=prvpyfxMSkwGiYfGgE9IF5heVeaqD/cLLatLbI2ZMVk=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=gQ9HTSIdkPL/uwpZonz3uq+DWaCBoG25Buhil63HseHN2zoBKL796GToi8K2++Z5Zc3YKUTCOnmRgTyshjNwod5dO6ZQItnszx8tC94sCXkBNIidBOhswWPN6ZjSFclCV4z504VhDVmPwOzesQWP6rKEfyapf5jrDuSP3WtAN8Q= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=sifive.com; spf=pass smtp.mailfrom=sifive.com; dkim=pass (2048-bit key) header.d=sifive.com header.i=@sifive.com header.b=HS38yrSu; arc=none smtp.client-ip=209.85.219.41 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=sifive.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sifive.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=sifive.com header.i=@sifive.com header.b="HS38yrSu" Received: by mail-qv1-f41.google.com with SMTP id 6a1803df08f44-6b4fdf56903so15627886d6.1 for ; Mon, 01 Jul 2024 08:27:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; t=1719847625; x=1720452425; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=VGtKsAafTDSpHUpnTbaoLrGWrMjaJvN7kW+LOjav24E=; b=HS38yrSuSAHHbb7zdeWv9fkaaDyJQUVptdBAY547TOBtrWl1y/20gzRPS4/yoaOV1L /aWjtRDW9dMcjc+44WHEUEx3UG8j5C1YHMnyxXWHvFli+uIFwyP+UJUBUkeEkmD/l5Uf SfvlDB912kdrfbPQqpc8lIOiwUMlu7HbfnKhGFBvBAPgC7tSsv+y6LubSms4X7i9FvWL 4hvXOunkih0sh0OkY0n8VOTKC1oFSFdwcZHMaQG0/aSqO5iH4GPTVvEb4cw1DhiEYbK4 Tx2/dgBvG9TiNaOkEPgYbDEXwjofjvBwKTuKxY7TpEvr5eZaiX4W8XyHNdFTkZUQwJfz dzzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719847625; x=1720452425; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=VGtKsAafTDSpHUpnTbaoLrGWrMjaJvN7kW+LOjav24E=; b=haDE+HA4jzROVuz/Puc0UbGeHXZsZwBzy+T2p/PUMW86fCYyn24xXZkLGxMaPeCKTJ TJphzvIOMOzE6YYLueAc7+5s6UuRLMGtUbpQFwZrtC0pOvJo/G7yuD/3M61bQFCzoK/u tCgSaBr+w9pdVLXptpbK5ptRvLn24VDpxZw+StmzFlDCS/KYubfCnltFoKYxLJzAkHDz fCO9XtRLcZBS5h23vmcx+sT382nDWxhyxs49tgfRbBNoX4C4TmH/35tTSzmp75fCX5Ca SxXR3VEMtIfN5O/6VH+dSUQ8tUF31MwAooRflTRrPFwGYBrUmWo0MfgFwMol44QBTfYr vPYg== X-Forwarded-Encrypted: i=1; AJvYcCXWpMbIywfhM+UMQvUeTHnLpFAln9ECDeixxP19l2IBBemCykKrb44aMBSEpVUQQn31u+B8D1ud8LP2RXDl8B0FxSkAs5gLUf1M X-Gm-Message-State: AOJu0YyFCZUSJxtAemoVwcni3HdHB0+sRF3lbWMBbScTCX487Yr1QCvv 5QYcbLWpoVmtu8Z/mqx8LBiTDRXM1P7JZiLv60GEpmMzcqz5f4JbEEpSXyfpkJyYQOsxypzTTG0 i X-Google-Smtp-Source: AGHT+IFm7J11+wdhrgMT/TGaX0Rc7thLKL2Wg4raKr9nb+KKvQo276Bk7ZpHF10bnd8Q9L9dV3BTgw== X-Received: by 2002:a05:6214:19ce:b0:6b0:4201:3840 with SMTP id 6a1803df08f44-6b5b7148e19mr79621526d6.40.1719847625201; Mon, 01 Jul 2024 08:27:05 -0700 (PDT) Received: from [100.64.0.1] ([147.124.94.167]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-6b59e581ed4sm33779996d6.69.2024.07.01.08.27.02 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 01 Jul 2024 08:27:04 -0700 (PDT) Message-ID: <0cc13581-5cc4-4a25-a943-7a896f42da4c@sifive.com> Date: Mon, 1 Jul 2024 10:27:01 -0500 Precedence: bulk X-Mailing-List: linux-doc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v3 03/13] riscv: dts: allwinner: Add xtheadvector to the D1/D1s devicetree To: Charlie Jenkins Cc: linux-riscv@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-sunxi@lists.linux.dev, linux-doc@vger.kernel.org, linux-kselftest@vger.kernel.org, Conor Dooley , Conor Dooley , Rob Herring , Krzysztof Kozlowski , Paul Walmsley , Palmer Dabbelt , Albert Ou , Jisheng Zhang , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Jonathan Corbet , Shuah Khan , Guo Ren , Evan Green , Andy Chiu , Jessica Clarke References: <20240619-xtheadvector-v3-0-bff39eb9668e@rivosinc.com> <20240619-xtheadvector-v3-3-bff39eb9668e@rivosinc.com> Content-Language: en-US From: Samuel Holland In-Reply-To: <20240619-xtheadvector-v3-3-bff39eb9668e@rivosinc.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Hi Charlie, On 2024-06-19 6:57 PM, Charlie Jenkins wrote: > The D1/D1s SoCs support xtheadvector so it can be included in the > devicetree. Also include vlenb for the cpu. > > Signed-off-by: Charlie Jenkins > Reviewed-by: Conor Dooley > --- > arch/riscv/boot/dts/allwinner/sun20i-d1s.dtsi | 3 ++- The other C906/C910/C920-based SoCs need devicetree updates as well, although they don't necessarily need to be part of this series: - sophgo/cv18xx.dtsi - sophgo/sg2042-cpus.dtsi - thead/th1520.dtsi > 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..6367112e614a 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"; The ISA string should be updated to keep it in sync with riscv,isa-extensions. Regards, Samuel > riscv,isa-base = "rv64i"; > riscv,isa-extensions = "i", "m", "a", "f", "d", "c", "zicntr", "zicsr", > - "zifencei", "zihpm"; > + "zifencei", "zihpm", "xtheadvector"; > + thead,vlenb = <128>; > #cooling-cells = <2>; > > cpu0_intc: interrupt-controller { >