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.0 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,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 AF4BEC47404 for ; Wed, 9 Oct 2019 16:11:08 +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 7393B218DE for ; Wed, 9 Oct 2019 16:11:08 +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="qYkgqB3p" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7393B218DE 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]:52012 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iIEYM-0001Nz-Re for qemu-devel@archiver.kernel.org; Wed, 09 Oct 2019 12:11:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45638) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iI1tV-0001hy-WE for qemu-devel@nongnu.org; Tue, 08 Oct 2019 22:40:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iI1HP-0006y9-OG for qemu-devel@nongnu.org; Tue, 08 Oct 2019 22:00:44 -0400 Received: from mail-yw1-xc44.google.com ([2607:f8b0:4864:20::c44]:44508) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iI1HP-0006xq-J7 for qemu-devel@nongnu.org; Tue, 08 Oct 2019 22:00:43 -0400 Received: by mail-yw1-xc44.google.com with SMTP id m13so223431ywa.11 for ; Tue, 08 Oct 2019 19:00:43 -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=8t7Tp0FgRe/wzs246savUN9OVacV+iRLVyeha9N2MLI=; b=qYkgqB3pSI08zesmoxD7JBTYJY0XZcWpHtYkh4/i3uZzfXA6wNTw2egl5uI2WEqxbs YkqPTTzpzQxTQ00AdwtjyNOZ+D8ztcelivXbHbQPfJou1PFuDfjh8miPEZE6DYNAAEwJ X7L6+QTMLEBQW/QzqpZXn1l9baqeAd7+cQH4ygO+31hA2Us7CNTI0IqZ0uvQtohuqXJs K5KyUpJiqS+/Nll598eehxcTaEehO9ic3NfDm6HeR6iMIbnwVTcORFDL+2mIKtwh6Q5M e0EIMsVx9lKJX+YXIuf0C/y5CdlQ8DoozqZbto3vc2bgp1wD3Tk39368epbnh2UrBK71 UiaQ== 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=8t7Tp0FgRe/wzs246savUN9OVacV+iRLVyeha9N2MLI=; b=nDD4CFvtcCl8RiZU64bCtK3gTy3tFBnQbEVUsS74P9COOWlKhPQ26Yc5ss3XE3GbuN OtFQyD5SYxSFo6MDlyv/SSDgwqYPCifjBEyZD/lDlmMirnBbEJ+B7dWPFMESrAKrWD4R 3rL1LGggujRG7t5qZh4VVkXxdZGk8hmXygVlOJGGB9lCdhzOMUhVZVxr4O6iMdVCxua8 C3Zn9aqvMIqbYIWjNW6KK+JFDYrWMvbw0nAzDUj++5hqFZy8tJqXtwejKIiTcY4uRpTL 6T98Z5n22QytGMO6JGBMLfdmhO7YX0pI8V/lJ8oFTS6Q5umfPqj8ZlSDpwBtgak1lJ5y Oa8Q== X-Gm-Message-State: APjAAAU1SqXGAPA4MNL9y+YjArUO8/VxPDHZeZGR4oTwRAIDQiEFWXjV liRpbYxXZpNQYpHwg7aiefyO9g== X-Google-Smtp-Source: APXvYqwzUqLTCxsKXiTHAoNoDD401XFbUKnMwHZWUm1rmgYg8B8Z+FGQgefvRrgHstDCVHFSsZh7fQ== X-Received: by 2002:a81:987:: with SMTP id 129mr972875ywj.361.1570586443031; Tue, 08 Oct 2019 19:00:43 -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 d188sm241568ywa.88.2019.10.08.19.00.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 08 Oct 2019 19:00:42 -0700 (PDT) Subject: Re: [PATCH v2 14/21] hw/timer/exynos4210_pwm.c: 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-15-peter.maydell@linaro.org> From: Richard Henderson Openpgp: preference=signencrypt Message-ID: Date: Tue, 8 Oct 2019 22:00:30 -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-15-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 exynos4210_pwm 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 > --- > hw/timer/exynos4210_pwm.c | 17 ++++++++++++----- > 1 file changed, 12 insertions(+), 5 deletions(-) Reviewed-by: Richard Henderson r~