linux/drivers
Maharaja Kennadyrajan db251d7df4 ath10k: add debugfs file warm_hw_reset
Debugfs support to do hardware warm reset with WMI command
WMI_PDEV_PARAM_PDEV_RESET for 10.4 and 10.2.4(if wmi
service is enabled in the firmware for backward compatibility).

This change is purely for debugging purpose when hardware hangs/mutes.

This hardware reset won't affect the connectivity but there will be small
pause in data traffic. Here we are doing BB/MAC level reset and hence
whenever the BB/MAC watchdog is triggered, it does a hardware_chip_reset.
So the target will be in the active state.

Below command used to warm reset the hardware.
echo 1 > /sys/kernel/debug/ieee80211/phyX/ath10k/warm_hw_reset

Tested in QCA988X with firmware ver 10.2.4.70.45
Tested in QCA4019 with firmware ver 10.4-3.2.1.1-00011

Signed-off-by: Maharaja Kennadyrajan <mkenna@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
2018-07-30 20:59:32 +03:00
..
accessibility
acpi ACPI / EC: Use ec_no_wakeup on more Thinkpad X1 Carbon 6th systems 2018-07-19 16:42:15 +02:00
amba
android
ata
atm
auxdisplay
base driver core: set up ownership of class devices in sysfs 2018-07-20 23:44:35 -07:00
bcma
block Merge ra.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux 2018-07-20 21:17:12 -07:00
bluetooth
bus
cdrom
char
clk
clocksource
connector
cpufreq cpufreq: intel_pstate: Register when ACPI PCCH is present 2018-07-18 13:38:37 +02:00
cpuidle
crypto
dax
dca
devfreq
dio
dma
dma-buf
edac
eisa
extcon
firewire
firmware
fmc
fpga
fsi
gpio
gpu Merge branch 'linux-4.18' of git://github.com/skeggsb/linux into drm-fixes 2018-07-20 10:27:53 +10:00
hid
hsi
hv
hwmon hwmon: Add support for power min, lcrit, min_alarm and lcrit_alarm 2018-07-18 10:01:46 +09:00
hwspinlock
hwtracing
i2c
ide
idle
iio
infiniband Merge branch 'mlx5-next' of git://git.kernel.org/pub/scm/linux/kernel/git/mellanox/linux 2018-07-23 14:58:46 -07:00
input
iommu Revert "iommu/vt-d: Clean up pasid quirk for pre-production devices" 2018-07-20 13:55:56 +02:00
ipack
irqchip
isdn
leds
lightnvm
macintosh
mailbox
mcb
md - Fix DM writecache target to allow an optional offset to the start of 2018-07-20 14:24:17 -07:00
media
memory
memstick
message
mfd
misc
mmc
mtd
mux
net ath10k: add debugfs file warm_hw_reset 2018-07-30 20:59:32 +03:00
nfc
ntb
nubus
nvdimm
nvme
nvmem
of Merge ra.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux 2018-07-20 21:17:12 -07:00
opp
oprofile
parisc
parport
pci pci-v4.18-fixes-3 2018-07-19 11:54:04 -07:00
pcmcia
perf
phy
pinctrl
platform platform/x86: dell-laptop: Fix backlight detection 2018-07-20 15:29:59 +03:00
pnp
power
powercap
pps
ps3
ptp Merge ra.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux 2018-07-20 21:17:12 -07:00
pwm
rapidio
ras
regulator
remoteproc
reset
rpmsg
rtc
s390 s390/qeth: speed up L2 IQD xmit 2018-07-21 10:12:30 -07:00
sbus
scsi SCSI fixes on 20180720 2018-07-20 11:47:08 -07:00
sfi
sh
siox
slimbus
sn
soc
soundwire
spi
spmi
ssb
staging Merge ra.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux 2018-07-20 21:17:12 -07:00
target
tc
tee
thermal
thunderbolt
tty
uio
usb
uwb
vfio vfio/pci: Fix potential Spectre v1 2018-07-18 12:57:25 -06:00
vhost vhost_net: batch update used ring for datacopy TX 2018-07-22 09:43:31 -07:00
video
virt
virtio
visorbus
vlynq
vme
w1
watchdog
xen
zorro
Kconfig
Makefile