~vicamo/+git/ubuntu-kernel:bug-1948898/ax210-airplane-mode/oem-5.13

Last commit made on 2021-10-27
Get this branch:
git clone -b bug-1948898/ax210-airplane-mode/oem-5.13 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-1948898/ax210-airplane-mode/oem-5.13
Repository:
lp:~vicamo/+git/ubuntu-kernel

Recent commits

cc1cd6b... by You-Sheng Yang

Bug 1948898: Bluetooth HCI reset fail during airplane mode switch stress tests

e65711e... by Kai-Heng Feng

Bluetooth: Move shutdown callback before flushing tx and rx queue

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

Commit 0ea9fd001a14 ("Bluetooth: Shutdown controller after workqueues
are flushed or cancelled") introduced a regression that makes mtkbtsdio
driver stops working:
[ 36.593956] Bluetooth: hci0: Firmware already downloaded
[ 46.814613] Bluetooth: hci0: Execution of wmt command timed out
[ 46.814619] Bluetooth: hci0: Failed to send wmt func ctrl (-110)

The shutdown callback depends on the result of hdev->rx_work, so we
should call it before flushing rx_work:
-> btmtksdio_shutdown()
 -> mtk_hci_wmt_sync()
  -> __hci_cmd_send()
   -> wait for BTMTKSDIO_TX_WAIT_VND_EVT gets cleared

-> btmtksdio_recv_event()
 -> hci_recv_frame()
  -> queue_work(hdev->workqueue, &hdev->rx_work)
   -> clears BTMTKSDIO_TX_WAIT_VND_EVT

So move the shutdown callback before flushing TX/RX queue to resolve the
issue.

Reported-and-tested-by: Mattijs Korpershoek <email address hidden>
Tested-by: Hsin-Yi Wang <email address hidden>
Cc: Guenter Roeck <email address hidden>
Fixes: 0ea9fd001a14 ("Bluetooth: Shutdown controller after workqueues are flushed or cancelled")
Signed-off-by: Kai-Heng Feng <email address hidden>
Signed-off-by: Marcel Holtmann <email address hidden>
(cherry picked from commit 0ea53674d07fb6db2dd7a7ec2fdc85a12eb246c2)
Signed-off-by: You-Sheng Yang <email address hidden>

2723d22... by You-Sheng Yang

Revert "Revert "Bluetooth: Shutdown controller after workqueues are flushed or cancelled""

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

This reverts commit ea281d7fa64d9919df9cb2d17e5292aba6d39fc6.

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

abfa7f8... by Timo Aaltonen

UBUNTU: Ubuntu-oem-5.13-5.13.0-1017.21

Signed-off-by: Timo Aaltonen <email address hidden>

63b2a8f... by Timo Aaltonen

UBUNTU: link-to-tracker: update tracking bug

BugLink: https://bugs.launchpad.net/bugs/1946722
Properties: no-test-build
Signed-off-by: Timo Aaltonen <email address hidden>

0efbb12... by Timo Aaltonen

UBUNTU: Start new release

Ignore: yes
Signed-off-by: Timo Aaltonen <email address hidden>

1456b60... by Abhishek Naik <email address hidden>

iwlwifi: mvm: Read acpi dsm to get unii4 enable/disable bitmap.

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

Read the UNII4 setting from the ACPI table and use it in the
LARI_CONFIG_CHANGE_CMD accordingly.

This setting allows OEMs to enable or disable UNII4, bypassing the FW
defaults.

Signed-off-by: Abhishek Naik <email address hidden>
Signed-off-by: Luca Coelho <email address hidden>
Link: https://lore.kernel.org/r/iwlwifi.20210617100544.223090c509c4.If03cb5393607ae494041b6187bcec134d6a1e06d@changeid
Signed-off-by: Luca Coelho <email address hidden>
(cherry picked from commit 54b4fda5a761f97b8918607dbb4cd3b9e711aab6)
Signed-off-by: You-Sheng Yang <email address hidden>
Signed-off-by: Timo Aaltonen <email address hidden>

e04d165... by Miri Korenblit <email address hidden>

iwlwifi: mvm: support BIOS enable/disable for 11ax in Russia

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

Read the new BIOS DSM and Pass to FW if to disable\enable
11ax for Russia according to the BIOS key. This is
needed to enable OEMs to control enable/disable 11ax in Russia.
Also add support for future "enable 11ax in country X" features.

Signed-off-by: Miri Korenblit <email address hidden>
Signed-off-by: Luca Coelho <email address hidden>
Link: https://lore.kernel.org/r/iwlwifi.20210612142637.a705f7cedff8.I580f1021cabcc37e88f5ec5e9a6bbf00aae514b6@changeid
Signed-off-by: Luca Coelho <email address hidden>
(cherry picked from commit 7119f02b5d3449cea7736161590ae45289a57963)
Signed-off-by: You-Sheng Yang <email address hidden>
Signed-off-by: Timo Aaltonen <email address hidden>

08f702b... by Timo Aaltonen

UBUNTU: Ubuntu-oem-5.13-5.13.0-1016.20

Signed-off-by: Timo Aaltonen <email address hidden>

d7ec8b5... by Kailiang Yang

ALSA: hda/realtek - ALC236 headset MIC recording issue

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

In power save mode, the recording voice from headset mic will 2s more delay.
Add this patch will solve this issue.

[ minor coding style fix by tiwai ]

Signed-off-by: Kailang Yang <email address hidden>
Tested-by: Kai-Heng Feng <email address hidden>
Cc: <email address hidden>
Link: https://<email address hidden>
Signed-off-by: Takashi Iwai <email address hidden>
(cherry picked from commit 5aec98913095ed3b4424ed6c5fdeb6964e9734da linux-next)
Signed-off-by: Kai-Heng Feng <email address hidden>
Signed-off-by: Timo Aaltonen <email address hidden>