Received: by 2002:a19:ee17:0:0:0:0:0 with SMTP id g23csp216929lfb; Thu, 21 Jan 2021 12:30:52 -0800 (PST) X-Google-Smtp-Source: ABdhPJwwWuE98nT5vFT0mZEob5QasKtEEL6OkUNRrRgDFl03eCFvq4VZcUVtSXusq0ddyjiq3Kof X-Received: by 2002:a5b:4c3:: with SMTP id u3mr1575483ybp.261.1611261052520; Thu, 21 Jan 2021 12:30:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611261052; cv=none; d=google.com; s=arc-20160816; b=C6cBDKNbPwxuqxEi3eXJi9MKEYsINZ94WxCFUzdpSvwvgZZ2+Gn4PczdVpk4n0lHie GmZW4HSQjLnnSXxsoEA0R39TRibPLC8i57LU0do5pojCPigXiFeuLXoJTb8p7Bv/mm+H FKUU6J/0Bdhi7kNeEjYuiMVRsnoh2no07M+c2dnAOY9wq11IucgAoTlYRBjISgDfUwoy CxIB/jZ70NMwHMB9STpGwi2ZjO9sc3wEqKwidRhVMF6FMqIYJDKhhJLRpnsuJWTVbdgz bZ2ihHw8pD7v6ENEBi23MLjSSgF2oEhKKj+wuiIGTHfg4eH5cOJW94M9rUBd8pXFEim8 KN3w== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:to:subject:dkim-signature; bh=fjpwmmROr2uPaXVHrxB53gZ6I7CkzrjK2iZvLXPSC3o=; b=U74u8mn0vQ49EiakEkgxEyY7z7KNhGeTjd6CA6S7AgeXdzxP24/81mBVqoseavlPI7 J2EMT+/jOHt3jrpjbcr8bJwj2Txd4aaPK3S8KU+C/UGL4pQgQuo1VALVh+twhvUYPGn/ qbdP1kiHLQRKkUJl2JZyuB1bpTfi4lnXY5gkpo6159zAaRTppBkC48n5Iwx9CF/HbroD 2xLUkveE+3HoihmIgzrtcrNaoMl3LUwGHkgc2GY6vopMCmul7SL9MIVBUzfly72tdEj3 5tP2rVSu83BRNfd5wp0M/pD6sZNZag8Foq5HERAuh28EM67GBrs0serRsIgBcuAt/ztq kgLA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=EggsfCnJ; spf=pass (google.com: domain of qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=amsat.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id r2si5171954ybj.185.2021.01.21.12.30.52 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 21 Jan 2021 12:30:52 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=EggsfCnJ; spf=pass (google.com: domain of qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=amsat.org Received: from localhost ([::1]:33094 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l2gbT-0004l3-Pg for alex.bennee@linaro.org; Thu, 21 Jan 2021 15:30:51 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:46208) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l2gau-0004j1-KH; Thu, 21 Jan 2021 15:30:18 -0500 Received: from mail-ed1-x52f.google.com ([2a00:1450:4864:20::52f]:42717) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l2gas-0008JK-S1; Thu, 21 Jan 2021 15:30:16 -0500 Received: by mail-ed1-x52f.google.com with SMTP id g24so4033643edw.9; Thu, 21 Jan 2021 12:30:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=fjpwmmROr2uPaXVHrxB53gZ6I7CkzrjK2iZvLXPSC3o=; b=EggsfCnJ2h9eEMQJm3YaDhJGz0bVU7G9ewGGOil5MEP39+8o7FQLF4mkMDpCTofq3p frtF0L9ruDb8gJl3DdrAm3jrHuR31Hi1JOeKByxrcp72A0eszIgMLSy3VzKDIkZie0Zn zAJ/Dkc8jMMSFg+QiQWwFTBxAeQExvk2Ufp1pkXFmBlM4gIda/6f/+43wqJG1hFsdkcG v4F7IdSsJo5WhhipgLda+C0ti+efjorFbvxDLaEoTHG0/izAMEx8Z7Tir6fx9RZcAE2a HbSdxkImRbZjC11G/7/A+LxOE2qGnSu9oMAM3T5jhWvrS5+UIKnd3eOK6U9n0SXoBRv0 slew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=fjpwmmROr2uPaXVHrxB53gZ6I7CkzrjK2iZvLXPSC3o=; b=DCsoBvmLmQcx5xwtE22vOeniLkECimN/XL5j2AgagIsBCCmGTCNDH+8r35MFKo4KJd LIkcR3VARhfGlQ4+I3jwIYLfBmL2qwnbc/rgWrok5fJ/HDuf56OgdpYpYchuRpcg3Omb lFyFu2fiCGGVIJkDQcKRUjm9nE9MrPKqRJ+3RdLMWboCyrv0vWuISAgPxMc0Aff4BMFZ z0tfNqF5XPM4ckcUlw5Zk55qNtIVQQU8/yskUEd8Az3/opJ0kiee1qzXZ+F/cbMdd38p tUICyWUVUIQOeKFIgLPmZVxFRc7+RDU5OAYYb2VdFVGDf2uhdgpFtgvdvIfqI0C5jGdd kt+g== X-Gm-Message-State: AOAM531fsnKBreBAqRR/XmmSlzTMw7GnT4PeA+9P1/ySfDgMZnFwZEgn UUS0lei+vd1BTRgKGFkNOWk= X-Received: by 2002:a50:8757:: with SMTP id 23mr715300edv.294.1611261013355; Thu, 21 Jan 2021 12:30:13 -0800 (PST) Received: from [192.168.1.36] (13.red-83-57-169.dynamicip.rima-tde.net. [83.57.169.13]) by smtp.gmail.com with ESMTPSA id j23sm3386245edv.45.2021.01.21.12.30.12 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 21 Jan 2021 12:30:12 -0800 (PST) Subject: Re: [PATCH 11/25] hw/arm/armsse: Wire up clocks To: Peter Maydell , qemu-arm@nongnu.org, qemu-devel@nongnu.org References: <20210121190622.22000-1-peter.maydell@linaro.org> <20210121190622.22000-12-peter.maydell@linaro.org> From: =?UTF-8?Q?Philippe_Mathieu-Daud=c3=a9?= Message-ID: <9554cdbb-e00c-7470-9323-acf24d7b99b1@amsat.org> Date: Thu, 21 Jan 2021 21:30:11 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 MIME-Version: 1.0 In-Reply-To: <20210121190622.22000-12-peter.maydell@linaro.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::52f; envelope-from=philippe.mathieu.daude@gmail.com; helo=mail-ed1-x52f.google.com X-Spam_score_int: -14 X-Spam_score: -1.5 X-Spam_bar: - X-Spam_report: (-1.5 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-arm@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Damien Hedde , Luc Michel Errors-To: qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org Sender: "Qemu-arm" X-TUID: 66Nz4GhxGCFA On 1/21/21 8:06 PM, Peter Maydell wrote: > Create two input clocks on the ARMSSE devices, one for the normal > MAINCLK, and one for the 32KHz S32KCLK, and wire these up to the > appropriate devices. The old property-based clock frequency setting > will remain in place until conversion is complete. > > This is a migration compatibility break for machines mps2-an505, > mps2-an521, musca-a, musca-b1. > > Signed-off-by: Peter Maydell > --- > include/hw/arm/armsse.h | 6 ++++++ > hw/arm/armsse.c | 17 +++++++++++++++-- > 2 files changed, 21 insertions(+), 2 deletions(-) Reviewed-by: Philippe Mathieu-Daudé