From: Paolo Bonzini Subject: Re: [PATCH] KVM: Switch 'requests' to be 64-bit (explicitly) Date: Tue, 22 May 2018 17:47:42 +0200 Message-ID: <5f346c4e-73f2-6a73-7915-e9fa911191ec@redhat.com> References: <1523744804-8220-1-git-send-email-karahmed@amazon.de> <53700469-74f0-f3b0-96a4-d8ace2919b36@redhat.com> <1527003728.13207.55.camel@amazon.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Cc: "rkrcmar@redhat.com" To: "Raslan, KarimAllah" , "linux-kernel@vger.kernel.org" , "kvm@vger.kernel.org" Return-path: In-Reply-To: <1527003728.13207.55.camel@amazon.de> Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org List-Id: kvm.vger.kernel.org On 22/05/2018 17:42, Raslan, KarimAllah wrote: > On Mon, 2018-04-16 at 18:28 +0200, Paolo Bonzini wrote: >> On 15/04/2018 00:26, KarimAllah Ahmed wrote: >>> >>> Switch 'requests' to be explicitly 64-bit and update BUILD_BUG_ON check to >>> use the size of "requests" instead of the hard-coded '32'. >>> >>> That gives us a bit more room again for arch-specific requests as we >>> already ran out of space for x86 due to the hard-coded check. >>> >>> Cc: Paolo Bonzini >>> Cc: Radim Krčmář >>> Cc: kvm@vger.kernel.org >>> Cc: linux-kernel@vger.kernel.org >>> Signed-off-by: KarimAllah Ahmed >> >> I'm afraid architectures like ARM 32 need this to be conditional (using >> Kconfig). > > Why would using a 64-bit 'requests' be a problem for ARM32? Are you  > concerned about performance here or is there some symantic problem? They don't support atomics on double-word data. Paolo