Skip to content

Conversation

@hakonfam
Copy link
Contributor

@hakonfam hakonfam commented Dec 3, 2025

cpusec will raise an mbox signal when an event report is generated. This is done when a peripheral triggers an error event to cpusec that cannot be directly passed to cpuapp or cpurad.

Define the mbox and enable the IRQ for the corresponding bell in the bellboard.

cpusec will raise an mbox signal when an event report
is generated. This is done when a peripheral triggers
an error event to cpusec that cannot be directly passed
to cpuapp or cpurad.

Define the mbox and enable the IRQ for the corresponding
bell in the bellboard.

Signed-off-by: Håkon Amundsen <[email protected]>
@sonarqubecloud
Copy link

sonarqubecloud bot commented Dec 3, 2025

cpusec_cpurad_event_report: event-report-1-3 {
compatible = "vnd,mbox-consumer";
mboxes = <&cpurad_bellboard 1>;
mbox-names = "event_channel";
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

event_signal? Not sure about the naming

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

event should be sufficient

/ {
ipc {
cpusec_cpuapp_event_report: event-report-1-2 {
compatible = "vnd,mbox-consumer";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think vnd,mbox-consumer was introduced for tests, not boards.

cpusec_cpuapp_event_report: event-report-1-2 {
compatible = "vnd,mbox-consumer";
mboxes = <&cpuapp_bellboard 1>;
mbox-names = "event_channel";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Have you considered placing this under the cpusec_cpuapp_ipc node? I was imagining we could replace the nordic,ironside-call binding with something that captures all communication with IronSide:

cpusec_cpuapp_ipc: ipc-1-2 {
	compatible = "nordic,ironside-ipc";
	memory-regions = <&cpusec_cpuapp_ipc_shm>,
			 <&cpuapp_ironside_se_event_report>;
	memory-region-names = "call", "event";
	mboxes = <&cpusec_bellboard 12>,
		 <&cpuapp_bellboard 0>,
		 <&cpuapp_bellboard 1>;
	mbox-names = "call_tx", "call_rx", "event";
};

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants