Received: by 2002:ab2:6991:0:b0:1f7:f6c3:9cb1 with SMTP id v17csp861410lqo; Wed, 8 May 2024 18:39:31 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCV9KmHmxiqtiEYW9N0QDz0jiGSeZ/m/lxNGfvBKbKi+v/oJ0IWNjaWiVLBqtLJd6NwNWC5QGeAIb6t9iiLyboK+KBdoSeIckeaQRwZaFQ== X-Google-Smtp-Source: AGHT+IFgss22lQYTTSdz34vO7y4X7Edk6R/6dj60olP+Qb/63TE7DTL6O6oQFJ7Z1F5uI7aEfmeY X-Received: by 2002:a67:fd58:0:b0:47a:42e6:ba69 with SMTP id ada2fe7eead31-47f3c36850bmr4159655137.27.1715218771491; Wed, 08 May 2024 18:39:31 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715218771; cv=pass; d=google.com; s=arc-20160816; b=a75M/1ksPUMdt/E+t0tD5K81UzU/9juN65L8C+sUOhPKCWLMniyka3cL/XmJ0jDZ0/ HTlEEMVT3VE108RFn2+E7zuvlNFJ9Lh8GhpVjG7hPMwb1Jd0B26o+GfgwxM75ezJeGdB vePCqChMK7E6GRWFYdr5yMYSucUO/JH79qJph903YbCcoYb+QkihxvLhi0ks7xLFWonm xf+QpO8QUiPfzB3tCOKWveiJfXobXGBu03tKHARjsApDCMQ9WKvHySkU0ExieHkqwwn5 pNcardiy5JhuWjYAw2QcoX3wke/Ehf3p4g0rqfM8tBQEqvQZyLTRzhpWXj3/lItgls0W bJSQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent:date:to:cc:from:subject:references:in-reply-to :content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:dkim-signature; bh=C59DV07EAbIh77RRqSpx0oC1Y+VhMFF3FPzCuCWRsNY=; fh=fjX+N3jReJMREPTKuoAdx/c7Ottx5fSg5desxtD+VVM=; b=Gr8Rp5bpxXhN8ynuuLiTEoGvZ8NBpNhKjg6sfNqIn5TBfk1QstNl3YwePSZSCY6r0m I14hdr0lIr8M1E1oFppOtN4y+kNtR6+oYiXB5MB9L6qI0UkY2p1I4l9MmhvUwhzJ098Y YGOVDxE/pz+erntEM1bKoOQwXgIEpUQ4+zgx4Y80ujITHCYb9WCU8Wgkmp72T/V3RLUy rlY3Pse6xEcaR3c8EkIJBehazGLTwzqhmi/xhD1xZuQwV1X5wGHwg1xOIkqxZngHiU4O I7OzHbiwKXQnVywSQfQX7kAje0dwqxkcZJsKNrVl0PyVo2RFhtYnFJG84NxqHBILHBtJ 2KMw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=jyqeTfDu; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-174020-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-174020-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id 6a1803df08f44-6a15f20a205si4223646d6.165.2024.05.08.18.39.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 May 2024 18:39:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-174020-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=jyqeTfDu; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-174020-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-174020-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 200441C2112B for ; Thu, 9 May 2024 01:39:31 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BF66E13C8EB; Thu, 9 May 2024 01:39:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="jyqeTfDu" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D68E513C806; Thu, 9 May 2024 01:39:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715218754; cv=none; b=Pd5OlxAUN7SLpCEPGp9cz8wdIDhN6f9uE7QpGchWkcbFusn/qXTXei+etVvpLpJdzpMdI6GOTNCm+befCxROCzi8c5Q9F8O9413nZPugWxkWhfzVhlhJppVdSjPlE1KEluemTzJbGbaxs5IR7fVA0YPc+2/GQMV4i1uOdRBa9RE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715218754; c=relaxed/simple; bh=C59DV07EAbIh77RRqSpx0oC1Y+VhMFF3FPzCuCWRsNY=; h=Message-ID:Content-Type:MIME-Version:In-Reply-To:References: Subject:From:Cc:To:Date; b=tOcSReQXtqqdcI2IIiwn0lSMPoFZBrP+VB/pIcl8qvzkrjxV5BFdgBQ9Hl6Kha57UEBuwKLyzXNuz1oJJdsCZ0Zpifbkk63ly3zeIHDJ93XjOfs3vufg5l5jZEzXeHPbURJdwr2DwoTBnRsNxOEO9qtouxKJu8NWBFpiR8/Ssj0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=jyqeTfDu; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 626AFC2BD11; Thu, 9 May 2024 01:39:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1715218754; bh=C59DV07EAbIh77RRqSpx0oC1Y+VhMFF3FPzCuCWRsNY=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=jyqeTfDuxumlqe0iaFrrMby2E+2aU4/aySDp55xAR49+VmyATJZDcXj3vNKuqLnow 5GxrPaRMPq0cyV2KpvACi127L3HBvCCmZ4A7DBgWp7W32Jyo/2ZxfRRrCz3L9Y2VDx 8rRCOhLKGdrzublp7j++fu4LwlgFXxtsbXW7jL569LHNDENDzy2o+UPZ0QZa34eBpu o7Zor/vwSsWOXQiRLeXUgNHSxmo5u71V7IU+bMacuMLCpYyt+oTymJM7SSpSpWWgeK EFVFMrIcwmtBYaZcYeTm0+IPFVt+ARs0S9k16yJrjUFmgoJpfnzircTjvpERFMi/TM dCOESj352OGqw== Message-ID: Content-Type: text/plain; charset="utf-8" Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <20240508-unabashed-cheese-8f645b4f69ba@spud> References: <20240508-unabashed-cheese-8f645b4f69ba@spud> Subject: Re: [PATCH v1] clk, reset: microchip: mpfs: fix incorrect preprocessor conditions From: Stephen Boyd Cc: conor@kernel.org, Conor Dooley , kernel test robot , Daire McNamara , linux-kernel@vger.kernel.org To: Conor Dooley , linux-clk@vger.kernel.org Date: Wed, 08 May 2024 18:39:12 -0700 User-Agent: alot/0.10 Quoting Conor Dooley (2024-05-08 14:33:24) > From: Conor Dooley >=20 > While moving all the reset code in the PolarFire SoC clock driver to the > reset subsystem, I removed an `#if IS_ENABLED(RESET_CONTROLLER)` from > the driver and moved it to the header, however this was not the correct > thing to do. In the driver such a condition over-eagerly provided a > complete implementation for mpfs_reset_{read,write}() when the reset > subsystem was enabled without the PolarFire SoC reset driver, but in the > header it meant that when the subsystem was enabled and the driver was > not, no implementation for mpfs_reset_controller_register() was > provided. Fix the condition so that the stub implementation of > mpfs_reset_controller_register() is used when the reset driver is > disabled. >=20 > Fixes: 098c290a490d ("clock, reset: microchip: move all mpfs reset code t= o the reset subsystem") > Reported-by: kernel test robot > Closes: https://lore.kernel.org/oe-kbuild-all/202405082259.44DzHvaN-lkp@i= ntel.com/ > Closes: https://lore.kernel.org/oe-kbuild-all/202405082200.tBrEs5CZ-lkp@i= ntel.com/ > Signed-off-by: Conor Dooley > --- Applied to clk-next