Received: by 10.213.65.68 with SMTP id h4csp184338imn; Thu, 15 Mar 2018 22:54:22 -0700 (PDT) X-Google-Smtp-Source: AG47ELt/VB5QwAfJhap5GEvRonRVoijY5FhYNMFvPinho28Z4pmuAWBtIS01eTET/g52mI+o4OWz X-Received: by 2002:a17:902:8a92:: with SMTP id p18-v6mr707109plo.286.1521179662726; Thu, 15 Mar 2018 22:54:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521179662; cv=none; d=google.com; s=arc-20160816; b=TXePnvOaGCDDpNl3Uo723KTWyBz8GDokwy1NGMbQn6a1MWNpRxRKhkMUNOMqEBt3dR CaKKRFadGaF0gDyCBQfKeWF906b7XEDGoeNZITxCnqH/aeWdPI3FFOvVKdYBfsI2/+ws NVdOaCH5DP9EYdWb5zJVGLY6o1sXh+xhIqcABPmiuNOR8KWPSuml/MYg90chaE2LpU6C EEKb3j0YWGswX9xZkhqcmye+enZydudP6sNojg2Fuca5SraYoUvCcHCOkc9WLnQ5qz7v IcBygjKvfM6Aubd6lWix/VkOwHJ/xO0TrOQNAYBpF2jZr2uQh3vhBw+Bud8jFluU8iTY aO1g== 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 :arc-authentication-results; bh=nKXRndVno8MGOSYHYks1QiXJctLK9/52BmA0+4O6eko=; b=w5ctL608CoGMgFTVZwvCB8PENjiXBmHnp6bqiiR9eCYGdOM9Hzktf76JMHq4sVr3c/ vrhQZsokrzXz7rfU4QMxLRFxqrgoQ3NfjCaK0NShOXZscq8MHNJKOfCxcePEkf/HTEG6 aMXzmvJxRBAtZnQXZgNo+rTthKaKaI6dOi0umkDcdoqruJ4XnXcelrZnJNYWpReAUqEE PPHXjCBLPlwVWs8wxqs3gbfDEB+MuD1807V/xn0Kq6xVQVWmIOAk5xFszK0oUGKldP3o EOEou/Vh6ZesNGkToazxClmsKlsvacnZGCZdT7+g1ZxiY35a9K6cIzYVUn1GnBAducOq A2BQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=oVX08b5G; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r63-v6si5501489plb.356.2018.03.15.22.54.09; Thu, 15 Mar 2018 22:54:22 -0700 (PDT) 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=@google.com header.s=20161025 header.b=oVX08b5G; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752378AbeCPFw1 (ORCPT + 99 others); Fri, 16 Mar 2018 01:52:27 -0400 Received: from mail-oi0-f67.google.com ([209.85.218.67]:34184 "EHLO mail-oi0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751967AbeCPFwZ (ORCPT ); Fri, 16 Mar 2018 01:52:25 -0400 Received: by mail-oi0-f67.google.com with SMTP id e79so3772081oih.1 for ; Thu, 15 Mar 2018 22:52:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=nKXRndVno8MGOSYHYks1QiXJctLK9/52BmA0+4O6eko=; b=oVX08b5GfZx52SWaIGOo7gmFHKx6f40LAXek7jyGZyyyv5fAjSUtr1Z5u5iMXP83KQ mtpz3TRzDLXVv28+gYM9vvw5LtRry5VUIqpyKUkA9kjnUZBM8ojpR0l74F1iKu/g8lMP kJtkwGRuUz07ruZ4wcovgD+T0CvOlta0xVNcFQYTOdN8wOdNSryvClOU8WpV1ThoPu8k MPk9WMdW5Q3gkAcDdSTgO08iAa/P/d8uc1+eCZ4LmwiY0yYouakW9Hj6hhwywmAeOIV6 +ppsaoEmcR+jRiD6Nfc2XpX2FxV7mYtF+lOZ2UbOzEG+vbER4cYYCjX24w4t5FTTj/Zy YchA== 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=nKXRndVno8MGOSYHYks1QiXJctLK9/52BmA0+4O6eko=; b=jJLH0T33dDlm3cpq/B2fOJaqUfXtQ6kH1stf9zdcSjddvyCWY+K7+2Kvt51a6R5QlP cS3Akp/HnyNiozG7MqSjxZRjvcyaEjsAcGnDvi0Py3sC/O/XrvGXik1fYw/Oa8rnmxZT EqCgz0jgY0pzyCQESYk7xygphBuJMR6F9Cii7k3afBNpWZttYPUD8nVlLZhVaKBk/AVb siax3++o7jnB9+CDkBOWFjJYcu+qZ66t2nRUhLWqUfbDLlsdYhIiYH2dv/tZx5+yxmQW fIfCAjVESLkrO/xO9eVLsYSK8QZOzZKSE1+VqEHkfwKGHpnlmyWlYFxXCt2uj17aA9eK c3+Q== X-Gm-Message-State: AElRT7FOCFDmj1SYpEzLsppd/G1C2NTZhpcv9qTpg22qQIsVOWl1Res9 OfZ/eadlP5SolDIfRbBXqmezliQ+G0lNGo6rlAnXsQ== X-Received: by 10.202.106.201 with SMTP id f192mr324898oic.121.1521179544785; Thu, 15 Mar 2018 22:52:24 -0700 (PDT) MIME-Version: 1.0 References: <1521155412-29229-1-git-send-email-tmaimon77@gmail.com> <1521155412-29229-3-git-send-email-tmaimon77@gmail.com> In-Reply-To: <1521155412-29229-3-git-send-email-tmaimon77@gmail.com> From: Brendan Higgins Date: Fri, 16 Mar 2018 05:52:14 +0000 Message-ID: Subject: Re: [PATCH v1 2/2] arm: npcm: Enable L2 Cache in NPCM7xx To: Tomer Maimon Cc: Arnd Bergmann , Patrick Venture , Avi Fishman , Joel Stanley , OpenBMC Maillist , Linux Kernel Mailing List , Linux ARM , Nancy Yuen 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 Thu, Mar 15, 2018 at 4:16 PM Tomer Maimon wrote: > Enable L2 Cache in Nuvoton NPCM7xx BMC. > Signed-off-by: Tomer Maimon > --- > arch/arm/mach-npcm/npcm7xx.c | 2 ++ > 1 file changed, 2 insertions(+) > diff --git a/arch/arm/mach-npcm/npcm7xx.c b/arch/arm/mach-npcm/npcm7xx.c > index 5f7cd88103ef..c5f77d854c4f 100644 > --- a/arch/arm/mach-npcm/npcm7xx.c > +++ b/arch/arm/mach-npcm/npcm7xx.c > @@ -17,4 +17,6 @@ static const char *const npcm7xx_dt_match[] = { > DT_MACHINE_START(NPCM7XX_DT, "NPCM7XX Chip family") > .atag_offset = 0x100, > .dt_compat = npcm7xx_dt_match, > + .l2c_aux_val = 0x0, > + .l2c_aux_mask = ~0x0, You need to limit this to the specific bit(s) you want to set and verify that the l2c driver does not already manage that bit appropriately and that it can not be specified via the dtsi. We discussed this a little while ago with Rob here: https://www.spinics.net/lists/arm-kernel/msg613372.html > MACHINE_END > -- > 2.14.1 Cheers