Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3844696pxj; Mon, 21 Jun 2021 07:51:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxdBaVYtzAjYa3Iobjw+IlMKCYjBCdfU3lWOUxuSqgGnu0Hs3Um8YXzlNIf0GcJ2/tG/In/ X-Received: by 2002:a05:6e02:16c5:: with SMTP id 5mr10404286ilx.72.1624287076173; Mon, 21 Jun 2021 07:51:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624287076; cv=none; d=google.com; s=arc-20160816; b=h3v2XdOPxaTr6KtUjWEHL2HcSNPD8DfyhwiBlIoG5BnBaJMe+IKhQLUoMLxhZtFv5U sHfXiQzje2alzhW5Hn7CCFmzTaHah3jPTg4I+RM+om8zt3KrwdIvCw1XW91n9Hov72HN zkNB+wXhcCSnQg7+q820KFEywNaC6ffBIAJCt6766uzq2oo36AtKYb2MrLDjz29hwZne CslSyZJ9nL2ah/nnzBoBMdkykwc2aub2QY+F6ZGr1QVklc7jDNrvCkDhGUxlbL8OWU9f NVuc0ikz1LpGWwT3b+Jvk0a37jxhqZKR/bWALZzTuzZUMLEadgo93ZzMCbkcwymu6FxY DQDw== 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=KWerBli4ZjJRwrbEo97Cp5HhRgHSf15dtXn9Sfu0Hv4=; b=GUBL79uALXQBTmKhrx+vx60/UXbIcco7pctQZaYbEuZGuwKu5lWk40oIcURAwjjmdf 6ry4OwlOEbLFra+TPPZMrLjxv1AmhalmZeeBy5JWb4u5UQta+YNR1uYqREttWO+VTQfO 5lDOBBA8h3M6Iz0DVu87DmueekYLiMIY4r4OXQga9qnHza+LPIJVoRG/F4/ajGkCc/Xx uqzGyZquybco5Ugd2OHpQIlHo5FA5aenuBEOvvj/WhlpB/0Q3cHaAQhMncFEFgwoY21o ZwC5veE1RZXf+Z/Dz3g373SUvZsJxhgIciR+cByXaHo49pmkmAiuvTZtt8cF3tdM5FuA nlog== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=HFnXl+Fd; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v41si21109477jal.19.2021.06.21.07.51.02; Mon, 21 Jun 2021 07:51:16 -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=@gmail.com header.s=20161025 header.b=HFnXl+Fd; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230121AbhFUOwO (ORCPT + 99 others); Mon, 21 Jun 2021 10:52:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35172 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229890AbhFUOwH (ORCPT ); Mon, 21 Jun 2021 10:52:07 -0400 Received: from mail-io1-xd32.google.com (mail-io1-xd32.google.com [IPv6:2607:f8b0:4864:20::d32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7B4D4C061760; Mon, 21 Jun 2021 07:49:51 -0700 (PDT) Received: by mail-io1-xd32.google.com with SMTP id k16so16067869ios.10; Mon, 21 Jun 2021 07:49:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=KWerBli4ZjJRwrbEo97Cp5HhRgHSf15dtXn9Sfu0Hv4=; b=HFnXl+FdFZ8V0Dw4aJXqgtMls6s5Z+pcKkBs9rm32pJNa1omPENtYomfG9S9UWlkFe JZtGOpaHmrbi2c6IWh+uDJfqJ/v5Y3W7e+GzJNdcWswTo3fTByCUMYRZHcg0oqvv0SSV 4LAUVcRg2mQW4TGbXfIni9wv53OJOhTkZCUvAhYwZ1Vsc6wXwOk25uQUrSJWQlcsBacS OotUUtFjBIym+oCfW9sqfoVuo0zuModcyUjlQ1AdQlz75HdIczXWxusR+lworS8D2B6C b1Slq76+ekknvhon7sDZQjCw2ctmkLgLUTgT7HC4xvuSt977HZaQW+ZRI2T9FGkWoIM3 S/hQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=KWerBli4ZjJRwrbEo97Cp5HhRgHSf15dtXn9Sfu0Hv4=; b=eK8l8MqO71i9yuGNegUCMkuxPC7jUHSQPWE0feMYgfdmfbk8OkY0ixER8jfCkQTpFv 3qCo50oAEQzsl3B/T+4ZfMKgzF+GBJN/n/jr9TVWXCPhepTYktPNSnRqE9talxUMt1ad oU7uQZsi+MEDKdNa+VFeIg58NXYKf8e4tbKsnFIjWc2yJkJ1ir/A3ZFW7oDOonqaXD5u 0aiVcqoDhundOhF5SkbpcG/hYyDSNlamfjYaVYXxqncaFwiOHR8cuWK/waH1OwSQyvIC oTbQOurjRv212oIsTxWX06VWmQWoD+zG56x0Phe9mvzXltVkHY15J6YbD9cfLOARneNl HxiQ== X-Gm-Message-State: AOAM5329aJ4o/vaUIOsbonMsWTZ/Y8BtB5gPQWkXrVR+4ciMJnm79Fc8 lV96sG5LNft411cUNHTZF9iTHrFlhDBofzzv1mA= X-Received: by 2002:a05:6638:33a2:: with SMTP id h34mr17713039jav.60.1624286990945; Mon, 21 Jun 2021 07:49:50 -0700 (PDT) MIME-Version: 1.0 References: <20210503081334.17143-1-shawn.guo@linaro.org> <20210503081334.17143-3-shawn.guo@linaro.org> <20210523060009.GA29015@dragon> <20210621063309.GA8666@dragon> In-Reply-To: <20210621063309.GA8666@dragon> From: Jassi Brar Date: Mon, 21 Jun 2021 09:49:40 -0500 Message-ID: Subject: Re: [PATCH v2 2/2] mailbox: qcom: Add MSM8939 APCS support To: Shawn Guo Cc: Rob Herring , Sivaprakash Murugesan , Bjorn Andersson , Benjamin Li , Devicetree List , linux-arm-msm@vger.kernel.org, Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jun 21, 2021 at 1:33 AM Shawn Guo wrote: > > 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]. > Sorry, yes you are right. But I still can't find it in my inbox (and neither in spam).... perhaps I nuked it by mistake. anyways... > > 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. > Yes, please. thanks.