Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp4874358imu; Mon, 12 Nov 2018 19:39:16 -0800 (PST) X-Google-Smtp-Source: AJdET5eZWxPSQfN5TOeXXzebZKpB2iJA1OXnbZTd3D10FfFi9gK7ckkyEa5bJz5hLtP8GjmVz6AE X-Received: by 2002:a62:302:: with SMTP id 2-v6mr3573813pfd.135.1542080356713; Mon, 12 Nov 2018 19:39:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542080356; cv=none; d=google.com; s=arc-20160816; b=S3rsiOV5XNXrn+Ib0icfS9QDQSxdnJ8mgMXy0CLs961jJBbldDiEE8kNnb4AJGFYuY I7JMIhOolOlHOD2aQMmaSUl7byTnH7r7pfvDWyB1xPyP2tSa/RI46DVQIU7AdWKrWXU/ urLVfSao2nZCwjA/WYfC/8AKoE8Fjjd2w1nkgUNyg/tOABTKInMGnfg538F7od62HUTV +XiI5ynGx1h0Sf9kwYqRJfuN8iVbR3fiXMWkOws4y+4cakmqJvhHrwwjorfvJN0NDeig eO3TcjegHTjebEq5RP+G92fC5SWeCr8dZcoOcKvhQ9iFKSdbRZuOxhaMc8xb+GSO3gB7 Hpiw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:message-id :in-reply-to:subject:cc:to:from:date; bh=bDNVqoA7Jdfl5QKMM50ltcVbHrWej4dSNgtOGM0kOq8=; b=ZgeU5O1fwZIwPLGaqgzyrRF8NGhiYOOqF29TrF2/wTsamdsBi1DmeG7QdrqmHdRglv DJLv55UM52aO9Vnkb3f4LK1rcgKc2hoVYKIsRpoFtfmts+rEEpqyDUgVFbptLEb8egbu VezlzHwXgUGkr8TMypSjGFL4JUqWdpjMD9WqpMW3xsnz4dt7D3ohX97o8fkxllM7JLa7 vdu46o2EnA0uD1QXu9W4BHVEtYKY8gYUjcpuyBZU7Sl/XNWKeXTy0vWMsjhtl4MU2TR0 51DbGgP3ITTiEvpQI/SvZLKsUJhu32B6yymfsFmNQmKXLyIre/OHvM0Dr+Wrvs10Nbs2 iz/Q== ARC-Authentication-Results: i=1; mx.google.com; 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 q17-v6si19068732pgd.438.2018.11.12.19.39.01; Mon, 12 Nov 2018 19:39:16 -0800 (PST) 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; 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 S1728758AbeKMNes (ORCPT + 99 others); Tue, 13 Nov 2018 08:34:48 -0500 Received: from kvm5.telegraphics.com.au ([98.124.60.144]:47724 "EHLO kvm5.telegraphics.com.au" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726341AbeKMNes (ORCPT ); Tue, 13 Nov 2018 08:34:48 -0500 Received: from localhost (localhost.localdomain [127.0.0.1]) by kvm5.telegraphics.com.au (Postfix) with ESMTP id AB7AC29DCE; Mon, 12 Nov 2018 22:38:34 -0500 (EST) Date: Tue, 13 Nov 2018 14:39:00 +1100 (AEDT) From: Finn Thain To: Christoph Hellwig cc: Geert Uytterhoeven , Russell King , Arnd Bergmann , Stephen N Chivers , Thomas Gleixner , Daniel Lezcano , John Stultz , linux-m68k@lists.linux-m68k.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [RFC PATCH 01/13] arm: Fix mutual exclusion in arch_gettimeoffset In-Reply-To: <20181112083422.GA19695@infradead.org> Message-ID: References: <20181112083422.GA19695@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 12 Nov 2018, Christoph Hellwig wrote: > On Mon, Nov 12, 2018 at 03:12:39PM +1100, Finn Thain wrote: > > Implementations of arch_gettimeoffset are generally not re-entrant and > > assume that interrupts have been disabled. Unfortunately this > > pre-condition got broken in v2.6.32. > > > > Fixes: 5cfc8ee0bb51 ("ARM: convert arm to arch_gettimeoffset()") > > Signed-off-by: Finn Thain > > This looks like a sensible fix for -stable backporting. But with m68k > converted over it might be time for these two arm platforms to either > be converted to the clocksource API or to be dropped.. > You could remove the old arch_gettimeoffset API without dropping any platforms. If no-one converts a given platform to the clocksource API it would mean that the default 'jiffies' clocksource will get used on that platform. Clock resolution and timer precision would be degraded, but that might not matter. Anyway, if someone who has this hardware is willing to test a clocksource API conversion, they can let me know and I'll attempt that patch. --