From patchwork Fri Jun 29 00:15:35 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 140485 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp197189ljj; Thu, 28 Jun 2018 17:16:17 -0700 (PDT) X-Google-Smtp-Source: AAOMgpeCTYI9u1C1xO1roleARTvlzTRYuJs0TlYYDeFSDzwhCqvj2lUBTIXBLAsOTaN+vJP1irC3 X-Received: by 2002:ac8:3a64:: with SMTP id w91-v6mr11452640qte.88.1530231377125; Thu, 28 Jun 2018 17:16:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530231377; cv=none; d=google.com; s=arc-20160816; b=gO2T5nJIucwZ3lRJd9uhbVJdV1mL4AzN9GC7QcscgeNkD7bw78hBowScQgTTr799WM VrIRIaxzHin82S7z/A2X/Ew+a1ZQJBhV9is+efqYdnSlwM1y9N5JmtxyrL+92gwWO0KB fVrMX73aGzrl6WvTQ6s6DUmOmp8O0Knp6i5vO0iDD3TJ/JA0F0C0P+Kfzqn66oiAZAEr qfN4MHfrlQ6nHkA4AifITQj0OcvieHxa1/CiqxcT9NTpTyTzi4i5QRvbhZ4oD2aHv1RU 6FuQ+Pz1UA8vnmZlKMwv/3ucBhn0txEciF95m8LBXWpqWSlcQwNad50jxAZHUjNxAlUN QZRQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:references:in-reply-to :message-id:date:to:from:dkim-signature:arc-authentication-results; bh=aIqsOu2TjX3ToM1uKZUQ3z3HkuGStyywZKhiXfkMdBY=; b=IecqUjjsIzCrvwNMBEOqO8tOEZd/aqQtvhwXp0ENaKBuZkoGQToAFfaS9PxMfKYZXl jjWX0kFN8Su2rn8A+WawyVqm2jgtQ1sLifwkwc1QaLjtaivoufkF+cdlQjasJTzQ7fGN DW32gax8tfiNyo/P8txkx2aNUHFftBJhhfb6BwzeStB//NhDeokQRqoJjF5xBzDgAIBI FaCJCaEYbJOcjLibAyfD3PzQUgNGBOJcMRWknuf35kTN83ZgUai+f/bACvGJHEo+W+ki gEW4u8WiXLRZbif0aykYUAMh1vux5GNUxVqH+nEvO8vynpD7Qtxz/C0IaPH2eCA6XIar p29A== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=JjAqTkjL; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id d11-v6si145236qvj.230.2018.06.28.17.16.16 for (version=TLS1 cipher=AES128-SHA bits=128/128); Thu, 28 Jun 2018 17:16:17 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=JjAqTkjL; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:39235 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fYh5E-00042V-Fu for patch@linaro.org; Thu, 28 Jun 2018 20:16:16 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41391) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fYh4l-00041X-2p for qemu-devel@nongnu.org; Thu, 28 Jun 2018 20:15:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fYh4k-0006g2-82 for qemu-devel@nongnu.org; Thu, 28 Jun 2018 20:15:47 -0400 Received: from mail-pl0-x242.google.com ([2607:f8b0:400e:c01::242]:33539) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fYh4k-0006fU-2y for qemu-devel@nongnu.org; Thu, 28 Jun 2018 20:15:46 -0400 Received: by mail-pl0-x242.google.com with SMTP id 6-v6so3556100plb.0 for ; Thu, 28 Jun 2018 17:15:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=aIqsOu2TjX3ToM1uKZUQ3z3HkuGStyywZKhiXfkMdBY=; b=JjAqTkjLmUdc/5NhpUJireUzNmEuW6SncLuNXFZkPOt8eXbbstkD4CLzC4arIHFcvs bnvYd3LZCVlqtMWzQ0nvs4Luvrn9Ib4IU/8fswA/raow+f4SBwB1iFdLW4nHI9qZoONG RL+4B6Pw+AcXKITCLT0V9HW3a0MGKaE+Qyb08= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=aIqsOu2TjX3ToM1uKZUQ3z3HkuGStyywZKhiXfkMdBY=; b=eJUmXABDnPhz/4VJIE2wv4tIoSkglDXf7YLjSyjr8s87VSpAA5xyWW/vwSseepiCwQ LD8VIF3Jg1JnECWazQ5nO2NecKqbjbKbjJyILhK8TBxIk+/x00InwKGzbHSXXLeTE7wh PKoFpjnicI+jQhLErrSuD5RpmryAm5BFLcb/dnVBennBnzjbT/2Scj3KJMWEmrQa5qBy yrfH89BSAB4Z2nLGYShw/mnFCOWb1/yh82tcLS2Fe5zUmQPfx4aMhn8ypEb3uRQiDZ1z epKSko7KTnKu7kbolkxUIfGTZKu1Ui4pCvRMNJZ0zHz7Z3BpB60tKr2gjuma81MLHa8x BG7g== X-Gm-Message-State: APt69E0+NJmBt71pW+rs/Nlcqg9+e7YW1dLqtSf8smgFGWrcWsNjzrgH OAE5eJSdMd3cSwr4dj7Bazw6bEL489w= X-Received: by 2002:a17:902:2927:: with SMTP id g36-v6mr12350163plb.303.1530231344951; Thu, 28 Jun 2018 17:15:44 -0700 (PDT) Received: from cloudburst.twiddle.net (97-126-112-211.tukw.qwest.net. [97.126.112.211]) by smtp.gmail.com with ESMTPSA id j3-v6sm11687618pff.35.2018.06.28.17.15.43 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 28 Jun 2018 17:15:44 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Date: Thu, 28 Jun 2018 17:15:35 -0700 Message-Id: <20180629001538.11415-4-richard.henderson@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180629001538.11415-1-richard.henderson@linaro.org> References: <20180629001538.11415-1-richard.henderson@linaro.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400e:c01::242 Subject: [Qemu-devel] [PATCH 3/6] target/arm: Prune a57 features from max X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: peter.maydell@linaro.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" There is no need to re-set these 9 features already implied by the call to aarch64_a57_initfn. Signed-off-by: Richard Henderson --- target/arm/cpu64.c | 9 --------- 1 file changed, 9 deletions(-) -- 2.17.1 Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Peter Maydell diff --git a/target/arm/cpu64.c b/target/arm/cpu64.c index 3b4bc73ffa..8040493d5c 100644 --- a/target/arm/cpu64.c +++ b/target/arm/cpu64.c @@ -235,19 +235,10 @@ static void aarch64_max_initfn(Object *obj) * whereas the architecture requires them to be present in both if * present in either. */ - set_feature(&cpu->env, ARM_FEATURE_V8); - set_feature(&cpu->env, ARM_FEATURE_VFP4); - set_feature(&cpu->env, ARM_FEATURE_NEON); - set_feature(&cpu->env, ARM_FEATURE_AARCH64); - set_feature(&cpu->env, ARM_FEATURE_V8_AES); - set_feature(&cpu->env, ARM_FEATURE_V8_SHA1); - set_feature(&cpu->env, ARM_FEATURE_V8_SHA256); set_feature(&cpu->env, ARM_FEATURE_V8_SHA512); set_feature(&cpu->env, ARM_FEATURE_V8_SHA3); set_feature(&cpu->env, ARM_FEATURE_V8_SM3); set_feature(&cpu->env, ARM_FEATURE_V8_SM4); - set_feature(&cpu->env, ARM_FEATURE_V8_PMULL); - set_feature(&cpu->env, ARM_FEATURE_CRC); set_feature(&cpu->env, ARM_FEATURE_V8_ATOMICS); set_feature(&cpu->env, ARM_FEATURE_V8_RDM); set_feature(&cpu->env, ARM_FEATURE_V8_DOTPROD);