Received: by 2002:ac2:4c26:0:0:0:0:0 with SMTP id u6csp3255972lfq; Sat, 10 Oct 2020 08:44:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwbUuHOm915HmI8aSowBVh9SZdNUOG0gbUiHVPAPF0qjZqq/gA6T+i48YrKMxuoXa04Xy5K X-Received: by 2002:a5b:109:: with SMTP id 9mr23088912ybx.35.1602344691835; Sat, 10 Oct 2020 08:44:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602344691; cv=none; d=google.com; s=arc-20160816; b=oDuzqj1c3u3Jn9L6848wtOExRm8wgNA/0EB0qqjQtRi2sRZNczzPlW1gNH1aRleyli 2uBgxLB24kQyvDdsIy4Tr5BH/uuBcdEhzffPrZ7F3IPW7Eizy2NnaaR9cfJUCHche4Mc oOwmf3V+RelQ7oTcKMaduOXMc9GCJGDIpR5TNcimbAODdCMJVOx9cW2jNyMww6pFaxqc JK9TW0eGLnbNb5U/oQIGxIGQTnp61JTy6JMA9cveXr3sis0H1AfV09wWXd8/KDwxDkch uZt4tkX1wI2jDOhtJhRCDLr9DzAnsZNoCTRbN69/3BTlyhn7HfM930zOpD29BZyO6mmA 2pYw== 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:references:to:from:subject:dkim-signature; bh=4qMPhKMN+GYtgVaR7MAjuQFtHqQQ8jVSHZcM4SmpAF4=; b=HmtKewdMu6tSspYznHY3LMh0NMYQwdPCR5Qe2cjBL7gYjhhh96N+iQlocv6EcKg/bR dEmIIG5uzX04TBV3+Pex2Ea732vngalOF1gF/IKzSeUfzn24kbMZdlm9UkeFH/0NBIFC tjvb+Cf0JMDpg5Yf0Jh/r07+N+LYlnCD5knCn0axVgswiKQS4t+qIkEeJnVYT823JH9+ XTbCeOw5Qbfjh1KasUl/DMybBHULKl83biTmXySjY7sVaFtNGUyRTNBaU3Rvs9Vt4y5Y T1DN7CJIji6mmN0mN7HwYFYxg6laW3XGGuW5jcxmzZ+IkUNYa2bE6GsoM904UN0SAv4Y 8I0w== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=WczRigT+; 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 131si10287458ybt.108.2020.10.10.08.44.51 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sat, 10 Oct 2020 08:44:51 -0700 (PDT) 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=WczRigT+; 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]:54248 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kRH3D-0004Di-8e for alex.bennee@linaro.org; Sat, 10 Oct 2020 11:44:51 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38972) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kRH2z-0004D7-LS; Sat, 10 Oct 2020 11:44:37 -0400 Received: from mail-wr1-x442.google.com ([2a00:1450:4864:20::442]:43407) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kRH2x-00016h-Vj; Sat, 10 Oct 2020 11:44:37 -0400 Received: by mail-wr1-x442.google.com with SMTP id g12so13446985wrp.10; Sat, 10 Oct 2020 08:44:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:from:to:cc:references:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=4qMPhKMN+GYtgVaR7MAjuQFtHqQQ8jVSHZcM4SmpAF4=; b=WczRigT+uCn8EZ4EgR/+ESR6Yjy5TKK1aITte6jcvAENlqw8P3ezTPh9d+SWxSWwom VlQKpz1ijsgbh+DyjtgHrUWw+UtzxiAgWIWE6zhytY90bd3wnBKa0UEIEtnSn+HG8oqk dXlHrYQ9i8pOlPWOD4zty/8XAlZoXQdekTbzTWYC/fApL32VtnHO7LDgaoi2bZTN5xr0 fSmp6zMBqff/M6BbnvKVqftIkOzdCO+3hdL/Ri5BUl0aXI/Gmo+fmAt11+myvrdkI2z7 QuQRxFGLu+duJ7KCknuJjsi76vdKFbXlZFQYq9zI7zA4xMvcH6LOByrdhSB2BbgIQ4gP dHYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:from:to:cc:references:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=4qMPhKMN+GYtgVaR7MAjuQFtHqQQ8jVSHZcM4SmpAF4=; b=Tk8mZp8HIFSind+QSxzAtce6T32pcJDtEGQH6JUNfZtxdtpDvPSLBLWjnHDubgGnsL BEes9lF21ah5MIGnc2wqthq8I8HRiSZ7hzAcPZ/5sHAQoecOJtPBcTbrIMz9Qe6W23jv anynCqz6HFpOwoTGcbg5WlJI/iWzHGwMr/0cKiSfUcP6tat8LMe5UqQnqJMoGoqt76x/ VUySShuxs0NWcg3cwKf1iXjHih5aOLVyErkS83ZYtmWI/nG/+FLjXNk/HSv+bCtLz5CF khCjYKCSjcbrBIoeBsSCb5u7+mVbO0cktr7biPqimRsCzdyWYScShEVC8hsfG3T/5DCZ xV3Q== X-Gm-Message-State: AOAM532Kz+Zn91+ec3yQZLe9bGkOht6VAgAhANBRYwmHdOE0sa/yCoiF TS3GYLV2gd7kgcs7TOh42N8YXuy6jLg= X-Received: by 2002:a5d:4d10:: with SMTP id z16mr653732wrt.360.1602344673810; Sat, 10 Oct 2020 08:44:33 -0700 (PDT) Received: from [192.168.1.36] (106.red-83-59-162.dynamicip.rima-tde.net. [83.59.162.106]) by smtp.gmail.com with ESMTPSA id u17sm18084328wri.45.2020.10.10.08.44.32 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 10 Oct 2020 08:44:33 -0700 (PDT) Subject: Re: [PATCH v3 03/15] hw/core/clock: add the clock_new helper function From: =?UTF-8?Q?Philippe_Mathieu-Daud=c3=a9?= To: Luc Michel , qemu-devel@nongnu.org References: <20201010135759.437903-1-luc@lmichel.fr> <20201010135759.437903-4-luc@lmichel.fr> Message-ID: <1b60a39a-00a2-9f2a-e022-df1d468a90e6@amsat.org> Date: Sat, 10 Oct 2020 17:44:32 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.3.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::442; envelope-from=philippe.mathieu.daude@gmail.com; helo=mail-wr1-x442.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -19 X-Spam_score: -2.0 X-Spam_bar: -- X-Spam_report: (-2.0 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, NICE_REPLY_A=-0.207, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham 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 , Peter Maydell , Havard Skinnemoen , Andrew Baumann , Paul Zimmerman , Niek Linnenbank , qemu-arm@nongnu.org Errors-To: qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org Sender: "Qemu-arm" X-TUID: DHtpHyIUwL0m On 10/10/20 5:17 PM, Philippe Mathieu-Daudé wrote: > On 10/10/20 3:57 PM, Luc Michel wrote: >> This function creates a clock and parents it to another object with a >> given >> name. It calls clock_setup_canonical_path before returning the new >> clock. >> >> This function is useful to create clocks in devices when one doesn't >> want to expose it at the qdev level (as an input or an output). >> >> Suggested-by: Philippe Mathieu-Daudé >> Signed-off-by: Luc Michel >> --- >>   include/hw/clock.h | 13 +++++++++++++ >>   hw/core/clock.c    | 15 +++++++++++++++ >>   2 files changed, 28 insertions(+) > > Reviewed-by: Philippe Mathieu-Daudé Tested-by: Philippe Mathieu-Daudé