~vicamo/+git/ubuntu-kernel:bug-1945084/revert-vmd-bridge-mapping/oem-5.14

Last commit made on 2021-09-23
Get this branch:
git clone -b bug-1945084/revert-vmd-bridge-mapping/oem-5.14 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-1945084/revert-vmd-bridge-mapping/oem-5.14
Repository:
lp:~vicamo/+git/ubuntu-kernel

Recent commits

313a115... by You-Sheng Yang

Bump Debian version

293b93a... by Gongjun Song

UBUNTU: SAUCE: ASoC: Intel: soc-acpi: add Tributo SoundWire configuration

BugLink: https://bugs.launchpad.net/bug/1943794

Tributo audio hardware configuration is two rt1319s on link1
and link2, and rt714 on link 0

Signed-off-by: Gongjun Song <email address hidden>
(backported from
0002-ASoC-Intel-soc-acpi-add-Tributo-SoundWire-configurat.patch)
Signed-off-by: You-Sheng Yang <email address hidden>

863d0a1... by Gongjun Song

UBUNTU: SAUCE: ASoC: Intel: sof_sdw: Add support for product Tributo

BugLink: https://bugs.launchpad.net/bug/1943794

Tributo is a product base on ADL-P. The audio hardware
configuration is two rt1319s on link1 and link2, and rt714
on link0.

Signed-off-by: Gongjun Song <email address hidden>
(cherry picked from
0001-ASoC-Intel-sof_sdw-Add-support-for-product-Tributo.patch)
Signed-off-by: You-Sheng Yang <email address hidden>

b8b8c80... by Wen Gong <email address hidden>

UBUNTU: SAUCE: ath11k: copy cap info of 6G band under WMI_HOST_WLAN_5G_CAP for WCN6855

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

WCN6855 has 2 phys, one is 2G, another is 5G/6G, so it should copy the
cap info of 6G band under the check of WMI_HOST_WLAN_5G_CAP as well as
for the 5G band. Some chips like QCN9074 only have 6G, not have 2G and
5G, and this 6G capability is also under WMI_HOST_WLAN_5G_CAP, so this
change will not disturb it.

Tested-on: WCN6855 hw2.0 PCI WLAN.HSP.1.1-01720.1-QCAHSPSWPL_V1_V2_SILICONZ_LITE-1

Signed-off-by: Wen Gong <email address hidden>
Signed-off-by: Jouni Malinen <email address hidden>
(cherry picked from
https://patchwork.kernel<email address hidden>/)
Signed-off-by: You-Sheng Yang <email address hidden>

dde5afe... by Wen Gong <email address hidden>

UBUNTU: SAUCE: ath11k: enable 6G channels for WCN6855

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

For some chips such as WCN6855, single_pdev_only is set in struct
ath11k_hw_params which means ath11k calls ieee80211_register_hw() only
once and create only one device interface, and that device interface
supports all 2G/5G/6G channels.

ath11k_mac_setup_channels_rates() sets up the channels and it is called
for each device interface. It is called only once for single_pdev_only,
and then set up all channels for 2G/5G/6G. The logic of
ath11k_mac_setup_channels_rates() is not suitable for single_pdev_only,
it leads to all 6G channels being disabled for the device interface
which is single_pdev_only such as WCN6855.

Add channel frequency checks for the 6G band and enable the 6G channels
properly based on what is supported by the chip.

Tested-on: WCN6855 hw2.0 PCI WLAN.HSP.1.1-01720.1-QCAHSPSWPL_V1_V2_SILICONZ_LITE-1

Signed-off-by: Wen Gong <email address hidden>
Signed-off-by: Jouni Malinen <email address hidden>
(cherry picked from
https://patchwork.kernel<email address hidden>/)
Signed-off-by: You-Sheng Yang <email address hidden>

8f8b978... by Wen Gong <email address hidden>

UBUNTU: SAUCE: ath11k: re-enable ht_cap/vht_cap for 5G band for WCN6855

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

WCN6855 uses single_pdev_only, so it supports both the 5G and 6G bands
in the same ath11k/pdev and it needs to enable ht_cap/vht_cap for the 5G
band, otherwise it will downgrade to non-HT mode for the 5G band. Some
chips like QCN9074 only support the 6G band, not the 5G band, and use
the flag ar->supports_6ghz which is true to discard ht_cap/vht_cap.

Tested-on: WCN6855 hw2.0 PCI WLAN.HSP.1.1-01720.1-QCAHSPSWPL_V1_V2_SILICONZ_LITE-1

Signed-off-by: Wen Gong <email address hidden>
Signed-off-by: Jouni Malinen <email address hidden>
(cherry picked from
https://patchwork.kernel<email address hidden>/)
Signed-off-by: You-Sheng Yang <email address hidden>

3b45131... by Pradeep Kumar Chitrapu <email address hidden>

UBUNTU: SAUCE: ath11k: fix survey dump collection in 6 GHz

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

When ath11k receives survey request, choose the 6 GHz band when enabled.
Without this, survey request does not include any 6 GHz band results,
thereby causing auto channel selection to fail.

Tested-on: QCN9074 hw1.0 PCI WLAN.HK.2.4.0.1-01386-QCAHKSWPL_SILICONZ-1

Signed-off-by: Pradeep Kumar Chitrapu <email address hidden>
Signed-off-by: Jouni Malinen <email address hidden>
(cherry picked from
https://patchwork.kernel<email address hidden>/)
Signed-off-by: You-Sheng Yang <email address hidden>

c0f32e6... by Pradeep Kumar Chitrapu <email address hidden>

UBUNTU: SAUCE: ath11k: fix packet drops due to incorrect 6 GHz freq value in rx status

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

Frequency in rx status is being filled incorrectly in the 6 GHz band as
channel number received is invalid in this case which is causing packet
drops. So fix that.

Fixes: 5dcf42f8b79d ("ath11k: Use freq instead of channel number in rx path")
Signed-off-by: Pradeep Kumar Chitrapu <email address hidden>
Signed-off-by: Jouni Malinen <email address hidden>
(cherry picked from
https://patchwork.kernel<email address hidden>/)
Signed-off-by: You-Sheng Yang <email address hidden>

421046f... by Pradeep Kumar Chitrapu <email address hidden>

UBUNTU: SAUCE: ath11k: add channel 2 into 6 GHz channel list

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

Add support for the 6 GHz channel 2 with center frequency 5935 MHz and
operating class 136 per IEEE Std 802.11ax-2021, Table E-4.

Signed-off-by: Pradeep Kumar Chitrapu <email address hidden>
Signed-off-by: Jouni Malinen <email address hidden>
(cherry picked from
https://patchwork.kernel<email address hidden>/)
Signed-off-by: You-Sheng Yang <email address hidden>

e7f1f84... by Kai-Heng Feng

UBUNTU: SAUCE: r8169: Implement dynamic ASPM mechanism

BugLink: https://bugs.launchpad.net/white-whale/+bug/1943663

r8169 NICs on some platforms have abysmal speed when ASPM is enabled.
Same issue can be observed with older vendor drivers.

The issue is however solved by the latest vendor driver. There's a new
mechanism, which disables r8169's internal ASPM when the NIC traffic has
more than 10 packets, and vice versa. The possible reason for this is
likely because the buffer on the chip is too small for its ASPM exit
latency.

Realtek confirmed that all their PCIe LAN NICs, r8106, r8168 and r8125
use dynamic ASPM under Windows. So implement the same mechanism here to
resolve the issue.

Also introduce a lock to prevent race on accessing config registers.

Signed-off-by: Kai-Heng Feng <email address hidden>
(backported from
https://<email address hidden>/)
Signed-off-by: You-Sheng Yang <email address hidden>