Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3508595pxj; Sun, 20 Jun 2021 23:36:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyfXcguZtLHsj9LDNJMaQZUiz7wH9qWAmlsdFaMpnQpzHjDpuDladbQQtrj1cnaF2WzPP5y X-Received: by 2002:a17:907:7b88:: with SMTP id ne8mr242314ejc.293.1624257408602; Sun, 20 Jun 2021 23:36:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624257408; cv=none; d=google.com; s=arc-20160816; b=gesCDPFOEbFNlgncyPGNFfzeE0kDg7lw7S/nCVknWWmzMWAmZESsYKl6G+NUMp508i S1zNQO2zfm6Q6tsiYrbOUDye5E5CxbiF+POKA7BLuYr3uDMtIhdl1TvkmF1TiI+1Wd+4 r2iTwWmTuGvplmCW52XMae77+HUXzseWPZ3bym8X/URqXaPNEistXILe6guRMTsBxCPX iMzia7oRfPEFe9LYjTrIX0ALw3OMb4mnMZOQXcjmwosXILl2XO/cMHeCoFgypmFFesi9 QKvPTel2O+FTX69l6c67SuC1OoqTtIw4mgKoUIhQU+/+7EMQ/InlLywQK/DefTn0RxrL eAJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=sH9B4JXMU6pBU116AVjmwqKeXZxuzhWGilSwUDAabeY=; b=D9Tq8IagBaaFv4IawrdCL1zXd/uJ6VMeLaNdbXP1Q8od9f2MVWhqs5VvU+rylDsYmC LiFtKqCX4mQ6eB7lYDxd9MIr8Ro6WO45StWMRB+PmLR9OHuu5O1qQtOh6U7WRDy3sQK8 PMttH9MdcoTY9pDN7nvX7tWxAkLE5k6CIkHE4hJKUUDBKILDmrvVFaIz4PAXwDsIkplo 3Sfr1WVVr1bv8AMu7LwZCHNjpbSYPm8sdo4r8s1hXN6AIYf0zAuL7BykAgo/jdS4tihS ldjZTuT5Jt32Bz0KoU0+a38cv7P90sniMS+IZt9tnWPn4iSfnTEMfVxZDBkeIOiIkZX3 srnQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=McbJ9v5V; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m7si16219248edq.86.2021.06.20.23.36.26; Sun, 20 Jun 2021 23:36:48 -0700 (PDT) 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=@linaro.org header.s=google header.b=McbJ9v5V; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229887AbhFUGfc (ORCPT + 99 others); Mon, 21 Jun 2021 02:35:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35054 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229576AbhFUGfb (ORCPT ); Mon, 21 Jun 2021 02:35:31 -0400 Received: from mail-pl1-x62e.google.com (mail-pl1-x62e.google.com [IPv6:2607:f8b0:4864:20::62e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AC719C061756 for ; Sun, 20 Jun 2021 23:33:16 -0700 (PDT) Received: by mail-pl1-x62e.google.com with SMTP id v12so7970984plo.10 for ; Sun, 20 Jun 2021 23:33:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=sH9B4JXMU6pBU116AVjmwqKeXZxuzhWGilSwUDAabeY=; b=McbJ9v5VHijOHyZNrGX9U9ZDYKfepy+yP/134VXnlBAfzKONENUkqQV6BKIfNEp/Dy IZNbWEenEtH7z6uzyYeXyQWL2nbHRUK7pl+VeFRG3ur/BR+f+UFjI2mJ9fcZoIrFhfXJ p9yaRNpkD2wfcpPS6McWbk6Uqy+o/jisVZtjjQTDsGAa+BwLeZgvO9NX7QiAr//rfMEg g0TGgo/DF3/BYdo6J/aKhYZ/c2ezUQkrEX8GaSAvk4U4HK9zZ4rBSN8/E1o98PNnbCAE N6TZQYsDzdC456yV3A+idq/kPiwYIsnjbfS6vGW9ciVCKVCnKicJoXzC7vDHjpUFNQWG 4tgA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=sH9B4JXMU6pBU116AVjmwqKeXZxuzhWGilSwUDAabeY=; b=Eea7TiOx8nh+/fWeAgROhXAlXBo4qu5GuQ2onH08joNJZ4TVwgdbvJJiSnO5HrtL2y SWMLevCeeGjZ4AeIdFSbV5BjmEqSpUitzFqttAu68CFal4zIcrSbklOgy2HVdwWTsgNQ +ctis338CI/nEVVBFiwUUaIxKDmiB0QHttWlKmwFIzT1ufXvRt3r0HC7MLU/6tZy46a5 YbF0Yh9C9m2LIr2AK72vwhydDgSoyZPeeWIU7a2J/vF4Q1riUBVgk+tMm6ZaUY8DZ/h9 KnuLPlNk4wBAlYbJZFkxtN/C03KzSoXaEGLvk9XTpQuVNzGxIGbq25r2ngryjFgNro81 /K5g== X-Gm-Message-State: AOAM530Xp5abFwLyeGIIB6jBgrUbWwkoe2lk9XAXBHPty3Tc/uTtGYcN Z3vOuCxZExAk20wVxyNoCAnH2g== X-Received: by 2002:a17:90a:70c7:: with SMTP id a7mr30651222pjm.31.1624257196245; Sun, 20 Jun 2021 23:33:16 -0700 (PDT) Received: from dragon (80.251.214.228.16clouds.com. [80.251.214.228]) by smtp.gmail.com with ESMTPSA id d189sm7273860pfa.28.2021.06.20.23.33.13 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sun, 20 Jun 2021 23:33:15 -0700 (PDT) Date: Mon, 21 Jun 2021 14:33:10 +0800 From: Shawn Guo To: Jassi Brar Cc: Rob Herring , Sivaprakash Murugesan , Bjorn Andersson , Benjamin Li , Devicetree List , linux-arm-msm@vger.kernel.org, Linux Kernel Mailing List Subject: Re: [PATCH v2 2/2] mailbox: qcom: Add MSM8939 APCS support Message-ID: <20210621063309.GA8666@dragon> References: <20210503081334.17143-1-shawn.guo@linaro.org> <20210503081334.17143-3-shawn.guo@linaro.org> <20210523060009.GA29015@dragon> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Jun 20, 2021 at 11:27:49PM -0500, Jassi Brar wrote: > On Sun, May 23, 2021 at 1:00 AM Shawn Guo wrote: > > > > On Mon, May 03, 2021 at 04:13:34PM +0800, Shawn Guo wrote: > > > MSM8939 has 3 APCS instances for Cluster0 (little cores), Cluster1 (big > > > cores) and CCI (Cache Coherent Interconnect). Although only APCS of > > > Cluster0 and Cluster1 have IPC bits, each of 3 APCS has A53PLL clock > > > control bits. That said, we need to register 3 'qcom-apcs-msm8916-clk' > > > devices to instantiate all 3 clocks. Let's use PLATFORM_DEVID_AUTO > > > rather than PLATFORM_DEVID_NONE for platform_device_register_data() > > > call. Otherwise, the second A53PLL clock registration will fail due > > > to duplicate device name. > > > > > > [ 0.519657] sysfs: cannot create duplicate filename '/bus/platform/devices/qcom-apcs-msm8916-clk' > > > ... > > > [ 0.661158] qcom_apcs_ipc b111000.mailbox: failed to register APCS clk > > > > > > Signed-off-by: Shawn Guo > > > Reviewed-by: Bjorn Andersson > > > > Hi Jassi, > > > > Any comment on this patch? > > > 1) I was not on the CC list, so I don't have this patch in my mbox. That's strange. The patch series was sent with your address on "To:" field. And that can be seen on patch archive [1]. > 2) Shouldn't this patch be broken into a fix and an enablement patch? MSM8939 is the only platform that I know has multiple clusters and uses APCS driver. So the change becomes a fix only when MSM8939 is enabled. But if you prefer to separate the change, I will do so. Shawn [1] https://lore.kernel.org/patchwork/patch/1420808/