From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757817AbbGQMEA (ORCPT ); Fri, 17 Jul 2015 08:04:00 -0400 Received: from mail-bn1bon0093.outbound.protection.outlook.com ([157.56.111.93]:44619 "EHLO na01-bn1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1757018AbbGQMD5 convert rfc822-to-8bit (ORCPT ); Fri, 17 Jul 2015 08:03:57 -0400 Authentication-Results: spf=pass (sender IP is 149.199.60.83) smtp.mailfrom=xilinx.com; gmail.com; dkim=none (message not signed) header.d=none; From: Ranjit Abhimanyu Waghmode To: "dwmw2@infradead.org" , "computersforpeace@gmail.com" CC: Mark Brown , Michal Simek , "Soren Brinkmann" , "dwmw2@infradead.org" , "computersforpeace@gmail.com" , "zajec5@gmail.com" , "marex@denx.de" , "shijie.huang@intel.com" , "juhosg@openwrt.org" , "ben@decadent.org.uk" , "linux-mtd@lists.infradead.org" , "linux-spi@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , Harini Katakam , "Punnaiah Choudary Kalluri" , "ran27jit@gmail.com" Subject: RE: [RFC PATCH 0/2] spi: add dual parallel & stacked mode support in Zynq MPSoC GQSPI controller Thread-Topic: [RFC PATCH 0/2] spi: add dual parallel & stacked mode support in Zynq MPSoC GQSPI controller Thread-Index: AQHQukU049LhNwab9kGRuWMzGe3Kwp3arNKAgAHtGCD//5qIAIABiFkg//+TfYCAAj/tEA== Date: Fri, 17 Jul 2015 12:03:48 +0000 Message-ID: <7CFCFE83B8145347A1D424EC939F1C3CA7F18F@XAP-PVEXMBX01.xlnx.xilinx.com> References: <1436445895-25504-1-git-send-email-ranjit.waghmode@xilinx.com> <20150714164005.GE11162@sirena.org.uk> <7CFCFE83B8145347A1D424EC939F1C3CA7E53D@XAP-PVEXMBX01.xlnx.xilinx.com> <20150715160146.GS11162@sirena.org.uk> <7CFCFE83B8145347A1D424EC939F1C3CA7E758@XAP-PVEXMBX01.xlnx.xilinx.com> <20150716085739.GT11162@sirena.org.uk> In-Reply-To: <20150716085739.GT11162@sirena.org.uk> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.23.228.15] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 X-RCIS-Action: ALLOW X-TM-AS-Product-Ver: IMSS-7.1.0.1224-8.0.0.1202-21682.005 X-TM-AS-User-Approved-Sender: Yes;Yes X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1;BL2FFO11FD049;1:yLrsw7h0ZXCtYEA4NBDS1HxCpM3lcKdYeNH0djn31jAxnxyISJH2rZpUCTQrarpMMI6ejOzvltAzXtxouk6vh0oxYBmoBNlWtcq8PcqvcWYtUq65a7QxPdL6XUXhYWsSaQiCudHD9r2uXR+yUaTZ/24zvJfrkdN31c5BxOklBDtZl2QTcRWLOadG0a2rhTf97TFtxtZrsoN+EpThxU4LkuApMA2EzAt8yBKb3xfc18N7yvVkio52Z0ZPXecuN/KwO8n5fEAPzmshvxa9lkwres4sAw1j+B3Xlj8B7MrKhwUCCf2jMchUItU3JpabrfXi5wtEZmI5kSWeGmGcng6InxZKjFJpXwOfDV3nkobP6GyLYTxFb6fIwf+jXkrQc+N93M2Mn+Aahe3saEJlOxXmbZ8ZsdafmJ7rYUCZYvnQHKOarQXPSsS2FCyn/T5vNZE3 X-Forefront-Antispam-Report: CIP:149.199.60.83;CTRY:US;IPV:NLI;EFV:NLI;SFV:NSPM;SFS:(10009020)(6009001)(2980300002)(438002)(13464003)(24454002)(199003)(189002)(377454003)(2501003)(5003600100002)(5890100001)(62966003)(106466001)(47776003)(5250100002)(33656002)(55846006)(102836002)(2950100001)(93886004)(2920100001)(46406003)(189998001)(2900100001)(5001960100002)(23726002)(6806004)(77156002)(76176999)(54356999)(50986999)(50466002)(46102003)(19580405001)(86362001)(19580395003)(97756001)(5001770100001)(92566002)(2656002)(106116001)(63266004)(87936001)(107986001)(217873001);DIR:OUT;SFP:1101;SCL:1;SRVR:BL2FFO11HUB022;H:xsj-pvapsmtpgw01;FPR:;SPF:Pass;MLV:sfv;A:1;MX:1;LANG:en; X-Microsoft-Exchange-Diagnostics: 1;BL2FFO11HUB022;2:kbs6H7Di5+zP0QxG0IiU2EEjEU4HQYL0hMnRgO/WMa867ON16mJN7MXzpwqp3zzS;3:l8A3DLzAHFeVf1NHEdrmyZ9eN8fActyMj8GXJZDTLilI+c8eE9tZBagcCsIGAeZplVihHBYCZPnLbCF6RN6qj/iRzrumrRRg3T6HqEJP5APwiHAdFLBLC3nJrvm4TUSg9ul99HZ/ooz+O/3jVg8EZmEt9j6yXPkCWoBMXiex5q4PE9RV6YZFJA3UjoGyUJRSDDK4OZXjo3k8go/QmQyo9aMOmBNSnxBHZlME/U24Xo8=;25:FqW7CgMrmiTbwKX3ErHlyNAiN1hxJ81bliIXvGOlIfbxVv0aXvGuk3SpvyIrtYUbVYK0xRIUUiPQfL2TFaKwUdWlvWChhopdAOF6pKCTqxwB/10LIA7SqNV/4vsKR60V/SiidKL0YtNcxDAzB+OfZ9tVMxP3ObIzvBrUI7yZX0FsVbjFNWSqze3F1UMZe+YRcKiihHw9zPyDdvuRJDiGO9cFKjv8CkbJdbdQ0gycUJAl2b2KXvW/BH7UNT1MNf5i X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BL2FFO11HUB022; X-Microsoft-Exchange-Diagnostics: 1;BL2FFO11HUB022;20:vSE3aW0YIClHt3XAg1OsxfAt1HyIwDfntEJJhjY9FVjA/NDv1p58OUrT57c5degfo3NDrUzL0kBxiCZz02Y+nItNqIiZJYKUU1xzPzr4V7Id5VdPMgeN0r+zYGiI/P13+7mxO8IHDGMVC3e+itkdqo62E3gm+w3Q/xTYFB/rt7YqooSPNhM+ERi9nbb1WTfva+C1PXuBzZg1xZTQuN2ZlJbTmYjEr7orjKYjCljwSEtJ1m/OnyC0RcwJ6wUMfAnjfM05d6M9CVBVTHKiddPyhbuHoIaB9vNxxCWeVSXm5rqOvaL68FrA9nm7VM/Zn3B0ocnbL2sWJG5N6+JKKwwzmA1E4e4gMgMLvEf602yuRDs/iv/rJLygGZ2kskeFhBDG1JUpNr+JGnr853GqViEiq0g+qofdDhhQK1YnMkMD9Km3/3uiwjRhwyn3He5llrTniJAgnnwQ4NvGYMxX+PbvFbozjE5Tmxz96qHlGPPllycNBchqgKB69NZHekmjKR6V;4:cKeIXx5FwWKkK0RbSLdcVRas+g2BgXsZFzmYJS/mahMLHfhtGWVcAs5HuafgG54nVNS2BgYYoMtDHr1WVpYUDZDm/vqPT+jwa3Kk+THrBMWLsxWfkG6U44a5Z8M4JRZs2huWsUXdMqgoe46iFdThWLCVwgovooH2N+qSpArmqIDYs6hrSS8/PAJdB2EhiNfvfEOgYE3VZ9BdPbM9XDwBWWKTtm+fEpkchHq2EHl7Mwz/WBn0DIwQv7hvdNtDhQyPqoAFlWUgAJiug/6OHFKfkGWf5BC3UxV9qqOpCJuBX6E= BL2FFO11HUB022: X-MS-Exchange-Organization-RulesExecuted X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(601004)(5005006)(3002001);SRVR:BL2FFO11HUB022;BCL:0;PCL:0;RULEID:;SRVR:BL2FFO11HUB022; X-Forefront-PRVS: 06400060E1 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;BL2FFO11HUB022;23:Z5RZBgfhX3ruwCU0Zi2MOHKLPwrpcP20Q3lUpObT?= =?us-ascii?Q?HbQELSn5yUlDREkvrWOLJdFNnjOPGu+Fmex9S7F6UHubmsFHw54R8CI/bZXh?= =?us-ascii?Q?teajmzCBwB0n1ihclIRzXMsOqKzrG+6qE20TOYStksrKzHFkvsxpbQGWxPm1?= =?us-ascii?Q?Bo+/1UGTXWtzJN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9IuWZMXP9DPznbn?= =?us-ascii?Q?8ByKCVqMNBm9/yDAZKhfFozgktOPRWOSexPnzmoK4pphpd2oX/zmYvEA+4aV?= =?us-ascii?Q?WIf+UKaj1WvZ9X72YoVJqI7le4/gqqK6aNSPqFYMgzJXSl1HjoIAtQ=3D=3D?= X-Microsoft-Exchange-Diagnostics: 1;BL2FFO11HUB022;5:JuKqZs6zaht7FqCaCVGvMqf6fdvN940ytfLzUCmTGD6DUGmv5GvMkVng7E/hwDLl2NpMZYzenIexyUYEvFqzKpk+ILXAFMEMEcL/+rwTx8te9aWUsxfjPjbjVmtQxXrSe6/86R2x301LN5rQJD9h2Q==;24:Qvpl5bqd8qgmZfItMaMxl0cq2M0eRMPh4+e2ft4lMDd5A11WH3c9PfKh6DpBVCdLvwDbG5sYiMc1A6iFZIPXglxhi4A959wWpzOeAPcbAHE= X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Jul 2015 12:03:54.7556 (UTC) X-MS-Exchange-CrossTenant-Id: 657af505-d5df-48d0-8300-c31994686c5c X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=657af505-d5df-48d0-8300-c31994686c5c;Ip=[149.199.60.83];Helo=[xsj-pvapsmtpgw01] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL2FFO11HUB022 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, > -----Original Message----- > From: Mark Brown [mailto:broonie@kernel.org] > Sent: Thursday, July 16, 2015 2:28 PM > To: Ranjit Abhimanyu Waghmode > Cc: Michal Simek; Soren Brinkmann; dwmw2@infradead.org; > computersforpeace@gmail.com; zajec5@gmail.com; marex@denx.de; > shijie.huang@intel.com; juhosg@openwrt.org; ben@decadent.org.uk; linux- > mtd@lists.infradead.org; linux-spi@vger.kernel.org; linux-arm- > kernel@lists.infradead.org; linux-kernel@vger.kernel.org; Harini Katakam; > Punnaiah Choudary Kalluri; ran27jit@gmail.com > Subject: Re: [RFC PATCH 0/2] spi: add dual parallel & stacked mode support in > Zynq MPSoC GQSPI controller > > On Thu, Jul 16, 2015 at 07:27:34AM +0000, Ranjit Abhimanyu Waghmode wrote: > > > For an example take two flashes connected in stacked mode. > > For user it doesn't matter whether how many flashes are really connected. > > There will be situation like, single partition is spread across two flashes > (partition staring at the end of one flash and continued to the second flash). But > it has to be shown contiguous to user. > > In this scenario, I am not clear how MTD layer will handle the case. > > It would be great if you could just put some light on it. > > That's something for the MTD layer or possibly even a layer above it to worry > about - this situation is the same as we have with disks where we have md which > combines other devices, if something similar is needed for flash we should use a > similar pattern. Kindly help in understanding, how can we represent the stacked mode and parallel mode changes in MTD layer? Thanks & Regards, Ranjit This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately. From mboxrd@z Thu Jan 1 00:00:00 1970 From: ranjit.waghmode@xilinx.com (Ranjit Abhimanyu Waghmode) Date: Fri, 17 Jul 2015 12:03:48 +0000 Subject: [RFC PATCH 0/2] spi: add dual parallel & stacked mode support in Zynq MPSoC GQSPI controller In-Reply-To: <20150716085739.GT11162@sirena.org.uk> References: <1436445895-25504-1-git-send-email-ranjit.waghmode@xilinx.com> <20150714164005.GE11162@sirena.org.uk> <7CFCFE83B8145347A1D424EC939F1C3CA7E53D@XAP-PVEXMBX01.xlnx.xilinx.com> <20150715160146.GS11162@sirena.org.uk> <7CFCFE83B8145347A1D424EC939F1C3CA7E758@XAP-PVEXMBX01.xlnx.xilinx.com> <20150716085739.GT11162@sirena.org.uk> Message-ID: <7CFCFE83B8145347A1D424EC939F1C3CA7F18F@XAP-PVEXMBX01.xlnx.xilinx.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Hi, > -----Original Message----- > From: Mark Brown [mailto:broonie at kernel.org] > Sent: Thursday, July 16, 2015 2:28 PM > To: Ranjit Abhimanyu Waghmode > Cc: Michal Simek; Soren Brinkmann; dwmw2 at infradead.org; > computersforpeace at gmail.com; zajec5 at gmail.com; marex at denx.de; > shijie.huang at intel.com; juhosg at openwrt.org; ben at decadent.org.uk; linux- > mtd at lists.infradead.org; linux-spi at vger.kernel.org; linux-arm- > kernel at lists.infradead.org; linux-kernel at vger.kernel.org; Harini Katakam; > Punnaiah Choudary Kalluri; ran27jit at gmail.com > Subject: Re: [RFC PATCH 0/2] spi: add dual parallel & stacked mode support in > Zynq MPSoC GQSPI controller > > On Thu, Jul 16, 2015 at 07:27:34AM +0000, Ranjit Abhimanyu Waghmode wrote: > > > For an example take two flashes connected in stacked mode. > > For user it doesn't matter whether how many flashes are really connected. > > There will be situation like, single partition is spread across two flashes > (partition staring at the end of one flash and continued to the second flash). But > it has to be shown contiguous to user. > > In this scenario, I am not clear how MTD layer will handle the case. > > It would be great if you could just put some light on it. > > That's something for the MTD layer or possibly even a layer above it to worry > about - this situation is the same as we have with disks where we have md which > combines other devices, if something similar is needed for flash we should use a > similar pattern. Kindly help in understanding, how can we represent the stacked mode and parallel mode changes in MTD layer? Thanks & Regards, Ranjit This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately. From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ranjit Abhimanyu Waghmode Subject: RE: [RFC PATCH 0/2] spi: add dual parallel & stacked mode support in Zynq MPSoC GQSPI controller Date: Fri, 17 Jul 2015 12:03:48 +0000 Message-ID: <7CFCFE83B8145347A1D424EC939F1C3CA7F18F@XAP-PVEXMBX01.xlnx.xilinx.com> References: <1436445895-25504-1-git-send-email-ranjit.waghmode@xilinx.com> <20150714164005.GE11162@sirena.org.uk> <7CFCFE83B8145347A1D424EC939F1C3CA7E53D@XAP-PVEXMBX01.xlnx.xilinx.com> <20150715160146.GS11162@sirena.org.uk> <7CFCFE83B8145347A1D424EC939F1C3CA7E758@XAP-PVEXMBX01.xlnx.xilinx.com> <20150716085739.GT11162@sirena.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT Cc: Mark Brown , Michal Simek , "Soren Brinkmann" , "dwmw2-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org" , "computersforpeace-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org" , "zajec5-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org" , "marex-ynQEQJNshbs@public.gmane.org" , "shijie.huang-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org" , "juhosg-p3rKhJxN3npAfugRpC6u6w@public.gmane.org" , "ben-/+tVBieCtBitmTQ+vhA3Yw@public.gmane.org" , "linux-mtd-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org" , "linux-spi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , "linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org" , "linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , Harini Katakam , "Punnaiah Choudary Kalluri" , "ran27jit-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org" To: "dwmw2-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org" , "computersforpeace-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org" Return-path: In-Reply-To: <20150716085739.GT11162-GFdadSzt00ze9xe1eoZjHA@public.gmane.org> Content-Language: en-US Sender: linux-spi-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: Hi, > -----Original Message----- > From: Mark Brown [mailto:broonie-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org] > Sent: Thursday, July 16, 2015 2:28 PM > To: Ranjit Abhimanyu Waghmode > Cc: Michal Simek; Soren Brinkmann; dwmw2-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org; > computersforpeace-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; zajec5-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; marex-ynQEQJNshbs@public.gmane.org; > shijie.huang-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org; juhosg-p3rKhJxN3npAfugRpC6u6w@public.gmane.org; ben-/+tVBieCtBitmTQ+vhA3Yw@public.gmane.org; linux- > mtd-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org; linux-spi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org; linux-arm- > kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org; linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org; Harini Katakam; > Punnaiah Choudary Kalluri; ran27jit-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org > Subject: Re: [RFC PATCH 0/2] spi: add dual parallel & stacked mode support in > Zynq MPSoC GQSPI controller > > On Thu, Jul 16, 2015 at 07:27:34AM +0000, Ranjit Abhimanyu Waghmode wrote: > > > For an example take two flashes connected in stacked mode. > > For user it doesn't matter whether how many flashes are really connected. > > There will be situation like, single partition is spread across two flashes > (partition staring at the end of one flash and continued to the second flash). But > it has to be shown contiguous to user. > > In this scenario, I am not clear how MTD layer will handle the case. > > It would be great if you could just put some light on it. > > That's something for the MTD layer or possibly even a layer above it to worry > about - this situation is the same as we have with disks where we have md which > combines other devices, if something similar is needed for flash we should use a > similar pattern. Kindly help in understanding, how can we represent the stacked mode and parallel mode changes in MTD layer? Thanks & Regards, Ranjit This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately. -- To unsubscribe from this list: send the line "unsubscribe linux-spi" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html