Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1465692ybl; Wed, 18 Dec 2019 19:52:31 -0800 (PST) X-Google-Smtp-Source: APXvYqxDNKzW7uxvQkrqjTLD1dV9RTtNJU1py2Qjp1jqEv3UOiQn2dVFBslQ9RZcsd4SO81LxvuQ X-Received: by 2002:a9d:6e89:: with SMTP id a9mr6200002otr.38.1576727551504; Wed, 18 Dec 2019 19:52:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576727551; cv=none; d=google.com; s=arc-20160816; b=0DrtvNAhPC1UtgtZsAR8e0mkuBwq7cPhxQK9/xVz7FCvdNE/1MlRSZ1+z/qjCsokEi SMrZLNRDvT/UrsW8AG3GxSTHIpeAH3Ljw0Sx0hgTvjHDnm+x8EEFV1LPGDOztnCMQzmX LK5bSHN+6UW/LS65+qSefLinf+DwXp8WRNd7CRWOZuaRtp7LOaOl/80p8e/wnj+3SqJA Yq+kUXln2pZ98LP9PjxkBFhk9kyf3Y/H/hBBhHhKVti5rT2I+B4S/DrWBTBb3cuu1l0F BPSWD+QI2NbYTNXezaRZfoW4QZWLRVKHggMyHaP4IeLWtfp9DETK8wUnBEH+SGcFTeBs jRiQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=uAOzy6HGq+TFs1xtj7/74tezRjxUw60c5rVBr7oLwZ0=; b=HbCzTrJJ0CEHALsFaE1CU3+RnJSsnRiM54ch3P0BJ4lAC7s783lczzrj9Tv3pyLq84 Q2By8VfbZkmillrGy3/HeZf84z7W04/WWgByHg6svUiPAcnb3uvvakBkN8DV7sXJgUbH D/AeIYUdTEoitPF4ECbvPNsxUuLR20NZAxKXozCwrB6i2UEW9Szc4mMl1jRTJV0saTHm DHqfDrIEpUXCuQAHdoBBVXxzkhyDq3Pyh3bj4OlTANIkkjmqbVST62VKoWqq0pxWdBwp nlIBb451/dh1DMoJLOdx3NVlhggVbYnuZPrcPdKs+wTkpaoV4z3U7s6RVohqsvTCp13U wvdA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=C7UCqqJz; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w16si2550945oih.154.2019.12.18.19.52.20; Wed, 18 Dec 2019 19:52:31 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=C7UCqqJz; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726924AbfLSDvc (ORCPT + 99 others); Wed, 18 Dec 2019 22:51:32 -0500 Received: from mail-qk1-f194.google.com ([209.85.222.194]:47060 "EHLO mail-qk1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726762AbfLSDvb (ORCPT ); Wed, 18 Dec 2019 22:51:31 -0500 Received: by mail-qk1-f194.google.com with SMTP id r14so3497898qke.13 for ; Wed, 18 Dec 2019 19:51:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=uAOzy6HGq+TFs1xtj7/74tezRjxUw60c5rVBr7oLwZ0=; b=C7UCqqJzkPx1B9MwYq5LMFwPNwZyG+0Lu2c/yVQdV8kq5zN+wo1e0ltwHagA5u4va4 Z2Dj9d4LjBn5WuzmdYZAHL+yKhKZAJkCRvaQLFfiNOU+N3UqRrdkJMgyUMANVigeTFaC dZb3Lcrvzgp9DkVgJEDfMwhF7RLdt6+uVAhHs= 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=uAOzy6HGq+TFs1xtj7/74tezRjxUw60c5rVBr7oLwZ0=; b=ucDnMfvgoXwbd/2Jn0IyBuw85U6LwIullK/7VZTE4XtoiCiknsPpsVS+1glgPVYwij eRZ7iMhkiBiH1eroE9iQuG87iB6HDOLtTFGryR/yrPOnWNHQBHpkmCOrfT9JFOkzZX+F fOQKkZ21lqv+S92jyEB58dYj2cDjBE+SpjjHUkh/yn58gE5H2c4VcunNhtvk3sENWQcp nzxIk60kVf6P4MQi/sg2wmJVOQER73WuQKNztK07MrilEhFTB2o/qsfDecy6b48KHmbn XQENVHmNeXeXs7Uks99UXrsgNIcO2J/Rs9v48tlhrysIJxiO5eup2X3Di+QmYqYZBkp5 iTkQ== X-Gm-Message-State: APjAAAUHqfIrJcQD9lyzwTyS5sOwbgNUDC9OuO8NGY7fq5kBFW+a/cK4 FeSSV0pyDOjA9bJ6Fz3e/m9Zh8c8P8MIiUtl6gmNMA== X-Received: by 2002:a37:4bc6:: with SMTP id y189mr6213311qka.18.1576727490722; Wed, 18 Dec 2019 19:51:30 -0800 (PST) MIME-Version: 1.0 References: <1576657848-14711-1-git-send-email-weiyi.lu@mediatek.com> <1576657848-14711-6-git-send-email-weiyi.lu@mediatek.com> In-Reply-To: <1576657848-14711-6-git-send-email-weiyi.lu@mediatek.com> From: Nicolas Boichat Date: Thu, 19 Dec 2019 11:51:19 +0800 Message-ID: Subject: Re: [PATCH v10 05/12] soc: mediatek: Add multiple step bus protection control To: Weiyi Lu Cc: Matthias Brugger , Rob Herring , Sascha Hauer , James Liao , Fan Chen , linux-arm Mailing List , lkml , "moderated list:ARM/Mediatek SoC support" , srv_heupstream Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Dec 18, 2019 at 4:31 PM Weiyi Lu wrote: > > Both MT8183 & MT6765 have more control steps of bus protection > than previous project. And there add more bus protection registers > reside at infracfg & smi-common. Also add new APIs for multiple > step bus protection control with more customized arguments. > > Signed-off-by: Weiyi Lu ... > diff --git a/include/linux/soc/mediatek/scpsys-ext.h b/include/linux/soc/mediatek/scpsys-ext.h Will this include file be used by anything other than drivers/soc/mediatek/scpsys*.c? If so I think you should keep it in drivers/soc/mediatek/ instead. I also still had a comment in v9 about clr_mask, otherwise this looks ok.