Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

accel/qaic: Add ipc_router channel

The ipc_router channel allows AF_QIPCRTR clients and services to
communicate with the AIC100 device. The ipc_router MHI transport layer
expects the channel to be named exactly "IPCR".

Reviewed-by: Carl Vanderlip <quic_carlv@quicinc.com>
Signed-off-by: Jeffrey Hugo <quic_jhugo@quicinc.com>
Reviewed-by: Jacek Lawrynowicz <jacek.lawrynowicz@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241004164033.3825986-1-quic_jhugo@quicinc.com

+34
+2
Documentation/accel/qaic/aic100.rst
··· 229 229 | _PERIODIC | | | timestamps in the device side logs with| 230 230 | | | | the host time source. | 231 231 +----------------+---------+----------+----------------------------------------+ 232 + | IPCR | 24 & 25 | AMSS | AF_QIPCRTR clients and servers. | 233 + +----------------+---------+----------+----------------------------------------+ 232 234 233 235 DMA Bridge 234 236 ==========
+32
drivers/accel/qaic/mhi_controller.c
··· 405 405 .auto_queue = false, 406 406 .wake_capable = false, 407 407 }, 408 + { 409 + .name = "IPCR", 410 + .num = 24, 411 + .num_elements = 32, 412 + .local_elements = 0, 413 + .event_ring = 0, 414 + .dir = DMA_TO_DEVICE, 415 + .ee_mask = MHI_CH_EE_AMSS, 416 + .pollcfg = 0, 417 + .doorbell = MHI_DB_BRST_DISABLE, 418 + .lpm_notify = false, 419 + .offload_channel = false, 420 + .doorbell_mode_switch = false, 421 + .auto_queue = false, 422 + .wake_capable = false, 423 + }, 424 + { 425 + .name = "IPCR", 426 + .num = 25, 427 + .num_elements = 32, 428 + .local_elements = 0, 429 + .event_ring = 0, 430 + .dir = DMA_FROM_DEVICE, 431 + .ee_mask = MHI_CH_EE_AMSS, 432 + .pollcfg = 0, 433 + .doorbell = MHI_DB_BRST_DISABLE, 434 + .lpm_notify = false, 435 + .offload_channel = false, 436 + .doorbell_mode_switch = false, 437 + .auto_queue = true, 438 + .wake_capable = false, 439 + }, 408 440 }; 409 441 410 442 static struct mhi_event_config aic100_events[] = {