]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
powerpc/watchpoints: Annotate atomic context in more places
authorBenjamin Gray <bgray@linux.ibm.com>
Tue, 29 Aug 2023 06:34:57 +0000 (16:34 +1000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 6 Oct 2023 11:18:18 +0000 (13:18 +0200)
commit288990ec358099ebbf6663ab51ed1e220471b7f2
tree10909815cbf8e827fc9f2d847420a86763795141
parent47a94e87f00c11feb6529594f46d03e341a8224e
powerpc/watchpoints: Annotate atomic context in more places

[ Upstream commit 27646b2e02b096a6936b3e3b6ba334ae20763eab ]

It can be easy to miss that the notifier mechanism invokes the callbacks
in an atomic context, so add some comments to that effect on the two
handlers we register here.

Signed-off-by: Benjamin Gray <bgray@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20230829063457.54157-4-bgray@linux.ibm.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/powerpc/kernel/hw_breakpoint.c