|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Minios-devel] [UNIKRAFT PATCHv4 08/43] arch: Add arm64 architecture config to menuconfig
Hey Wei, Julien, On 10.07.2018 09:16, Wei Chen wrote: Hi Julien,-----Original Message----- From: Julien Grall <julien.grall@xxxxxxx> Sent: 2018年7月9日 18:24 To: Wei Chen <Wei.Chen@xxxxxxx>; minios-devel@xxxxxxxxxxxxxxxxxxxx; simon.kuenzer@xxxxxxxxx Cc: Kaly Xin <Kaly.Xin@xxxxxxx>; nd <nd@xxxxxxx> Subject: Re: [Minios-devel] [UNIKRAFT PATCHv4 08/43] arch: Add arm64 architecture config to menuconfig On 09/07/18 10:03, Wei Chen wrote:Hi Julien,Hi Wei,-----Original Message----- From: Julien Grall <julien.grall@xxxxxxx> Sent: 2018年7月8日 5:56 To: Wei Chen <Wei.Chen@xxxxxxx>; minios-devel@xxxxxxxxxxxxxxxxxxxx; simon.kuenzer@xxxxxxxxx Cc: Kaly Xin <Kaly.Xin@xxxxxxx>; nd <nd@xxxxxxx> Subject: Re: [Minios-devel] [UNIKRAFT PATCHv4 08/43] arch: Add arm64 architecture config to menuconfig Hi, On 07/06/2018 10:03 AM, Wei Chen wrote:Add the arm64 entry for menuconfig. As different silicon vendors may have different 64-bit ARMv8 SoCs. If we want to add them to Config,I know some people will find me very picky :). Based on the newSometimes ; )branding, this should be Armv8 (i.e no upper-case for r, m). I am not too fuss for the commit message, but I would like to be at list fixed in the Kconfig description.Honestly, Arm looks very very awkward to me. But I think you're right, it's the new branding, I would change them to Arm, although I still think arm or ARM looks better. . Maybe I am a little Obsessive compulsive : )Sadly, 'Arm' or 'arm' is the way to go nowadays. The latter is preferred in sentence to avoid confusion with another close word ;). 'ARM' should not be used anymore. Now I learned also something new to me ;-). You are the Arm guys, I trust you about the proper typing of Arm. it will be a large list. So we only provide ARM's cortex A53~A75 CPUsSam here.Ok. For me, both orders are fine.
I agree. + help + Optimize the code for selected target processor + +config MARCH_ARM64_NATIVE + bool "Auto-detect host CPU" + help + Optimize compilation to host CPU. Please note that this + option will fail in case of cross-compilation + +config MARCH_ARM64_GENERIC + bool "Generic ARMv8 CPU"s/ARM/Arm/Ok.+ help + Compile for Generic ARMv8 compatible CPUs + +config MARCH_ARM64_CORTEXA53 + bool "Generic ARMv8 Cortex A53" + help + Compile for ARMv8 Cortex-A53 CPUs. Support TrustZone, NEONDitto.Ok+ advanced SIMD, VFPv4, hardware virtualization, dual issue,How virtualization matters for Unikraft? Shouldn't this just describe what will be the benefits for Unikraft?This is just a description for the Cortex-A53. I copy them from wiki. Hum, I retrieved the x86 descriptions from GCC. They are not talking about virtualization but if it is properly worded it is fine to mention it here (same for TrustZone). It just would need to be clear that we are talking about features that a particular CPU/SoC has - and not that Unikraft needs it or is going to use it: I would do something along the lines. Basically, remove "the compile for" to tell which features an Arm v8 SoC/CPU has:
config MARCH_ARM64_CORTEXA53
bool "Generic Armv8 Cortex A53"
help
ARMv8 Cortex-A53 CPUs with NEON, advanced SIMD,
VFPv4, TrustZone, hardware virtualization, [...] support
However, it is also fine to do:
config MARCH_ARM64_CORTEXA53
bool "Generic Armv8 Cortex A53"
help
Compile for ARMv8 Cortex-A53 (and compatible) CPUs
Cortex-A53 actually defines a particular feature set, right?
What do you think?
Which wiki? In general, the description of a config should explain why a user should select the option. It does not need to know that the Cortex-A53 supports virtualization (or even allow 32-bit).I forget, maybe from Wikipedia.Cheers, -- Julien Grall _______________________________________________ Minios-devel mailing list Minios-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/minios-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |