Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp1699092rwb; Wed, 5 Oct 2022 03:35:12 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4aYnmD5pwaweYFWfSuH6hQYxwzdUnD9n92ZcbqZ0L00NxisKYlBjXhyVFHrQzqRpANUcp4 X-Received: by 2002:aa7:dd45:0:b0:458:7474:1fbe with SMTP id o5-20020aa7dd45000000b0045874741fbemr23519937edw.334.1664966112003; Wed, 05 Oct 2022 03:35:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664966111; cv=none; d=google.com; s=arc-20160816; b=vG8O4CyFiu8dqb1TPLgn1b5//sVqfC7Uk1ul/BrWquVKP5bmL4dOUwoLubUqC8l7ip IxhBXHQkMSdLp9kH4dPczsSsBSKFMKkM/5vthGTmI6B+5FdQkX4M0ry1w0l6hWb0S2qi 3oyYO4YfpnOcyZk10W6JcQYOnty8XZ+ZMMt4BS2tjKHHg+nGr4tteEMmBl1Rs5XOligs Zcx++zcb6NSNwN2NeYKAvcjKLODtFHx2cfTMf4csUhxGcLpdizURJtxfkHTJUTFBQG0Q VIfYDEx3z/k7LmtEIE03EdtkNH2Iipt3dQ1CdoWFt3FO/PqEv2cjOZ2vvd3SdTJCPpA0 UnCA== 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-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=08fMOcD5zj+pjdu4CWvCcTe+TPzoE1ZbWgYihBI4RZ8=; b=zr8Guc9d1LkLaLiQvAfxvE7ZA57kfQR/HYArizAm3iynhV+AK7x9NUJ9UYYwM21dhK h7d422ALV+BqAC1xkNp814/xY/TlA3pQwCd5Fmt/V5jOUV79ZC4C4lGITCv47EeEmwWm 6P6JocUal9jqkT4ccQvFj3FMO8gGu9vCjElZKkIyosOY4dm2pdeqW7Kj/WCYajT6VCGO t6NzbpgiCt5pVY3lAOi1gJdWOcAt8fLzaCRlLLnfA1AcJwJURq44lDhdp6e5rW1c3IpF hYfDTDMHNBxLZ+dCzFe4dWfR7T3mzo75QmwPmATUG/RsDsJF5s8vGvjmf4/sw+KlPOOB SDfA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=17p32s08; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z3-20020aa7cf83000000b004596c812fb7si3529613edx.50.2022.10.05.03.34.44; Wed, 05 Oct 2022 03:35:11 -0700 (PDT) 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=@microchip.com header.s=mchp header.b=17p32s08; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229591AbiJEK3w (ORCPT + 99 others); Wed, 5 Oct 2022 06:29:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34974 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229532AbiJEK3u (ORCPT ); Wed, 5 Oct 2022 06:29:50 -0400 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.154.123]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9B2DC1571F; Wed, 5 Oct 2022 03:29:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1664965789; x=1696501789; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=5E4QJjuCCvDQ9v5hxdicxtlW9u5VvqxJSbrtoVqnEOg=; b=17p32s08nbQ/0uGDfLKSQ1h8mkKDrKhlQC7NHFnQf8o54GQjK3mmMUcc Xra1RT4Yl+53bW9of0xjPjq4BjG0l9RMYv0+dd/ybOrMY4Nb+rbCZL3/1 iOTxJNLwO4AF42VO6xV7BDsQGVJ/2x97qMZ+Ep3jYo/9rmRsFU/b3fhav x7az5gAbB5M/AURfyMtGb2AFNdLJJXUWq8xT4mIyjZg6KYMHdJo9sryRh 5Mh0Q/lEMDMMKuEb6zEAj7Lc/My32oVSieCcM4iaUY7osFt3oWYWHTLBG lG/865rL7NLzrDsSDAEVZfDHmYdC8xByjV/4OLf0QZWw4skoSEVcQwGH2 A==; X-IronPort-AV: E=Sophos;i="5.95,159,1661842800"; d="scan'208";a="177122166" Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa4.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 05 Oct 2022 03:29:47 -0700 Received: from chn-vm-ex01.mchp-main.com (10.10.85.143) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.12; Wed, 5 Oct 2022 03:29:45 -0700 Received: from wendy (10.10.115.15) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.12 via Frontend Transport; Wed, 5 Oct 2022 03:29:41 -0700 Date: Wed, 5 Oct 2022 11:29:20 +0100 From: Conor Dooley To: "Lad, Prabhakar" CC: , , , , , , , , , , , , , , , , , , , Subject: Re: [RFC PATCH v2 2/2] soc: renesas: Add L2 cache management for RZ/Five SoC Message-ID: References: <20221003223222.448551-1-prabhakar.mahadev-lad.rj@bp.renesas.com> <20221003223222.448551-3-prabhakar.mahadev-lad.rj@bp.renesas.com> <5254a42c-9233-6f9a-eff8-33324a184d20@microchip.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_PASS,SPF_PASS autolearn=ham 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 Wed, Oct 05, 2022 at 11:20:40AM +0100, Lad, Prabhakar wrote: > Hi Conor, > > On Wed, Oct 5, 2022 at 10:17 AM wrote: > > > > On 05/10/2022 09:58, Conor Dooley wrote: > > > EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe > > > > > > On 5 October 2022 09:44:56 IST, "Lad, Prabhakar" wrote: > > >> Hi Conor, > > >> > > >> Thank you for the review. > > >> > > >> On Tue, Oct 4, 2022 at 6:43 PM Conor Dooley wrote: > > > > > >>>> +static void cpu_dcache_wb_range(unsigned long start, > > >>>> + unsigned long end, > > >>>> + int line_size) > > >>>> +{ > > >>>> + bool ucctl_ok = false; > > >>>> + unsigned long pa; > > >>>> + int mhartid = 0; > > >>>> +#ifdef CONFIG_SMP > > >>>> + mhartid = smp_processor_id(); > > >>>> +#endif > > >>> > > >>> Won't this produce complaints from your if you compile with CONFIG_SMP > > >>> set? > > >>> > > >> No I dont see a build issue with SMP enabled, do you see any reason > > >> why it should fail? > > > > > > Not fail but complain about the unused variable. > > > > > > > Not unused variable, sorry but the unused 0 that it was initialised with* > > No, it doesn't complain (I dont think compilers complain of such > unused assignments, maybe I'm wrong). BTW I am using GCC 9.4.0. Do you > think I need to update it? Maybe it's sparse that generates those warnings, I never know which it is...