Message ID | 20230703083626.1347969-1-kah.jing.lee@intel.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9f45:0:b0:3ea:f831:8777 with SMTP id v5csp374791vqx; Mon, 3 Jul 2023 01:47:31 -0700 (PDT) X-Google-Smtp-Source: APBJJlGMOkmU5w09N8RfOzXBekMyBR8WwhmF+Ju0Q2P5T5+lK4w1FyCKjoS2B/guefTIXd5wZCPf X-Received: by 2002:a05:6870:5493:b0:199:c25b:f966 with SMTP id f19-20020a056870549300b00199c25bf966mr7631730oan.2.1688374051404; Mon, 03 Jul 2023 01:47:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688374051; cv=none; d=google.com; s=arc-20160816; b=rHNx2WvJ9TYbUSl7HB9feUlQqmL9lG/FT8ncbgZ0VxGuPDYtfZnKzqxf4OmvJp19cP Q45sdzzhYI0Mn9Bk0WZQPA2VCvEvzOrgmqtyzqErNI2Oxs7EDZA1cIpXluUEGyK1smvn fcYFuuH9soQiAA20WMVlwl7bOVK7YqneBghUn0WAqQW5TTbmscKjTPO1Yr/2ETCHrBM0 l6JwolFnQb4H/ib5WRx0XNiI05s6iZBWzJiH9Mjw0gqeKOikXnqu/o8SmILzt18kf2oZ gpwrKQii/5sGv/uI8UtoWG+yi3/I8vVDRfT6t4XDQn4LN5A6zHKrs46+v13K2Kn8dZJX nC7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=BPmFKKm2kdTaaboGWJjA/iJVhONSeZi3GACemWtwxas=; fh=gBLyGI5tjUKOEdvCtouGb/hBrRo67+vfrgR+cv7/wqk=; b=sTETWghWUMr7VxuDBmZQ0oLA07JLuMjHmkl+D7DGgi/qsqjU4VXbY4UExCqVn89gG8 rS8PJMPv22GsumBj5k0vDCs3/a5+hWZkC+X4YeR1fq7d5jykFMIjL549w4SCQ+NnyOsx lamQ58k0pmY9iS53fwYrQrYeDg9OYpXXqTQSQL83zexu1Do6VR2GpRqXjD04WypAuoGT a8/PpDqgJHsPtTZUmlctR1xg2/LFPuiZEd4tv/xbkQPS+6XxIx+NF7eB4D01OhYSm920 +MDC9AKMR7W5QDhwOqCq2qFjbiX8e+miThGDVXs/t68kcy5QTg/mcDn3JhIsERp9yhmN ID+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=BP7W3Mj1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a8-20020a056a000c8800b00682850547a9si3648774pfv.201.2023.07.03.01.47.16; Mon, 03 Jul 2023 01:47:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=BP7W3Mj1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229633AbjGCIh7 (ORCPT <rfc822;ivan.orlov0322@gmail.com> + 99 others); Mon, 3 Jul 2023 04:37:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38816 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229750AbjGCIhz (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 3 Jul 2023 04:37:55 -0400 Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3B35DB6 for <linux-kernel@vger.kernel.org>; Mon, 3 Jul 2023 01:37:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1688373475; x=1719909475; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=h/E6h3hmj3tEEg/RR7iC38FoXOQ/rm382QmER4vbTJU=; b=BP7W3Mj1PyRQgL4pvJL/ZRZtXDhdAmLvf73x0xLFQclRKKQZOqiIFMEZ 56pNT7PFp9hm2tR0UpcX1J6C0SM9erUKXU2hVvJY2LQv+camwOkmz0ntd ym03818ds/b+W9ySfYezM6aXdJqSON37szMH+yhcDgF0UFmPEFZTaM2q3 CN/ECl4gH0C8DjOAFzhYmkZJyBdnRhFp7Z4yyyr+TdjVCvDcle/8QQH4h zL+XOKKHyPerWrD/rzQqC8H1P5ib9ue9BN4MhUwnzVLuT/gl2ReBNGCEd zHHJLX8Z5khQEFKS3MHnjtvtAguqaYr9zOQWevuFBwneo1OHlrPNJlEcD w==; X-IronPort-AV: E=McAfee;i="6600,9927,10759"; a="342419404" X-IronPort-AV: E=Sophos;i="6.01,177,1684825200"; d="scan'208";a="342419404" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Jul 2023 01:37:54 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10759"; a="892481444" X-IronPort-AV: E=Sophos;i="6.01,177,1684825200"; d="scan'208";a="892481444" Received: from unknown (HELO localhost.localdomain) ([10.226.216.117]) by orsmga005.jf.intel.com with ESMTP; 03 Jul 2023 01:37:51 -0700 From: kah.jing.lee@intel.com To: Dinh Nguyen <dinguyen@kernel.org>, catalin.marinas@arm.com, conor+dt@kernel.org, kah.jing.lee@intel.com, krzysztof.kozlowski@linaro.org, Markus.Elfring@web.de, robh+dt@kernel.org, will@kernel.org Cc: linux-kernel@vger.kernel.org, Alif Zakuan Yuslaimi <alif.zakuan.yuslaimi@intel.com> Subject: [PATCH v4] arm64: dts: agilex/stratix10: Updated QSPI Flash layout for UBIFS Date: Mon, 3 Jul 2023 16:36:27 +0800 Message-Id: <20230703083626.1347969-1-kah.jing.lee@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_PASS,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1770381322992406723?= X-GMAIL-MSGID: =?utf-8?q?1770388509576358204?= |
Series |
[v4] arm64: dts: agilex/stratix10: Updated QSPI Flash layout for UBIFS
|
|
Commit Message
Lee, Kah Jing
July 3, 2023, 8:36 a.m. UTC
From: Alif Zakuan Yuslaimi <alif.zakuan.yuslaimi@intel.com> Non-UBIFS related boot and fpga data should be stored in qspi_boot (mtd0) while keeping the rootfs with UBIFS in the root partition "mtd1". Thus, update the QSPI flash layout to support UBIFS in the mtd root partition. Signed-off-by: Alif Zakuan Yuslaimi <alif.zakuan.yuslaimi@intel.com> Signed-off-by: Kah Jing Lee <kah.jing.lee@intel.com> --- V4->V3: Drop cover letter & remove unnecessary marker line V3->V2: Update commit messages V2->V1: Update subject prefix arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts | 8 ++++---- arch/arm64/boot/dts/intel/socfpga_agilex_socdk.dts | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) base-commit: dad9774deaf1cf8e8f7483310dfb2690310193d2
Comments
On 03/07/2023 10:00, Markus Elfring wrote: > … >> --- >> V4->V3: Drop cover letter & remove unnecessary marker line >> V3->V2: Update commit messages > … > > * Do you find the arrow notation helpful for the version identification? > > * How do you think about to avoid duplicate data in the version history? > > * Would an other listing style become nicer for the “patch changelog”? This is a complete waste of contributor time. Please stop.
> >> * Would an other listing style become nicer for the “patch changelog”? > > > > This is a complete waste of contributor time. > > I would like to point further possibilities out once more. > > The arrow notation is also demonstrated in the Linux development > documentation. > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Docu > mentation/process/submitting-patches.rst?h=v6.4#n698 > > Various patches show that more succinct version identifiers are also accepted. > If a bit of duplicate data can be avoided in the version history, the > maintenance of corresponding version descriptions can be improved > accordingly. Hi Markus, Do you suggest to use following? Changelog: V2: Changes in v2 xxx V1: Changes in v1 xxx A bit lost on the suggestion here. > > Regards, > Markus
On 03/07/2023 11:08, Conor.Dooley@microchip.com wrote: > On 03/07/2023 10:00, Markus Elfring wrote: > >> … >>> --- >>> V4->V3: Drop cover letter & remove unnecessary marker line >>> V3->V2: Update commit messages >> … >> >> * Do you find the arrow notation helpful for the version identification? >> >> * How do you think about to avoid duplicate data in the version history? >> >> * Would an other listing style become nicer for the “patch changelog”? > > This is a complete waste of contributor time. Please stop. Markus is banned from the LKML. Just ignore the comments. Best regards, Krzysztof
On 7/3/23 03:36, kah.jing.lee@intel.com wrote: > From: Alif Zakuan Yuslaimi <alif.zakuan.yuslaimi@intel.com> > > Non-UBIFS related boot and fpga data should be stored in qspi_boot (mtd0) > while keeping the rootfs with UBIFS in the root partition "mtd1". > Thus, update the QSPI flash layout to support UBIFS in the mtd root > partition. > > Signed-off-by: Alif Zakuan Yuslaimi <alif.zakuan.yuslaimi@intel.com> > Signed-off-by: Kah Jing Lee <kah.jing.lee@intel.com> > --- > V4->V3: Drop cover letter & remove unnecessary marker line > V3->V2: Update commit messages > V2->V1: Update subject prefix > > arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts | 8 ++++---- > arch/arm64/boot/dts/intel/socfpga_agilex_socdk.dts | 8 ++++---- > 2 files changed, 8 insertions(+), 8 deletions(-) > > diff --git a/arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts b/arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts > index 38ae674f2f02..12b960b9183c 100644 > --- a/arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts > +++ b/arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts > @@ -202,12 +202,12 @@ partitions { > > qspi_boot: partition@0 { > label = "Boot and fpga data"; > - reg = <0x0 0x03FE0000>; > + reg = <0x0 0x04200000>; > }; > > - qspi_rootfs: partition@3FE0000 { > - label = "Root Filesystem - JFFS2"; > - reg = <0x03FE0000 0x0C020000>; > + root: partition@4200000 { > + label = "Root Filesystem - UBIFS"; > + reg = <0x04200000 0x0BE00000>; > }; > }; > }; > diff --git a/arch/arm64/boot/dts/intel/socfpga_agilex_socdk.dts b/arch/arm64/boot/dts/intel/socfpga_agilex_socdk.dts > index 07c3f8876613..608017e6e36a 100644 > --- a/arch/arm64/boot/dts/intel/socfpga_agilex_socdk.dts > +++ b/arch/arm64/boot/dts/intel/socfpga_agilex_socdk.dts > @@ -128,12 +128,12 @@ partitions { > > qspi_boot: partition@0 { > label = "Boot and fpga data"; > - reg = <0x0 0x03FE0000>; > + reg = <0x0 0x04200000>; > }; > > - qspi_rootfs: partition@3FE0000 { > - label = "Root Filesystem - JFFS2"; > - reg = <0x03FE0000 0x0C020000>; > + root: partition@4200000 { > + label = "Root Filesystem - UBIFS"; > + reg = <0x04200000 0x0BE00000>; > }; > }; > }; > > base-commit: dad9774deaf1cf8e8f7483310dfb2690310193d2 Applied! Thanks, Dinh
diff --git a/arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts b/arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts index 38ae674f2f02..12b960b9183c 100644 --- a/arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts +++ b/arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts @@ -202,12 +202,12 @@ partitions { qspi_boot: partition@0 { label = "Boot and fpga data"; - reg = <0x0 0x03FE0000>; + reg = <0x0 0x04200000>; }; - qspi_rootfs: partition@3FE0000 { - label = "Root Filesystem - JFFS2"; - reg = <0x03FE0000 0x0C020000>; + root: partition@4200000 { + label = "Root Filesystem - UBIFS"; + reg = <0x04200000 0x0BE00000>; }; }; }; diff --git a/arch/arm64/boot/dts/intel/socfpga_agilex_socdk.dts b/arch/arm64/boot/dts/intel/socfpga_agilex_socdk.dts index 07c3f8876613..608017e6e36a 100644 --- a/arch/arm64/boot/dts/intel/socfpga_agilex_socdk.dts +++ b/arch/arm64/boot/dts/intel/socfpga_agilex_socdk.dts @@ -128,12 +128,12 @@ partitions { qspi_boot: partition@0 { label = "Boot and fpga data"; - reg = <0x0 0x03FE0000>; + reg = <0x0 0x04200000>; }; - qspi_rootfs: partition@3FE0000 { - label = "Root Filesystem - JFFS2"; - reg = <0x03FE0000 0x0C020000>; + root: partition@4200000 { + label = "Root Filesystem - UBIFS"; + reg = <0x04200000 0x0BE00000>; }; }; };