From patchwork Thu Feb 11 12:36:38 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcin Juszkiewicz X-Patchwork-Id: 380935 Delivered-To: patch@linaro.org Received: by 2002:a02:b18a:0:0:0:0:0 with SMTP id t10csp2040282jah; Thu, 11 Feb 2021 04:49:28 -0800 (PST) X-Google-Smtp-Source: ABdhPJzCXLqBodaGQuE112oNoGMpGTpeAOH333Bbm1PkowtDCNuMpxHyfO2/Ug7/bwlKDeFKGxuT X-Received: by 2002:a25:442:: with SMTP id 63mr11479475ybe.131.1613047768042; Thu, 11 Feb 2021 04:49:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613047768; cv=none; d=google.com; s=arc-20160816; b=Ig+TkdxJUoroPRqg4hdFEKWCcxpCpqRj+e1Xgbp/ADXiu9D7RVrYD6JwbcQslb1hdw qY2PbnK6WSni3DtjAw9kDNzZBJie0Lr8homVP+DYVgUMygldUFzi0mD2NobyWHIoglzl bRN80eFDCm+JsbPDCjiZQFwy9d8QJI8Ove4j++As1rEtxtWopYFVFZp3R5RbVwN+4/Ta utqbmNpXGzFvRgz6U3tzRtPf3x6YUaI4RXxGeJUWCbEJQpZ9dYF+4kypf68gFElmTmTB 8VGHqcv2z2flcMvQ8lddg8QONMwIswpe26HPtq4WqAw14MuI5MYTrRhc2quj9zVGOwI6 mpAw== 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:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from; bh=9/wjlcwEeuiTWAdtekuNdjPU5xcMSfyDpFRfiCsZ7FU=; b=WL9aiq/WaDayEeHWz6nKFD39GX+5dh9eoEB/l+C22B2p62BvFAbBmXF6sSMDwBLR9j ez/pYAiF6LTg+iPNNln1yVrbXUNCC/kDkgKOkJcv+iay6Vkiw2OtPc07QIyXBFms4pFn Wtl6fjXGRtCOIGmEsTOiAgvhltE6UBiz3n2OP137v9GM9TA22Gp/ZJtdy3O2eQ8tvKMI l7uQNtxKiVpz+l6tAEhOYO8zHudC8Js04Ubp3ACysjRLjVv4HwIHtPRtCzj/roo4sEvz rSmshT2zNqKf3DTeK3mTQE+ggakFnQI7caqVoiJGvbWmTewBpM/F0KQ/WAzHRew93xe+ NdEg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 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. [209.51.188.17]) by mx.google.com with ESMTPS id a8si4756406ybn.409.2021.02.11.04.49.27 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 11 Feb 2021 04:49:28 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 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]:40678 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lABPT-0007W6-Jb for patch@linaro.org; Thu, 11 Feb 2021 07:49:27 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:56290) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lABDJ-0005Gs-Vd; Thu, 11 Feb 2021 07:36:53 -0500 Received: from muminek.juszkiewicz.com.pl ([2001:41d0:1:43dd::1]:38580) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lABDH-0007Zt-5U; Thu, 11 Feb 2021 07:36:52 -0500 Received: from localhost (localhost [127.0.0.1]) by muminek.juszkiewicz.com.pl (Postfix) with ESMTP id D49CC26026D; Thu, 11 Feb 2021 13:36:47 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at juszkiewicz.com.pl Received: from muminek.juszkiewicz.com.pl ([127.0.0.1]) by localhost (muminek.juszkiewicz.com.pl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XM36w5xa23ry; Thu, 11 Feb 2021 13:36:45 +0100 (CET) Received: from puchatek.lan (89-67-26-161.dynamic.chello.pl [89.67.26.161]) by muminek.juszkiewicz.com.pl (Postfix) with ESMTPSA id 567FE26026A; Thu, 11 Feb 2021 13:36:45 +0100 (CET) From: Marcin Juszkiewicz To: qemu-arm@nongnu.org Subject: [PATCH 2/2] sbsa-ref: add 'max' to list of allowed cpus Date: Thu, 11 Feb 2021 13:36:38 +0100 Message-Id: <20210211123638.1820482-2-marcin.juszkiewicz@linaro.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210211123638.1820482-1-marcin.juszkiewicz@linaro.org> References: <20210211122022.1811362-1-marcin.juszkiewicz@linaro.org> <20210211123638.1820482-1-marcin.juszkiewicz@linaro.org> MIME-Version: 1.0 Received-SPF: softfail client-ip=2001:41d0:1:43dd::1; envelope-from=marcin.juszkiewicz@linaro.org; helo=muminek.juszkiewicz.com.pl X-Spam_score_int: -11 X-Spam_score: -1.2 X-Spam_bar: - X-Spam_report: (-1.2 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_SOFTFAIL=0.665 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Marcin Juszkiewicz , Peter Maydell , Leif Lindholm , =?utf-8?q?Rados=C5=82aw_Biernacki?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Let add 'max' cpu while work goes on adding newer CPU types than Cortex-A72. This allows us to check SVE etc support. Signed-off-by: Marcin Juszkiewicz --- hw/arm/sbsa-ref.c | 1 + 1 file changed, 1 insertion(+) -- 2.29.2 Acked-by: Leif Lindholm diff --git hw/arm/sbsa-ref.c hw/arm/sbsa-ref.c index 276243d122..88dfb2284c 100644 --- hw/arm/sbsa-ref.c +++ hw/arm/sbsa-ref.c @@ -147,6 +147,7 @@ static const int sbsa_ref_irqmap[] = { static const char * const valid_cpus[] = { ARM_CPU_TYPE_NAME("cortex-a57"), ARM_CPU_TYPE_NAME("cortex-a72"), + ARM_CPU_TYPE_NAME("max"), }; static bool cpu_type_valid(const char *cpu)