Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Workaround to mark unused IOHS targets #59

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

aravynd
Copy link
Collaborator

@aravynd aravynd commented Mar 15, 2023

In the Bonnell MRW, some IOHS targets are marked with UNUSED
for the IOHS_CONFIG_TYPE attribute. So such targets need to
be marked non-functional to prevent boot failures.

Test:
Applied patch and verified that the unused IOHS are marked
as non-functional.

 In the Bonnell MRW, some IOHS targets are marked with UNUSED
 for the IOHS_CONFIG_TYPE attribute. So such targets need to
 be marked non-functional to prevent boot failures.

Test:
 Applied patch and verified that the unused IOHS are marked
 as non-functional.

Signed-off-by: aravnair-in <[email protected]>
@aravynd aravynd requested a review from dcrowell77 March 15, 2023 10:18
//@Brief Function will mark targets as non present in the devtree
//if it is marked UNUSED in the MRW. This is a workaround for
//handling unused IOHS targets in Bonnell.
static bool process_unused_targets()

Choose a reason for hiding this comment

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

Only required to update primary processor on genesis boot. update_genesis_hwas_state() used to set hwas state update in genesis mode. you can create helper function to read attribute and set iohs targes based on attribute state.

@devenrao
Copy link
Contributor

please review here as aravind is out for few days

#60

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants