Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp1713770imm; Fri, 8 Jun 2018 23:43:43 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLbrq2FU7n9a+QUBjUhkY91kJy+IgORKK3bEFI2bUXI1MW4uLsO36C7dtaZy0I6W8ZRMIV7 X-Received: by 2002:a63:448:: with SMTP id 69-v6mr7493045pge.395.1528526623533; Fri, 08 Jun 2018 23:43:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528526623; cv=none; d=google.com; s=arc-20160816; b=H4lvEbQxArrDfl/cY4lBp0v1yzgZkib3LIis9chsUnIq3Z4RTD83t+nZSIho5jvnBj hHvoJgQzD3H+gDB8NIec4IK+gh2Auq/DGg5PTMrBvdQQ878rdd1H/FQbwB3UPvxgoIyB nwnFMwBl/Kj7sDHrTIoGTYj8WLtR2WZLetz4uXsk4a+XgF75wRERbuvoh/8I9lFjspqJ gbJPimgxf6DnzZLbvBVDhROa5JwjhWIuwSwUHi/0t0j9gyJEkLH4ixx9+jd1vK/E0yqa TqYof+/I6pD8XinB+23vc3A/0qC+ga3fwX3eamKuVVQTT0ZepFEj9pYk6nK+i+iRaOxv EPow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:in-reply-to :mime-version:user-agent:date:message-id:from:cc:references:to :subject:dkim-signature:arc-authentication-results; bh=YxC5gqYRRKRy0rCF3xtl136wmSM93TK31fWoubsVfdA=; b=cih1vTFtBDWn/RqaLN7JOFw0Yq2Rw07GeQ2ZzKeyJDLC6F8VOl7E02zyFo+7xNboiA YwVY/P0ePlO8v4rrmY5q+qHysYJiHpDwjfsQkR2dm5V4t0NNEofCLjlDXRwAOKVsQZVp RYr0x/W6RyWC28INiExv74AiNxn3MSN2PqhQMRJ5RCGyc28E5uzvW/CQCzUapUl2fGE/ LHJ+9qINN9JEuFpvfsFSHqXpIy/zhZxQlEpyPYO68UrVLnSWgPaB7RR0tNwywxlBC7Sy 0scfPyAfX7hQFGIukn1yqEXardhy5su18FIOtS4c51HppTwBT7NraOvita+liZjKWD7i AX5g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Dlc3Benq; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q62-v6si5957599pga.217.2018.06.08.23.43.29; Fri, 08 Jun 2018 23:43:43 -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=@gmail.com header.s=20161025 header.b=Dlc3Benq; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753187AbeFIGmh (ORCPT + 99 others); Sat, 9 Jun 2018 02:42:37 -0400 Received: from mail-pl0-f67.google.com ([209.85.160.67]:36089 "EHLO mail-pl0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752272AbeFIGme (ORCPT ); Sat, 9 Jun 2018 02:42:34 -0400 Received: by mail-pl0-f67.google.com with SMTP id a7-v6so6971889plp.3 for ; Fri, 08 Jun 2018 23:42:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=YxC5gqYRRKRy0rCF3xtl136wmSM93TK31fWoubsVfdA=; b=Dlc3BenqcjSBg27VU0juvodRr11dHPfhUjmCAj4myhoayYRj3XY/9Sy1kGWFqzmpaN d1aFkw6Bf+MeO5NoIjZz78aNjHwwf3v9mN4boSOmlU4lTFaMV06PZMQ6Wm3fhAjsNybK fytb5hNYJDeatZEunDj+8KgQ0u9+xvJ/kkfGPwkyhYNESkLZACiWu/xYw99A5iPIPBdJ +ZeJa5DTTdHRJM8SOjuVtUZdaTmLeEVuyj88ZUSdWJDg7WOEiquMbBAeu1MoL3BxVCbB pNkzOrGWV/yg2EDjtHz1AGPFESOCLnPtv/CPc0weTS5pF7K2L/kZxFJ/OrVn3d9ErNy/ HuEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=YxC5gqYRRKRy0rCF3xtl136wmSM93TK31fWoubsVfdA=; b=gJeByA0uT2XrnxER0mIaVy3hSVROqaqJfeiQ1OtDiTbC5mYi1lnW1KjGxOQ5lTM+P4 Gl076DLOvduZEov0TSWmMOrnYAwHL2n0Wbsuq52uRf/Zw1n1zs42Em5PE8yT/Wrn+C33 tvNzw88X/CqERI8ex0EvmKTRY+eJP7aVOVOALD275wuBbX4rWtsvECbdteLqm90PThac PrwyBTUJqNtCzyAU4Y7Y1k91LDEolopy5x98uQeXz6RWoLp7oYzHXlhagNdux9uSAiO1 nt4kZsBnH6p6TvWOsWPh04tkahI1Aqf6UOKAh1qaqZovsttUeJH0bVj5r1WyXkbTw1Lz AqLg== X-Gm-Message-State: APt69E3g+VPuE7lQ3iPlbmMyiV3ZXBRtHqx0sVLTOI5T73hhYcF64z1G GkQuB0ZkK1HR6uMnloLj+esvGg== X-Received: by 2002:a17:902:722:: with SMTP id 31-v6mr9901322pli.3.1528526554052; Fri, 08 Jun 2018 23:42:34 -0700 (PDT) Received: from [192.168.1.101] (222-154-41-72-adsl.bb.spark.co.nz. [222.154.41.72]) by smtp.gmail.com with ESMTPSA id c4-v6sm28027717pgv.86.2018.06.08.23.42.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 08 Jun 2018 23:42:33 -0700 (PDT) Subject: Re: [PATCH v2 08/12] macintosh/via-pmu68k: Don't load driver on unsupported hardware To: Finn Thain , Benjamin Herrenschmidt References: Cc: linuxppc-dev@lists.ozlabs.org, linux-m68k@lists.linux-m68k.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven From: Michael Schmitz Message-ID: <9f015684-4d91-70e4-d2a4-89fe167ff8ab@gmail.com> Date: Sat, 9 Jun 2018 18:42:25 +1200 User-Agent: Mozilla/5.0 (X11; Linux ppc; rv:45.0) Gecko/20100101 Icedove/45.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=iso-8859-15; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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? Otherwise, Reviewed-by: Michael Schmitz Cheers, Michael