FROMLIST: misc: fastrpc: Enable poll mode for specific devices#598
FROMLIST: misc: fastrpc: Enable poll mode for specific devices#598Jianping-Li wants to merge 1 commit into
Conversation
Some devices, such as Talos, do not support poll mode, and it is not appropriate to force all devices to start in poll mode in the fastrpc driver. In case poll timeout happens, the call will fallback to normal RPC mode. Poll mode can be enabled by user by using FASTRPC_IOCTL_SET_OPTION ioctl request with FASTRPC_POLL_MODE request id. Link: https://lore.kernel.org/all/20260424095903.1622565-5-ekansh.gupta@oss.qualcomm.com/ Signed-off-by: Jianping Li <jianping.li@oss.qualcomm.com>
|
Merge Check Failed: No Change Task Found No associated change tasks found for CR 4450320 on any of the following entities: Entities:
CR: 4450320 Please ensure the CR has a change task associated with at least one of the entities for this branch. |
PR #598 — validate-patchPR: #598
|
PR #598 — checker-log-analyzerPR: #598
Detailed report: Full report
|
shashim-quic
left a comment
There was a problem hiding this comment.
Intake review
All formal checks pass (CRs-Fixed ✓, FROMLIST ✓, Link: ✓, author/committer domains ✓).
drivers/misc/fastrpc.c — block comment style
The new comment block uses * without a leading space:
+ /*
+ * Set message context as polled if the call is for a user PD
+ * dynamic module and user has enabled poll mode.
+ */Kernel coding style requires a space before * in multi-line block comments:
/*
* Set message context as polled if the call is for a user PD
* dynamic module and user has enabled poll mode.
*/include/uapi/misc/fastrpc.h — IOCTL macro alignment
+#define FASTRPC_IOCTL_SET_OPTION _IOWR('R', 12, struct fastrpc_ioctl_set_option)The surrounding macros use a tab between the macro name and _IOWR. Please add a tab to align with the block:
#define FASTRPC_IOCTL_SET_OPTION _IOWR('R', 12, struct fastrpc_ioctl_set_option)
Some devices, such as Talos, do not support poll mode, and it is not appropriate to force all devices to start in poll mode in the fastrpc driver. In case poll timeout happens, the call will fallback to normal RPC mode. Poll mode can be enabled by user by using FASTRPC_IOCTL_SET_OPTION ioctl request with FASTRPC_POLL_MODE request id.
Link: https://lore.kernel.org/all/20260424095903.1622565-5-ekansh.gupta@oss.qualcomm.com/
CRs-Fixed: 4450320