Received: by 2002:a89:413:0:b0:1fd:dba5:e537 with SMTP id m19csp1516573lqs; Sat, 15 Jun 2024 12:16:41 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWD86smj8H9GMhHdUtyEqsnq7bezlvDYnaDdV9FgtbMG2vvV5BZlQE9bSN75M1cYb/k7WMEct8wNi69vCz40t77Ro2TV4Z1+GWLvWNaXA== X-Google-Smtp-Source: AGHT+IEdVlxh34Ry/xiLqWXR2AQC7yNOIfRTOOBtLkTBeZXQdY/buHXo/veBEoVRN1mb38SjdUJZ X-Received: by 2002:a05:6358:8a6:b0:19f:2c7e:a215 with SMTP id e5c5f4694b2df-19fb5039ac5mr714901355d.27.1718479001548; Sat, 15 Jun 2024 12:16:41 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718479001; cv=pass; d=google.com; s=arc-20160816; b=ccBe+4OzlK/Te3q2LmFws5qizAAUD8XY5pZtv8LrYV+wSlYNawLDBo2NPF2YAE0wsl ezPHzK/OvcR7DwXmmpRp3UJ9tDeBZ5L5fAs0OW04rlpLCiuNwab7lZbjgpD1uRc4kZT3 H9OUqNUk4FAI8Xtn+GFviEpMIN5UujqnjPdv3IuNha2ao/W+ws6ktJZ45w6vNqnQ7qnS Oa559KkU2H885hLCdrGjYIOo4Lz3BQj7ThM2ndLvM0rof3ZfUo3ba53Am0KoOrYS4+Z6 Nax4vcH3qEUMqBny+NyKIbe1hLcSfhkLKDiGe+You6swLP4aFXg7S67TTJGefljW1XLy 3yBg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:subject:cc:to:from:date:references :in-reply-to:message-id:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:user-agent:feedback-id:dkim-signature :dkim-signature; bh=uDjXBaIK+32v64wqSd7tcZ5KQ7Sd9TTZs2lStMzn7j4=; fh=3ql5WFRDjd48GVe1rEkB+29z485jruG4/3J0T822BkY=; b=WxKpSbwd+04SnnTI6tSNjn21sOofWQFKPQtDjhhI75LYA3pDYx3xddPGa9mLhd4aDP HID2QgEzrQ36Q8zSccSimiATi8sgQ77V6icfHCoZGjY27CgkwX5eTJQGHfZnyC3Gh2QD YPwojsGwBzvaPIJcyrz/IvN9b6tRN6PPMS+2Cl6kB5lDlcibk4CskvCuP8mgzDx+MTpa TgEXnPs2SDmyBPS7UDVe5pdZf3dZuxX0xm+JbYigfKQORIe+j8J6gbd2/UjadrHyDnrb wQ5jRKAmBWb7ERsJ4lfKxAF8zu1L/PUdBVqksBZyQXZTL1WLPlT4qecZCl0pnwhqmJsg kOVQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@flygoat.com header.s=fm2 header.b=bKU2C1yv; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=jfV2cU1b; arc=pass (i=1 spf=pass spfdomain=flygoat.com dkim=pass dkdomain=flygoat.com dkim=pass dkdomain=messagingengine.com dmarc=pass fromdomain=flygoat.com); spf=pass (google.com: domain of linux-kernel+bounces-215992-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-215992-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=flygoat.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id 41be03b00d2f7-6fee43519e8si5779232a12.526.2024.06.15.12.16.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 15 Jun 2024 12:16:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-215992-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=@flygoat.com header.s=fm2 header.b=bKU2C1yv; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=jfV2cU1b; arc=pass (i=1 spf=pass spfdomain=flygoat.com dkim=pass dkdomain=flygoat.com dkim=pass dkdomain=messagingengine.com dmarc=pass fromdomain=flygoat.com); spf=pass (google.com: domain of linux-kernel+bounces-215992-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-215992-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=flygoat.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 2026C2830B8 for ; Sat, 15 Jun 2024 19:16:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8D86954907; Sat, 15 Jun 2024 19:16:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=flygoat.com header.i=@flygoat.com header.b="bKU2C1yv"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="jfV2cU1b" Received: from fout8-smtp.messagingengine.com (fout8-smtp.messagingengine.com [103.168.172.151]) (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 ADB661E893; Sat, 15 Jun 2024 19:16:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=103.168.172.151 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718478993; cv=none; b=fXwb2LivZd0De4On57/R2kX2w5RRhv/xbjbsaPLOINb1ZZYV8ltY7oDY2LBHUjBh/4DjF5exCs+CO9RPlpCODzz6sgkrID6NwKM7trhsjsLZLg6mfMGf7zGL4D4nwXXqvDPokAVt+CeEGO7Qjmz/gyRFDV/G7am8I7UTdJWNuPM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718478993; c=relaxed/simple; bh=WQP8mprcyLxGHGBHYbPGtfzxDeaNVpjMuekoyimHnZc=; h=MIME-Version:Message-Id:In-Reply-To:References:Date:From:To:Cc: Subject:Content-Type; b=jgSHwSUv/tTpK2SRzE9xZmE1cAWVqIADtI+OhFhhkGA1g172CHf3yqTJZV9SDrEirvCieBZdpJgnVMaGnG3jgZbEhPHw+ZyGdokwCHrJ+y4WAnxYWnuG/YlHxKQNJVGCoejNQWkB2Sd1SGwx2RHKvjtOgeASFjpOTVl7aQgZJLQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=flygoat.com; spf=pass smtp.mailfrom=flygoat.com; dkim=pass (2048-bit key) header.d=flygoat.com header.i=@flygoat.com header.b=bKU2C1yv; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=jfV2cU1b; arc=none smtp.client-ip=103.168.172.151 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=flygoat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flygoat.com Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailfout.nyi.internal (Postfix) with ESMTP id 1A4661380168; Sat, 15 Jun 2024 15:16:30 -0400 (EDT) Received: from imap44 ([10.202.2.94]) by compute3.internal (MEProxy); Sat, 15 Jun 2024 15:16:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=flygoat.com; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm2; t=1718478990; x=1718565390; bh=uDjXBaIK+32v64wqSd7tcZ5KQ7Sd9TTZs2lStMzn7j4=; b= bKU2C1yvQUHbUHrO6iOVmej7jVhqHJ/MPyCo0HCvKNB8A1E+WEppaTvdOKEyahS4 COys1M7XQhI3z5JM57zVkNexwlbay18mO+Iz2JS/1PGxZjhNdJkJ0j4oudsqyeBh L3gBjm9Msv6U0N+icXF9ByjBtzX4TfenAu/FycQMz+IEPqSHC9dyH20bBewcIfsL ls4m8nF4hevxVBKDDmZLNHDq83HdmqLxcqhhrUYjDvHLGDgKogPM/OHA54p1+CfX 9kqpqtN29buM2tMj+dB/ymy2Geq+HnZgd5xYaCVgN5HTmEjC0212dGokgbZvhLSi ZE0b34jHyNJjixVTcLa+mg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1718478990; x= 1718565390; bh=uDjXBaIK+32v64wqSd7tcZ5KQ7Sd9TTZs2lStMzn7j4=; b=j fV2cU1bRg5KLo/bjr88qyR9PTAewAEjoPJGnWOuAwJq7+gONOFfCtppvH+niXSTb W3Xn0WWHcpHysRuZabDcziQ2eE6ui5vBi1isAtZqxDk9ABMASyVR6CPlWVVUXMls H6pRUwXOe7XHrRTecdgCjZlbWHv6OAbx+M4t7p566ANGU7aFnSJ4mzuw5Op/v8pz WVdkGksiy1JLHbcP2P1XCaY7UM18I3KDJIY494oR5li/NqESB1vISR/A1AH9s9MN TvKAtGbdfYaQx1WL78RttM9fYx9Q8CxJ3PNol/+Je7eTnmyvH4Yb5o8Z4BlYu2nA IfSv0mLC3EiYLcu8di3yw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrfedvuddgudefgecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefofgggkfgjfhffhffvvefutgfgsehtqhertderreejnecuhfhrohhmpedf lfhirgiguhhnucgjrghnghdfuceojhhirgiguhhnrdihrghnghesfhhlhihgohgrthdrtg homheqnecuggftrfgrthhtvghrnhepudefgeeftedugeehffdtheefgfevffelfefghefh jeeugeevtefhudduvdeihefgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpe hmrghilhhfrhhomhepjhhirgiguhhnrdihrghnghesfhhlhihgohgrthdrtghomh X-ME-Proxy: Feedback-ID: ifd894703:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 9411F36A0074; Sat, 15 Jun 2024 15:16:29 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.11.0-alpha0-515-g87b2bad5a-fm-20240604.001-g87b2bad5 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <5c51085b-6e6c-47f8-a68a-829ddc7ba74d@app.fastmail.com> In-Reply-To: <20240615-reaction-movie-b4c21f2c7d91@spud> References: <20240612-boston-syscon-v2-0-9f8e1a07fa63@flygoat.com> <20240612-boston-syscon-v2-7-9f8e1a07fa63@flygoat.com> <20240612-unstuffed-figure-966c90af52bc@spud> <20240613185902.GB2286020-robh@kernel.org> <20240615-reaction-movie-b4c21f2c7d91@spud> Date: Sat, 15 Jun 2024 20:16:11 +0100 From: "Jiaxun Yang" To: "Conor Dooley" Cc: "Rob Herring" , "Lee Jones" , "Krzysztof Kozlowski" , "Conor Dooley" , "paulburton@kernel.org" , "Thomas Bogendoerfer" , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, "linux-mips@vger.kernel.org" Subject: Re: [PATCH v2 7/8] du-bindings: mips: cpu: Add img,mips compatible Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: quoted-printable =E5=9C=A82024=E5=B9=B46=E6=9C=8815=E6=97=A5=E5=85=AD=E6=9C=88 =E4=B8=8B=E5= =8D=881:28=EF=BC=8CConor Dooley=E5=86=99=E9=81=93=EF=BC=9A > On Thu, Jun 13, 2024 at 08:40:18PM +0100, Jiaxun Yang wrote: >>=20 >>=20 >> =E5=9C=A82024=E5=B9=B46=E6=9C=8813=E6=97=A5=E5=85=AD=E6=9C=88 =E4=B8=8B= =E5=8D=887:59=EF=BC=8CRob Herring=E5=86=99=E9=81=93=EF=BC=9A >> > On Wed, Jun 12, 2024 at 05:59:24PM +0100, Jiaxun Yang wrote: >> >>=20 >> >>=20 >> >> =E5=9C=A82024=E5=B9=B46=E6=9C=8812=E6=97=A5=E5=85=AD=E6=9C=88 =E4=B8= =8B=E5=8D=885:39=EF=BC=8CConor Dooley=E5=86=99=E9=81=93=EF=BC=9A >> >> > On Wed, Jun 12, 2024 at 12:56:26PM +0100, Jiaxun Yang wrote: >> >> >> This compatible is used by boston.dts. >> >> >>=20 >> >> >> Signed-off-by: Jiaxun Yang >> >> >> --- >> >> >> note: This is a wildcard compatible for all MIPS CPUs, >> >> >> I think we should use something like "riscv" for riscv. >> >> > >> >> > riscv systems, other than simulators etc are not meant to use the >> >> > "riscv" compatible. All of the real CPUs use "vendor,cpu", "risc= v". >> >> > I'd suggest you add specific compatibles for your CPUs. >> >>=20 >> >> Boston can be combined with many different CPUs, thus we need to h= ave >> >> such compatibles. >> > >> > Then you'll need different DTs. Different h/w, different DT. >>=20 >> The board have 9 CPU types in total, with hundreds of different possi= ble >> CPU topologies. Maintaining separate DT for them seems impossible in = kernel. > > But you could definitely add 9 different compatibles for each of these > different CPUs. They are already in current bindings, but we need a default one to fill in kernel dts. > >> We can potentially patch this in bootloader, but for existing firmwar= e it's >> being doing like this for years. I can see for RISC-V QEMU generated = DTB is >> using a single "riscv" compatible and I do think it's a similar probl= em. > > That "riscv" compatible is only supposed to be used for > simulators/software models. Real CPUs are not meant to use it. AFAICT, > your boston is a real platform, even if the CPUs are implemented on an > FPGA they should still have one. If you take the OpenC906 RISC-V CPU a= nd > put it on an FPGA, you're still meant to put "thead,c906" in your DT. > And sadly, boston is also the platform used by MIPS internal emulators := -( Thanks - Jiaxun > > =E9=99=84=E4=BB=B6: > * signature.asc --=20 - Jiaxun