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=-5.5 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 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 D4982C43603 for ; Mon, 9 Dec 2019 02:37:13 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 A8CDC20700 for ; Mon, 9 Dec 2019 02:37:13 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="f7uhDHnP"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="hjNX6VXV" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A8CDC20700 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+infradead-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=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=ly8Bri0ffQVXRwAdC1//jogNksy6jU8P8nj6KzftxZA=; b=f7uhDHnPq/+YNu uNiG0S4eCOaIjQ1dwxCtA8Bu+5yyRgDKCfXYexnqVuWfasm3mS2Dw7IXppSGN/7TFi1LHOuI19r0D nYaUBOINWAtrsgN2As6SZmsTHhxcQPpP1MV3LgfLaEa7DVUy8xfqbLtK29p4JYr45bH+kP0fn0U21 wuE/7N+GQNCtPGmrIfORJjFjMM5XLCXrPIBnZFDtwn+S4X27xDjb3wMM5N6Y7C5ca/WSyGWuxxSTM viLx6QYeBzsFKazRSSRVqUqCNYMUY9GJXfLQbGy6b2T2jXPMGmlucQ/b7jPoz92qqFaZ2HCTttBcU O6kR6SfqhHhOQ+jLgyWw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1ie8vB-0006Ns-AU; Mon, 09 Dec 2019 02:37:13 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1ie8v9-0006NJ-Ac for linux-arm-kernel@lists.infradead.org; Mon, 09 Dec 2019 02:37:12 +0000 Received: from dragon (98.142.130.235.16clouds.com [98.142.130.235]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id EED5A206F4; Mon, 9 Dec 2019 02:37:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1575859030; bh=KwTcMhxxQxSTWeCjOkeJmE5iBWvBtzmK8AUbPh94n54=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=hjNX6VXVtN71ykx9twRtu+K3Dmxs+V5KGy0KHaoNRZt9mlE8F1rVMdOQYoWho7vQt 3bPSfCjK9ydbcg3gVZYf+tfuMGtyoXd6ukg+kcZtlnHiWBggrFbdlD21VMatYDS1KJ 0vFpHs8w1mWve8L2qYeg5e7NFlDMp3Bkrb+yy+zE= Date: Mon, 9 Dec 2019 10:36:54 +0800 From: Shawn Guo To: Leonard Crestez Subject: Re: [PATCH] clk: imx8m: Suppress bind attrs Message-ID: <20191209023653.GV3365@dragon> References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191208_183711_391369_F42C3A07 X-CRM114-Status: UNSURE ( 9.67 ) X-CRM114-Notice: Please train this message. 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: Dong Aisheng , Peng Fan , Abel Vesa , Anson Huang , Stephen Boyd , Michael Turquette , linux-imx@nxp.com, kernel@pengutronix.de, Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= , Fabio Estevam , linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Jacky Bai Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, Nov 21, 2019 at 03:52:17PM +0200, Leonard Crestez wrote: > The clock drivers on imx8m series are registered as platform devices and > this opens the possibility of reloading the driver at runtime. > > This doesn't actually work: clocks are never removed and attempting to > bind again results in registration errors and a crash. Almost all > devices depend on clocks anyway so rebinding is unlikely to ever be > useful > > Fix this by explicitly suppressing bind attrs like several other > clock drivers. > > Signed-off-by: Leonard Crestez > Reviewed-by: Peng Fan Applied, thanks. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel