linux/drivers/edac
Aravind Gopalakrishnan 0451d14d05 EDAC, mce_amd_inj: Modify flags attribute to use string arguments
Use strings such as "hw" or "sw" to indicate the type of error injection
to be performed.

Current flags attribute derives the meanings of values that can be
programmed into it from asm/mce.h. Moving to defined strings for the
attribute allows this module to be self-sufficient and removes the
dependency. Also, we can introduce new flags as and when needed without
having to worry about conflicting with the flags already defined in
asm/mce.h.

Also, modify do_inject() to use the newly defined injection_type enum to
figure out the injection mechanism we need to use

Suggested-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Aravind Gopalakrishnan <Aravind.Gopalakrishnan@amd.com>
Cc: linux-edac <linux-edac@vger.kernel.org>
Cc: mchehab@osg.samsung.com
Cc: x86-ml <x86@kernel.org>
Link: http://lkml.kernel.org/r/1433277362-10911-4-git-send-email-Aravind.Gopalakrishnan@amd.com
[ Use strstrip() return value. ]
Signed-off-by: Borislav Petkov <bp@suse.de>
2015-06-03 16:47:51 +02:00
..
altera_edac.c
amd64_edac.c EDAC, amd64_edac: Get rid of per-node driver instances 2015-02-23 13:16:01 +01:00
amd64_edac.h EDAC: amd64: Use static attribute groups 2015-02-23 13:08:09 +01:00
amd64_edac_dbg.c EDAC: amd64: Use static attribute groups 2015-02-23 13:08:09 +01:00
amd64_edac_inj.c EDAC: amd64: Use static attribute groups 2015-02-23 13:08:09 +01:00
amd76x_edac.c
amd8111_edac.c
amd8111_edac.h
amd8131_edac.c
amd8131_edac.h
cell_edac.c
cpc925_edac.c
e7xxx_edac.c
e752x_edac.c
edac_core.h EDAC: Allow to pass driver-specific attribute groups 2015-02-23 13:07:41 +01:00
edac_device.c
edac_device_sysfs.c
edac_mc.c EDAC: Cleanup atomic_scrub mess 2015-05-28 15:31:53 +02:00
edac_mc_sysfs.c EDAC: Properly unwind on failure path in edac_init() 2015-02-23 13:13:07 +01:00
edac_module.c EDAC: Properly unwind on failure path in edac_init() 2015-02-23 13:13:07 +01:00
edac_module.h EDAC: Allow to pass driver-specific attribute groups 2015-02-23 13:07:41 +01:00
edac_pci.c
edac_pci_sysfs.c
edac_stub.c EDAC, edac_stub: Drop arch-specific include 2015-05-29 22:01:00 +02:00
ghes_edac.c
highbank_l2_edac.c
highbank_mc_edac.c EDAC: Constify of_device_id array 2015-03-20 17:50:07 +01:00
i7core_edac.c EDAC: i7core: Use static attribute groups for sysfs entries 2015-02-23 13:09:39 +01:00
i3000_edac.c
i3200_edac.c
i5000_edac.c
i5100_edac.c
i5400_edac.c
i7300_edac.c
i82443bxgx_edac.c EDAC, i82443bxgx: Don't export static symbol 2015-03-11 20:39:15 +01:00
i82860_edac.c EDAC: Delete unnecessary checks before pci_dev_put() 2015-02-23 13:06:23 +01:00
i82875p_edac.c EDAC: Delete unnecessary checks before pci_dev_put() 2015-02-23 13:06:23 +01:00
i82975x_edac.c EDAC: Delete unnecessary checks before pci_dev_put() 2015-02-23 13:06:23 +01:00
ie31200_edac.c
Kconfig EDAC, mpc8xxx: Adapt for FSL SoC 2015-05-31 12:50:31 +02:00
Makefile EDAC: Add APM X-Gene SoC EDAC driver 2015-05-29 11:39:24 +02:00
mce_amd.c
mce_amd.h
mce_amd_inj.c EDAC, mce_amd_inj: Modify flags attribute to use string arguments 2015-06-03 16:47:51 +02:00
mpc85xx_edac.c EDAC, mpc85xx: Extend error address to 64 bit 2015-05-31 12:51:08 +02:00
mpc85xx_edac.h EDAC, mpc85xx: Extend error address to 64 bit 2015-05-31 12:51:08 +02:00
mv64x60_edac.c
mv64x60_edac.h
octeon_edac-l2c.c
octeon_edac-lmc.c EDAC: octeon: Use static attribute groups for sysfs entries 2015-02-23 13:12:05 +01:00
octeon_edac-pc.c
octeon_edac-pci.c
pasemi_edac.c
ppc4xx_edac.c EDAC: Constify of_device_id array 2015-03-20 17:50:07 +01:00
ppc4xx_edac.h
r82600_edac.c
sb_edac.c
synopsys_edac.c EDAC: Constify of_device_id array 2015-03-20 17:50:07 +01:00
tile_edac.c
x38_edac.c
xgene_edac.c EDAC, xgene: Fix cpuid abuse 2015-06-02 19:07:50 +02:00