Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp951561imm; Thu, 4 Oct 2018 06:07:23 -0700 (PDT) X-Google-Smtp-Source: ACcGV62FIZKa8J/4fkRA34M7m/Otc0urEfcWYCxoyq3OoOmQoBdNn717H0Kg/kpu90t8Tu4NwOww X-Received: by 2002:a63:4a0e:: with SMTP id x14-v6mr4474890pga.34.1538658443331; Thu, 04 Oct 2018 06:07:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538658443; cv=none; d=google.com; s=arc-20160816; b=0rzm6NS3d1gu3on35sq18xOJcjhXvmZS8SAu7JJYmRqiU1OPRfmVqFl+D07ydMlHB1 LqQO0+dlpn84Cxie8AGGNCG+q4H7WknEHjDpw6KKYGrY3TbGXlU58/7aQpK6wQfIN+01 Lmwz741tIqBu0BQRVHEGsiX0bgMGaiBtMSe2Acvv2436WDxRh3KkW61nG11YROktWizu RBw4Ya0xFYG7jhefffqw+BtxiDbKy9Yosh+SRnjfUP8COYUZGcZ9jigVl7tlONCMk2Li gGO6qnXZABh8uhzJUVlAJDXXCuUGin3DVgcxvz0SC3fODKXelpWgS/Xp+xUBy6acsqyU m6SQ== 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; bh=fgAFcsqmUdDZPswJ7PWWrvK7N/zPPnmFVWzJCMfQHpM=; b=F/PBL9yyDx2FUJVI9MpYrsFotUBmHlu5ycUuPwtMhRiWVj1z9F2smRTgLy5MMKXZKA DexKygb3QKBGtTfnud5Ejg2RXyt5GJZRS9Z1PmiXPC1jDRNGsTdrFvp4U0S8IrqZIaik pIdXWsaMTTyLCHJgIPwemm4iVylFu2cHAhyaaHWoh/OQMgpDj97YaB82BH2bvmfUKGYM FE8Ho2PQMf6AHKguXy3TpJhGGY0xQOa2zVYLw3iWYDcmAXKhkqKLh8CBJU6JW1RCoXi5 6HbdRVGlhIVFNjoeivLaLm/jdVjOOZyX8goUBjf731Pc6evZcIqXVoaMjRpQ2OqggvXb 5INw== 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 r68-v6si5333791pfk.151.2018.10.04.06.07.04; Thu, 04 Oct 2018 06:07:23 -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; 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 S1727580AbeJDT6p (ORCPT + 99 others); Thu, 4 Oct 2018 15:58:45 -0400 Received: from mail-vs1-f67.google.com ([209.85.217.67]:40441 "EHLO mail-vs1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727336AbeJDT6p (ORCPT ); Thu, 4 Oct 2018 15:58:45 -0400 Received: by mail-vs1-f67.google.com with SMTP id z130-v6so5297735vsc.7 for ; Thu, 04 Oct 2018 06:05:32 -0700 (PDT) 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=fgAFcsqmUdDZPswJ7PWWrvK7N/zPPnmFVWzJCMfQHpM=; b=n9qBeSEDOQBR2rEmAuAyWnYNZ93HhCAOWZvlzAoRZ2O6P+KPoej0dNkRoUNd83vt0R slqq7yo1FfyBMYyevLY13+O8Gzg6LUC8mgApVFyfWjuAzeoAM2NBh2G6akHr8RiTcUcz CJvibECBOyzbn8HJRjryHAxahSPz9BMVM6ZNEf+sjMIho6f72dXB+ZAp3aY2723abAiX /uiSXRD/7tj0pJqqj5D5qN87PPZe68B84tqeANYlWeIseJu81mwwZPytdireF9I33Au6 aq+D6BW+I4+bCyfcgnCjxFVp1QDRrrKEZ5hJm4yIn7mHRaP/zC+BfRY7ZvFFNCq5Ql0J uWzQ== X-Gm-Message-State: ABuFfohCSQBH6QGl3w16uU0YYvRDiI0hAkFeLPUfK50P9bxiBDY/GuBz BK93bEAQdL+myvOxfnt8dO6qGTKupiH/emQUdHs= X-Received: by 2002:a67:f3cc:: with SMTP id j12mr1820590vsn.96.1538658332130; Thu, 04 Oct 2018 06:05:32 -0700 (PDT) MIME-Version: 1.0 References: <7a0748d8cd97964a99879a0b9f1c0243c677c7c3.1536709753.git.fthain@telegraphics.com.au> In-Reply-To: <7a0748d8cd97964a99879a0b9f1c0243c677c7c3.1536709753.git.fthain@telegraphics.com.au> From: Geert Uytterhoeven Date: Thu, 4 Oct 2018 15:05:20 +0200 Message-ID: Subject: Re: [PATCH 1/7] macintosh: Use common code to access RTC To: Finn Thain Cc: Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman , linuxppc-dev , linux-m68k , Linux Kernel Mailing List , Arnd Bergmann 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 Wed, Sep 12, 2018 at 2:18 AM Finn Thain wrote: > Now that the 68k Mac port has adopted the via-pmu driver, the same RTC > code can be shared between m68k and powerpc. Replace duplicated code in > arch/powerpc and arch/m68k with common RTC accessors for Cuda and PMU. > > Drop the problematic WARN_ON which was introduced in commit 22db552b50fa > ("powerpc/powermac: Fix rtc read/write functions"). > > Tested-by: Stan Johnson > Signed-off-by: Finn Thain Acked-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds