From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752300AbcAGOXH (ORCPT ); Thu, 7 Jan 2016 09:23:07 -0500 Received: from e06smtp17.uk.ibm.com ([195.75.94.113]:52650 "EHLO e06smtp17.uk.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751651AbcAGOXF (ORCPT ); Thu, 7 Jan 2016 09:23:05 -0500 X-IBM-Helo: d06dlp02.portsmouth.uk.ibm.com X-IBM-MailFrom: borntraeger@de.ibm.com X-IBM-RcptTo: kvm@vger.kernel.org;linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/4] Reorganize request bits To: Paolo Bonzini , linux-kernel@vger.kernel.org, kvm@vger.kernel.org References: <1452176228-8484-1-git-send-email-pbonzini@redhat.com> Cc: Takuya Yoshikawa , Paul Mackerras From: Christian Borntraeger Message-ID: <568E74C4.5000407@de.ibm.com> Date: Thu, 7 Jan 2016 15:23:00 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: <1452176228-8484-1-git-send-email-pbonzini@redhat.com> Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 7bit X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 16010714-0005-0000-0000-000009EF5006 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 01/07/2016 03:17 PM, Paolo Bonzini wrote: > There is no need for request bits to differ across architectures. Only > a handful of them are architecture-independent, the others can all share > bits 8-31 with overlap. > > Leaving room for more architecture-independent bits means that actually > no bits are freed, but the cleanup is useful anyway IMO. > > Paolo Bonzini (4): > KVM: Remove unused KVM_REQ_KICK to save a bit in > KVM: document which architecture uses each request bit > KVM: renumber architecture-dependent requests > KVM: move architecture-dependent requests to arch/ > > arch/powerpc/include/asm/kvm_host.h | 4 ++++ > arch/s390/include/asm/kvm_host.h | 4 ++++ > arch/x86/include/asm/kvm_host.h | 28 ++++++++++++++++++++++++++ > arch/x86/kvm/x86.c | 10 ++++++++++ > include/linux/kvm_host.h | 39 +++++-------------------------------- > virt/kvm/kvm_main.c | 10 ---------- > 6 files changed, 51 insertions(+), 44 deletions(-) > For the idea: Acked-by: Christian Borntraeger but no deep review so far.