[PATCH] ath10k: move fw_crash_dump allocation

Kalle Valo kvalo at qca.qualcomm.com
Wed Sep 10 04:14:23 PDT 2014

Michal Kazior <michal.kazior at tieto.com> writes:

> The fw_crash_data was allocated too late. Upon
> early firmware crash, before registering to
> mac80211, it was possible to crash the whole
> system:
>  ath10k_pci 0000:00:05.0: device has crashed during init
>  BUG: unable to handle kernel NULL pointer dereference at           (null)


>  ---[ end Kernel panic - not syncing: Fatal exception in interrupt
> To prevent that split debug functions and allocate
> fw_crash_data earlier.
> Signed-off-by: Michal Kazior <michal.kazior at tieto.com>

Thanks, applied.

Kalle Valo

More information about the ath10k mailing list