Re: [PATCH v3] x86/cpu: Adjust the error message when BIOS does not support SGX

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 2024-08-25 at 16:17 +0800, WangYuli wrote:
> When SGX is not supported by the BIOS, the kernel log still output
> the error 'SGX disabled by BIOS', which can be confusing since
> there might not be an SGX-related option in the BIOS settings.
> 
> As a kernel, it's difficult to distinguish between the BIOS not
> supporting SGX and the BIOS supporting SGX but it's disabled.
> 
> Therefore, update the error message to
> 'SGX disabled or unsupported by BIOS' to make it easier for those
> reading kernel logs to understand what's happening.
> 
> Reported-by: Bo Wu <wubo@xxxxxxxxxxxxx>
> Closes: https://github.com/linuxdeepin/developer-center/issues/10032
> Acked-by: Kai Huang <kai.huang@xxxxxxxxx>
> Link: https://lore.kernel.org/all/a30f7700c7817b3e7e2f2bdb37d5c10a318b2c3b.camel@xxxxxxxxx/
> Signed-off-by: Zelong Xiang <xiangzelong@xxxxxxxxxxxxx>
> Signed-off-by: WangYuli <wangyuli@xxxxxxxxxxxxx>

Hi Yuli,

When Thomas pointed out the "Signed-off-by chain is invalid" in v2:

https://lore.kernel.org/all/87zfpx4a0q.ffs@tglx/T/#mdc19b00c10177f3add9deaf505211bf8b3ec7110

I think it meant you either need to have a Co-developed-by for Zelong Xiang,
or you should remove his/her SoB.  The reason is the patch is from you, but
not Zelong.

The SoB chain needs to reflect the chronological history of this patch.  E.g.,
the SoB chain:

	From: You
	Co-developed-by: Zelong
	Signed-off-by: Zelong
	Signed-off-by: You

.. means the patch was originally generated by you, but Zelong also
participated in developing this patch before you finally signed off it.

For this one line code change patch, it doesn't make a lot sense to have
multiple developers, so I think you can just remove Zelong's SoB.





[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux