~vicamo/+git/ubuntu-kernel:bug-1997936/fm350-fw-update-failure/oem-6.1

Last commit made on 2022-12-13
Get this branch:
git clone -b bug-1997936/fm350-fw-update-failure/oem-6.1 https://git.launchpad.net/~vicamo/+git/ubuntu-kernel
Only You-Sheng Yang can upload to this branch. If you are You-Sheng Yang please log in for upload directions.

Branch merges

Branch information

Name:
bug-1997936/fm350-fw-update-failure/oem-6.1
Repository:
lp:~vicamo/+git/ubuntu-kernel

Recent commits

b600802... by You-Sheng Yang

Bug 1997936: FM350 FW update failure

d73799f... by M Chetan Kumar <email address hidden>

net: wwan: t7xx: Enable devlink based fw flashing and coredump collection

BugLink: https://bugs.launchpad.net/somerville/+bug/1997936

This patch brings-in support for t7xx wwan device firmware flashing &
coredump collection using devlink.

Driver Registers with Devlink framework.
Implements devlink ops flash_update callback that programs modem firmware.
Creates region & snapshot required for device coredump log collection.
On early detection of wwan device in fastboot mode driver sets up CLDMA0 HW
tx/rx queues for raw data transfer then registers with devlink framework.
Upon receiving firmware image & partition details driver sends fastboot
commands for flashing the firmware.

In this flow the fastboot command & response gets exchanged between driver
and device. Once firmware flashing is success completion status is reported
to user space application.

Below is the devlink command usage for firmware flashing

$devlink dev flash pci/$BDF file ABC.img component ABC

Note: ABC.img is the firmware to be programmed to "ABC" partition.

In case of coredump collection when wwan device encounters an exception
it reboots & stays in fastboot mode for coredump collection by host driver.
On detecting exception state driver collects the core dump, creates the
devlink region & reports an event to user space application for dump
collection. The user space application invokes devlink region read command
for dump collection.

Below are the devlink commands used for coredump collection.

devlink region new pci/$BDF/mr_dump
devlink region read pci/$BDF/mr_dump snapshot $ID address $ADD length $LEN
devlink region del pci/$BDF/mr_dump snapshot $ID

Signed-off-by: M Chetan Kumar <email address hidden>
Signed-off-by: Devegowda Chandrashekar <email address hidden>
Signed-off-by: Mishra Soumya Prakash <email address hidden>
Signed-off-by: David S. Miller <email address hidden>
(cherry picked from commit 87dae9e70bf7be2bd8a3c561fe3ddf666eb8a7a4)
Signed-off-by: You-Sheng Yang (vicamo) <email address hidden>

33ff0e0... by Haijun Liu <email address hidden>

net: wwan: t7xx: PCIe reset rescan

https://bugs.launchpad.net/somerville/+bug/1997936

PCI rescan module implements "rescan work queue". In firmware flashing
or coredump collection procedure WWAN device is programmed to boot in
fastboot mode and a work item is scheduled for removal & detection.
The WWAN device is reset using APCI call as part driver removal flow.
Work queue rescans pci bus at fixed interval for device detection,
later when device is detect work queue exits.

Signed-off-by: Haijun Liu <email address hidden>
Co-developed-by: Madhusmita Sahu <email address hidden>
Signed-off-by: Madhusmita Sahu <email address hidden>
Signed-off-by: Ricardo Martinez <email address hidden>
Signed-off-by: M Chetan Kumar <email address hidden>
Signed-off-by: Devegowda Chandrashekar <email address hidden>
Signed-off-by: David S. Miller <email address hidden>
(cherry picked from commit 140424d90165d83c75b23ead7c3573bb6dd74f50)
Signed-off-by: You-Sheng Yang (vicamo) <email address hidden>

423738d... by Haijun Liu <email address hidden>

net: wwan: t7xx: Infrastructure for early port configuration

BugLink: https://bugs.launchpad.net/somerville/+bug/1997936

To support cases such as FW update or Core dump, the t7xx device
is capable of signaling the host that a special port needs
to be created before the handshake phase.

This patch adds the infrastructure required to create the
early ports which also requires a different configuration of
CLDMA queues.

Signed-off-by: Haijun Liu <email address hidden>
Co-developed-by: Madhusmita Sahu <email address hidden>
Signed-off-by: Madhusmita Sahu <email address hidden>
Signed-off-by: Ricardo Martinez <email address hidden>
Signed-off-by: Devegowda Chandrashekar <email address hidden>
Signed-off-by: M Chetan Kumar <email address hidden>
Signed-off-by: David S. Miller <email address hidden>
(cherry picked from commit 007f26f0d68e28509d369fe0e71845e095bdd955)
Signed-off-by: You-Sheng Yang (vicamo) <email address hidden>

998f1e8... by You-Sheng Yang

UBUNTU: SAUCE: net: wwan: t7xx: skip timeout error in pm_init

BugLink: https://bugs.launchpad.net/somerville/+bug/1997936
Signed-off-by: You-Sheng Yang (vicamo) <email address hidden>

cf519b0... by You-Sheng Yang

Revert "net: wwan: t7xx: use union to group port type specific data"

This reverts commit bd923797721660f45693ae4fb5772e23e22e63dd.

0710eda... by You-Sheng Yang

Revert "net: wwan: t7xx: Add port for modem logging"

This reverts commit 062f26f7d209d1f21404192e1a3ea255bcad664b.

e08e8f2... by You-Sheng Yang

Experimental linux-oem-6.1/jammy changes

8e4bf11... by You-Sheng Yang

[DONOTSUBMIT] debian/dkms-versions -- disable ipu6/ivsc build

a9044e4... by You-Sheng Yang

[DONOTSUBMIT] debian/dkms-versions -- disable zfs build

Signed-off-by: You-Sheng Yang (vicamo) <email address hidden>