Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D4CF7C433EF for ; Wed, 20 Oct 2021 11:56:12 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 0B35D61212 for ; Wed, 20 Oct 2021 11:56:11 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 0B35D61212 Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=ti.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 157958048A; Wed, 20 Oct 2021 13:56:09 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=ti.com header.i=@ti.com header.b="mByKKeGP"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 9946B8119C; Wed, 20 Oct 2021 13:56:06 +0200 (CEST) Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 5AE1D8018E for ; Wed, 20 Oct 2021 13:56:01 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=p.yadav@ti.com Received: from lelv0265.itg.ti.com ([10.180.67.224]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 19KBtvk3119438; Wed, 20 Oct 2021 06:55:57 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1634730957; bh=UDHTRcyhV0r3h89P2sKKIe9AABP5oMU3TfGZogDtIh0=; h=Date:From:To:CC:Subject:References:In-Reply-To; b=mByKKeGPeWdcp6s4yaDP6I9RcHhHkonivfemd6l8JdIvz2QcmqNDMBeEcDlKjilfw RaxAKjhhtoPL0hCsW3giROd5sAUj9HeM6mSSz6z+JVxopTK4qOX9UDTrLC/RZM+VXY lE4KqX/8tVvkzLFDCR3CHejCXVLTewQv4sD07Ng4= Received: from DFLE113.ent.ti.com (dfle113.ent.ti.com [10.64.6.34]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 19KBtvll056852 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 20 Oct 2021 06:55:57 -0500 Received: from DFLE104.ent.ti.com (10.64.6.25) by DFLE113.ent.ti.com (10.64.6.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14; Wed, 20 Oct 2021 06:55:56 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DFLE104.ent.ti.com (10.64.6.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14 via Frontend Transport; Wed, 20 Oct 2021 06:55:56 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 19KBtukK019545; Wed, 20 Oct 2021 06:55:56 -0500 Date: Wed, 20 Oct 2021 17:25:55 +0530 From: Pratyush Yadav To: Kris Chaplin CC: Jagan Teki , Vignesh R , Subject: Re: [PATCH] mtd: spi-nor-ids: Add SECT_4K to mt25qu512a Message-ID: <20211020115553.fihs2iqcp2oloa5v@ti.com> References: <20211018103018.17337-1-kris.chaplin@linux.intel.com> <20211019183826.4u6czfwaj7c2j5vw@ti.com> <7867bf32-6439-d36c-951e-e958f5e8409a@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <7867bf32-6439-d36c-951e-e958f5e8409a@linux.intel.com> User-Agent: NeoMutt/20171215 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean On 20/10/21 10:43AM, Kris Chaplin wrote: > Thank you Pratyush, > > I'm not a regular submitter so appreciate the feedback.  Looking at denx.de/wiki/U-Boot/Patches I saw: > > Tested-by: > A Tested-by: tag indicates that the patch has been successfully > tested (in some environment) by the person named. Andrew Morton: "I > think it's very useful information to have. For a start, it tells > you who has the hardware and knows how to build a kernel. So if > you're making a change to a driver and want it tested, you can troll > the file's changelog looking for people who might be able to help." > > Totally appreciate that this is inferred by the change - thanks also for the maintainer advice. You're welcome :-). One more tip: avoid top posting [0]. [0] https://www.idallen.com/topposting.html > > Regards > Kris > > On 19/10/2021 19:38, Pratyush Yadav wrote: > > > On 18/10/21 03:30AM, Kris Chaplin wrote: > > > The mt25qu512a supports 4K or 64K sectors, so adding SECT_4K to enable 4K sector usage. > > > > > > Datasheet: https://media-www.micron.com/-/media/client/global/documents/products/data-sheet/nor-flash/serial-nor/n25q/n25q_512mb_1ce_3v_65nm.pdf > > > > > > Tested on Intel n5x hardware with QSPI carrier card > > > > > > Signed-off-by: Kris Chaplin > > > Tested by: Kris Chaplin > > This is unusual. The patch should *always* be tested by the author so > > you don't really need a Tested-by from the author. It is implied. > > > > You should also Cc the subsystem maintainers so that they can see the > > patch and review and apply it. You can use `./scripts/get_maintainer.pl > > ` to get the list of people who need to be in Cc. > > Adding Jagan and Vignesh for this patch. > > > > Anyway, with the Tested-by trailer dropped, > > > > Acked-by: Pratyush Yadav > > > > > --- > > > drivers/mtd/spi/spi-nor-ids.c | 2 +- > > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > > > diff --git a/drivers/mtd/spi/spi-nor-ids.c b/drivers/mtd/spi/spi-nor-ids.c > > > index f0c8041997..5359d09489 100644 > > > --- a/drivers/mtd/spi/spi-nor-ids.c > > > +++ b/drivers/mtd/spi/spi-nor-ids.c > > > @@ -190,7 +190,7 @@ const struct flash_info spi_nor_ids[] = { > > > { INFO6("mt25qu256a", 0x20bb19, 0x104400, 64 * 1024, 512, SECT_4K | SPI_NOR_QUAD_READ | SPI_NOR_4B_OPCODES | USE_FSR) }, > > > { INFO("n25q256ax1", 0x20bb19, 0, 64 * 1024, 512, SECT_4K | SPI_NOR_QUAD_READ | USE_FSR) }, > > > { INFO6("mt25qu512a", 0x20bb20, 0x104400, 64 * 1024, 1024, > > > - SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ | SPI_NOR_4B_OPCODES | > > > + SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ | SPI_NOR_4B_OPCODES | > > > USE_FSR) }, > > > { INFO("n25q512a", 0x20bb20, 0, 64 * 1024, 1024, SECT_4K | USE_FSR | SPI_NOR_QUAD_READ) }, > > > { INFO6("mt25ql512a", 0x20ba20, 0x104400, 64 * 1024, 1024, SECT_4K | USE_FSR | SPI_NOR_QUAD_READ | SPI_NOR_4B_OPCODES) }, > > > -- > > > 2.25.1 > > > -- Regards, Pratyush Yadav Texas Instruments Inc.