On 2022/3/21 23:32, Jason Gunthorpe write: > On Mon, Mar 21, 2022 at 03:55:01AM +0000, yangx.jy@xxxxxxxxxxx wrote: >> On 2022/3/16 2:53, Jason Gunthorpe wrote: >>> You'll also need to do something about the 32 bit compatability that >>> kbuild detected - I suppose this can't work on 32 bit platforms? So >>> IS_ENABLED() it off or something? >> Hi Jason, >> >> Is it possible to fix the issue by atomic64_set_release()? > No > >> If not, we may need to add a check for __native_word(*dst) and return an >> unsupported error when __native_word(*dst) is false. > The whole feature, including the cap bits should be turned off for 32 > bit builds because it cannot possibly work Hi Jason, Is it ok to disable the whole atomic write by checking CONFIG_64BIT? Best Regards, Xiao Yang > > Jason