[PATCH 5/5] x86: mce: Add cmci poll mode

2012-07-18 Thread Chen Gong
When CMCI is too many to handle, it should be disabled to avoid hanging the whole system. In the meanwhile, CMCI poll timer can be employed to receive CMCI periodically. When no more CMCI happens CMCI handler can be switched from poll mode to interrupt mode again. By now, every CPU core owns one p

[PATCH 5/5] x86: mce: Add cmci poll mode

2012-07-18 Thread Chen Gong
When CMCI is too many to handle, it should be disabled to avoid hanging the whole system. In the meanwhile, CMCI poll timer can be employed to receive CMCI periodically. When no more CMCI happens CMCI handler can be switched from poll mode to interrupt mode again. By now, every CPU core owns one p