Received: by 2002:ab2:7903:0:b0:1fb:b500:807b with SMTP id a3csp1067313lqj; Mon, 3 Jun 2024 09:11:15 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW/ecKyO/Brx9NXxgRchHJfRLTv6O21VUWsw1gHZIpzPc9FmH1mp/rI4wK07un15gexlrKWxUbUZh8fYRe2EznDq9OpZUSMwQ7+F6bGzw== X-Google-Smtp-Source: AGHT+IFIOzojvdwpE8JPYEdaStaWxhrp22g2VFcBQD/nlaVH3QTe4w28KvCrVuKaFCpw9gXNueF4 X-Received: by 2002:a17:902:fd4d:b0:1f6:3a73:1eac with SMTP id d9443c01a7336-1f6937c48f1mr1255145ad.17.1717431074982; Mon, 03 Jun 2024 09:11:14 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717431074; cv=pass; d=google.com; s=arc-20160816; b=T6r2G2PSG9dxww0CO4nXM3dwRhJGgzMo+rg65fOVTKRkrIkjYwlLhIerL2s0vEmsX9 /D2o39iXYvFmLQcCbY9ycor/i4LL4M/cJLnRyzksYNdHNSR1UNDC9KJXW+qfakTfwwwM MC78wR6JDGBR9nw721XCj4rIkKboC09dokszw6KpLiBko+RFPM9oR6B6R64JyP8eU7SR kdGV2NyyhL3D41kzBkNytuu8SR0DdJ+zOR2NzdS1JW39UZ8k8X0IRitdF+3J53/SO3uR +/k93F+NKBoM1bB48DhuLTYpHEK16GMDhzzdX8vul7ZFwIFBgeMQFLmZfzNnllc/k8dB KilA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:from :dkim-signature; bh=vU5/sQdk1KvDzjQYZ2m7el5n+WnYafJy1tTstO9fsbo=; fh=TUwRwljEWuLehlx6JMi9SyRmXK4tXiN5QcdHQbsrkpE=; b=wlczUpt+OY/aK966Var91DNIIMFy1bMzYLfRZnVS5MniaM33i1DxQDTvrBI7gDwRRq Jfddjj8m1rsNZfqV+MQrqoWx8wpdi6M3gZCfnTdg7ayn6RppZsQRNh3fxU5n5FKsln+S QI0JZYBpKHCm09tmT/9pD9RQkopz2NnMnAaZF7dB5wbepnI593LZiG0OBIdgY/Lb7vBV Hd70B0I+wdK0IZea85Pk2EhGuvQzmbc5K6zoJF2/hZEIbPS651q6q/GXbKzscH1VUhJc 0u6tlZ1NPWwb/ZN3zIxwr4XQl1sNgp7ExFLTZexqsmdGM8LFAOSKiSfectpWCVc1eCiU sTBw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b="ec1EpI/Z"; arc=pass (i=1 spf=pass spfdomain=canonical.com dkim=pass dkdomain=canonical.com dmarc=pass fromdomain=canonical.com); spf=pass (google.com: domain of linux-kernel+bounces-199416-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-199416-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canonical.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id d9443c01a7336-1f63233cd9dsi68296835ad.110.2024.06.03.09.11.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Jun 2024 09:11:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-199416-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b="ec1EpI/Z"; arc=pass (i=1 spf=pass spfdomain=canonical.com dkim=pass dkdomain=canonical.com dmarc=pass fromdomain=canonical.com); spf=pass (google.com: domain of linux-kernel+bounces-199416-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-199416-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canonical.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 sy.mirrors.kernel.org (Postfix) with ESMTPS id EA8D2B214D7 for ; Mon, 3 Jun 2024 16:11:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 562E6134415; Mon, 3 Jun 2024 16:11:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=canonical.com header.i=@canonical.com header.b="ec1EpI/Z" Received: from smtp-relay-internal-0.canonical.com (smtp-relay-internal-0.canonical.com [185.125.188.122]) (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 430EF12DDAF for ; Mon, 3 Jun 2024 16:10:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.125.188.122 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717431062; cv=none; b=PQPpi1Euo1ZlRZI4IKNxTRCS6lLxOz3Pitz9EjNV6siDQ0m3nBrPUPc/2VrEQSV2Dp2WwVNv7D/5HDg7xHiREe9tAucfDpga/ifLNeVtpubKn7RpORGPli1sOQ3KPUmzTyFdZf0l7HiW/2ZzqFedU4rwAyAsnr38kJKD9qJNdPY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717431062; c=relaxed/simple; bh=a7HaajZH1onoF7BEaMl7LJMhcs+YBupE9HdQ0Tm2cnM=; h=From:In-Reply-To:References:Mime-Version:Date:Message-ID:Subject: To:Cc:Content-Type; b=I2IPVg2O7TOxnrf0VrOyaVw6RD+iBL7VIpktyWpSO3Ehk4Y3W2NVl79rIIL1P9ZQGd7XhWZDZuYtWsZtGwDcNevo+GPT1eWdSSm8s6lNaGuK6PnEC5NwYCrKI3r7uG0A9q41UKCmf6Q+YsxSfZeQPtnOLXCIcbXIL7hPufsQ8ms= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=canonical.com; spf=pass smtp.mailfrom=canonical.com; dkim=pass (2048-bit key) header.d=canonical.com header.i=@canonical.com header.b=ec1EpI/Z; arc=none smtp.client-ip=185.125.188.122 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=canonical.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=canonical.com Received: from mail-lf1-f71.google.com (mail-lf1-f71.google.com [209.85.167.71]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-0.canonical.com (Postfix) with ESMTPS id B10193FE68 for ; Mon, 3 Jun 2024 16:10:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1717431055; bh=vU5/sQdk1KvDzjQYZ2m7el5n+WnYafJy1tTstO9fsbo=; h=From:In-Reply-To:References:Mime-Version:Date:Message-ID:Subject: To:Cc:Content-Type; b=ec1EpI/ZnZaNbFyYaw4OdNLdGqXvgn6mGAIQ1UC4SOr3yCDJptgd9SvQTRbaIP9tj s5WJrzfcHSevqUltFPJMOJd0iNhnYx2/8U9lhvKrxtSRO70wGy+KCmY8IYVzRzmA1R Ce9it4n46vEenC1MbmoAslYw2fJ9JYR7CzoTaDmByZOkw1xg7e4lzRDlIGBQPhO2s/ K/WqnohGFITONnOswA+BAtqtjfOr6l0663tkYKTBMuqsAhaEtYL/n0XxZFt79iz+jh ioBUoEAjTrSbA3Uluu5YCkb/hHTGthcq+G7qp0mdQ9gXnl6V3xLfoXrZc6svUv3hq6 FsKmjGFoZhXRA== Received: by mail-lf1-f71.google.com with SMTP id 2adb3069b0e04-5234e83c4a6so40237e87.0 for ; Mon, 03 Jun 2024 09:10:55 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717431055; x=1718035855; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=vU5/sQdk1KvDzjQYZ2m7el5n+WnYafJy1tTstO9fsbo=; b=O5EoELR98MENI07WTPS5r5C5nzsvKPmTfNaMrdENsyKIgNbonHWOhAFh2QddgUmgUR +EcE+xvUW0ufTF5Ofg5ut6jTOrmciKtdcTUL5BdJImA89kLaGuRGyKDlSwQlapAnYtl4 c5QKRWm+cPBdCrG+Tgr+mfojp5IJ/GtrwmeNMd0qKgOTsUp7MKtrnKrTihB4VF8TDAoD YPl+mlw9lNDQeMokdWdlLSevuy7Vg4lEOt/SJCjBqV4hnOwfYhvqbFQuA2iSTzrP6gm/ kxBRBGO1QkpVM+AhmjHq+N/dNu+9o4hbapD4YJm0qIKwUf3mbxgTYSk8F5nOqY/qHHbR qdIg== X-Forwarded-Encrypted: i=1; AJvYcCWFUaUb5/Q8SzAUxHBmN72BeNyyscexuK5rjLPN1hJvvzIxPd8JA9xFv8xrafZeuXNVsKEdaEAKSjU4vf59P1hydg1yL51LIeAwYTQ5 X-Gm-Message-State: AOJu0Yy43dyLnrNfAAQNRb6FzJaHkBIa/1ggsOMphcotC8RUMuR89Eqx ddHQLIhXykfnQjjxP/944QtQIyWZh1/wsAIZ7v4JufK+ZVydzAsH+ptPqyE1+lSyOf3DOxtdrhw 5IIeTumLgzBATmG8hX8/A4E21fqu8tur2g1Blybj5ADL0X+0vfQlaZmyuSb4KgVoVwG6gH54OiX PFusB0LniJQkUWVAaxmskGOweRyXHApdTXuoOrtDOM83vaDM9k36x/ X-Received: by 2002:a19:7604:0:b0:529:b9ad:52b5 with SMTP id 2adb3069b0e04-52b896c1655mr5647289e87.41.1717431055148; Mon, 03 Jun 2024 09:10:55 -0700 (PDT) X-Received: by 2002:a19:7604:0:b0:529:b9ad:52b5 with SMTP id 2adb3069b0e04-52b896c1655mr5647266e87.41.1717431054746; Mon, 03 Jun 2024 09:10:54 -0700 (PDT) Received: from 348282803490 named unknown by gmailapi.google.com with HTTPREST; Mon, 3 Jun 2024 16:10:52 +0000 From: Emil Renner Berthing In-Reply-To: <20240603150759.9643-1-matthias.bgg@kernel.org> References: <20240603150759.9643-1-matthias.bgg@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Date: Mon, 3 Jun 2024 16:10:52 +0000 Message-ID: Subject: Re: [PATCH] riscv: dts: starfive: Update flash partition layout To: matthias.bgg@kernel.org, kernel@esmil.dk, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org Cc: devicetree@vger.kernel.org, aou@eecs.berkeley.edu, duwe@suse.de, linux-kernel@vger.kernel.org, palmer@dabbelt.com, heinrich.schuchardt@canonical.com, paul.walmsley@sifive.com, linux-riscv@lists.infradead.org, Matthias Brugger Content-Type: text/plain; charset="UTF-8" matthias.bgg@ wrote: > From: Matthias Brugger > > Up to now, the describe flash partition layout has some gaps. > Use the whole flash chip by getting rid of the gaps. > > Suggested-by: Heinrich Schuchardt > Signed-off-by: Matthias Brugger Hi Matthias, Thanks for the patch. > > --- > > arch/riscv/boot/dts/starfive/jh7110-common.dtsi | 7 ++----- > 1 file changed, 2 insertions(+), 5 deletions(-) > > diff --git a/arch/riscv/boot/dts/starfive/jh7110-common.dtsi b/arch/riscv/boot/dts/starfive/jh7110-common.dtsi > index 8ff6ea64f0489..37b4c294ffcc5 100644 > --- a/arch/riscv/boot/dts/starfive/jh7110-common.dtsi > +++ b/arch/riscv/boot/dts/starfive/jh7110-common.dtsi > @@ -321,16 +321,13 @@ partitions { > #size-cells = <1>; > > spl@0 { > - reg = <0x0 0x80000>; > + reg = <0x0 0xf0000>; ..this is definitely fine, but.. > }; > uboot-env@f0000 { > reg = <0xf0000 0x10000>; > }; > uboot@100000 { > - reg = <0x100000 0x400000>; > - }; > - reserved-data@600000 { > - reg = <0x600000 0xa00000>; > + reg = <0x100000 0xf00000>; Do we know that all of the VF2 1.2A, VF2 1.3B and Milk-V Mars boards have at least 15kB SPI flash chips? In other words were there a reason this previously ended at 10kB? Also it looks like my Mars board and VF2 1.3B both report discovering a "gd25lq128d" chip of 16kB, so why stop at 15kB? /Emil