From mboxrd@z Thu Jan 1 00:00:00 1970 From: Prakash B Subject: Re: [PATCH v5 11/22] KVM: arm64: vgic-its: Interpret MAPD Size field and check related errors Date: Wed, 26 Apr 2017 16:58:29 +0530 Message-ID: References: <1492164934-988-1-git-send-email-eric.auger@redhat.com> <1492164934-988-12-git-send-email-eric.auger@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Cc: eric.auger.pro@gmail.com, Marc Zyngier , Christoffer Dall , andre.przywara@arm.com, vijayak@caviumnetworks.com, Vijaya.Kumar@cavium.com, Peter Maydell , linux-arm-kernel@lists.infradead.org, kvmarm@lists.cs.columbia.edu, kvm@vger.kernel.org, Prasun.Kapoor@cavium.com, drjones@redhat.com, quintela@redhat.com, dgilbert@redhat.com, pbonzini@redhat.com To: Eric Auger Return-path: Received: from mail-lf0-f67.google.com ([209.85.215.67]:36474 "EHLO mail-lf0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1036313AbdDZL2b (ORCPT ); Wed, 26 Apr 2017 07:28:31 -0400 Received: by mail-lf0-f67.google.com with SMTP id 75so24503627lfs.3 for ; Wed, 26 Apr 2017 04:28:31 -0700 (PDT) In-Reply-To: <1492164934-988-12-git-send-email-eric.auger@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On Fri, Apr 14, 2017 at 3:45 PM, Eric Auger wrote: > Up to now the MAPD's ITT size field has been ignored. It encodes > the number of eventid bit minus 1. It should be used to check > the eventid when a MAPTI command is issued on a device. Let's > store the number of eventid bits in the its_device and do the > check on MAPTI. Also make sure the ITT size field does > not exceed the GITS_TYPER IDBITS field. > > Signed-off-by: Eric Auger Tested-by: Prakash, Brahmajyosyula From mboxrd@z Thu Jan 1 00:00:00 1970 From: bjsprakash.linux@gmail.com (Prakash B) Date: Wed, 26 Apr 2017 16:58:29 +0530 Subject: [PATCH v5 11/22] KVM: arm64: vgic-its: Interpret MAPD Size field and check related errors In-Reply-To: <1492164934-988-12-git-send-email-eric.auger@redhat.com> References: <1492164934-988-1-git-send-email-eric.auger@redhat.com> <1492164934-988-12-git-send-email-eric.auger@redhat.com> Message-ID: To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Fri, Apr 14, 2017 at 3:45 PM, Eric Auger wrote: > Up to now the MAPD's ITT size field has been ignored. It encodes > the number of eventid bit minus 1. It should be used to check > the eventid when a MAPTI command is issued on a device. Let's > store the number of eventid bits in the its_device and do the > check on MAPTI. Also make sure the ITT size field does > not exceed the GITS_TYPER IDBITS field. > > Signed-off-by: Eric Auger Tested-by: Prakash, Brahmajyosyula