Received: by 2002:a05:6358:f14:b0:e5:3b68:ec04 with SMTP id b20csp2869323rwj; Mon, 19 Dec 2022 09:46:53 -0800 (PST) X-Google-Smtp-Source: AMrXdXsOadj59UUP20IwQanC1cmKbBi/LxqmxCUaLTZ/YkcWr7Zbe0YruBzStuDa/ELWqpHcAaya X-Received: by 2002:a05:6402:1552:b0:475:dddc:374a with SMTP id p18-20020a056402155200b00475dddc374amr11641122edx.18.1671472013239; Mon, 19 Dec 2022 09:46:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671472013; cv=none; d=google.com; s=arc-20160816; b=GLmmgefKGdpCv6mErGAYJnLrOebU/7ZqmHuiV1bpYqNiP+zHjYE1gfpIUDt0k8DzsY UwXQ3b2vHcKmE16y+oIHY2AtMehCVc8Am+0DQNVJ7X5QQUfx1ptH6hrOr/w/40aCu788 O/hMow6U1O9YSdO86qEvw5Rsure70pAwL1O8fPAwgrMoc6VxVRbjQq5MtltVxu/WS+WE Tg9uSUL9N+31H3SCONQI5pbN1TxcrsVi1GrCJwNzjL8RJhuzcbBW6XOmA6QYDxEKdJYl 0K4X6ixQwOi9vR59kdIo25xQaqjkjhcd9+5W5nN91yBCmLsCEE+n/jzdpmgU2yMvUCjI XXbQ== 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-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=U/v5QF24UgCyhOviKN7va44J4qr79PiICT//51MxqP4=; b=VFwMw1F6OUoFSjzd8PsVL/PMTgqt46lYWorI0B/Msk8T6QB4XCtTUu6gqoDLqEzbLe GP07x2Tt4JSObczNoWcwLegvMIbJbHncC0VBC62bAyFVcjRouwhiR+XshNxbf5M5sOdx dSeFdxWzXiEq46j2ndsFgleaMo6mBNv981gwMt/e5j1Lb+eXrRni5dpyIP4Ni3z9cR2N R0f71I+6JeVANC69bCl0PrAzjrCHF1k7/y9qrd4w/1rcAQQ9/gbC1+R8J5JT7g1luLMH uDvlMkzSQgBfP7p2Lrg2gU9KbRXNV1hcter/dCC6C5ZeuGwZ1MS1aaLDgeklbw0ga3kM ITtw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=toAg9I22; 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 w17-20020a056402269100b0045d3e06e4d5si10561679edd.389.2022.12.19.09.46.35; Mon, 19 Dec 2022 09:46:53 -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=toAg9I22; 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 S232126AbiLSRbk (ORCPT + 70 others); Mon, 19 Dec 2022 12:31:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56102 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232182AbiLSRbf (ORCPT ); Mon, 19 Dec 2022 12:31:35 -0500 Received: from mail-pl1-x633.google.com (mail-pl1-x633.google.com [IPv6:2607:f8b0:4864:20::633]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D337960CE for ; Mon, 19 Dec 2022 09:31:33 -0800 (PST) Received: by mail-pl1-x633.google.com with SMTP id u7so1518139plq.11 for ; Mon, 19 Dec 2022 09:31:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=U/v5QF24UgCyhOviKN7va44J4qr79PiICT//51MxqP4=; b=toAg9I22I2g3+DhNQ5Ur2KkfYka3FHWlkU4A1A3Pq7c+MK9K6yIFq/L3jHEhSgvE59 EbUX84zU6Wanns5WmTcEakG3gRsCjwzFvKltQEdLaBto14PyULhLCLLqTexlvKL590UI xsY8qiyEwU397KxaUk2EVEU/dIYGU5VbvSIg5tUxA4JoGLBG0oRBIV7MPmotPqToCIHT tNPTE4sPRLztaiMHCwYZKBRgJIamM/syazGjROD5GUO3rHdTnwOCGl+3HD30z1nfemRn A9j/inI6B7ZqCzA6MYIEEi07mZLqpA5aAXO8H5GzeqN1qWZMYx6vAX+d8pOpmpdk+nTF idvw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=U/v5QF24UgCyhOviKN7va44J4qr79PiICT//51MxqP4=; b=X/YvgxHhODOfRqge+3x3LCzGLHlk72WZ2Q+pk5L1K4DLOAq9VAgXOLw0yFJJQGH1vO 3KiaIfDIngNNwpVySprh2PsSNsw3f6X3WmacssyI+/cTq6+npny1PHjnWUkJPlLTqQBc D8hY9e4fW1cYIvypbLPSUbQ+DjAAbC4Kan20vOZuYcxP/WuRQuPwik7gHc9p76pVs29w +5Bp0ud+3ubSzQ8s2gnvQY8pusLCWvi1xyFYgq1YAtBpoPLY76aeiGglot+Uksq2RsP1 +1kvChMa3BfPttlC0GtSUesqtKzGxZVV3wbDTvIJaOTyDuW42HebRqVaS6O2qkPmsNxi 3sgA== X-Gm-Message-State: ANoB5plPGEIB4UeS3qij0emYaTL9tfjlCY+zQY5/cw7ZFI87KN6X6/WA WrS8njstL+jfJMSSlLWYParE X-Received: by 2002:a05:6a20:49a6:b0:ad:3ada:c712 with SMTP id fs38-20020a056a2049a600b000ad3adac712mr41417851pzb.14.1671471093326; Mon, 19 Dec 2022 09:31:33 -0800 (PST) Received: from thinkpad ([220.158.159.17]) by smtp.gmail.com with ESMTPSA id s11-20020a65584b000000b004771bf66781sm6512726pgr.65.2022.12.19.09.31.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Dec 2022 09:31:32 -0800 (PST) Date: Mon, 19 Dec 2022 23:01:25 +0530 From: Manivannan Sadhasivam To: Dmitry Baryshkov 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 Subject: Re: [PATCH v2 00/13] Qcom: LLCC/EDAC: Fix base address used for LLCC banks Message-ID: <20221219173125.GC126558@thinkpad> 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> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: 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, Dec 19, 2022 at 06:49:39PM +0200, Dmitry Baryshkov wrote: > 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 > Hmm. I think I will just go with platform_device_id in the next version. Thanks, Mani > -- > With best wishes > Dmitry -- மணிவண்ணன் சதாசிவம்