Bug 208579

Summary: Incremental patch-5.4.46-47 break the ath9k_htc driver code in kernel 5.4.47 and upper
Product: Drivers Reporter: Jean-Luc (luc.bertho)
Component: network-wirelessAssignee: drivers_network-wireless (drivers_network-wireless)
Status: NEW ---    
Severity: normal    
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 5.4.47 Tree: Mainline
Regression: No

Description Jean-Luc 2020-07-15 22:52:38 UTC
Hello

Incremetal patch-5.4.46-47 break the ath9k_htc driver code in kernel 5.4.47 and upper.
Tested on two different laptops ASUS and HP (same era) Intel Core i3/i5 first generation, and with two generic USB Adapters.
same prob with kernel 4.9.228, other kernels might be impacted as well.


dmesg gives :

[149086.388845] usb 2-1.2.3: new high-speed USB device number 18 using ehci-pci
[149086.505719] usb 2-1.2.3: New USB device found, idVendor=13d3, idProduct=3327, bcdDevice= 1.08
[149086.505726] usb 2-1.2.3: New USB device strings: Mfr=16, Product=32, SerialNumber=48
[149086.505728] usb 2-1.2.3: Product: UB93
[149086.505730] usb 2-1.2.3: Manufacturer: ATHEROS
[149086.505732] usb 2-1.2.3: SerialNumber: 12345
[149086.507847] usb 2-1.2.3: ath9k_htc: Firmware ath9k_htc/htc_9271-1.4.0.fw requested
[149086.802616] usb 2-1.2.3: ath9k_htc: Transferred FW: ath9k_htc/htc_9271-1.4.0.fw, size: 51008
[149087.054478] ath9k_htc 2-1.2.3:1.0: ath9k_htc: HTC initialized with 33 credits
[149087.317820] ath: phy4: Invalid EEPROM magic (0xfffb).
[149087.317828] ath: phy4: Unable to initialize hardware; initialization status: -22
[149087.317830] ath: phy4: Unable to initialize hardware; initialization status: -22
[149087.467858] ath9k_htc: Failed to initialize the device
[149087.467973] usb 2-1.2.3: ath9k_htc: USB layer deinitialized

Best regards

P.S. I remain at your disposal for any additional information, tests, etc.
Comment 1 Jean-Luc 2020-07-20 14:27:14 UTC
Hello, ok
work again now on with kernel 5.4.52 Thanks!

commit 5a046d75acf74b7fd889dca11120e42733f6f46d
Author: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Date:   Tue Jul 14 14:03:44 2020 +0200

    Revert "ath9k: Fix general protection fault in ath9k_hif_usb_rx_cb"
    
    This reverts commit b5c8896bc14f54e5c4dd5a6e42879f125b8abd2d which is
    commit 2bbcaaee1fcbd83272e29f31e2bb7e70d8c49e05 upstream.
    
    It is being reverted upstream, just hasn't made it there yet and is
    causing lots of problems.
    
    Reported-by: Hans de Goede <hdegoede@redhat.com>
    Cc: Qiujun Huang <hqjagain@gmail.com>
    Cc: Kalle Valo <kvalo@codeaurora.org>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>