mbox series

[0/5] HID: intel-ish-hid: Implement loading firmware from host feature

Message ID 20240506013040.10700-1-lixu.zhang@intel.com (mailing list archive)
Headers show
Series HID: intel-ish-hid: Implement loading firmware from host feature | expand

Message

Zhang, Lixu May 6, 2024, 1:30 a.m. UTC
This patch series is comprised of 5 patches. The first two patches are to add documentation
for firmware loading. The third and fourth patches introduce support for the 'Load Main
Firmware from Host' feature in the ISHTP driver, applicable to Lunar Lake and subsequent
platforms. The last patch enhances the firmware reset handler in the ISH driver. This
addresses an issue where the driver receives two MNG_RESET_NOTIFY messages upon implementing
the 'Load Main Firmware from Host' feature.

This patch series is based on the following 3 commits, which have already been included in the linux-next/master branch.
- HID: intel-ish-hid: ipc: Fix dev_err usage with uninitialized dev->devc
- HID: intel-ish-hid: Use PCI_VDEVICE() and rename device ID macros
- HID: intel-ish-hid: ipc: Add Lunar Lake-M PCI device ID

Qianru Huang (2):
  Documentation: hid: intel-ish-hid: remove section numbering
  Documentation: hid: intel-ish-hid: add section for firmware loading

Zhang Lixu (3):
  HID: intel-ish-hid: Add driver_data for specifying the firmware
    filename
  HID: intel-ish-hid: Implement loading firmware from host feature
  HID: intel-ish-hid: handler multiple MNG_RESET_NOTIFY messages

 Documentation/hid/intel-ish-hid.rst         | 137 +++++++---
 drivers/hid/intel-ish-hid/Makefile          |   1 +
 drivers/hid/intel-ish-hid/ipc/ipc.c         |   7 +-
 drivers/hid/intel-ish-hid/ipc/pci-ish.c     |  18 +-
 drivers/hid/intel-ish-hid/ishtp/hbm.c       |  21 ++
 drivers/hid/intel-ish-hid/ishtp/init.c      |   8 +
 drivers/hid/intel-ish-hid/ishtp/ishtp-dev.h |  28 ++
 drivers/hid/intel-ish-hid/ishtp/loader.c    | 275 ++++++++++++++++++++
 drivers/hid/intel-ish-hid/ishtp/loader.h    | 226 ++++++++++++++++
 9 files changed, 681 insertions(+), 40 deletions(-)
 create mode 100644 drivers/hid/intel-ish-hid/ishtp/loader.c
 create mode 100644 drivers/hid/intel-ish-hid/ishtp/loader.h


base-commit: 9221b2819b8a4196eecf5476d66201be60fbcf29

Comments

Jiri Kosina May 6, 2024, 9:34 p.m. UTC | #1
On Mon, 6 May 2024, Zhang Lixu wrote:

> This patch series is comprised of 5 patches. The first two patches are to add documentation
> for firmware loading. The third and fourth patches introduce support for the 'Load Main
> Firmware from Host' feature in the ISHTP driver, applicable to Lunar Lake and subsequent
> platforms. The last patch enhances the firmware reset handler in the ISH driver. This
> addresses an issue where the driver receives two MNG_RESET_NOTIFY messages upon implementing
> the 'Load Main Firmware from Host' feature.
> 
> This patch series is based on the following 3 commits, which have already been included in the linux-next/master branch.
> - HID: intel-ish-hid: ipc: Fix dev_err usage with uninitialized dev->devc
> - HID: intel-ish-hid: Use PCI_VDEVICE() and rename device ID macros
> - HID: intel-ish-hid: ipc: Add Lunar Lake-M PCI device ID
> 
> Qianru Huang (2):
>   Documentation: hid: intel-ish-hid: remove section numbering
>   Documentation: hid: intel-ish-hid: add section for firmware loading
> 
> Zhang Lixu (3):
>   HID: intel-ish-hid: Add driver_data for specifying the firmware
>     filename
>   HID: intel-ish-hid: Implement loading firmware from host feature
>   HID: intel-ish-hid: handler multiple MNG_RESET_NOTIFY messages

This is now queued in hid.git#for-6.10/intel-ish.

Thanks!