Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp1736976imm; Sat, 9 Jun 2018 00:15:38 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJAQ95v5S+869PynWy4omxf7G4FSLxm62jAf5dWs+5qZgn0BtjWV3rYje7MddepwdThbEwX X-Received: by 2002:a17:902:3124:: with SMTP id w33-v6mr9664603plb.235.1528528538918; Sat, 09 Jun 2018 00:15:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528528538; cv=none; d=google.com; s=arc-20160816; b=zah/COXia5OpdTjidruXtU4hFm5//asMBfpzPGhi0EMGeiENj/g6zK3Khgyh0IT3m6 Y9I3cNepN7oaRsQsN2ET1o+ug5FjVF/GT+iAc65z3YXazCDLnYaAJ+1W9NPwCHvc20BR iSB60YLuPjT3EgV7B+s6Dx57OYaQHDnJrfnMHGmYPsVjCgoBx/ow88XS+9kj71cNR+5u hzAPn95KA+PeceDjWnrqe09zTfUiIKOCAfscgNWAW0VDqBDczCrELYXocNlzWGHtRzsk K+XgXqMK74wlY1daEULAPjDhvcTmg172XUCGf4a0vX0/uaGsLjBWvZM0EGuvcV9mDJWU M7lQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from :arc-authentication-results; bh=LmDLNPMo/4iFKZKaz892C2YGZpWNxf9s3wsZAwabgNw=; b=Q5XJoCnbjZoOLkY5oGEl3RJ4eUFv9HfjlSrGviQWi2odrKHo3XsIBPlHkrET4oGmKd RoAIeS7TXhM/Ec1nllvvv4B9/Y2Bx+hvbaRgnntJN3TDxByDiDQDjrEDimbchVSVueqg 5WVY2V4adkk3sssyxQPyvKUN8bQ/3gxvJOGgPKJiUQtQjtz25pX9wHpvPTbvF1+BsWF6 squ6diNyPqgd6hWcYHbdsh2GkEvAACnYf7Biv63EqYPI8U08iLU7DjnMgzzVJsJNpBpo RTTRWnxcf8Z957HTP4F8JAyBkaZPGi6NCQCN3VVeyhdCrxiUNDMkjn21sHsIHUr/AFDu 9xFg== 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 z16-v6si56848914plo.5.2018.06.09.00.15.12; Sat, 09 Jun 2018 00:15:38 -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 S1753201AbeFIHOg (ORCPT + 99 others); Sat, 9 Jun 2018 03:14:36 -0400 Received: from mail-out.m-online.net ([212.18.0.10]:52364 "EHLO mail-out.m-online.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753094AbeFIHOe (ORCPT ); Sat, 9 Jun 2018 03:14:34 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 412rBG6xz3z1qtXt; Sat, 9 Jun 2018 09:14:30 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 412rBG6DSPz1qsLM; Sat, 9 Jun 2018 09:14:30 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id sqtrsOnV8Lgs; Sat, 9 Jun 2018 09:14:30 +0200 (CEST) X-Auth-Info: nmqTsSBidXdt5XXRhG1YURyZ1NC2bgIoP/kSwRavZOflz7p00pWuhNLheQdkZwel Received: from linux.local (ppp-188-174-144-94.dynamic.mnet-online.de [188.174.144.94]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Sat, 9 Jun 2018 09:14:30 +0200 (CEST) Received: by linux.local (Postfix, from userid 501) id 41AD81E5885; Sat, 9 Jun 2018 09:14:27 +0200 (CEST) From: Andreas Schwab To: Michael Schmitz Cc: Finn Thain , Benjamin Herrenschmidt , linuxppc-dev@lists.ozlabs.org, linux-m68k@lists.linux-m68k.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: Re: [PATCH v2 08/12] macintosh/via-pmu68k: Don't load driver on unsupported hardware References: <9f015684-4d91-70e4-d2a4-89fe167ff8ab@gmail.com> X-Yow: Should I start with the time I SWITCHED personalities with a BEATNIK hair stylist or my failure to refer five TEENAGERS to a good OCULIST? Date: Sat, 09 Jun 2018 09:14:27 +0200 In-Reply-To: <9f015684-4d91-70e4-d2a4-89fe167ff8ab@gmail.com> (Michael Schmitz's message of "Sat, 9 Jun 2018 18:42:25 +1200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Jun 09 2018, Michael Schmitz wrote: > Hi Finn, > > Am 08.06.2018 um 14:24 schrieb Finn Thain: >> Don't load the via-pmu68k driver on early PowerBooks. The M50753 PMU >> device found in those models was never supported by this driver. >> Attempting to load the driver usually causes a boot hang. >> >> Cc: Geert Uytterhoeven >> Signed-off-by: Finn Thain >> --- >> arch/m68k/mac/misc.c | 6 ++---- >> drivers/macintosh/via-pmu68k.c | 4 ---- >> include/uapi/linux/pmu.h | 1 - >> 3 files changed, 2 insertions(+), 9 deletions(-) > ... >> diff --git a/include/uapi/linux/pmu.h b/include/uapi/linux/pmu.h >> index 89cb1acea93a..30f64d46f5db 100644 >> --- a/include/uapi/linux/pmu.h >> +++ b/include/uapi/linux/pmu.h >> @@ -93,7 +93,6 @@ enum { >> PMU_HEATHROW_BASED, /* PowerBook G3 series */ >> PMU_PADDINGTON_BASED, /* 1999 PowerBook G3 */ >> PMU_KEYLARGO_BASED, /* Core99 motherboard (PMU99) */ >> - PMU_68K_V1, /* 68K PMU, version 1 */ >> PMU_68K_V2, /* 68K PMU, version 2 */ >> }; > > Is this enum used by any user space code? If so, perhaps rather leave the > PMU_68K_V1 in there to avoid upsetting that? It also changes the value of PMU_68K_V2, which is an ABI break. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different."