aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/clang-tools/gen_compile_commands.py
diff options
context:
space:
mode:
authorAndrew Donnellan <[email protected]>2022-06-14 13:49:52 +0000
committerMichael Ellerman <[email protected]>2022-06-18 00:19:10 +0000
commit7bc08056a6dabc3a1442216daf527edf61ac24b6 (patch)
treeefeffbfd128740c763008593008a9c9703ff33dd /scripts/clang-tools/gen_compile_commands.py
parentpowerpc: Enable execve syscall exit tracepoint (diff)
downloadkernel-7bc08056a6dabc3a1442216daf527edf61ac24b6.tar.gz
kernel-7bc08056a6dabc3a1442216daf527edf61ac24b6.zip
powerpc/rtas: Allow ibm,platform-dump RTAS call with null buffer address
Add a special case to block_rtas_call() to allow the ibm,platform-dump RTAS call through the RTAS filter if the buffer address is 0. According to PAPR, ibm,platform-dump is called with a null buffer address to notify the platform firmware that processing of a particular dump is finished. Without this, on a pseries machine with CONFIG_PPC_RTAS_FILTER enabled, an application such as rtas_errd that is attempting to retrieve a dump will encounter an error at the end of the retrieval process. Fixes: bd59380c5ba4 ("powerpc/rtas: Restrict RTAS requests from userspace") Cc: [email protected] Reported-by: Sathvika Vasireddy <[email protected]> Signed-off-by: Andrew Donnellan <[email protected]> Reviewed-by: Tyrel Datwyler <[email protected]> Reviewed-by: Nathan Lynch <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/clang-tools/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions