Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp150976imm; Thu, 20 Sep 2018 20:33:46 -0700 (PDT) X-Google-Smtp-Source: ANB0VdasLLXydEdQx4qIVsWM0cJMviBWCphBwo9wVWNQXpL3x81SNjmwUqxipb9yUcMZEiIgFQvF X-Received: by 2002:a17:902:8f8c:: with SMTP id z12-v6mr41967890plo.4.1537500826830; Thu, 20 Sep 2018 20:33:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537500826; cv=none; d=google.com; s=arc-20160816; b=gCejXrHYULe7PAkZge2Y/8cCbE2YtpWZ8vyLOpeHQccgwTFEAZsM3IhxcE0t9wgkGL UcO/OeIwxnredcZiuTynJcSWlR3/NaNJBkJPBefbiSq1X8VcEtXpQarnIJrGiXuFJdMl QNXB7bmK2BajSJgSqQzqHT0uh1AIKmxhwIIgLoMxm6jhntO3V6yAqhgUaHRFLsCra3ya Hy+U6pkea+oFdw4aABRmqte89A+SmQXxYuRHeqrSQlok/JtaBB1OSNLf31RJuQl+FJAy MsNuloDnYEvUVAvVMk1PvSoRx1iEYRz6OsPK4Tfi8YPw5T8schwrtF8jeFTpKwtDFqUK 6Vrw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=cgIgCc/2dQPs4jWIV9FZ6VhZHEZWNMeOw3JNWYbORWM=; b=AJhqMgdcoK1E9Vtm5SLvYy5Vg120ZX6ePhQftt2WDbGGfsbYyqEiVZs10I1Ps3bRfO 0yZfZYvqG/wxIgvmerwFc+yYaV/ikvtCug8PXclN2wKCiaZAB+j1DNrCqZSOGXJrlRFb Vopfr2mC8NvJvEc78eTasNlsFN0qa4MbDqxTUQ14X6dqQmjD/BbO+5liYqqIe3vvzX8F SMuel2fbPejYyrgVl3P55UyHTxdijE74OOBzy1gr8p+XxihkHFJdTE3NLIaceesa7M9m KWxP/UCzUThEYsoLO6WftY+gctVN4AxvjNRrfcr6yguXvGSa9zxWYVnXAW0a7EAUChZN HoXA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@jms.id.au header.s=google header.b=nnFQxrXW; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l190-v6si4008879pga.481.2018.09.20.20.33.31; Thu, 20 Sep 2018 20:33:46 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@jms.id.au header.s=google header.b=nnFQxrXW; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389047AbeIUJT6 (ORCPT + 99 others); Fri, 21 Sep 2018 05:19:58 -0400 Received: from mail-qk1-f194.google.com ([209.85.222.194]:36311 "EHLO mail-qk1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388944AbeIUJT6 (ORCPT ); Fri, 21 Sep 2018 05:19:58 -0400 Received: by mail-qk1-f194.google.com with SMTP id n186-v6so7035701qke.3 for ; Thu, 20 Sep 2018 20:33:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jms.id.au; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=cgIgCc/2dQPs4jWIV9FZ6VhZHEZWNMeOw3JNWYbORWM=; b=nnFQxrXW5uC5uPQoKI0AC6WGLJ0rxdfejUE7jLw+t1R+hQhdPCckpM4DM+OCtr+Ahd 4cS5jZ62Uy6QR7s04MKRaekhVheOcQmF4nJ2JR+sDafcEH9ygsvUUjeR7K5jdrXXKcHv rQFpPiMOFX5h0RpLss1S4Z91PPJFsOMFTSJL0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=cgIgCc/2dQPs4jWIV9FZ6VhZHEZWNMeOw3JNWYbORWM=; b=py6XeflXF5AecGmzdb+McjRlX0QN1VgGw81pIi+hfCeC40CRsrgTxpdtsRsHSwP3IC xnjbclwnvUqjbMGnXqj5eFpsvQ4IMgV7ws1wYiQ93aKOMY9Xz2pcBqYT7HYJZUr7hoyb HSxhOYBEoY5ygUp3HVT4boPX6RseqDm9h5njp5Ad704sYoluiu+nZB4VpeVso0jpHuRK sB/cElnjTSy1fYjLCJUX/6E5UWxofKoWpXEepxJrCYEfm7ab2Py9dNROzWdXkGVwUN4o 7YTo3KlReUu7oF0+JQrUJRDOniaUqOA4Hiyfq9hVjkPVKgKpmFa0ok+V4j0MVrlqAouy CCaQ== X-Gm-Message-State: APzg51AIIUVmnOGT7L4o/a75BdgOMRpWwCGxtCjocBuxJ7jYSEOs6OnD ggBjPiDihV9BdLD0omv5PPvhejbFOcdw3xPPOP0= X-Received: by 2002:a37:642:: with SMTP id 63-v6mr28907182qkg.11.1537500788234; Thu, 20 Sep 2018 20:33:08 -0700 (PDT) MIME-Version: 1.0 References: <20180919221331.2511558-1-taoren@fb.com> <84F9ED20-0964-462E-B389-39B107A232D3@fb.com> In-Reply-To: <84F9ED20-0964-462E-B389-39B107A232D3@fb.com> From: Joel Stanley Date: Fri, 21 Sep 2018 13:02:56 +0930 Message-ID: Subject: Re: [PATCH] clocksource/drivers/fttmr010: fix set_next_event handler To: Tao Ren Cc: Linus Walleij , Andrew Jeffery , Daniel Lezcano , Thomas Gleixner , Linux Kernel Mailing List , OpenBMC Maillist , cov@fb.com, Tian Fang Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 21 Sep 2018 at 06:39, Tao Ren wrote: > > On 9/20/18, 8:46 AM, "Linus Walleij" wrote: > > > Actually this is much more intuitive too, it is the typical way to handle > > a down-counting timer. Good catch! > > Reviewed-by: Linus Walleij > > Thank you Linus for the quick review! > > > Sorry for any cargo-cult programming on my part :/ > > Would be nice to get a nod from the AST2400 users that this works > > for them too, so included them in the To: field. > > Make sense. I actually booted up kernel on qemu-palmetto (ast2400) but I'm doubting if test is valid because it depends on how qemu emulates the hardware. It would be great if someone can help to verify the patch on physical ast2400. I gave this a spin on the ast2400. It looked okay, but I was wondering if you could share you test case so I can run the same test? Cheers, Joel