From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44113) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dVYXZ-00080n-JG for qemu-devel@nongnu.org; Thu, 13 Jul 2017 03:28:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dVYXW-0001Jp-Gg for qemu-devel@nongnu.org; Thu, 13 Jul 2017 03:28:01 -0400 Received: from mx1.redhat.com ([209.132.183.28]:35014) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dVYXW-0001Jb-AS for qemu-devel@nongnu.org; Thu, 13 Jul 2017 03:27:58 -0400 Date: Thu, 13 Jul 2017 09:27:53 +0200 From: Cornelia Huck Message-ID: <20170713092753.5a3ba530@gondolin> In-Reply-To: References: <1499864265-144136-1-git-send-email-borntraeger@de.ibm.com> <1499864265-144136-9-git-send-email-borntraeger@de.ibm.com> <20170712170713.1f5cf6b2@dhcp-192-215.str.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 08/11] s390x/flic: introduce modify_ais_mode callback List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Christian Borntraeger Cc: qemu-devel , Alexander Graf , Richard Henderson , Fei Li , Yi Min Zhao On Thu, 13 Jul 2017 09:12:50 +0200 Christian Borntraeger wrote: > On 07/12/2017 05:07 PM, Cornelia Huck wrote: > >> + > >> + switch (mode) { > >> + case SIC_IRQ_MODE_ALL: > >> + flic->simm &= ~AIS_MODE_MASK(isc); > >> + flic->nimm &= ~AIS_MODE_MASK(isc); > >> + break; > >> + case SIC_IRQ_MODE_SINGLE: > >> + flic->simm |= AIS_MODE_MASK(isc); > >> + flic->nimm &= ~AIS_MODE_MASK(isc); > > > > Can we have some documentation about the meaning of simm/nimm in qemu? > > The one from the patch description of the respective kernel patch would > > be fine. > > Do you want to have that description as part of the patch description or > somewhere in the docs folder or somewhere in the code? A comment near the definition of simm/nimm would be nice. Or in the commit message, as for the kernel.