Add AmpereOne error decoding - #202
Conversation
|
Hi Mauro, I'm pretty new to contributing to open source projects. Also, this change to RASDaemon benefits from this kernel changeset: Regards, |
|
Hi Daniel, Please add sqlite support to it. Btw, on my long term todo plan, I'd like to change the logic to be more generic with regards to SQL, allowing it to use other databases on remote machines. |
|
Hi Mauro, Ok, I can add SQLite support. We have an internal patch set that adds support for MySQL, which is why I didn't add SQLite support. |
* Add support for AmpereOne family of processors. (i.e. - ac03, ac04, and ac04_1) * Does not contain support SQLite (enabled in a subsequent patch). * To compile RASDaemon with AmpereOne support, include the following flags: --enable-arm --enable-non-standard --enable-amp-ns-decode Signed-off-by: Daniel Ferguson <danielf@os.amperecomputing.com>
Add linker flag, and include uuid/uuid.h Signed-off-by: Daniel Ferguson <danielf@os.amperecomputing.com>
The ras_arm_event_handler function needs to use find_ns_ev_decoder to find the correct handler vendor specific sections inside of the standard ARM processor error. Signed-off-by: Daniel Ferguson <danielf@os.amperecomputing.com>
This adds SQLite support for AmpereOne error decoding. Signed-off-by: Daniel Ferguson <danielf@os.amperecomputing.com>
842addb to
31eabf3
Compare
|
Hi Mauro, I've updated the patches to include support for SQLite3, as requested. Regards, |
I'm not seeing it at the latest version.
Ideally, the best would be to replace |
Btw, I'm working right now on #258 to make SQLite3 support more generic, aiming to add support for both MySQL/MariaDB and PostgreSQL. changeset is still a work in progress, so better to wait for it to be done and merged before rebasing this one. |
Decode AmpereOne vendor specific RAS errors.
--enable-arm --enable-non-standard --enable-amp-ns-decode