On Mon, Mar 30, 2020 at 10:14:20AM +0000, Shiju Jose wrote: > This field added based on the input from James Morse on v4 patch to > enable the user space application(rasdaemon) do the decoding and > logging of the any extra error information shared by the corresponding > kernel driver to the user space. How is your error reporting supposed to work? Your driver is printing error information in dmesg and, at the same time, you want to report errors with the rasdaemon. Currently, the kernel does not report any error info if there's a user agent like rasdaemon registered so you need to think about what exactly you're trying to achieve here wrt to error handling. Port resetting, printing error info, etc. Always ask yourself, what can the user do with the information you're printing. And so on... > Can you please confirm you want all the existing standard > errors(memory, ARM, PCIE) in the ghes_do_proc () to be reported > through the blocking notifier? Yes, I would very much prefer to have a generic solution instead of vendor-specific stuff left and right. Thx. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette