Skip to content

Define the FFI approach - #3139

Merged
masc2023 merged 14 commits into
eclipse-score:mainfrom
etas-contrib:anegm/ffi-approach
Aug 20, 2026
Merged

masc2023 merged 14 commits into
eclipse-score:mainfrom
etas-contrib:anegm/ffi-approach

Conversation

@ANegm-ETAS

@ANegm-ETAS ANegm-ETAS commented Jul 29, 2026 •

Copy link
Copy Markdown
Contributor

The PR defines our approach to handling modules that may contain components that are executed from within safe context in order to maintain FFI

#1122

@github-actions

Copy link
Copy Markdown
Contributor

The created documentation from the pull request is available at: docu-html

Comment thread docs/safety/platform_safety_manual.rst Outdated
The specific Assumptions of Use relevant only for the users of a specific module are documented in the module's safety manual.
That means that the platform safety manual always has to be read together with all its modules safety manuals.

A platform module may contain both ASIL-relevant and QM components. The

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I think we should also define what that means for the verification of the component. What is the difference between asil relevant components and qm components in respect to our safety process

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

added a reference to ASIL and QM Verification methods

Comment thread docs/safety/platform_safety_manual.rst Outdated
Comment thread docs/safety/platform_safety_manual.rst Outdated
The specific Assumptions of Use relevant only for the users of a specific module are documented in the module's safety manual.
That means that the platform safety manual always has to be read together with all its modules safety manuals.

A platform module may contain both ASIL-relevant and QM components. The

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Comment thread docs/safety/platform_safety_manual.rst Outdated
integrated into a target hardware which includes safety mechanisms which cover hardware related errors.

The platform allows ASIL and QM components to coexist within the same module.
Where components executing in an ASIL context depend on functionality that has

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

As Assumed here, https://eclipse-score.github.io/score/pr-3139/platform_management_plan/software_verification.html#id1
there is already a requirement, if the concept requires components used as part of safety context, is must be ASIL, can directly derived from that stakeholder requirement

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

this is not exactly a new requirement but an attempt to clarify how to apply that requirement in the context of a module that may contain components with different ASIL levels all while maintaining freedom from interference

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Yes, then it is more a safety concept to apply FFI on modules, which are QM, but also to be used from safety relevant component. The Safety Concept means, that the part for interacting with QM part shall be developed according to the required ASIL and run in the same context, etc.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

yes that was my intention, do you think the current update convey that or do you have a specific recommendation

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

RC would be to explicetely mention, that it is a safety concept, and then explain it in a short as to split component in QM part and additional Safety Part, which allocates the safety requirements as you mentioned

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Updated to more clearly reflect the argument made

@aschemmel-tech aschemmel-tech left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Is this the only change within score repository? Please also link to changes in other repositories if planned any?

Comment thread docs/safety/platform_safety_manual.rst Outdated
safety lifecycle and shall be developed, verified, and released according to
the corresponding ASIL process. Components that are not intended to execute
within an ASIL context may remain QM, provided that freedom from interference
with the safety context is justified in the respective module safety manual.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I would have said FFI has nothing to do with the module safety manual. But you can refer to the platform AoU in https://eclipse-score.github.io/score/main/requirements/platform_assumptions/index.html#aou_req__platform__process_isolation

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Update speaks of a "is justified in respective feature DFA". I think it is not clear which feature DFA this is. I would propose to write instead "is justified in the feature DFAs of the ASIL rated features using the QM component"

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

removed the sentence as suggested below

Comment thread docs/safety/platform_safety_manual.rst Outdated
Comment thread docs/safety/platform_safety_manual.rst Outdated
Comment thread docs/safety/platform_safety_manual.rst Outdated
Comment thread docs/safety/platform_safety_manual.rst Outdated
@ANegm-ETAS
ANegm-ETAS requested a review from pahmann as a code owner July 30, 2026 15:27
@ANegm-ETAS
ANegm-ETAS requested a review from masc2023 August 5, 2026 07:05

@aschemmel-tech aschemmel-tech left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Inline comments and need to get rid of the "lifecycle" changes which are not relevant here.

Comment thread docs/safety/platform_safety_manual.rst Outdated
Comment thread docs/safety/platform_safety_manual.rst Outdated
Comment thread docs/safety/platform_safety_manual.rst Outdated
@github-actions

Copy link
Copy Markdown
Contributor

Documentation preview for this pull request is available at:
pr-3139: https://eclipse-score.github.io/score/pr-3139/

@aschemmel-tech aschemmel-tech left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

The removal of docs/modules/lifecycle/index.rst done in #3123 shall not be reverted by this PR.

Comment thread docs/modules/communication/docs/index.rst

@aschemmel-tech aschemmel-tech left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

my comments resolved

@masc2023
masc2023 dismissed FScholPer’s stale review August 20, 2026 12:17

Approve by Safety Managers

Where components executing in an ASIL context may utilize functionality that has
no direct safety purpose, freedom from interference shall be ensured between
the safety-relevant and non-safety-relevant components. This will require
All the component's functional requirements will be promoted to ASIL level to ensure

@masc2023 masc2023 Aug 20, 2026 •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

typo, all, no new sentence

@masc2023
masc2023 merged commit e33e518 into eclipse-score:main Aug 20, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

6 participants