diff options
| author | Alexey Kardashevskiy <aik@ozlabs.ru> | 2018-09-10 18:29:09 +1000 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-11-24 08:19:43 +0100 |
| commit | 5a6f7274e67bcbcebbf8423d8ed56666563b46bf (patch) | |
| tree | bc1dad797e55582f0cbb92330c0895ba45cb1d6b /include/linux/platform_data | |
| parent | 38374aa3c9166e6d44363e400fb889ba6b8282ab (diff) | |
KVM: PPC: Inform the userspace about TCE update failures
[ Upstream commit f7960e299f13f069d6f3d4e157d91bfca2669677 ]
We return H_TOO_HARD from TCE update handlers when we think that
the next handler (realmode -> virtual mode -> user mode) has a chance to
handle the request; H_HARDWARE/H_CLOSED otherwise.
This changes the handlers to return H_TOO_HARD on every error giving
the userspace an opportunity to handle any request or at least log
them all.
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/linux/platform_data')
0 files changed, 0 insertions, 0 deletions
