Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp2652270rdh; Sun, 26 Nov 2023 14:24:00 -0800 (PST) X-Google-Smtp-Source: AGHT+IGTu/FBF5RzkJbSCMmWB0sIwydEdzLftMywkYybh26Xnf4R6F5KYTx8QZs4im4TtXYmeRx7 X-Received: by 2002:a17:902:e74d:b0:1cf:cc3e:c550 with SMTP id p13-20020a170902e74d00b001cfcc3ec550mr2115687plf.5.1701037440201; Sun, 26 Nov 2023 14:24:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701037440; cv=none; d=google.com; s=arc-20160816; b=gNSxOX/uj9AEc/th9qlO29nrHhQr6p7zu2xR2Rz9gsv/+cLdQWkxpTrQ7Uqo20lLfx OXxrndPbbp8pBOpzx4S8PTodpN/Cte+iIurgnA0QLb4o+1ODBTCUgIlVbCrUH6f0aG18 5T9J7R1IYYlzTCScJDeGVEmu1Wbw7q537s18TkkUqXRApnhLbOrGp3TKOfsU3y6BM+L6 E/3+MW5Q0CkNZItPxE1VGkWd2fyB84/UdGtgfzeD3IRRmexUh0iPszxiabY/XoTbrLiV HoTQ/m0rTHssXmFVtfkuLnlsZyIlFXVNI8fUDDfkcE3MGY1fD257fU5UuZ6Up+swesVD evcg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=V1MYy+WVYgKfdrk24ZulIhp5uJ6htXDbJhQ/u1mijbU=; fh=1E9pUnf9onxOkag6SG0F9GR5Y0G/iE6zwKLrM1uu5Qo=; b=gqMrGaDdp7A1iHQ9pB1wbOACU8UR9GH4p9nTCNDhAxI48dGMp5WYQ5Tknn8FuRfzaa N6ZAd39dK0p0oA+dtgyBbTxOW5O6RnUHGP6rNIcVRiPR0OP9PdfMpNdWAw1NnLmhgCnP MGxeytX4TEU56EbiUmixHcvpW/JGqIPPwsncMDiiaf76tnd1NTRA0IaZ0CbKpT/bnOl1 CCfTiAeDk38q7OVM4AqdWw8dAhYW2n8S3f0csGUAa9NcKqkEn+vn472A+xP87GxkdPqn PU/1tbaG0Mc6ImqLcUxobTKHw9I9XS13wjg4wa3EMSJWNU3jstq/UXOjQoePdqQ1e6GD YR/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="NKP9/xaD"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id i1-20020a170902c28100b001cf817b01d2si7842531pld.277.2023.11.26.14.23.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 Nov 2023 14:24:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="NKP9/xaD"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 0E9CB8065838; Sun, 26 Nov 2023 14:23:58 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229524AbjKZWXo (ORCPT + 99 others); Sun, 26 Nov 2023 17:23:44 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33608 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229447AbjKZWXn (ORCPT ); Sun, 26 Nov 2023 17:23:43 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 38D80ED for ; Sun, 26 Nov 2023 14:23:50 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C4FC3C433C7; Sun, 26 Nov 2023 22:23:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1701037429; bh=pfTsofaa4QprR278/y3czVdAOGvgumfdtsYbR8l/K4Q=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=NKP9/xaDc0JuMidlR6fhMtSVuPfGpU7ZVDTrtrBkQBAyte6w9mgVeoaltT+HEJzMH lo0zBYUHiZGtcbWdm570JDHkx31KgxRNQtChwSV5WFnuqqcZgP+Pyi/tzc7C2ezZzo DdWdW9Bj7Mrii+O+UX3svEpa0soPDrSVN4UzZIy07iLAhNrVHJIZG6sQxFgauy5CCx anyd3GIaMpSmAIKmkxcup4+uehDaPZEU+oHjq4azAP5G8n8P1p5QdZy4n/ONi3UHQp 3Fmfm2DxKl71okkrw74vCRbVfwzHJ0M2R6GvpuafDBdWC5S3Gp/t4LAGcr+ZGqOKKC Yw96ezWa+GfjQ== Date: Sun, 26 Nov 2023 23:23:44 +0100 From: Andi Shyti To: Andy Shevchenko Cc: Mario Limonciello , Jarkko Nikula , Herbert Xu , Wolfram Sang , linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org, Mika Westerberg , Jan Dabros , Philipp Zabel Subject: Re: [PATCH v4 04/24] i2c: designware: Fix lock probe call order in dw_i2c_plat_probe() Message-ID: <20231126222344.xaci244buhwbn2v7@zenone.zhora.eu> References: <20231120144641.1660574-1-andriy.shevchenko@linux.intel.com> <20231120144641.1660574-5-andriy.shevchenko@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231120144641.1660574-5-andriy.shevchenko@linux.intel.com> X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Sun, 26 Nov 2023 14:23:58 -0800 (PST) Hi Andy, On Mon, Nov 20, 2023 at 04:41:46PM +0200, Andy Shevchenko wrote: > We should not mix managed calls with non-managed. This will break > the calls order at the error path and ->remove() stages. Fix this > by wrapping lock probe to become managed one. > > Fixes: 78d5e9e299e3 ("i2c: designware: Add AMD PSP I2C bus support") > Signed-off-by: Andy Shevchenko Reviewed-by: Andi Shyti Thanks, Andi