diff options
author | Gavin Shan <gwshan@linux.vnet.ibm.com> | 2014-04-24 08:00:17 (GMT) |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2014-04-28 07:34:23 (GMT) |
commit | 8a5ad35686fa81da7d8d07e9dd7041ac4a2ac0d7 (patch) | |
tree | 96d4672146f1ed54b0dacaa623029e71aeb9f809 /Documentation/kdump | |
parent | 2a18dfc6ee2ea00bba767f6968f1a107fdd8e687 (diff) | |
download | linux-8a5ad35686fa81da7d8d07e9dd7041ac4a2ac0d7.tar.xz |
powerpc/eeh: Cleanup EEH subsystem variables
There're 2 EEH subsystem variables: eeh_subsystem_enabled and
eeh_probe_mode. We needn't maintain 2 variables and we can just
have one variable and introduce different flags. The patch also
introduces additional flag EEH_FORCE_DISABLE, which will be used
to disable EEH subsystem via boot parameter ("eeh=off") in future.
Besides, the patch also introduces flag EEH_ENABLED, which is
changed to disable or enable EEH functionality on the fly through
debugfs entry in future.
With the patch applied, the creteria to check the enabled EEH
functionality is changed to:
!EEH_FORCE_DISABLED && EEH_ENABLED : Enabled
Other cases : Disabled
Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'Documentation/kdump')
0 files changed, 0 insertions, 0 deletions