sonic-buildimage icon indicating copy to clipboard operation
sonic-buildimage copied to clipboard

[Mellanox] Disable SGX for SN5600/SN5400 platforms

Open vivekrnv opened this issue 1 year ago • 7 comments

Why I did it

Booting master/202405 images on SN5400 and SN5600 platforms is resulting the log

2024-07-23T21:01:07.972045+00:00 sonic kernel: [    0.110657] x86/cpu: SGX disabled by BIOS.
2024-07-23T21:01:07.972045+00:00 sonic kernel: [    0.110657] x86/cpu: SGX disabled by BIOS.

Processor on these systems supports the SGX but the BIOS does not. SGX feature is also not important and thus disable using the nosgx kernel boot parameter

Work item tracking
  • Microsoft ADO (number only):

How I did it

How to verify it

Added the parameter, reboot and check for log

vivekrnv avatar Jul 25 '24 21:07 vivekrnv

@davidpil2002 Please review

vivekrnv avatar Jul 25 '24 21:07 vivekrnv

/azpw ms_checker

liushilongbuaa avatar Aug 06 '24 03:08 liushilongbuaa

/azpw run Azure.sonic-buildimage

vivekrnv avatar Sep 04 '24 15:09 vivekrnv

/AzurePipelines run Azure.sonic-buildimage

mssonicbld avatar Sep 04 '24 15:09 mssonicbld

Azure Pipelines successfully started running 1 pipeline(s).

azure-pipelines[bot] avatar Sep 04 '24 15:09 azure-pipelines[bot]

@saiarcot895 @bingwang-ms We have ms_conflict validation failing here. Can you please help?

dgsudharsan avatar Sep 05 '24 00:09 dgsudharsan

Cherry-pick is failing because of pending cherry-pick of this. https://github.com/sonic-net/sonic-buildimage/pull/19965

Will remove and re-add the Tag after the dependent PR is merged

vivekrnv avatar Sep 05 '24 00:09 vivekrnv

/azpw run Azure.sonic-buildimage

vivekrnv avatar Sep 10 '24 21:09 vivekrnv

/AzurePipelines run Azure.sonic-buildimage

mssonicbld avatar Sep 10 '24 21:09 mssonicbld

Azure Pipelines successfully started running 1 pipeline(s).

azure-pipelines[bot] avatar Sep 10 '24 21:09 azure-pipelines[bot]

/azpw run Azure.sonic-buildimage

vivekrnv avatar Sep 11 '24 14:09 vivekrnv

/AzurePipelines run Azure.sonic-buildimage

mssonicbld avatar Sep 11 '24 14:09 mssonicbld

Azure Pipelines successfully started running 1 pipeline(s).

azure-pipelines[bot] avatar Sep 11 '24 14:09 azure-pipelines[bot]

Cherry-pick PR to 202405: https://github.com/sonic-net/sonic-buildimage/pull/20564

mssonicbld avatar Oct 21 '24 23:10 mssonicbld