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=-9.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable 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 7DD61C55178 for ; Fri, 30 Oct 2020 19:35:32 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3A928206E3 for ; Fri, 30 Oct 2020 19:35:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604086532; bh=g7SiAGk5A8RixKhQULCkFnrF5K//+bNHA3FaRUTLL4g=; h=References:In-Reply-To:From:Date:Subject:To:Cc:List-ID:From; b=VfKKkzyaRbFHUpc95LsoDzkVAtUa4tHSueSdUFwKSXoltkwO5RR3kYExKEg6cYVq3 JrZq+FfM67oNY5SVb+V2fH2lBV6zZEp7v8GqU4dGZe1EKBxBbHaUk8ubYsUerweQMX jNtcGgmBxEbvjIYjty+iRgwPmdzWdJbUWn/O4ZZ0= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726225AbgJ3Tfb (ORCPT ); Fri, 30 Oct 2020 15:35:31 -0400 Received: from mail.kernel.org ([198.145.29.99]:59818 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726625AbgJ3TeA (ORCPT ); Fri, 30 Oct 2020 15:34:00 -0400 Received: from mail-qk1-f171.google.com (mail-qk1-f171.google.com [209.85.222.171]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 45D3422241; Fri, 30 Oct 2020 19:33:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604086439; bh=g7SiAGk5A8RixKhQULCkFnrF5K//+bNHA3FaRUTLL4g=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=C6slcq5aSjS7GS06l+kXiQYG2W3EXfB2fmrH7YQj8KG2y9IairregyAcpkssGyVNr sgSGGTESh+J5R4pPzOYzjObGZd01H9u5axqoyPs4uP/+M3XfI8gD6vL8T08AP/Tj9R 0IJqIlFBRThpfRPkluDah7gUKFh4C+2YMUYIjTtw= Received: by mail-qk1-f171.google.com with SMTP id s14so5912642qkg.11; Fri, 30 Oct 2020 12:33:59 -0700 (PDT) X-Gm-Message-State: AOAM532TCxmgwxx1r9cZtgEzGIE7P2BkgmR2ePKHU1a8QlN4m1/JBH1I UxjQfwua8ca5leuaxXpuo2pow7YHGMqzkL1Li2U= X-Google-Smtp-Source: ABdhPJwUOlGNfUOxUtaOxwKVaSWXD9jugMxz0WkwSIAGvO22U2svgROU9cpL848Dlq5/v4p6xdvjPr9BpOkt4M07GcA= X-Received: by 2002:a05:620a:22c9:: with SMTP id o9mr3844436qki.286.1604086438187; Fri, 30 Oct 2020 12:33:58 -0700 (PDT) MIME-Version: 1.0 References: <20201030151758.1241164-1-arnd@kernel.org> <20201030151758.1241164-8-arnd@kernel.org> <2e2d7b65-0aa8-55aa-d395-52cfb048adef@gmx.de> In-Reply-To: <2e2d7b65-0aa8-55aa-d395-52cfb048adef@gmx.de> From: Arnd Bergmann Date: Fri, 30 Oct 2020 20:33:41 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2 07/15] parisc: use legacy_timer_tick To: Helge Deller Cc: "linux-kernel@vger.kernel.org" , Thomas Gleixner , Arnd Bergmann , Russell King , Tony Luck , Fenghua Yu , Greg Ungerer , Finn Thain , Philip Blundell , Joshua Thompson , Sam Creasey , "James E.J. Bottomley" , Daniel Lezcano , John Stultz , Stephen Boyd , Linus Walleij , linux-ia64@vger.kernel.org, Parisc List , linux-m68k , Linux ARM Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-parisc@vger.kernel.org On Fri, Oct 30, 2020 at 6:13 PM Helge Deller wrote: > > On 10/30/20 4:17 PM, Arnd Bergmann wrote: > > From: Arnd Bergmann > > > > parisc has selected CONFIG_GENERIC_CLOCKEVENTS since commit 43b1f6abd590 > > ("parisc: Switch to generic sched_clock implementation"), but does not > > appear to actually be using it, and instead calls the low-level > > timekeeping functions directly. > > Arnd, thank you for this patch! > It reminded me that I really missed to fully implement the clockevents on parisc! > > Your other patch ("RFC: m68k: mac: convert to generic clockevent") > was a big help too, as it showed how it might work on parisc as well. > > Here is now a current version of the clockevents-enabling-patch for parisc: > https://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux.git/commit/?h=for-next&id=3b7ab4a74a2d1972dbeb33285d85f1500b2ff96a Ah, nice! > > Remove the GENERIC_CLOCKEVENTS select again, and instead convert to > > the newly added legacy_timer_tick() helper. > > My patch still needs more testing, but if it turns to work > out right, would you mind to drop your patch for parisc? I think it would be easier if you could base your patch on top of my series, as they would otherwise inevitably conflict. I could either add it to my tree, or you could merge my branch into your tree. Arnd 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=-9.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED 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 918E6C55179 for ; Fri, 30 Oct 2020 19:35:17 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (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 EF56820739 for ; Fri, 30 Oct 2020 19:35:16 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="xhlYa60b"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="C6slcq5a" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org EF56820739 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:To:Subject:Message-ID:Date:From:In-Reply-To: References:MIME-Version:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=D5hTtZefqzGqqAxv56Dt5XSlbiTrv2wdPB5X91SSzSs=; b=xhlYa60baE22gCHH2Azguh5Y3 KS+5X1gT0jT4QTIjV0uEO/fFBnfL5brXPf2IpPJT/fTZpZrpxsHd1eS7cg+GkUyeSNg0wrQXNhMC6 mZbhA3/qy95oTiIKSH8Z/GcVi/4Q2tST2zq6WyKISOhbARyusN1WLH+EHVHi4RAYCzwtuVxIIUpB6 ZYRUPirEOkNwraQFsiC3KDfBUuqpNwzTqjXqL4E/+LulUPOaICq4BRt4Zy5qU2r7323eeKS5xdQhf P0rqskD43ECeVySoYTppFaiSGcpw6vW83zW611KPGx/QMXkvr+e99JzphUcWZ9FNZdetaEOKsMlTy Z3+35r1LA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kYa9z-00055Y-0K; Fri, 30 Oct 2020 19:34:03 +0000 Received: from mail.kernel.org ([198.145.29.99]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kYa9w-00054v-HJ for linux-arm-kernel@lists.infradead.org; Fri, 30 Oct 2020 19:34:01 +0000 Received: from mail-qk1-f170.google.com (mail-qk1-f170.google.com [209.85.222.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 5C8682224A for ; Fri, 30 Oct 2020 19:33:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604086439; bh=g7SiAGk5A8RixKhQULCkFnrF5K//+bNHA3FaRUTLL4g=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=C6slcq5aSjS7GS06l+kXiQYG2W3EXfB2fmrH7YQj8KG2y9IairregyAcpkssGyVNr sgSGGTESh+J5R4pPzOYzjObGZd01H9u5axqoyPs4uP/+M3XfI8gD6vL8T08AP/Tj9R 0IJqIlFBRThpfRPkluDah7gUKFh4C+2YMUYIjTtw= Received: by mail-qk1-f170.google.com with SMTP id p3so5930951qkk.7 for ; Fri, 30 Oct 2020 12:33:59 -0700 (PDT) X-Gm-Message-State: AOAM532pytl9XQNOi4jXKkKKpOKyT5MRrrCFKBBuYerCxcG9x+nYSR2F muZ3v8s+vB1ZMtsZW47hAIk2YiEjLhyJvlpl0pU= X-Google-Smtp-Source: ABdhPJwUOlGNfUOxUtaOxwKVaSWXD9jugMxz0WkwSIAGvO22U2svgROU9cpL848Dlq5/v4p6xdvjPr9BpOkt4M07GcA= X-Received: by 2002:a05:620a:22c9:: with SMTP id o9mr3844436qki.286.1604086438187; Fri, 30 Oct 2020 12:33:58 -0700 (PDT) MIME-Version: 1.0 References: <20201030151758.1241164-1-arnd@kernel.org> <20201030151758.1241164-8-arnd@kernel.org> <2e2d7b65-0aa8-55aa-d395-52cfb048adef@gmx.de> In-Reply-To: <2e2d7b65-0aa8-55aa-d395-52cfb048adef@gmx.de> From: Arnd Bergmann Date: Fri, 30 Oct 2020 20:33:41 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2 07/15] parisc: use legacy_timer_tick To: Helge Deller X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201030_153400_866622_B71AB2A1 X-CRM114-Status: GOOD ( 23.22 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Sam Creasey , Fenghua Yu , Tony Luck , linux-ia64@vger.kernel.org, Parisc List , Arnd Bergmann , Stephen Boyd , Philip Blundell , Linus Walleij , Daniel Lezcano , "linux-kernel@vger.kernel.org" , Finn Thain , Russell King , "James E.J. Bottomley" , linux-m68k , John Stultz , Linux ARM , Thomas Gleixner , Greg Ungerer , Joshua Thompson Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Fri, Oct 30, 2020 at 6:13 PM Helge Deller wrote: > > On 10/30/20 4:17 PM, Arnd Bergmann wrote: > > From: Arnd Bergmann > > > > parisc has selected CONFIG_GENERIC_CLOCKEVENTS since commit 43b1f6abd590 > > ("parisc: Switch to generic sched_clock implementation"), but does not > > appear to actually be using it, and instead calls the low-level > > timekeeping functions directly. > > Arnd, thank you for this patch! > It reminded me that I really missed to fully implement the clockevents on parisc! > > Your other patch ("RFC: m68k: mac: convert to generic clockevent") > was a big help too, as it showed how it might work on parisc as well. > > Here is now a current version of the clockevents-enabling-patch for parisc: > https://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux.git/commit/?h=for-next&id=3b7ab4a74a2d1972dbeb33285d85f1500b2ff96a Ah, nice! > > Remove the GENERIC_CLOCKEVENTS select again, and instead convert to > > the newly added legacy_timer_tick() helper. > > My patch still needs more testing, but if it turns to work > out right, would you mind to drop your patch for parisc? I think it would be easier if you could base your patch on top of my series, as they would otherwise inevitably conflict. I could either add it to my tree, or you could merge my branch into your tree. Arnd _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arnd Bergmann Date: Fri, 30 Oct 2020 19:33:41 +0000 Subject: Re: [PATCH v2 07/15] parisc: use legacy_timer_tick Message-Id: List-Id: References: <20201030151758.1241164-1-arnd@kernel.org> <20201030151758.1241164-8-arnd@kernel.org> <2e2d7b65-0aa8-55aa-d395-52cfb048adef@gmx.de> In-Reply-To: <2e2d7b65-0aa8-55aa-d395-52cfb048adef@gmx.de> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Helge Deller Cc: "linux-kernel@vger.kernel.org" , Thomas Gleixner , Arnd Bergmann , Russell King , Tony Luck , Fenghua Yu , Greg Ungerer , Finn Thain , Philip Blundell , Joshua Thompson , Sam Creasey , "James E.J. Bottomley" , Daniel Lezcano , John Stultz , Stephen Boyd , Linus Walleij , linux-ia64@vger.kernel.org, Parisc List , linux-m68k , Linux ARM On Fri, Oct 30, 2020 at 6:13 PM Helge Deller wrote: > > On 10/30/20 4:17 PM, Arnd Bergmann wrote: > > From: Arnd Bergmann > > > > parisc has selected CONFIG_GENERIC_CLOCKEVENTS since commit 43b1f6abd590 > > ("parisc: Switch to generic sched_clock implementation"), but does not > > appear to actually be using it, and instead calls the low-level > > timekeeping functions directly. > > Arnd, thank you for this patch! > It reminded me that I really missed to fully implement the clockevents on parisc! > > Your other patch ("RFC: m68k: mac: convert to generic clockevent") > was a big help too, as it showed how it might work on parisc as well. > > Here is now a current version of the clockevents-enabling-patch for parisc: > https://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux.git/commit/?h=for-next&id;7ab4a74a2d1972dbeb33285d85f1500b2ff96a Ah, nice! > > Remove the GENERIC_CLOCKEVENTS select again, and instead convert to > > the newly added legacy_timer_tick() helper. > > My patch still needs more testing, but if it turns to work > out right, would you mind to drop your patch for parisc? I think it would be easier if you could base your patch on top of my series, as they would otherwise inevitably conflict. I could either add it to my tree, or you could merge my branch into your tree. Arnd