[fpc-devel] [PATCH] Add support for Hygon Dhyana processor

Jinke Fan fanjinke51 at yeah.net
Mon May 27 08:12:08 CEST 2019


On 2019/5/25 3:53, Ralf Quint wrote:
> On 5/23/2019 2:10 AM, Jinke Fan wrote:
>> Hi,
>>    This patch adds vendor id detection for Hygon Dhyana CPUs.
>>    Could anyone help me with submit it?
>> More details can be found on:
>> http://lkml.kernel.org/r/5ce86123a7b9dad925ac583d88d2f921040e859b.1538583282.git.puwen@hygon.cn
> 
> Why would this be needed? I just had to look up what this actually is 
> and it doesn't seem to be necessary to distinguish between that 
> particular CPU (quote from Wikipedia):
> 
>> The initial microprocessor created in 2018 is the Hygon Dhyana 
>> <https://en.wikipedia.org/wiki/AMD_Epyc#Chinese_variants> system on a 
>> chip <https://en.wikipedia.org/wiki/System_on_a_chip>.^[1] 
>> <https://en.wikipedia.org/wiki/AMD%E2%80%93Chinese_joint_venture#cite_note-2018-toms-hardware-1> 
>> ^[2] 
>> <https://en.wikipedia.org/wiki/AMD%E2%80%93Chinese_joint_venture#cite_note-2018-phoronix-2> 
>> It is noted to be a variant of the AMD EPYC 
>> <https://en.wikipedia.org/wiki/EPYC> and is so similar that "there is 
>> little to no differentiation between the chips".^[1] 
>> <https://en.wikipedia.org/wiki/AMD%E2%80%93Chinese_joint_venture#cite_note-2018-toms-hardware-1> 
>> It has been noted that there is "less than 200 lines of new kernel 
>> code" for Linux <https://en.wikipedia.org/wiki/Linux> kernel support, 
>> and that the Dhyana is "mostly a re-branded Zen CPU for the Chinese 
>> server market".^[2] 
>> <https://en.wikipedia.org/wiki/AMD%E2%80%93Chinese_joint_venture#cite_note-2018-phoronix-2> 
> 
> ^Are you aware of any specifics of that processor that it would require 
> a distinction and direct support for that CPU version, beside the geek 
> factor?
Dhyana process was the first generation of Hygon. And,
"there is little to no differentiation between the chips".

The spec refer to:
https://www.amd.com/system/files/TechDocs/54945_PPR_Family_17h_Models_00h-0Fh.pdf
At the software level, code typically reuses AMD's code path as so far.

Best regards.
Jinke Fan
> 
> ^Ralf
> 
> 
> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient&utm_term=icon> 
> 	Virus-free. www.avast.com 
> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient&utm_term=link> 
> 
> 
> <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
> 
> _______________________________________________
> fpc-devel maillist  -  fpc-devel at lists.freepascal.org
> http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
> 




More information about the fpc-devel mailing list