Open nbalabak opened 9 months ago
Apart from the Intel SEU IP, do we have other examples of similar devices for which support could be implemented using the same API?
Apart from the Intel SEU IP, do we have other examples of similar devices for which support could be implemented using the same API?
Hello @henrikbrixandersen , This driver API commom we can use who want to handle single event upsets monitor in system.
This driver API commom we can use who want to handle single event upsets monitor in system.
Yes, but do you have an example of a similar device from a different vendor?
This driver API commom we can use who want to handle single event upsets monitor in system.
Yes, but do you have an example of a similar device from a different vendor?
@henrikbrixandersen nope i dont have any other example
Xilinx (now AMD) has Soft Error Mitigation (SEM) Core.
Xilinx (now AMD) has Soft Error Mitigation (SEM) Core.
@yashi Thank you for sharing information.
Introduction
Add a kernel device driver API for interacting with Single Event Upsets (SEU) driver devices.
Draft PR: 67097
Problem description
The SEUs can occur due to radiation particles affecting memory, leading to data corruption or system errors. Agilex FPGA processors consist of three subsystems: SDM, HPS, and FPGA. The SDM subsystem includes firmware, while the HPS subsystem is equipped with Zephyr. The SDM (Secure Device Mananger) is responsible for detecting SEU errors within the system and initiating an interrupt from the SDM to the HPS (Hard Processor System). This driver provides functions to detect SEUs via Interrupt from SDM and report errors to the user via using Mailbox commands from HPS(Hard Processor System) to Secure Device Mananger. In addtion driver provide API's to inject errors in the system.
There is currently no purpose-built API in Zephyr for interacting with Single Event Upsets (SEU) driver devices.
Proposed change
Zephyr now includes a newly developed API, and corresponding APIs have been introduced to interface with the SEU driver.
APIs for the SEU driver have users to register callback functions and inject errors.
Driver Typical Workflow
Callback Function Implementation Requirement:
Driver Examples
The code snippet below serve as examples of how a client of the API would interface.