[lkml]   [2023]   [Feb]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH v2 05/29] LoongArch: KVM: Add vcpu related header files
On 2/21/23 08:12, Xi Ruoyao wrote:
>> We are preparing to submit these instruction support for binutils,
>> however it is still necessary. Supposing that it is supported in future
>> gcc version, we can not drop existing gcc 12/13 supporting to compiling
>> kernel with LoongArch architecture.
> You can drop the support for KVM with less capable Binutils versions,
> like:
> config AS_HAS_LVZ
> def_bool $(as-instr some_gcsr_insn \$r0, \$gcsr0)
> config KVM
> depends on AS_HAS_LVZ

There are precedents in Linux for using .word when necessary. There's
no reason to prevent using KVM on old Binutils versions.


 \ /
  Last update: 2023-03-27 00:29    [W:0.304 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site