Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1224400 > unrolled thread
| Started by | Mark Brown <broonie@kernel.org> |
|---|---|
| First post | 2015-09-14 20:40 +0200 |
| Last post | 2015-09-18 14:20 +0200 |
| Articles | 4 — 2 participants |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: [PATCH 1/5] spi: introduce mmap read support for spi flash devices Mark Brown <broonie@kernel.org> - 2015-09-14 20:40 +0200
Re: [PATCH 1/5] spi: introduce mmap read support for spi flash devices Vignesh R <vigneshr@ti.com> - 2015-09-16 12:10 +0200
Re: [PATCH 1/5] spi: introduce mmap read support for spi flash devices Mark Brown <broonie@kernel.org> - 2015-09-16 13:00 +0200
Re: [PATCH 1/5] spi: introduce mmap read support for spi flash devices Vignesh R <vigneshr@ti.com> - 2015-09-18 14:20 +0200
| From | Mark Brown <broonie@kernel.org> |
|---|---|
| Date | 2015-09-14 20:40 +0200 |
| Subject | Re: [PATCH 1/5] spi: introduce mmap read support for spi flash devices |
| Message-ID | <q8GPw-5VR-17@gated-at.bofh.it> |
[Multipart message — attachments visible in raw view] — view raw
On Fri, Sep 04, 2015 at 01:59:58PM +0530, Vignesh R wrote: > In addition to providing direct access to SPI bus, some spi controller > hardwares (like ti-qspi) provide special memory mapped port > to accesses SPI flash devices in order to increase read performance. > This means the controller can automatically send the SPI signals > required to read data from the SPI flash device. Sorry, also meant to say here: as I kind of indicated in response to the flash patch I'd expect to see the SPI core know something about this and export an API for this which is integrated with things like the existing message queue.
[toc] | [next] | [standalone]
| From | Vignesh R <vigneshr@ti.com> |
|---|---|
| Date | 2015-09-16 12:10 +0200 |
| Message-ID | <q9hP4-1id-25@gated-at.bofh.it> |
| In reply to | #1224400 |
On 09/15/2015 12:07 AM, Mark Brown wrote: > On Fri, Sep 04, 2015 at 01:59:58PM +0530, Vignesh R wrote: >> In addition to providing direct access to SPI bus, some spi controller >> hardwares (like ti-qspi) provide special memory mapped port >> to accesses SPI flash devices in order to increase read performance. >> This means the controller can automatically send the SPI signals >> required to read data from the SPI flash device. > > Sorry, also meant to say here: as I kind of indicated in response to the > flash patch I'd expect to see the SPI core know something about this and > export an API for this which is integrated with things like the existing > message queue. > Adding an API to SPI core makes sense to me. This can take care of spi bus locking and runtime pm. 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? Thanks, Vignesh -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [next] | [standalone]
| From | Mark Brown <broonie@kernel.org> |
|---|---|
| Date | 2015-09-16 13:00 +0200 |
| Message-ID | <q9iBr-2dA-1@gated-at.bofh.it> |
| In reply to | #1225912 |
[Multipart message — attachments visible in raw view] — view raw
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.
[toc] | [prev] | [next] | [standalone]
| From | Vignesh R <vigneshr@ti.com> |
|---|---|
| Date | 2015-09-18 14:20 +0200 |
| Message-ID | <qa2NX-2kJ-1@gated-at.bofh.it> |
| In reply to | #1225993 |
On 09/16/2015 04:26 PM, Mark Brown wrote: > 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. > Ok, thanks for the clarification! -- Regards Vignesh -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web