Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp1816327rdb; Thu, 7 Dec 2023 09:26:10 -0800 (PST) X-Google-Smtp-Source: AGHT+IFGRbu3dpwoRx8IwpeMbdBMd/2GfWvMXdOQG1inh6zh46zSWiZDgQHNgEFpn8wEZ+nyhTkO X-Received: by 2002:aa7:9e52:0:b0:6ce:5190:1ff8 with SMTP id z18-20020aa79e52000000b006ce51901ff8mr3440459pfq.34.1701969969871; Thu, 07 Dec 2023 09:26:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701969969; cv=none; d=google.com; s=arc-20160816; b=wPQ3/R3p6d6laBo/J9JejrAucGX1Omg8usPaFiEvhLEvT+oynJuYEn6xDJ8mBbku0e pwX1ujxzA329nBSvIkb2wu0Yz1InB59OwR0YQdl2eAipVOI520fk8f+egWdHyPG/SstA trooGcGerZJc3gTEO/A8hrFs1yUYjwT0ggnARujt0s4tx6yXnZg3C1ysrmvr4PElHwWv IO8fJOw5kDyEnhjcsq32bIN8y1Rq5T7xypKfbI4ZNCt6BKWEAHHfL1CVlId0bg1giPTT fqJnCNLnVfchaQFm/RzLHOhga4vOLpt2kMXTRJ071ZRPsA7NSMmJtNI3mMVZ3anAo3wR +M0g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=OSaCKj49TdBQE/wW0nBbIlYjNisy5X/gJJF/8cHix4E=; fh=ll7tLx59plBwmdcmg5VTZUsxxAbRlIbv40xyLBAqor0=; b=kQBj24Z7Bo9yaPJAV/X/sNs8nc42xYeKbAKz7NJwNsj6u8h/xZdfajFuZ2jfTzkW17 rtusIC1Z5HYXeaOcXi0SnyUytVtmCRa/96rWIBoHrAgxx/1nCxEU0Y9H6VSCkA3uhYjp T/PuuT+uDLwZuJ+Ysr/zFJf1wm+GCZxWv9h/txWgSFsJjWLdu8lPAisFXZKLjRulHYk5 j4Wmr5VYIj67xxZwweLmFswnX7rT+fFAgc1NDDbUFPotbbaI9S1Qeajz+Vw+W0tkjDBf zv0Q3D0quc/O+PqTvQVNuY9arG3uaEYzV4s/d+d1J08kMf1SNDAZWYilChXMfoLLBFjO PmVw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=LIraSdGE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id w3-20020a6556c3000000b005644a9be955si41271pgs.179.2023.12.07.09.26.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 09:26:09 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=LIraSdGE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id B3D4581C46C5; Thu, 7 Dec 2023 09:25:32 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1443239AbjLGRZP (ORCPT + 99 others); Thu, 7 Dec 2023 12:25:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34492 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235237AbjLGRZN (ORCPT ); Thu, 7 Dec 2023 12:25:13 -0500 Received: from mail-ej1-x631.google.com (mail-ej1-x631.google.com [IPv6:2a00:1450:4864:20::631]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1C31219AA for ; Thu, 7 Dec 2023 09:24:54 -0800 (PST) Received: by mail-ej1-x631.google.com with SMTP id a640c23a62f3a-a1db99cd1b2so158553966b.2 for ; Thu, 07 Dec 2023 09:24:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1701969892; x=1702574692; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=OSaCKj49TdBQE/wW0nBbIlYjNisy5X/gJJF/8cHix4E=; b=LIraSdGECWO5t07MKS3BLatmmOjnaU/i9lSaejma3SuvcK292+cy6HZfwVlTMs2Ajk Y+gJwKny2rBCWoe3d/VCuueff38nvjeSD6o0QKl7N0Xm7O6ZCxHXKorPx5x30dWOnO8g rhN/KwmgeLTLJHZYpiFhboBk/kUIG8Rjetu8rKys8fMtuncgFlijUmzduv2JIjzBrZz4 vIdZb2ndFYx2cmlSD2k9m+hlZ7yq6nyPowWnvJ2pCOU/j7CHTSTy8ZS66dzb8mdMo8iL eSl5LWwg76mxf/X/Yr60tw1Klo7QVULLD8Z9SxB+2mJ5YkzVwoI6y7kffEFq3MdwLT3T 0elQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701969892; x=1702574692; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=OSaCKj49TdBQE/wW0nBbIlYjNisy5X/gJJF/8cHix4E=; b=SWgEMioJ2uyW+oEP6yBar1QYGpSXzd1InG3NiFCBGkeXXlVJcZcR1nZ+i84PL7hO6p tCVFfJbwnL/CrIbj6DdkI9EHG2z+KJJs1J71Zb2RKa99/omunfnEhxVvwj3qJfvdmvdc EvheHlvtZ76SRh6f2TUZZsVkp6ul1w1bOJxdXMh36BbCAAzGH4rMw+gvNiOHimLM/7Cl XeM6uAGXbLlNGXkNddap/HtLcYT344rs6epXFnByWY5EzBRsSL0FFbrhfWPVDbQuLrfY xgtQKseZ7V+tnncKIZ+yjldlClgV/la8gaHSSEnwgCUQd/OqzA5FfGlwe7KAIpXoVco4 qSzA== X-Gm-Message-State: AOJu0Yx1M+/xuhpYbPpK8wArY+UVtvuZYHMQJVOVRwvzaYY5JoOh5a4s 322grQVrD/6qEgqWOizpzqwPiHzFmaVoi3XecYE= X-Received: by 2002:a17:907:5020:b0:a19:9b79:8b5d with SMTP id fw32-20020a170907502000b00a199b798b5dmr1010958ejc.110.1701969892432; Thu, 07 Dec 2023 09:24:52 -0800 (PST) Received: from [192.168.2.107] ([79.115.63.75]) by smtp.gmail.com with ESMTPSA id a14-20020a170906684e00b009fd0102f71asm1078898ejs.176.2023.12.07.09.24.49 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 07 Dec 2023 09:24:50 -0800 (PST) Message-ID: <797b9023-e56b-404b-bb4e-6e178b7ada88@linaro.org> Date: Thu, 7 Dec 2023 17:24:48 +0000 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v11 07/10] mtd: spi-nor: Add stacked memories support in spi-nor Content-Language: en-US To: Amit Kumar Mahapatra , broonie@kernel.org, pratyush@kernel.org, miquel.raynal@bootlin.com, richard@nod.at, vigneshr@ti.com, sbinding@opensource.cirrus.com, lee@kernel.org, james.schulman@cirrus.com, david.rhodes@cirrus.com, rf@opensource.cirrus.com, perex@perex.cz, tiwai@suse.com Cc: linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org, michael@walle.cc, linux-mtd@lists.infradead.org, nicolas.ferre@microchip.com, alexandre.belloni@bootlin.com, claudiu.beznea@tuxon.dev, michal.simek@amd.com, linux-arm-kernel@lists.infradead.org, alsa-devel@alsa-project.org, patches@opensource.cirrus.com, linux-sound@vger.kernel.org, git@amd.com, amitrkcian2002@gmail.com References: <20231125092137.2948-1-amit.kumar-mahapatra@amd.com> <20231125092137.2948-8-amit.kumar-mahapatra@amd.com> From: Tudor Ambarus In-Reply-To: <20231125092137.2948-8-amit.kumar-mahapatra@amd.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Thu, 07 Dec 2023 09:25:32 -0800 (PST) On 11/25/23 09:21, Amit Kumar Mahapatra wrote: > The current implementation assumes that a maximum of two flashes are > connected in stacked mode and both the flashes are of same make but can > differ in sizes. So, except the sizes all other flash parameters of both > the flashes are identical. Too much restrictions, isn't it? Have you thought about adding a layer on top of SPI NOR managing the stacked/parallel flashes?