firmware: arm_sdei: Prohibit probing in '_sdei_handler'
authorXiongfeng Wang <wangxiongfeng2@huawei.com>
Fri, 26 Apr 2019 02:16:36 +0000 (10:16 +0800)
committerWill Deacon <will.deacon@arm.com>
Mon, 29 Apr 2019 15:50:48 +0000 (16:50 +0100)
commit2f1d4e24d91b1f475f939685e19bb1e537031661
tree16b3634234836c5d3b50d7bf83febc83ee519644
parentf08cae2f28db24d95be5204046b60618d8de4ddc
firmware: arm_sdei: Prohibit probing in '_sdei_handler'

Functions called in '_sdei_handler' are needed to be marked as
'nokprobe'. Because these functions are called in NMI context and
neither the arch-code's debug infrastructure nor kprobes core supports
this.

Signed-off-by: Xiongfeng Wang <wangxiongfeng2@huawei.com>
Reviewed-by: James Morse <james.morse@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
drivers/firmware/arm_sdei.c