Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1315939 > unrolled thread

[MMC question] make sure to receive mrq->data->sg_len == 1

Started byMasahiro Yamada <yamada.masahiro@socionext.com>
First post2016-01-24 18:40 +0100
Last post2016-01-24 18:40 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [MMC question] make sure to receive mrq->data->sg_len == 1 Masahiro Yamada <yamada.masahiro@socionext.com> - 2016-01-24 18:40 +0100

#1315939 — [MMC question] make sure to receive mrq->data->sg_len == 1

FromMasahiro Yamada <yamada.masahiro@socionext.com>
Date2016-01-24 18:40 +0100
Subject[MMC question] make sure to receive mrq->data->sg_len == 1
Message-ID<qUwNQ-8aZ-3@gated-at.bofh.it>
Hi.


I am tackling on an MMC host controller driver for the first time.
Forgive my newbie question.


The DMA engine on my MMC host is so simple
that it can only handle one physically contiguous region
during one CMD18/CMD25 sequence.


In other words, it would be very troublesome for the driver
to receive two scatter-list entries or more.
(mrq->data->sg_len > 1).


I have not deeply dived into the MMC subsystem,
but my first guess is that "max_segs" and "max_seg_size"
are related parameters for controlling the
number of the entries and total size of the scatter-list,
respectively.
Is this correct?



-- 
Best Regards
Masahiro Yamada

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web