From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.0 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 756C9CA9ED0 for ; Fri, 18 Oct 2019 04:43:18 +0000 (UTC) Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 12605222C2 for ; Fri, 18 Oct 2019 04:43:18 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=nvidia.com header.i=@nvidia.com header.b="GqiDodTW" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 12605222C2 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=nvidia.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Received: from bilbo.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 46vYLq6tTCzDrHb for ; Fri, 18 Oct 2019 15:43:15 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nvidia.com (client-ip=216.228.121.64; helo=hqemgate15.nvidia.com; envelope-from=jhubbard@nvidia.com; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=nvidia.com Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=nvidia.com header.i=@nvidia.com header.b="GqiDodTW"; dkim-atps=neutral Received: from hqemgate15.nvidia.com (hqemgate15.nvidia.com [216.228.121.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 46vYJj2z1fzDqkq for ; Fri, 18 Oct 2019 15:41:25 +1100 (AEDT) Received: from hqpgpgate102.nvidia.com (Not Verified[216.228.121.13]) by hqemgate15.nvidia.com (using TLS: TLSv1.2, DES-CBC3-SHA) id ; Thu, 17 Oct 2019 21:41:33 -0700 Received: from hqmail.nvidia.com ([172.20.161.6]) by hqpgpgate102.nvidia.com (PGP Universal service); Thu, 17 Oct 2019 21:41:22 -0700 X-PGP-Universal: processed; by hqpgpgate102.nvidia.com on Thu, 17 Oct 2019 21:41:22 -0700 Received: from DRHQMAIL107.nvidia.com (10.27.9.16) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Fri, 18 Oct 2019 04:41:21 +0000 Received: from [10.110.48.28] (10.124.1.5) by DRHQMAIL107.nvidia.com (10.27.9.16) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Fri, 18 Oct 2019 04:41:21 +0000 Subject: Re: [PATCH] cpufreq: powernv: fix stack bloat and NR_CPUS limitation To: Viresh Kumar References: <20191018000431.1675281-1-jhubbard@nvidia.com> <20191018042715.f76bawmoyk66isap@vireshk-i7> <20191018043856.srvgft6jhqw62bx3@vireshk-i7> From: John Hubbard X-Nvconfidentiality: public Message-ID: Date: Thu, 17 Oct 2019 21:41:20 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <20191018043856.srvgft6jhqw62bx3@vireshk-i7> X-Originating-IP: [10.124.1.5] X-ClientProxiedBy: HQMAIL105.nvidia.com (172.20.187.12) To DRHQMAIL107.nvidia.com (10.27.9.16) Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1571373693; bh=eas1oqJi0RWep9NlG6nV2zlERS92z4dwuv5GLnpbgOg=; h=X-PGP-Universal:Subject:To:CC:References:From:X-Nvconfidentiality: Message-ID:Date:User-Agent:MIME-Version:In-Reply-To: X-Originating-IP:X-ClientProxiedBy:Content-Type:Content-Language: Content-Transfer-Encoding; b=GqiDodTWJNjdDG4WLEe9RmzLCTLYMEcne1zcHzQSbeCI9XdFqhsgYnITm99Z9ABbX IMPoUVYk7vzAiwE99xIt1ryeG0/O9hOXvANQqZP5zqBDcj1wBRsyBq5LkNuPo3ivrW htFlD6qqxR/dRECFd5Sqe+ZBQ94Nbhof0TCuiqUyXQTLeVzKDw6xmXaProCPfT8PWO 77mI6h0tUJN9oh1KZsGeak4PH1W1T70vAD0yUOt8ih8wOWihiUovQoFjbXbuMfSoL+ KmL7K02KQEXgQwFY42GrzY9oTPy7HkC9FOWmGWdQK+yY7TUCypZgw7B5HuNikdkKdw ckLbTlj1EGQUA== X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linuxppc-dev@lists.ozlabs.org, "Rafael J . Wysocki" , LKML , Shilpasri G Bhat , linux-pm@vger.kernel.org Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" On 10/17/19 9:38 PM, Viresh Kumar wrote: > On 17-10-19, 21:34, John Hubbard wrote: >> On 10/17/19 9:27 PM, Viresh Kumar wrote: >>> On 17-10-19, 17:04, John Hubbard wrote: >>>> The following build warning occurred on powerpc 64-bit builds: >>>> >>>> drivers/cpufreq/powernv-cpufreq.c: In function 'init_chip_info': >>>> drivers/cpufreq/powernv-cpufreq.c:1070:1: warning: the frame size of 1040 bytes is larger than 1024 bytes [-Wframe-larger-than=] >>> >>> How come we are catching this warning after 4 years ? >>> >> >> Newer compilers. And btw, I don't spend a lot of time in powerpc >> code, so I just recently ran this, and I guess everyone has been on less >> new compilers so far, it seems. >> >> I used a gcc 8.1 cross compiler in this case: > > Hmm, okay. > > I hope you haven't missed my actual review comments on your patch, > just wanted to make sure we don't end up waiting for each other > indefinitely here :) > Ha, I did overlook those. It's late around here, I guess. :) I'll send a v2 with those changes. thanks, John Hubbard NVIDIA