~vicamo/+git/ubuntu-kernel:bug-2000133/amd-navi31-ubsan-warns/unstable

Last commit made on 2022-12-23
Get this branch:
git clone -b bug-2000133/amd-navi31-ubsan-warns/unstable 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-2000133/amd-navi31-ubsan-warns/unstable
Repository:
lp:~vicamo/+git/ubuntu-kernel

Recent commits

66cbff2... by You-Sheng Yang

Bug 2000133: Fix UBSAN errors on AMD navi31 GPU

897fd3e... by Ma Jun <email address hidden>

drm/amdkfd: Fix the warning of array-index-out-of-bounds

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

For some GPUs with more CUs, the original sibling_map[32]
in struct crat_subtype_cache is not enough
to save the cache information when create the VCRAT table,
so skip filling the struct crat_subtype_cache info instead
fill struct kfd_cache_properties directly to fix this problem.

Signed-off-by: Ma Jun <email address hidden>
Reviewed-by: Felix Kuehling <email address hidden>
Signed-off-by: Alex Deucher <email address hidden>
(cherry picked from commit c0cc999f3c32e65a7c88fb323893ddf897b24488)
Signed-off-by: You-Sheng Yang (vicamo) <email address hidden>

13b7b74... by Ma Jun <email address hidden>

drm/amdkfd: Remove unused variable

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

kfd_topology_device->cache_count is not used by
other fucntions, so remove it.

Signed-off-by: Ma Jun <email address hidden>
Reviewed-by: Felix Kuehling <email address hidden>
Signed-off-by: Alex Deucher <email address hidden>
(cherry picked from commit ee22f63b1085fd5cf1649e8915b1e2617cd33ca0)
Signed-off-by: You-Sheng Yang (vicamo) <email address hidden>

7e3a1d6... by Prike Liang <email address hidden>

drm/amdkfd: introduce dummy cache info for property asic

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

This dummy cache info will enable kfd base function support.

Signed-off-by: Prike Liang <email address hidden>
Reviewed-by: Alex Deucher <email address hidden>
Signed-off-by: Alex Deucher <email address hidden>
(cherry picked from commit fd72e2cb2f9dd2734e8013b3e185a21f0d605d3e)
Signed-off-by: You-Sheng Yang (vicamo) <email address hidden>

f8f1902... by You-Sheng Yang

Experimental linux-unstable/lunar changes

4e1e512... by Alex Deucher

UBUNTU: SAUCE: drm/amdgpu: skip MES for S0ix as well since it's part of GFX

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

It's also part of gfxoff.

Signed-off-by: Alex Deucher <email address hidden>
Reviewed-by: Mario Limonciello <email address hidden>
(cherry picked from https://patchwork.freedesktop.org/patch/515278/)
Signed-off-by: You-Sheng Yang (vicamo) <email address hidden>

a616f60... by Gongjun Song

UBUNTU: SAUCE: ASoC: Intel: soc-acpi: add configuration for variant of 0C11 product

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

Support configuration with SoundWire RT1318 amplifiers on link1 and
link2, and RT711 on link0 for headphone/headset. This product does
not support local microphones.

Signed-off-by: Gongjun Song <email address hidden>
(cherry picked from https://bugs.launchpad.net/somerville/cy22-feature-request/+bug/1996028/comments/9)
Signed-off-by: You-Sheng Yang (vicamo) <email address hidden>

80de2db... by Gongjun Song

UBUNTU: SAUCE: ASoC: Intel: soc-acpi: add configuration for variant of 0C40 product

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

Support configuration with SoundWire RT1316 amplifiers on link0 and
link1, and RT711 on link2 for headphone/headset. This product does
not support local microphones.

Signed-off-by: Gongjun Song <email address hidden>
(cherry picked from https://bugs.launchpad.net/somerville/cy22-feature-request/+bug/1996028/comments/9)
Signed-off-by: You-Sheng Yang (vicamo) <email address hidden>

dadad4c... by Andy Chi

Bluetooth: btusb: Add a new VID/PID 0489/e0f2 for MT7922

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

Add VID/PID 0489/e0f2 for MediaTek MT7922 Bluetooth chip. Found
and tested with HP ProBook.

From /sys/kernel/debug/usb/devices:

T: Bus=03 Lev=01 Prnt=01 Port=02 Cnt=01 Dev#= 2 Spd=480 MxCh= 0
D: Ver= 2.10 Cls=ef(misc ) Sub=02 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=0489 ProdID=e0f2 Rev= 1.00
S: Manufacturer=MediaTek Inc.
S: Product=Wireless_Device
S: SerialNumber=000000000
C:* #Ifs= 3 Cfg#= 1 Atr=e0 MxPwr=100mA
A: FirstIf#= 0 IfCount= 3 Cls=e0(wlcon) Sub=01 Prot=01
I:* If#= 0 Alt= 0 #EPs= 3 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
E: Ad=81(I) Atr=03(Int.) MxPS= 16 Ivl=125us
E: Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:* If#= 1 Alt= 0 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
E: Ad=83(I) Atr=01(Isoc) MxPS= 0 Ivl=1ms
E: Ad=03(O) Atr=01(Isoc) MxPS= 0 Ivl=1ms
I: If#= 1 Alt= 1 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
E: Ad=83(I) Atr=01(Isoc) MxPS= 9 Ivl=1ms
E: Ad=03(O) Atr=01(Isoc) MxPS= 9 Ivl=1ms
I: If#= 1 Alt= 2 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
E: Ad=83(I) Atr=01(Isoc) MxPS= 17 Ivl=1ms
E: Ad=03(O) Atr=01(Isoc) MxPS= 17 Ivl=1ms
I: If#= 1 Alt= 3 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
E: Ad=83(I) Atr=01(Isoc) MxPS= 25 Ivl=1ms
E: Ad=03(O) Atr=01(Isoc) MxPS= 25 Ivl=1ms
I: If#= 1 Alt= 4 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
E: Ad=83(I) Atr=01(Isoc) MxPS= 33 Ivl=1ms
E: Ad=03(O) Atr=01(Isoc) MxPS= 33 Ivl=1ms
I: If#= 1 Alt= 5 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
E: Ad=83(I) Atr=01(Isoc) MxPS= 49 Ivl=1ms
E: Ad=03(O) Atr=01(Isoc) MxPS= 49 Ivl=1ms
I: If#= 1 Alt= 6 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
E: Ad=83(I) Atr=01(Isoc) MxPS= 63 Ivl=1ms
E: Ad=03(O) Atr=01(Isoc) MxPS= 63 Ivl=1ms
I:* If#= 2 Alt= 0 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=(none)
E: Ad=8a(I) Atr=03(Int.) MxPS= 64 Ivl=125us
E: Ad=0a(O) Atr=03(Int.) MxPS= 64 Ivl=125us
I: If#= 2 Alt= 1 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=(none)
E: Ad=8a(I) Atr=03(Int.) MxPS= 512 Ivl=125us
E: Ad=0a(O) Atr=03(Int.) MxPS= 512 Ivl=125us

Signed-off-by: Andy Chi <email address hidden>
Signed-off-by: Luiz Augusto von Dentz <email address hidden>
(cherry picked from commit 773653b4336dae8a97227cef01d3c8818afdd7ea linux-next)
Signed-off-by: Andy Chi <email address hidden>

93e8551... by You-Sheng Yang

UBUNTU: [Config] enable CONFIG_SND_SOC_RT1318_SDW

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

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