~vicamo/+git/ubuntu-kernel:bug-2031359/nvme-flash-IO-by-read-reg/oem-6.1

Last commit made on 2023-12-12
Get this branch:
git clone -b bug-2031359/nvme-flash-IO-by-read-reg/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-2031359/nvme-flash-IO-by-read-reg/oem-6.1
Repository:
lp:~vicamo/+git/ubuntu-kernel

Recent commits

9189a42... by You-Sheng Yang

Bug 2031359: UBUNTU: SAUCE: nvme: read a dummy RP register to flash the IO

7e1ce5c... by You-Sheng Yang

UBUNTU: SAUCE: nvme: read a dummy RP register to flash the IO

BugLink: https://bugs.launchpad.net/bugs/2031359

(backported from https://bugs.launchpad.net/somerville/+bug/2031359/comments/182)
Signed-off-by: You-Sheng Yang <email address hidden>

8ba9434... by You-Sheng Yang

Experimental linux-oem-6.1/jammy changes

183ad42... by You-Sheng Yang

[DONOTSUBMIT] UBUNTU: debian/dkms-versions -- update ipu6 drivers

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

e2cf094... by Max Chou

Bluetooth: btrtl: Firmware format v2 support

BugLink: https://bugs.launchpad.net/bugs/2025672

Realtek changed the format of the firmware file as v2. The driver
should implement the patch to extract the firmware data from the
firmware file. The future chips must apply this patch for firmware loading.
This patch is compatible with the both previous format and v2 as well.

Signed-off-by: Allen Chen <email address hidden>
Signed-off-by: Alex Lu <email address hidden>
Tested-by: Hilda Wu <email address hidden>
Signed-off-by: Max Chou <email address hidden>
Signed-off-by: Luiz Augusto von Dentz <email address hidden>
(cherry picked from commit 9a24ce5e29b15c4c6b0c89c04f9df6ce14addefa)
Signed-off-by: You-Sheng Yang <email address hidden>

c836126... by Muralidharan

UBUNTU: SAUCE: net: wwan: t7xx: support uevent

BugLink: https://bugs.launchpad.net/sutton/+bug/2004448

(cherry picked from https://bugs.launchpad.net/sutton/+bug/2004448/+attachment/5647816/+files/t7xx_udev_change_for_FW_update.patch)
Signed-off-by: You-Sheng Yang (vicamo) <email address hidden>

972e142... by M Chetan Kumar <email address hidden>

UBUNTU: SAUCE: net: wwan: t7xx: Devlink documentation

BugLink: https://bugs.launchpad.net/sutton/+bug/2004448

Document the t7xx devlink commands usage for firmware flashing &
coredump collection.

Signed-off-by: M Chetan Kumar <email address hidden>
Signed-off-by: Devegowda Chandrashekar <email address hidden>
(cherry picked from https://patchwork.kernel.org/project/netdevbpf/patch/f902d4a0cb807a205687f7e693079fba72ca7341<email address hidden>/)
Signed-off-by: You-Sheng Yang (vicamo) <email address hidden>

5a711c3... by M Chetan Kumar <email address hidden>

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

BugLink: https://bugs.launchpad.net/sutton/+bug/2004448

Adds support for t7xx wwan device firmware flashing & coredump collection
using devlink.

1> Driver Registers with Devlink framework.
2> Implements devlink ops flash_update callback that programs modem fw.
3> 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 and then registers to devlink framework.
On user space application issuing command for firmware update the driver
sends fastboot flash command & firmware to program NAND.

In flashing procedure the fastboot command & response are 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>
Reviewed-by: Jesse Brandeburg <email address hidden>
(cherry picked from https://patchwork.kernel.org/project/netdevbpf/patch/fc8bbb0b66a5ff3a489ea9857d79b374508090ef<email address hidden>/)
Signed-off-by: You-Sheng Yang (vicamo) <email address hidden>

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

UBUNTU: SAUCE: net: wwan: t7xx: PCIe reset rescan

BugLink: https://bugs.launchpad.net/sutton/+bug/2004448

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>
(cherry picked from https://patchwork.kernel.org/project/netdevbpf/patch/b58e4062a78053e558cbd40b9c6bb8fb36d01f64<email address hidden>/)
Signed-off-by: You-Sheng Yang (vicamo) <email address hidden>

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

UBUNTU: SAUCE: net: wwan: t7xx: Infrastructure for early port configuration

BugLink: https://bugs.launchpad.net/sutton/+bug/2004448

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.

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>
(cherry picked from https://patchwork.kernel.org/project/netdevbpf/patch/3777bb382f4b0395cb594a602c5c79dbab86c9e0<email address hidden>/)
Signed-off-by: You-Sheng Yang (vicamo) <email address hidden>