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

If family is not GENOA or TURIN,The program doesn't seem to end #101

Open
CrazyFengCat opened this issue Jan 22, 2025 · 1 comment
Open

Comments

@CrazyFengCat
Copy link

Description

in function performPlatformInitializationbranch is "main",file is main.cpp
if family is not GENOA or TURIN, The program doesn't seem to end,
Can other family collect RAS?

            if (platInfo->family == GENOA_FAMILY_ID)
            {
                if ((platInfo->model != MI300A_MODEL_NUMBER) &&
                    (platInfo->model != MI300C_MODEL_NUMBER))
                {
                    BlockId = {BLOCK_ID_33};
                }
            }
            else if (platInfo->family == TURIN_FAMILY_ID)
            {
                std::cout << "Turin platform " << std::endl;
                currentHostStateMonitor();

                clearSbrmiAlertMask();

                BlockId = {BLOCK_ID_1,  BLOCK_ID_2,  BLOCK_ID_3,  BLOCK_ID_23,
                           BLOCK_ID_24, BLOCK_ID_33, BLOCK_ID_36, BLOCK_ID_37,
                           BLOCK_ID_38, BLOCK_ID_40};

                RunTimeErrorPolling();

                runtimeErrPollingSupported = true;
            }
            platformInitialized = true;
            apmlInitialized = true;
        }
        else
        {
            sd_journal_print(LOG_ERR,
                             "Failed to perform platform initialization\n");
        }
@abinayaddhandapani
Copy link
Collaborator

This code base is supported only for the platforms 19h and 1Ah. Thanks for pointing the bug in the code.
We will fix it.

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

No branches or pull requests

2 participants