linux_dsm_epyc7002/arch/powerpc
Sam Bobroff 5fd13460af powerpc/eeh: Clarify arguments to eeh_reset_device()
It is currently difficult to understand the behaviour of
eeh_reset_device() due to the way it's parameters are used. In
particular, when 'bus' is NULL, it's value is still necessary so the
same value is looked up again locally under a different name
('frozen_bus') but behaviour is changed.

To clarify this, add a new parameter 'driver_eeh_aware', and have the
caller set it when it would have passed NULL for 'bus' and always pass
a value for 'bus'. Then change any test that was on 'bus' to one on
'!driver_eeh_aware' and replace uses of 'frozen_bus' with 'bus'.

Also update the function's comment.

This should not change behaviour.

Signed-off-by: Sam Bobroff <sam.bobroff@au1.ibm.com>
Reviewed-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2018-03-27 23:44:59 +11:00
..
boot powerpc: dts: replace 'linux,stdout-path' with 'stdout-path' 2018-03-20 16:47:54 +11:00
configs
crypto
include powerpc/eeh: Manage EEH_PE_RECOVERING inside eeh_handle_normal_event() 2018-03-27 23:44:58 +11:00
kernel powerpc/eeh: Clarify arguments to eeh_reset_device() 2018-03-27 23:44:59 +11:00
kvm Merge branch 'topic/ppc-kvm' into next 2018-03-24 08:43:18 +11:00
lib powerpc/rfi-flush: Differentiate enabled and patched flush types 2018-03-27 19:25:14 +11:00
math-emu
mm powerpc/mm: Fix typo in comments 2018-03-27 23:44:56 +11:00
net
oprofile powerpc: Use sizeof(*foo) rather than sizeof(struct foo) 2018-03-20 16:47:53 +11:00
perf powerpc/perf: Add blacklisted events for Power9 DD2.2 2018-03-27 19:25:11 +11:00
platforms powerpc/powernv/npu: Do not try invalidating 32bit table when 64bit table is enabled 2018-03-27 23:44:57 +11:00
purgatory
sysdev
tools
xmon powerpc/xmon: Move empty plpar_set_ciabr() into plpar_wrappers.h 2018-03-13 23:43:04 +11:00
Kconfig
Kconfig.debug
Makefile
Makefile.postlink