Received: by 2002:a05:6358:f14:b0:e5:3b68:ec04 with SMTP id b20csp2797780rwj; Mon, 19 Dec 2022 08:58:18 -0800 (PST) X-Google-Smtp-Source: AA0mqf52t5heWCuYlovgwrAmE9LwmIy+Wpd0NSHApwRyNUmBOP1JPFacC+QWxZnLYc/IsDciYjED X-Received: by 2002:a62:6445:0:b0:577:51b1:375e with SMTP id y66-20020a626445000000b0057751b1375emr45449218pfb.26.1671469098274; Mon, 19 Dec 2022 08:58:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671469098; cv=none; d=google.com; s=arc-20160816; b=s4A+YfmKxYDqTzrAbOpf5rl2D11RIBgaeQ4ZST3BfQXivHWVIQyKQ8s2oY7upf4jTU SUYc6stf/CjskuCL47vD0C9tySTZWF2RQMD/5rJfuN6dEdpZq9mdelzGrfJn2fsj4xns 52Qd+rtTgdSPimOeU7dYhwWf/DHdqW8Dpuf9TOyupbO+AVc9ZvT48UTvjPi4gmEwQy43 BjwiUZVc0xgXeOo4iSO0V9hDhpaAUZ2ct/6ZsrBT+Zw0/8DyeqdV768tGZ06PO1paMYq X/x9dIH3wxGWUi2TxSj4i6dIO3LKQ8iwcBIOcPgCH3wYYsHoR2rS4KF1XH13wd8Zn5SH 6kdA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=3dexYhaJLyySOgzO9m48Qw/vO3VgX3BHvOpR8vVBWes=; b=y9enjJKQ+EJOL5LVdhT+9VzRpVL+84XOSkjCvBJlG+69HItW74gco2gHDlj/GVDTmU yE1digJWfizOMToq9oZaHPxqbpxuhgkwXz+L7qcKeF/zaK29rV/4nF3jZZRMnsr6PtD+ //2aVI2MceLWUCO7JQ8ii22kuJB2N4/y7P+pDYPCJJAZk9mvry/c2CpcXTTyp/uDSv1T mN1Rrwm3B2CG7Xk7RmYFCRmwm9pOfEANFgb6ZpWfa9VUQDsuMHBScTTa7pDYtBq0yary CICWG1Sb58JJoeo9pLmW+FUfGWF5CgoG+mf5uxaJHa4pdhsDHYV7qVzCBpTQWFgRuK0R wzoQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=D8tSclNV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g19-20020a056a0023d300b00536ee478380si11971545pfc.7.2022.12.19.08.58.09; Mon, 19 Dec 2022 08:58:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=D8tSclNV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S232300AbiLSQuE (ORCPT + 70 others); Mon, 19 Dec 2022 11:50:04 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36746 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232225AbiLSQt6 (ORCPT ); Mon, 19 Dec 2022 11:49:58 -0500 Received: from mail-yb1-xb29.google.com (mail-yb1-xb29.google.com [IPv6:2607:f8b0:4864:20::b29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EDD1D12ABC for ; Mon, 19 Dec 2022 08:49:50 -0800 (PST) Received: by mail-yb1-xb29.google.com with SMTP id d131so10117169ybh.4 for ; Mon, 19 Dec 2022 08:49:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=3dexYhaJLyySOgzO9m48Qw/vO3VgX3BHvOpR8vVBWes=; b=D8tSclNVxbCISqviSYEzS21MfzTjmpNSE1ZMOx8zrlQ1/KZljKXGooJL9gtVgiIbJ5 Yi9lHz4WI16IFe0yf2SZEORuhJ8BT95pVYGMMBBv0Yy99rTTRJnxVOpDpBeKm+VEVNlB +3pBfPTexE8uL17VAP4hrxMOSdClpz3TnDggZGy4mXprCd1lHRqBq6O303LwBenPk813 G0161ohM/2xHc5mlYbHz0f4mijAc7J+188tIB8YWOSQHwD2SwBOoh4d8n18FcqAdKuxy TNJuOiX9HtQrmravUtqURfMn6ujVK660Gs+Ja+3fsV4h2v9dobqEeYz9UxiVkVQR6C0h Ua4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=3dexYhaJLyySOgzO9m48Qw/vO3VgX3BHvOpR8vVBWes=; b=NgvwO8ek6fkuGnjGNZqeGCmfQ+B0B14S85JAJ4LKWM2kjn8THUriB5WyBEsO9/Bo+e PvAX7BLvYilMoc212A/zEeBzfUEuS7QFor6QkuBO0RtLT8bj1NUNZdMCitBw7ntioMx3 88Jg5PguzzX0CZTXuBrPUHX1TuB1EFUQMo9jIeiKPrOI1jtfYj0JDW0i99OUggXKw/Zy MSEi9xB0qQxobGtuWiVhOiGaSAggHRaIooQ5oRXEiNUvYGRZaNSeUyHG1Dcqu1pWVcKR amkOfFQrFOU6DUYFbEZJSAw6m3yugXhwHVyoFfk4S+h5irzvwTFbtr9cPEk9/IDRsp1o H/XA== X-Gm-Message-State: ANoB5pnZntNPiKmwOANOWoaVzIqYQJOBR5xuGEOTxFEsD6kQPwps28zn uNuPHo5FCh1SWGg484iM+zFI2BWmpQ7K0fdlY2PIAA== X-Received: by 2002:a25:8544:0:b0:723:5b57:cde9 with SMTP id f4-20020a258544000000b007235b57cde9mr4473256ybn.194.1671468590135; Mon, 19 Dec 2022 08:49:50 -0800 (PST) MIME-Version: 1.0 References: <20221212123311.146261-1-manivannan.sadhasivam@linaro.org> <20221212192340.evgtbpzmw7hcdolb@halaney-x13s> <20221213052802.GB4862@thinkpad> <20221213175738.GI4862@thinkpad> <195a55f1-76e7-3f00-da1f-4ae84f7943c0@linaro.org> <20221219135046.GA126558@thinkpad> <1df13a83-1926-05b5-f7c7-388ef431a2fa@linaro.org> <20221219141643.GB126558@thinkpad> In-Reply-To: <20221219141643.GB126558@thinkpad> From: Dmitry Baryshkov Date: Mon, 19 Dec 2022 18:49:39 +0200 Message-ID: Subject: Re: [PATCH v2 00/13] Qcom: LLCC/EDAC: Fix base address used for LLCC banks To: Manivannan Sadhasivam Cc: Krzysztof Kozlowski , Andrew Halaney , andersson@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, bp@alien8.de, tony.luck@intel.com, quic_saipraka@quicinc.com, konrad.dybcio@linaro.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, james.morse@arm.com, mchehab@kernel.org, rric@kernel.org, linux-edac@vger.kernel.org, quic_ppareek@quicinc.com, luca.weiss@fairphone.com Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 19 Dec 2022 at 16:17, Manivannan Sadhasivam wrote: > > On Mon, Dec 19, 2022 at 03:11:36PM +0100, Krzysztof Kozlowski wrote: > > On 19/12/2022 14:50, Manivannan Sadhasivam wrote: > > > > > >>> Also, the id table is > > >>> an overkill since there is only one driver that is making use of it. And > > >>> moreover, there is no definite ID to use. > > >> > > >> Every driver with a single device support has usually ID table and it's > > >> not a problem... > > >> > > > > > > Are you referring to OF/ACPI ID table? Or something else? > > > > No, I refer to the driver ID table (I2C, platform whatever the driver is). > > > > Yeah, that's what I wanted to avoid here. The ID table makes sense if you have > a bus like I2C or a separate subsystem but here LLCC is an individual driver. > So creating a separate ID table is an overkill IMO. Well, struct platform_device_id is used quite a lot together with the MODULE_DEVICE_TABLE(platform, _ids); On the other hand: $ git grep MODULE_ALIAS.*platform: | wc -l 1308 $ git grep MODULE_DEVICE_TABLE.*platform | wc -l 236 -- With best wishes Dmitry