From patchwork Tue Feb 16 15:01:22 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Marcin Juszkiewicz X-Patchwork-Id: 383303 Delivered-To: patch@linaro.org Received: by 2002:a02:c80e:0:0:0:0:0 with SMTP id p14csp2031896jao; Tue, 16 Feb 2021 07:04:06 -0800 (PST) X-Google-Smtp-Source: ABdhPJyw1zeyF6YcITuxKv8njW3qTYAzp7uYIBmBqEo7Ide5bZle59w7rJFFPt3MeVFWqtigUqrE X-Received: by 2002:a25:4ce:: with SMTP id 197mr19949145ybe.462.1613487846280; Tue, 16 Feb 2021 07:04:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613487846; cv=none; d=google.com; s=arc-20160816; b=ow1ZAGiK06aMonkhnlxa/ZvKvPlx3tHTqsd09GNrIKM/JFKACXdGFvdpzZ0t8rxwQ5 Li8E1NDrFg3jSm3kZH9yBavTNTGLyVLOGfw0CmS9fym9A3z8sgvrfmXRIbH6B+YC0WhR LoUzkGwT3tbd3SngiqoBq3vgVxsXdXybE1U0YCZ3pWHe4uGnzZLm1s/ZLKmicePywu2g SiPTO8cqfffHfFON+pTttGX08jUPY+BEuwDWStBZ9h9iRwgsLEWyV5mkxzZG4n/o/Pfh jtKZ5PfgbStlsPEJjfjZD8DrEUq+jdkzA3hGyBy8JC7GnlSYVs51S3YN1lpYln+iLg3p O+JQ== 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=b597akP+FG6Jg1mtFATlfY1D2ZSaA64KpWnJTOcwNR4=; b=Y/JKih8vffAU/GJ0ubua52ZOrL79C+7ELI5Qg7LPver2PeMAWZWflDT4xKxcRAi2dr yZMYJgtdrUx4CotJK0110JNue1I+DVOGguyKRhu+2M2n8fn9FgWA2+BrC3xEJmLUfrcT npjBSToQd8qSVFudH+V7uJQbQSDVe0Puk2+IAIE5EZ2FUk0xYksWqLCTel++zKzpNk5+ 5ankzqvL/zEVeiAyZ73zDCnVprWnQ6bmSVfSLxWr6bOFVWH4zIFuFkhixCwH6NlYOn5b 0Y8UDGpvjfhDAD13DR9+rtpJ9htp0sptXY9ffhIs1tP3u9J370avpynXsrPfvUSPo2VI K3Sg== 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 x1si6829074ybk.342.2021.02.16.07.04.06 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 16 Feb 2021 07:04:06 -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]:50184 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lC1tV-0003Rj-PN for patch@linaro.org; Tue, 16 Feb 2021 10:04:05 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:41586) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lC1rI-0002f6-TW; Tue, 16 Feb 2021 10:01:48 -0500 Received: from muminek.juszkiewicz.com.pl ([213.251.184.221]:53102) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lC1rH-00069o-4r; Tue, 16 Feb 2021 10:01:48 -0500 Received: from localhost (localhost [127.0.0.1]) by muminek.juszkiewicz.com.pl (Postfix) with ESMTP id 6FAC5260131; Tue, 16 Feb 2021 16:01:45 +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 1EOdz1Zsqwzl; Tue, 16 Feb 2021 16:01:42 +0100 (CET) Received: from puchatek.com (89-67-26-161.dynamic.chello.pl [89.67.26.161]) by muminek.juszkiewicz.com.pl (Postfix) with ESMTPSA id CFCBA26072F; Tue, 16 Feb 2021 16:01:41 +0100 (CET) From: Marcin Juszkiewicz To: qemu-arm@nongnu.org Subject: [PATCH v3 2/2] sbsa-ref: add 'max' to list of allowed cpus Date: Tue, 16 Feb 2021 16:01:22 +0100 Message-Id: <20210216150122.3830863-3-marcin.juszkiewicz@linaro.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210216150122.3830863-1-marcin.juszkiewicz@linaro.org> References: <20210216150122.3830863-1-marcin.juszkiewicz@linaro.org> MIME-Version: 1.0 Received-SPF: softfail client-ip=213.251.184.221; 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 Acked-by: Leif Lindholm --- hw/arm/sbsa-ref.c | 1 + 1 file changed, 1 insertion(+) -- 2.29.2 Reviewed-by: Philippe Mathieu-Daudé 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)