On some OEM systems, adding a W7900 dGPU triggers RAS errors and hangs
at a black screen on startup. This issue occurs only if `ucsi_acpi` has
loaded before `amdgpu` has loaded. The reason for this failure is that
`amdgpu` uses power_supply_is_system_supplied() to determine if running
on AC or DC power at startup. If this value is reported incorrectly the
dGPU will also be programmed incorrectly and trigger errors.
power_supply_is_system_supplied() reports the wrong value because UCSI
power supplies provided as part of the system don't properly report the
scope as "DEVICE" scope (not powering the system).
In order to fix this issue check the capabilities reported from the UCSI
power supply to ensure that it supports charging a battery and that it can
be powered by AC. Mark the scope accordingly.
Update the USB serial option driver support for the Fibocom
FM101R-GL
LTE modules as there are actually several different variants.
- VID:PID 413C:8213, FM101R-GL are laptop M.2 cards (with
MBIM interfaces for Linux)
- VID:PID 413C:8215, FM101R-GL ESIM are laptop M.2 cards(with
MBIM interface for Linux)
Within newly launched Realtek RTL8851BE WiFi 6 802.11ax PCIe Adapter,
0x8150 is chosen as usb idProduct, which is already registered for
RTL8150 Fast Ethernet Adapter. The rtl8150 driver may be loaded before
rtw89 does, trying to initialize a RTL8851BE as a RTL8150.
Bus 001 Device 002: ID 0bda:8150 Realtek Semiconductor Corp. RTL8150
Fast Ethernet Adapter
Device Descriptor:
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
idVendor 0x0bda Realtek Semiconductor Corp.
idProduct 0x8150 RTL8150 Fast Ethernet Adapter
bcdDevice 1.00
...
Interface Descriptor: bInterfaceClass 255 Vendor Specific Class bInterfaceSubClass 0 bInterfaceProtocol 255
Bus 001 Device 005: ID 0bda:8150 Realtek Semiconductor Corp. RTL8150
Fast Ethernet Adapter
Device Descriptor:
bDeviceClass 224 Wireless
bDeviceSubClass 1 Radio Frequency
bDeviceProtocol 1 Bluetooth
idVendor 0x0bda Realtek Semiconductor Corp.
idProduct 0x8150 RTL8150 Fast Ethernet Adapter
bcdDevice 0.00
...
Interface Descriptor: bInterfaceClass 224 Wireless bInterfaceSubClass 1 Radio Frequency bInterfaceProtocol 1 Bluetooth
This change adds an additional match for RTL8150, so that it won't match
RTL8851BE anymore.
Signed-off-by: You-Sheng Yang <email address hidden>