From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753204AbbIPK5f (ORCPT ); Wed, 16 Sep 2015 06:57:35 -0400 Received: from mezzanine.sirena.org.uk ([106.187.55.193]:38003 "EHLO mezzanine.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752059AbbIPK5d (ORCPT ); Wed, 16 Sep 2015 06:57:33 -0400 Date: Wed, 16 Sep 2015 11:56:47 +0100 From: Mark Brown To: Vignesh R Cc: Benoit Cousson , Tony Lindgren , Russell King , David Woodhouse , Brian Norris , hramrach@gmail.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mtd@lists.infradead.org, linux-spi@vger.kernel.org Message-ID: <20150916105647.GK11268@sirena.org.uk> References: <1441355402-6837-1-git-send-email-vigneshr@ti.com> <1441355402-6837-2-git-send-email-vigneshr@ti.com> <20150914183744.GF12027@sirena.org.uk> <55F93F89.7060708@ti.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="yr/DzoowOgTDcSCF" Content-Disposition: inline In-Reply-To: <55F93F89.7060708@ti.com> X-Cookie: The absent ones are always at fault. User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: 94.175.94.161 X-SA-Exim-Mail-From: broonie@sirena.org.uk Subject: Re: [PATCH 1/5] spi: introduce mmap read support for spi flash devices X-SA-Exim-Version: 4.2.1 (built Mon, 26 Dec 2011 16:24:06 +0000) X-SA-Exim-Scanned: Yes (on mezzanine.sirena.org.uk) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --yr/DzoowOgTDcSCF Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Sep 16, 2015 at 03:38:09PM +0530, Vignesh R wrote: > But, I didn't get how to integrate with existing message queue. Memory > mapped read by-passes message queue of SPI core. Could you please > explain a bit more on integrating with message queue? Did you mean > locking the existing message queue when memory mapped read is being > requested? Yes, and also making sure that we don't everything gets processed in order so memory mapped requests come after any commands needed to set them up and don't starve other work. --yr/DzoowOgTDcSCF Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJV+UruAAoJECTWi3JdVIfQiDQH/0Hi5Z9tD7PeziQs0l+wtJjR /EIB5RAhEyMzQ6Y+PiHd9eg/Vl+0ENDdP6RNXkigIortX74pLibDTpWn05X/STgq Tr12ifAmSmQrnYYA0mmqRPhYzffA2N/dEYLb2F5Bp7S0qqEHNlkkGyEAxKYsLLRN uxNzdtv6DAkSO1XuwMGYeutDwXwOglsUKcYbGAHTXk10QZOamopdy0fZPZqamYq3 OdRKBWgtSu3XUrLGCsv45uCs3GA7nivLYM+NnV0Q0aAwElK/dSy0Ok7TU0XakR4E LXKT+eI2UdrS/iVQXuRXg88MwVEi3KvnefLE01FOn9jrgo76IUcqdmWYhGOjZro= =BkOA -----END PGP SIGNATURE----- --yr/DzoowOgTDcSCF--