From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.1 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A07C4C47404 for ; Wed, 9 Oct 2019 16:01:37 +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 68ACB20679 for ; Wed, 9 Oct 2019 16:01:37 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="s7QgXkEq" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 68ACB20679 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:51874 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iIEPA-0001QV-DU for qemu-devel@archiver.kernel.org; Wed, 09 Oct 2019 12:01:36 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45754) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iI1tL-0001lf-OY for qemu-devel@nongnu.org; Tue, 08 Oct 2019 22:39:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iI1Mh-0003We-EH for qemu-devel@nongnu.org; Tue, 08 Oct 2019 22:06:12 -0400 Received: from mail-yw1-xc44.google.com ([2607:f8b0:4864:20::c44]:45396) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iI1Mh-0003WG-9V for qemu-devel@nongnu.org; Tue, 08 Oct 2019 22:06:11 -0400 Received: by mail-yw1-xc44.google.com with SMTP id x65so225489ywf.12 for ; Tue, 08 Oct 2019 19:06:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=subject:to:cc:references:from:openpgp:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=JOJE61qMJjGlQtnnZ9I+alSujAAfTQcuSsTU4Qnd/4M=; b=s7QgXkEqmu1LXeQSwhUTTBYQL3CIDy+O93KIo0AQLTzd6bMKYy94rgF7HiEPiGazmV pAWibFl4h16wrsECrWfQHr9EeGZUM0fxUuWQgFm2d6lhX7D+pJnB426LLcyTG5pSEiQf 46iWVoBOvZnNy6OAC16DVztlV7JUBgjqD1uCk4/qVAe7oSQmLgnhN/1DWx8ISQICNBq+ VJWy6SIO4FDWfd98WxlfKzZ4n3gQ/oqTm5hJDs5UNPGAeOFxsZsmjEtwCRF/pe0spvtp LPM366mBETa+2m1ceoT4MHWJmkDAaMFDx7j2TOJ55uIiv7YvECYKoaaZbtl4Bl3XocCM 9a2A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:openpgp:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=JOJE61qMJjGlQtnnZ9I+alSujAAfTQcuSsTU4Qnd/4M=; b=fomFshHWTwl8H0cFHeH3hK6+q7oQrJwIxtzvzYMjwtlPkRq3wjygHhc4PTqPP380hA ytseNdWqzD6XCjzWw6H7KCEk3+PMPpNu7bTsVn0JUwfxZ87onNvZ+ib/jj6tCzaQqMGg g8TuvFizz5fbXcnPRO40H8c/y8nRz1DCazYhE3zZbkPO/UXm/4KACeqVXu2uRwsuCdoe /yUn0Jitt1MfplQlVxGW0fbeKPlvWNgNgEEQA1CBLNIgEPeW0pEX52E/EEiDpCdY1S3A NFSgqZlrytsxlufn8xrBURFVxDRKAoPf2rjcEcGipFF4D/4lYWFxw2GU7zxWbRmPKUor 8wJw== X-Gm-Message-State: APjAAAXFlQmJ4+VvNxUSAKyUTdrW3QuKqiw15TCzvOrIp716mOcGKfi7 P7f/dR/STfVooAnoIYuiUt5Zr5HBei8= X-Google-Smtp-Source: APXvYqyWEs/+xSnxgvRcXj274kwfnHAFNyvfwESpe6xQ8g+/ETjMGPONnR9DoxnUGznYtO4RgvzOGg== X-Received: by 2002:a81:49ca:: with SMTP id w193mr1043470ywa.431.1570586770711; Tue, 08 Oct 2019 19:06:10 -0700 (PDT) Received: from [192.168.1.44] (67.216.144.16.pool.hargray.net. [67.216.144.16]) by smtp.gmail.com with ESMTPSA id 83sm253527ywd.51.2019.10.08.19.05.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 08 Oct 2019 19:06:09 -0700 (PDT) Subject: Re: [PATCH v2 19/21] hw/timer/mss-timerc: Switch to transaction-based ptimer API To: Peter Maydell , qemu-arm@nongnu.org, qemu-devel@nongnu.org References: <20191008171740.9679-1-peter.maydell@linaro.org> <20191008171740.9679-20-peter.maydell@linaro.org> From: Richard Henderson Openpgp: preference=signencrypt Message-ID: Date: Tue, 8 Oct 2019 22:05:38 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <20191008171740.9679-20-peter.maydell@linaro.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::c44 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: Paolo Bonzini , =?UTF-8?Q?Philippe_Mathieu-Daud=c3=a9?= Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" On 10/8/19 1:17 PM, Peter Maydell wrote: > Switch the mss-timer code away from bottom-half based ptimers to > the new transaction-based ptimer API. This just requires adding > begin/commit calls around the various places that modify the ptimer > state, and using the new ptimer_init() function to create the timer. > > Signed-off-by: Peter Maydell > --- > include/hw/timer/mss-timer.h | 1 - > hw/timer/mss-timer.c | 11 ++++++++--- > 2 files changed, 8 insertions(+), 4 deletions(-) Reviewed-by: Richard Henderson r~