Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp301553pxa; Wed, 19 Aug 2020 01:27:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxILsSmF5o1P2ubtvPma56xUaadTyL4RUx0pj5KSoFt50hnG0LEFHiuKYRNiyU0bVmOIsOj X-Received: by 2002:a17:906:4ec3:: with SMTP id i3mr23606691ejv.215.1597825672517; Wed, 19 Aug 2020 01:27:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597825672; cv=none; d=google.com; s=arc-20160816; b=Cy2GGWuwccpEt/ktDeLGD5WK9jgL76Uk1u19aJu0SwUbFUUYN6IXkpyJF0ED1AC6wS lIphnxjYcM+ZXVVhvl9J7pa3BKmqWuCuuM66tO3NazAn+IML0rvVRvI1noSr1cI9wHpv +OxDx2hME6MAa8D9h3Vrb2PZ6GsjVwaBwVz0jlFqAQrk5KT7+uBA4apjfhsBA1/AgsLu x6jOHVPLtngFsmiEwWOeY7KSNRpJkdomfwFZMgDMN0321MVZ3IL+bha8VoZpgYRAlRwB U+QMoxMaPGCnwBQIJtxIbKcOuEOXsVGc+CyVwGEgQyjgOy+wCoTFQl6eXZJGJ+Rxm1QH /6iA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=CdkoMChO912JQmLhb7omaniX8p32GEvBGErJ8gXOLRg=; b=07hcm7+jntecC0TP1+X2g9+FTzaC0J5mySwBTBgZ0FBCNFBUg2GCESM/A8eL7vQBhc KjNq++0t6idU98bFwPWQ0kAmH9ChkClLSWDs2lEi+cqG82In3K4xLYTjVtNPpJlpgrf+ hlwhPiICUOa4Lqj2CirczVZiKDVKI7I3eJt5V2kPYjz52DG2waMk/EIvE9cSas/tW81z eDbyz5PL+EPMSDkb++I6qLt/nTNRcQZdT5OCFPPFd5vw1IpjCxWonL48k5ncgcY2uT8I WNLK8ghw6yT9k1uXcBqABQ5GclEk5kujMgS9crlrGGsHHzJWqQTpjFHbXOaf7m2tkoyt hREw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=sFzrLGU6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q18si15199237ejz.135.2020.08.19.01.27.28; Wed, 19 Aug 2020 01:27:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=sFzrLGU6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726617AbgHSI0z (ORCPT + 99 others); Wed, 19 Aug 2020 04:26:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50564 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725804AbgHSI0y (ORCPT ); Wed, 19 Aug 2020 04:26:54 -0400 Received: from mail-wr1-x443.google.com (mail-wr1-x443.google.com [IPv6:2a00:1450:4864:20::443]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 34E68C061389 for ; Wed, 19 Aug 2020 01:26:54 -0700 (PDT) Received: by mail-wr1-x443.google.com with SMTP id a15so20594287wrh.10 for ; Wed, 19 Aug 2020 01:26:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to; bh=CdkoMChO912JQmLhb7omaniX8p32GEvBGErJ8gXOLRg=; b=sFzrLGU65rf8DFZg2uvUEgMwfgjPybFD8cCiaE2mOD9MXsJM/0njzIT3xxKhck2hYh pz9Evstvu4iFgv8fa+Cy65LOxNOmyztkdeNTDQKW/A3bvcmwJso8NgArYKy6opyxEk7s VYqnXK+ctloGIdOFNsddcJc0nbE+XRm7iiAwtAy98oSFuEOnpFdSugdsu/DSQryJ0wv9 aUA+0OwL1QvKiIp4rInw5B5TMHlke6LHtFXVuCiW5Uh0Sb9Rf4htdTAzG6Og5S40Iz/M ATDiNOC3tWI8zDAVN9KHxag/lclY43fulorfJ9IBYCf49tXaOUzie7APIIaimONjNF+f hK0Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=CdkoMChO912JQmLhb7omaniX8p32GEvBGErJ8gXOLRg=; b=crJHQ9+lgkRxlqVX53xzW85Vsr5gWKWZWLh8jZ8AfSvqTk+75OxJhD1kbjlUI4HBbQ aXzEVutWbseOXG7acS6XqsrC8zn30oum31YUJCm6G/YBQmP3QZI7+TLqbGqPFqjiYF+s Rxng01R2Ois+ML9Zdp/pIAtxFP7hLhtoq1cUVnEXrZqrtQVpFotF9hs/YAT68Kv0OymI 2o0Cf1bqmM0irBujxvSjLnC4BJBki5+H95tWRoqaSBYcLDymZxouyGzxzJrCgbC9CEy6 8g/DjscTm0KXjK45DUWD6y0bj71lV7tofO/5MfXLZq40Br7cxybwlxbjDz0e5586vjkA JpaQ== X-Gm-Message-State: AOAM532AAr2zyeFH2xac1vunIc5Mm9x7z30Rt3x8705g5wL6pdjly0G4 1z4WLp0VlKusholoVAO0UcT4UvLFY94i4Q== X-Received: by 2002:a5d:4a8a:: with SMTP id o10mr2866442wrq.327.1597825612812; Wed, 19 Aug 2020 01:26:52 -0700 (PDT) Received: from dell ([95.149.164.62]) by smtp.gmail.com with ESMTPSA id p25sm4091249wma.39.2020.08.19.01.26.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 Aug 2020 01:26:52 -0700 (PDT) Date: Wed, 19 Aug 2020 09:26:50 +0100 From: Lee Jones To: Icenowy Zheng Cc: linux-kernel@vger.kernel.org Subject: Re: [PATCH] mfd: core: Fix handle of OF disabled MFD cells Message-ID: <20200819082650.GC4354@dell> References: <20200801070130.3323112-1-icenowy@aosc.io> <20200819081122.GB4354@dell> <3b0ba1c95efa2ac465d9b6312b8e0e2c8fb461b5.camel@aosc.io> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <3b0ba1c95efa2ac465d9b6312b8e0e2c8fb461b5.camel@aosc.io> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 19 Aug 2020, Icenowy Zheng wrote: > 在 2020-08-19星期三的 09:11 +0100,Lee Jones写道: > > On Sat, 01 Aug 2020, Icenowy Zheng wrote: > > > > > When rewriting the OF match code of MFD core, addition of cells > > > disabled > > > in OF will result in a failure with error -ENODEV. This is an > > > unexpected > > > behavior, as the previous behavior is silently ignore the cell. On > > > SBCs with AXP20x PMICs, this leads to boot failure if AXP20x PMIC > > > support is built-in and some cells (especially power supply ones) > > > are > > > disabled. > > > > Thanks for reporting this. > > > > Do you mind if I fix this another way? I plan to reinstate the old > > code that was removed as part of the offending patch. I will of > > course add your Reported-by tag. > > I think it's okay. > > I will test it once it's out. That would be great. Then I can add your Tested-by also. -- Lee Jones [李琼斯] Senior Technical Lead - Developer Services Linaro.org │ Open source software for Arm SoCs Follow Linaro: Facebook | Twitter | Blog