From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jens Freimann Subject: Re: [GIT PULL 09/11] KVM: s390: add bitmap for handling cpu-local interrupts Date: Mon, 01 Dec 2014 15:59:38 +0100 Message-ID: <1417445760-sup-7985@linux.vnet.ibm.com> References: <1417181139-25623-1-git-send-email-borntraeger@de.ibm.com> <1417181139-25623-10-git-send-email-borntraeger@de.ibm.com> <5478AE7D.7010805@redhat.com> <547A3506.1080908@de.ibm.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Return-path: In-reply-to: <547A3506.1080908@de.ibm.com> Sender: kvm-owner@vger.kernel.org List-Archive: List-Post: To: Christian Borntraeger Cc: Paolo Bonzini , KVM , Alexander Graf , Cornelia Huck , linux-s390 List-ID: Excerpts from Christian Borntraeger's message of 2014-11-29 22:05:10 +0100: > Am 28.11.2014 um 18:18 schrieb Paolo Bonzini: > > > > > > On 28/11/2014 14:25, Christian Borntraeger wrote: > >> > >> +struct kvm_s390_irq_payload { > >> + struct kvm_s390_io_info io; > >> + struct kvm_s390_ext_info ext; > >> + struct kvm_s390_pgm_info pgm; > >> + struct kvm_s390_emerg_info emerg; > >> + struct kvm_s390_extcall_info extcall; > >> + struct kvm_s390_prefix_info prefix; > >> + struct kvm_s390_mchk_info mchk; > >> +}; > >> + > > > > struct or union? > > struct. This is used for keeping the payload of the interrupts. Multiple different interrupts can be pending and most of them have payload - we want to keep everything. > > Now, looking at that code again, as I/O is floating and emergency is also handled via a separate bitmap we could get rid of these two in a follow-up patch. Jens, can you have a look and prepare a followup-cleanup if appropriate? I/O is floating and currently not used in that struct, but I have a patch series in the works to change floating interrupts as well and will need it then. I will check if I can get rid of the emerg_info and sent a followup patch. Jens > Christian