~vicamo/+git/ubuntu-kernel:bug-2011389/guard-pci_create_sysfs_dev_files-with-atomic-value/oem-6.1

Last commit made on 2023-04-12
Get this branch:
git clone -b bug-2011389/guard-pci_create_sysfs_dev_files-with-atomic-value/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-2011389/guard-pci_create_sysfs_dev_files-with-atomic-value/oem-6.1
Repository:
lp:~vicamo/+git/ubuntu-kernel

Recent commits

d419d97... by You-Sheng Yang

Bug 2011389: test review comments

7820a55... by Korneliusz Osmenda <email address hidden>

UBUNTU: SAUCE: Guard pci_create_sysfs_dev_files with atomic value

On Gateworks Ventana there is a number of PCI devices and:
  - imx6_pcie_probe takes longer than start of late init
  - pci_sysfs_init sets up flag sysfs_initialized
  - pci_sysfs_init initializes already found devices
  - imx6_pcie_probe tries to reinitialize device

Link: https://bugzilla.kernel.org/show_bug.cgi?id=215515

Signed-off-by: Korneliusz Osmenda <email address hidden>
Signed-off-by: Alexander Stein <email address hidden>
(cherry-picked from https://<email address hidden>/raw)
Signed-off-by: You-Sheng Yang <email address hidden>

29c795f... by You-Sheng Yang

Revert "PCI: vmd: guard device addition and removal"

This reverts commit 83998fcdc23e1207390158257470b2e9dd411e21.

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

fb05f83... by You-Sheng Yang

Experimental linux-oem-6.1/jammy changes

Change-Id: Ibec43d96b9e2b6c08754be44ec5d82298c48cf9c

096649f... by You-Sheng Yang

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

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

20369cf... by Syed Saba Kareem <email address hidden>

ASoC: amd: ps: update the acp clock source.

BugLink: https://bugs.launchpad.net/amd/+bug/2015446

Updating the clock source from ACLK to default clock

Signed-off-by: Syed Saba Kareem <email address hidden>
Link: https://<email address hidden>
Signed-off-by: Mark Brown <email address hidden>
(cherry picked from commit a4d432e9132c0b29d857b09ca2ec4c1f455b5948)
Signed-off-by: You-Sheng Yang <email address hidden>

83e4cf2... by syed saba kareem <email address hidden>

ASoC: amd: fix ACP version typo mistake

BugLink: https://bugs.launchpad.net/amd/+bug/2015446

Pink Sardine is based on ACP6.3 architecture.
This patch fixes the typo mistake acp6.2 -> acp6.3

Signed-off-by: syed saba kareem <email address hidden>
Link: https://<email address hidden>
Signed-off-by: Mark Brown <email address hidden>
(cherry picked from commit 4b19211435950a78af032c26ad64a5268e6012be)
Signed-off-by: You-Sheng Yang <email address hidden>

4662e5e... by Muralidharan

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

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

Change-Id: I7830f01cbb50a1c8436d1655d0fd391d58153638
(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>

9c10118... 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.

Change-Id: I8d41a1c36ee779d60ca2ad077f0898bfe626901b
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>

53dadd0... 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

Change-Id: Ib5f9eb9a0973e28a8dd32f29eb4572076d93c58d
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>