From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cornelia Huck Subject: Re: [PATCH v2 02/12] KVM: s390: define GISA format-0 data structure Date: Fri, 26 Jan 2018 10:03:44 +0100 Message-ID: <20180126100344.29f42513.cohuck@redhat.com> References: <20180125132848.175942-1-borntraeger@de.ibm.com> <20180125132848.175942-3-borntraeger@de.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: KVM , linux-s390 , Janosch Frank , David Hildenbrand , Martin Schwidefsky , Heiko Carstens , Michael Mueller To: Christian Borntraeger Return-path: Received: from mx1.redhat.com ([209.132.183.28]:55976 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752402AbeAZJDt (ORCPT ); Fri, 26 Jan 2018 04:03:49 -0500 In-Reply-To: <20180125132848.175942-3-borntraeger@de.ibm.com> Sender: kvm-owner@vger.kernel.org List-ID: On Thu, 25 Jan 2018 14:28:38 +0100 Christian Borntraeger wrote: > From: Michael Mueller > > In preperation to support pass-through adapter interrupts, the Guest > Interruption State Area (GISA) and the Adapter Interruption Virtualization > (AIV) features will be introduced here. > > This patch introduces format-0 GISA (that is defines the struct describing > the GISA, allocates storage for it, and introduces fields for the > GISA address in kvm_s390_sie_block and kvm_s390_vsie). > > As the GISA requires storage below 2GB, it is put in sie_page2, which is > already allocated in ZONE_DMA. In addition, The GISA requires alignment to > its integral boundary. This is already naturally aligned via the > padding in the sie_page2. > > Signed-off-by: Michael Mueller > Reviewed-by: Pierre Morel > Reviewed-by: Halil Pasic > Reviewed-by: Christian Borntraeger > Signed-off-by: Christian Borntraeger > --- > arch/s390/include/asm/kvm_host.h | 23 +++++++++++++++++++---- > arch/s390/kvm/kvm-s390.c | 1 + > 2 files changed, 20 insertions(+), 4 deletions(-) Acked-by: Cornelia Huck