From patchwork Tue Dec 3 04:14:40 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Andrew Jeffery X-Patchwork-Id: 11270417 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 83708930 for ; Tue, 3 Dec 2019 04:15:14 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 59652206E0 for ; Tue, 3 Dec 2019 04:15:14 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=aj.id.au header.i=@aj.id.au header.b="R3M6lwnr"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="cyNocwe7" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 59652206E0 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=aj.id.au Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Received: from localhost ([::1]:48220 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ibzaj-0007ge-4j for patchwork-qemu-devel@patchwork.kernel.org; Mon, 02 Dec 2019 23:15:13 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:34937) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ibzZE-0005qT-UU for qemu-devel@nongnu.org; Mon, 02 Dec 2019 23:13:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ibzZC-0001QM-5M for qemu-devel@nongnu.org; Mon, 02 Dec 2019 23:13:40 -0500 Received: from wout1-smtp.messagingengine.com ([64.147.123.24]:43443) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ibzZ5-0001Hr-T9; Mon, 02 Dec 2019 23:13:32 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 1032FC28; Mon, 2 Dec 2019 23:13:29 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Mon, 02 Dec 2019 23:13:29 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aj.id.au; h=from :to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; s=fm1; bh= 8MgJM3J3IhBnKwFW2SJqSeqOlRczVQkkEIqpATcIvsU=; b=R3M6lwnrDWJz4HEf xRcLyRZFSLtXks4a8rzJLzRGVlwlDWKziNcdMlodCGJarTDja8PE2Jo+zLSdT340 CybYogFCKMxhS0rU2Qz4oRb3AT7DBH2hfI9ITKJDwHAI46wNsq5J9yCpCoNh4d2y jzhoB7u3iIyHTXfNpzQVuWdjm8snGGvl1670zpxgots1GwzJVaI0XqiVFc5fzb8B kveXTIREuuAo39e4SKQmVF7BzWUKAOH5isxvMxVzmlMVe5IUF26QjZySKlCVKNi0 DqqZMSfXAYz/2ievqBSlBfdfnmZyKjjobZsz3qqYWKjps8Ak4JJeoON5XA3yOmLl e3okGQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=8MgJM3J3IhBnKwFW2SJqSeqOlRczVQkkEIqpATcIv sU=; b=cyNocwe7zRRg7qZyoqiApGhSHGuY20krC3YrzXePhcacMw4HwHcWon66Y dzF6kUXex/fg0qJNEmkzJaJaCaYTRe2dlgyykFH0uODVkwUV5q3N7w/9orfwNQYj tkwJarq4US3RmO99lsgB8coClH4jn2Y+mI/rB2+5svPllMz1pD0a42nkv0lGAAwr CeFZZS9HEw+ruTLUQpywWXETsqe+v3OtP9YMBjJz+8FdGgBm2hExYQfkj6VIJHnX hFBgObAZABLxXFKDXlUq5Klbg6pLHz6VsIGKaTy3wcJyW3nA6A3ot2BaNuWXtC0a sGyPMrTXWkXbge+dbgcLo47U/P9yw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrudejiedgieeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkffojghfgggtgfesthekredtredtjeenucfhrhhomheptehnughr vgifucflvghffhgvrhihuceorghnughrvgifsegrjhdrihgurdgruheqnecukfhppedvtd dvrdekuddrudekrdeftdenucfrrghrrghmpehmrghilhhfrhhomheprghnughrvgifsegr jhdrihgurdgruhenucevlhhushhtvghrufhiiigvpedu X-ME-Proxy: Received: from mistburn.au.ibm.com (bh02i525f01.au.ibm.com [202.81.18.30]) by mail.messagingengine.com (Postfix) with ESMTPA id 03FB880060; Mon, 2 Dec 2019 23:13:25 -0500 (EST) From: Andrew Jeffery To: qemu-arm@nongnu.org Subject: [PATCH v2 4/4] ast2600: Configure CNTFRQ at 1125MHz Date: Tue, 3 Dec 2019 14:44:40 +1030 Message-Id: <20191203041440.6275-5-andrew@aj.id.au> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20191203041440.6275-1-andrew@aj.id.au> References: <20191203041440.6275-1-andrew@aj.id.au> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 64.147.123.24 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: qemu-devel@nongnu.org, peter.maydell@linaro.org, Richard Henderson , clg@kaod.org, joel@jms.id.au Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" This matches the configuration set by u-boot on the AST2600. Signed-off-by: Andrew Jeffery Reviewed-by: Richard Henderson Reviewed-by: Cédric Le Goater Reviewed-by: Philippe Mathieu-Daudé --- hw/arm/aspeed_ast2600.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hw/arm/aspeed_ast2600.c b/hw/arm/aspeed_ast2600.c index 931887ac681f..5aecc3b3caec 100644 --- a/hw/arm/aspeed_ast2600.c +++ b/hw/arm/aspeed_ast2600.c @@ -259,6 +259,9 @@ static void aspeed_soc_ast2600_realize(DeviceState *dev, Error **errp) object_property_set_int(OBJECT(&s->cpu[i]), aspeed_calc_affinity(i), "mp-affinity", &error_abort); + object_property_set_int(OBJECT(&s->cpu[i]), 1125000000, "cntfrq", + &error_abort); + /* * TODO: the secondary CPUs are started and a boot helper * is needed when using -kernel