From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59138) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e0PRj-0006a5-85 for qemu-devel@nongnu.org; Fri, 06 Oct 2017 06:01:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e0PRZ-0008I1-R0 for qemu-devel@nongnu.org; Fri, 06 Oct 2017 06:01:31 -0400 Received: from mx1.redhat.com ([209.132.183.28]:55230) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1e0PRZ-0008HO-Kj for qemu-devel@nongnu.org; Fri, 06 Oct 2017 06:01:21 -0400 From: Cornelia Huck Date: Fri, 6 Oct 2017 11:59:45 +0200 Message-Id: <20171006095956.27534-23-cohuck@redhat.com> In-Reply-To: <20171006095956.27534-1-cohuck@redhat.com> References: <20171006095956.27534-1-cohuck@redhat.com> Subject: [Qemu-devel] [PULL 22/33] s390x/cpumodel: fix max STFL(E) bit number List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: peter.maydell@linaro.org Cc: qemu-devel@nongnu.org, rth@twiddle.net, agraf@suse.de, thuth@redhat.com, borntraeger@de.ibm.com, david@redhat.com, Cornelia Huck From: David Hildenbrand Not that it would matter in the near future, but it is actually 2048 bytes, therefore 16384 possible bits. Reviewed-by: Christian Borntraeger Reviewed-by: Thomas Huth Signed-off-by: David Hildenbrand Message-Id: <20170928134609.16985-4-david@redhat.com> Signed-off-by: Cornelia Huck --- target/s390x/cpu_features.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/s390x/cpu_features.c b/target/s390x/cpu_features.c index 1d3a036393..31a4676f05 100644 --- a/target/s390x/cpu_features.c +++ b/target/s390x/cpu_features.c @@ -381,7 +381,7 @@ void s390_add_from_feat_block(S390FeatBitmap features, S390FeatType type, switch (type) { case S390_FEAT_TYPE_STFL: - nr_bits = 2048; + nr_bits = 16384; break; case S390_FEAT_TYPE_PLO: nr_bits = 256; -- 2.13.6