summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAbhishek Sahu <absahu@codeaurora.org>2017-08-17 15:07:40 +0300
committerBoris Brezillon <boris.brezillon@free-electrons.com>2017-08-23 17:49:26 +0300
commitcb80f1140db6ad2cb6841ad656cc6b779b4b58be (patch)
tree7d22820d0252c545ace18620bb182e8ffc8eceb1 /tools/perf/scripts/python
parent6192ff7a44c1806f4db110f09168fb4e84d2770b (diff)
downloadlinux-cb80f1140db6ad2cb6841ad656cc6b779b4b58be.tar.xz
mtd: nand: qcom: allocate BAM transaction
- The BAM transaction is the core data structure which will be used for all the data transfers in QPIC NAND. Since the core framework in nand_base.c is serializing all the NAND requests so allocating BAM transaction before every transfer will be overhead. The memory for it be allocated during probe time and before every transfer, it will be cleared. - The BAM transaction contains the array of command and data scatter gather list and indexes. For every transfer, all the resource will be taken from BAM transaction. - The size of the buffer used for BAM transactions is calculated based on the NAND device with the maximum page size, among all the devices connected to the controller. Reviewed-by: Archit Taneja <architt@codeaurora.org> Signed-off-by: Abhishek Sahu <absahu@codeaurora.org> Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions