Hi Christian, the discussion about OSM brought up the issue with bus errors...
Christian Pellegrin wrote: > This patch addresses concerns about efficiency of handling incoming > packets. Handling of interrupts is done in a threaded interrupt handler > which has a smaller latency than workqueues. This change needed a rework > of the locking scheme that was much simplified. Some other (more or less > longstanding) bugs are fixed: utilization of just half of the RX > buffers, useless wait for interrupt on open, more reliable reset > sequence. The MERR interrupt is not used anymore: it overloads the CPU > in bus-off state without any additional information. The MERR should not come when the device is in bus-off. Nevertheless, it may come frequently in any state below, e.g. error passive. We regard bus-errors as vital information and they should be communicated to user space via error messages. For exactly that reason we do not disable bus errors on other CAN controllers, like the SJA1000 or the AT91, even if they may produce high load. But we may discuss some generic interface to disable bus-errors somehow, maybe configurable via ctrlmode. What do you think? Wolfgang. _______________________________________________ Socketcan-core mailing list [email protected] https://lists.berlios.de/mailman/listinfo/socketcan-core
