From: sashiko-bot@kernel.org
To: "Kishore Batta" <kishore.batta@oss.qualcomm.com>
Cc: dri-devel@lists.freedesktop.org
Subject: Re: [PATCH v7 1/7] Add documentation for Sahara protocol
Date: Thu, 08 Oct 2026 06:28:08 +0000 [thread overview]
Message-ID: <sashiko-outbox-163692@kernel.org> (raw)
In-Reply-To: <20261008-sahara_protocol_new_v2-v7-1-90d278bd7414@oss.qualcomm.com>
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] docs: mhi: multiple typos and minor copy-paste errors in Sahara protocol documentation
--
commit 6e5d4c22229dc0e189e8ab259dab37fed17658dd
Author: Kishore Batta <kishore.batta@oss.qualcomm.com>
Add documentation for Sahara protocol
Introduce documentation for the Sahara protocol, describing its
operational modes and their respective functions.
> diff --git a/Documentation/mhi/sahara_protocol.rst b/Documentation/mhi/sahara_protocol.rst
> new file mode 100644
> index 0000000000000..3190e3e5a2820
> --- /dev/null
> +++ b/Documentation/mhi/sahara_protocol.rst
[ ... ]
> +| 0x12 | 64 bit Read | Target | Reads specified number of bytes from |
> +| | data | | host for a given 64 bit image. |
> ++---------+---------------+---------+-----------------------------------------+
> +| 0x13 | Reset Sahara | Host | Resets Sahara state machine and enters |
> +| | sate machine | | Sahara entry without target reset |
> +| | packet | | |
[Severity: Low]
This isn't a bug, but there's a typo here: 'sate machine' instead of
'state machine'.
[ ... ]
> ++-----------------------------+---------+------------------------------------+
> +|SAHARA_MODE_IMAGE_TX_COMPLETE| 0x1 | Image transfer is in the complete |
> +| | | mode. Transfer image from the host.|
> +| | | After completion, the host should |
> +| | | not expect another image transfer |
> +| | | request. |
> ++-----------------------------+---------+------------------------------------+
> +| SAHARA_MODE_MEMORY_DBEUG | 0x2 | Memory debug mode. The host should |
> +| | | prepare to receive a memory dump |
> +| | | from the target. |
[Severity: Low]
This isn't a bug, but there's a typo here: 'DBEUG' instead of 'DEBUG'.
[ ... ]
> ++-----------------------------+---------+------------------------------------+
> +| SAHARA_MODE_COMMAND | 0x3 | Command mode. The host executes |
> +| | | operations on the target by sending|
> +| | | the appropriate client command to |
> +| | | the Sahara client running on the |
> +| | | target. The Sahar client interprets|
> +| | | the client command and the response|
[Severity: Low]
This isn't a bug, but there's a typo here: 'Sahar client' instead of
'Sahara client'.
[ ... ]
> +To initiate a write data transfer, the target fills the write data packet with
> +the image ID corresponding to the image data that it wants to send. The target
> +also sends the offset into the output file and the length of the data(in bytes)
> +it wants to write from the target. As soon as the host receives the packet, the
> +host opens an output file and waits to receive the data packets. After the
> +packet is received, the content from the data pcket is written to the output
> +file, The format of the write data packet is as follows:
[Severity: Low]
This isn't a bug, but there's a typo here: 'pcket' instead of 'packet'.
[ ... ]
> +5. After receiving a read data request, the host parses the image ID, data
> + offset, and data length to transfer data from the corresponding image file.
> + The host sends the requested data without any packet header.
> +
> +6. The target directly transfers the data to the destination address without
> + any software processing or temporarily buffering of the data in system
> + memory by transferring the image header to the targert and setting the
> + receive buffer for the data as the destination address in system memory.
[Severity: Low]
This isn't a bug, but there's a typo here: 'targert' instead of 'target'.
[ ... ]
> + | MEMORY_READ |
> + | (Address from region 1 ,|
> + | size of region 1) |
> + |-------------------------->|
> + | RAW_DATA |
> + | (size of region 1) |
> + |<--------------------------|
> + | MEMORY_READ |
> + | (Address from region 2 ,|
> + | size of region 0) |
> + |-------------------------->|
[Severity: Low]
Should region 2 request 'size of region 2' here instead of 'size of region 0'?
[ ... ]
> +Subsequent boot scenario with valid DDR calibration data
> +--------------------------------------------------------
> +
> +The below firgure shows the subsequent boot scenario with valid DDR calibration
> +data process being loaded from host to target.
[Severity: Low]
This isn't a bug, but there's a typo here: 'firgure' instead of 'figure'.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261008-sahara_protocol_new_v2-v7-0-90d278bd7414@oss.qualcomm.com?part=1
next prev parent reply other threads:[~2026-10-08 6:28 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-08 6:23 [PATCH v7 0/7] Qualcomm Sahara protocol enhancements Kishore Batta
2026-10-08 6:23 ` [PATCH v7 1/7] Add documentation for Sahara protocol Kishore Batta
2026-10-08 6:28 ` sashiko-bot [this message]
2026-10-08 6:23 ` [PATCH v7 2/7] bus: mhi: Move Sahara protocol driver under MHI host client drivers Kishore Batta
2026-10-08 6:36 ` sashiko-bot
2026-10-08 6:23 ` [PATCH v7 3/7] bus: mhi: Centralize Sahara firmware image table selection at probe time Kishore Batta
2026-10-08 6:23 ` [PATCH v7 4/7] bus: mhi: Add QDU100 Sahara variant and firmware fallback Kishore Batta
2026-10-08 6:35 ` sashiko-bot
2026-10-08 6:23 ` [PATCH v7 5/7] bus: mhi: Load DDR training data using device serial number Kishore Batta
2026-10-08 6:23 ` [PATCH v7 6/7] bus: mhi: Capture DDR training data via command mode Kishore Batta
2026-10-08 6:35 ` sashiko-bot
2026-10-08 6:23 ` [PATCH v7 7/7] bus: mhi: Expose DDR training data via controller sysfs Kishore Batta
2026-10-08 6:39 ` sashiko-bot
2026-10-11 16:33 ` [PATCH v7 0/7] Qualcomm Sahara protocol enhancements Manivannan Sadhasivam
2026-10-12 18:12 ` Kishore Batta
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=sashiko-outbox-163692@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=kishore.batta@oss.qualcomm.com \
--cc=sashiko-reviews@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.