Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp110088pxb; Thu, 21 Jan 2021 02:38:24 -0800 (PST) X-Google-Smtp-Source: ABdhPJzJcRd7H3QIhDGOyrNKDgXN+35Dq2DPy+ub3vpinRE0f3kbnC+XFtQk94LzE77GtI9CUfdw X-Received: by 2002:a50:ccc3:: with SMTP id b3mr11238658edj.41.1611225504192; Thu, 21 Jan 2021 02:38:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611225504; cv=none; d=google.com; s=arc-20160816; b=LhwhWuzGM9T+yvNM1FsMNZW6AeQrjeKITKtNZvMliTiXCVTIu//IJzGvIm0y8TSofG mTxev8Sqe+7wRKFWjcX2s+/1irvGa0m3afRgIMwAtRPRutMjeiyvCxoK1plnL6/cYyCj SPR9jbPng9PqjUQaBBbbtTa9jz7bnc4QjzJhPoYg2jy4BmxqNot5QKx62Ijb+kBU+8wH oXETe7PiE8vVSs/ZxmCttU9anCgj6toWwVD6hKc/MaJ2v3DRANTnI9MD9f8R+oYboh5t +pjKXkcfYeR/6Zard1clXrjLul3WLCRHrVDUASg+phEmpIwVZu2+OY/QCnMsiB4uBgrY tR6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:cms-type:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:cc:to:subject:dkim-signature:dkim-filter; bh=XfBx/qNg23HWDQln5K2h5RVf0BLEFZCS/JUYWDf9KdY=; b=dqh6eqa+W3uNzejt53KqffrgudU8CCb4BPseJ9w83Qr7tLl5ei2QkknfZHfEynJ2Kr zcFdQu61w3N1gsdIoM+QkNz9OvfdCmUfFqst6XZFeJ8TSIlzQzrTNSbqhhcAH2bVxAhB GltPukQ9QKWubMkdlnjCSxo2/Qh0kunxww6sar4WByoJB4Vfpnr6yOo1gtbM+zEIhYuz ra+pj85K7RluhYr3xJlHkDbGT8cwFumTENRpYhS0hEygRUFTXbE9dnn1oA0KQ/hR3d01 W3blX8oiGAun3XNOcHoEzNn0CcOFI9iD7wOu18iYeQ4EfkSbFs98SHePnD75Qf1HqqxT GoYg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=hi2QoS7J; 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=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m19si1934884edp.417.2021.01.21.02.37.59; Thu, 21 Jan 2021 02:38:24 -0800 (PST) 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=@samsung.com header.s=mail20170921 header.b=hi2QoS7J; 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=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729663AbhAUKhN (ORCPT + 99 others); Thu, 21 Jan 2021 05:37:13 -0500 Received: from mailout1.w1.samsung.com ([210.118.77.11]:47548 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729241AbhAUKeX (ORCPT ); Thu, 21 Jan 2021 05:34:23 -0500 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20210121103340euoutp01f0f760bdbe08e394d738f9f87b74ca26~cOM0yAaKS2352923529euoutp01Q for ; Thu, 21 Jan 2021 10:33:40 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20210121103340euoutp01f0f760bdbe08e394d738f9f87b74ca26~cOM0yAaKS2352923529euoutp01Q DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1611225220; bh=XfBx/qNg23HWDQln5K2h5RVf0BLEFZCS/JUYWDf9KdY=; h=Subject:To:Cc:From:Date:In-Reply-To:References:From; b=hi2QoS7J5mkbCJfeGUyQ8kGHLK9vGCalMvQbHKoKyydVzy2qzET9hjeV+msdosUfh UnxRF2oz5EbPx8H7jUbz4LQM2N6/Yu6EfYiltHtV9BhtMx/2CxYihzBXuuMqdLA+eT MdKtpPO4REryVw/ZnrqejCc+ZylDCtQTHJ8UH9yc= Received: from eusmges3new.samsung.com (unknown [203.254.199.245]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20210121103340eucas1p14d304879f8437735e0025777c0d191da~cOM0OWhux0159801598eucas1p1t; Thu, 21 Jan 2021 10:33:40 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges3new.samsung.com (EUCPMTA) with SMTP id 41.B9.45488.38859006; Thu, 21 Jan 2021 10:33:39 +0000 (GMT) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20210121103339eucas1p13d54ddb6181c6a4932a97a40630dedb2~cOMzycrOs0559105591eucas1p1b; Thu, 21 Jan 2021 10:33:39 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20210121103339eusmtrp1634fdab49bb5ecf11d963848fa94caba~cOMzx0OmH2339723397eusmtrp1U; Thu, 21 Jan 2021 10:33:39 +0000 (GMT) X-AuditID: cbfec7f5-c77ff7000000b1b0-63-600958832626 Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 11.35.16282.38859006; Thu, 21 Jan 2021 10:33:39 +0000 (GMT) Received: from [106.210.134.192] (unknown [106.210.134.192]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20210121103338eusmtip2cc38cdaef03157d2b40b5a83919574d9~cOMzNojgT1051610516eusmtip2h; Thu, 21 Jan 2021 10:33:38 +0000 (GMT) Subject: Re: [TEST PATCH v1] driver: core: Make fw_devlink=on more forgiving To: Saravana Kannan , Greg Kroah-Hartman , "Rafael J. Wysocki" Cc: Geert Uytterhoeven , Marc Zyngier , kernel-team@android.com, linux-kernel@vger.kernel.org From: Marek Szyprowski Message-ID: <80832719-85dc-c6ba-a7e9-5d53f4020e52@samsung.com> Date: Thu, 21 Jan 2021 11:33:39 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.6.1 MIME-Version: 1.0 In-Reply-To: <20210121082248.883253-1-saravanak@google.com> Content-Transfer-Encoding: 7bit Content-Language: en-US X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrEKsWRmVeSWpSXmKPExsWy7djP87rNEZwJBrN+Wls8u7WXyaJ58Xo2 ix3bRSwu75rDZrFzzklWi7lfpjJbdB36y+bA7rFt9zZWjwWbSj02repk8zh0uIPRY//cNewe nzfJBbBFcdmkpOZklqUW6dslcGWs/LuAtWAid8XO57sYGxj/cHQxcnJICJhIdC17wdjFyMUh JLCCUeLQ7dksEM4XRomFH/azQTifGSW6z0xnh2lZ2nKbFcQWEljOKPF0vyhE0UdGif5PV9hA EsICPhLrT01mAkmICLQxSjzc9xNsLrNAK6PE9d8zwNrZBAwlut52gXXwCthJfD4/ASzOIqAq serLK2YQW1QgSeLuncNMEDWCEidnPmEBsTkFrCWev/rJCGIzC8hLbH87hxnCFpe49WQ+2GYJ gSccEh9uzgVawAHkuEisnGYD8YKwxKvjW6DekZE4PbmHBaK+GejSc2vZIZweRonLTTMYIaqs Je6c+wU2iFlAU2L9Ln2IsKPE+T8PoObzSdx4KwhxA5/EpG3TmSHCvBIdbUIQ1WoSs46vg1t7 8MIl5gmMSrOQfDYLyTezkHwzC2HvAkaWVYziqaXFuempxcZ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c8sOxpWvPuodYmTiYDzEKMHBrCTC+8iSI0GI NyWxsiq1KD++qDQntfgQoynQPxOZpUST84EpIK8k3tDMwNTQxMzSwNTSzFhJnNfkyJp4IYH0 xJLU7NTUgtQimD4mDk6pBqbQGLcj7erZO/6f/Vi78CtLmLNOwv/4zccmd4bffSFyIpSn0n53 50dlzwv1bGYPbz155yv+9+bis56vSiLaw7/wXzT9Kfeo/91Kn4mvM7tVBPPkrFOWqTxn3vFg 1cJJR4/MYJUxfJdeqCOq8X0NzzFGNobtfVW1TY7lQhwv+m8Fvv5dMzvjsM3zWV8KIsPtOu2U /dq/djqUHC7VUFhV++zp+sM/LAN+Ty0+2iPPE6aW9/thzhq/efcUD/zRn6N75NZdTY+1tS0H G6cZf5JJ/hpz3DjZ6oajg/WR0D+L/0gsnez3c+f1LMfXpn1LF0uwsHzIU1uU63+Uc7/NY7Eq Pi8vpzMptUtWlsXUNU4qzFZiKc5INNRiLipOBADa6EbGSQMAAA== X-CMS-MailID: 20210121103339eucas1p13d54ddb6181c6a4932a97a40630dedb2 X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-RootMTR: 20210121082255eucas1p1b55474f1c6cc3fd30d058082597439b5 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20210121082255eucas1p1b55474f1c6cc3fd30d058082597439b5 References: <20201218031703.3053753-6-saravanak@google.com> <20210121082248.883253-1-saravanak@google.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Saravana, On 21.01.2021 09:22, Saravana Kannan wrote: > This patch is for test purposes only and pretty experimental. Code might > not be optimized, clean, formatted properly, etc. > > Please review it only for functional bugs like locking bugs, wrong > logic, etc. > > It's basically trying to figure out which devices will never probe and > ignore them. Might not always work. > > Marek, Geert, Marc, > > Can you please try this patch INSTEAD of the other workarounds we found? I've checked the latest linux-next with this patch and commit c09a3e6c97f0 ("soc: samsung: pm_domains: Convert to regular platform driver") reverted. Sadly it doesn't help. All devices that belongs to the Exynos power domains are not probed at all ("supplier 10023cXX.power-domain not ready"). > Jon, Michael, > > I'm explicitly not including you in the "To" because this patch won't > work for your issues. > > Cc: Marek Szyprowski > Cc: Geert Uytterhoeven > Cc: Marc Zyngier > Signed-off-by: Saravana Kannan > --- > drivers/base/base.h | 3 ++ > drivers/base/core.c | 117 +++++++++++++++++++++++++++++++++++++++++++- > drivers/base/dd.c | 24 +++++++++ > 3 files changed, 142 insertions(+), 2 deletions(-) > > > [...] Best regards -- Marek Szyprowski, PhD Samsung R&D Institute Poland