MHI changes for v6.9
The following changes since commit 6613476e225e090cc9aad49be7fa504e290dd33d:
Linux 6.8-rc1 (2024-01-21 14:11:32 -0800)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/mani/mhi.git tags/mhi-for-v6.9
for you to fetch changes up to 2ec11b5d6d900b17c7d001fbee4751fd2aa58917:
bus: mhi: host: pci_generic: constify modem_telit_fn980_hw_v1_config (2024-02-26 17:16:21 +0530)
----------------------------------------------------------------
MHI Host
========
- Added new MHI_PM_SYS_ERR_FAIL state to the MHI state machine to properly cleanup the channel state if the device fails to respond to the MHI reset during SYS_ERR handling. This issue was discovered with the Qualcomm AIC100 AI accelerator device.
- Modified the code that reads and exposes the OEM_PK_HASH registers through sysfs to read them on-demand instead of reading once during boot. Qualcomm AIC100 devices support provisioning the keys dynamically, so this allows the users to know the upto date information.
- Added tracepoint support to expose the debug information over tracefs.
- Reverted the commit that reads the MHI device revision from the device during boot. This is done because the read info was not used anywhere (dead code) and also it is not possible to read the revision info from all the devices.
- Constified the modem config for Telit FN980 modem as required by the MHI core.
MHI Endpoint
============
- Replaced kzalloc() with kcalloc() in an effort to avoid integer overflows during multiplication. Even though there is no potential overflow in the endpoint code, this is done for the sake of uniformity and best practice.
- Fixed the kmem_cache_create() failure check to use the correct variable.
----------------------------------------------------------------
Dan Carpenter (1):
bus: mhi: ep: check the correct variable in mhi_ep_register_controller()
Erick Archer (1):
bus: mhi: ep: Use kcalloc() instead of kzalloc()
Jeff Johnson (1):
bus: mhi: host: pci_generic: constify modem_telit_fn980_hw_v1_config
Jeffrey Hugo (3):
bus: mhi: host: Add MHI_PM_SYS_ERR_FAIL state
bus: mhi: host: Read PK HASH dynamically
Revert "bus: mhi: core: Add support for reading MHI info from device"
Krishna chaitanya chundru (2):
bus: mhi: host: Add tracing support
bus: mhi: host: Change the trace string for the userspace tools mapping
drivers/bus/mhi/common.h | 38 +++++++++++------------ drivers/bus/mhi/ep/main.c | 7 +++-- drivers/bus/mhi/host/boot.c | 11 +------ drivers/bus/mhi/host/init.c | 91 ++++++++++++++++++++++++++---------------------------- drivers/bus/mhi/host/internal.h | 56 ++++++++++++++++++++++++++++------ drivers/bus/mhi/host/main.c | 19 ++++++------ drivers/bus/mhi/host/pci_generic.c | 2 +- drivers/bus/mhi/host/pm.c | 27 ++++++++++++---- drivers/bus/mhi/host/trace.h | 282 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ include/linux/mhi.h | 19 ------------ 10 files changed, 427 insertions(+), 125 deletions(-) create mode 100644 drivers/bus/mhi/host/trace.h
Signature · 1 line
மணிவண்ணன் சதாசிவம்
Quoted 7 lines · Manivannan Sadhasivam
The following changes since commit
6613476e225e090cc9aad49be7fa504e290dd33d:Linux 6.8-rc1 (2024-01-21 14:11:32 -0800)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/mani/mhi.gittags/mhi-for-v6.9
Pulled and pushed out, thanks.
greg k-h