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 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A5202C54E68 for ; Tue, 12 Mar 2024 17:06:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:Message-ID:In-Reply-To: Subject:cc:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=Cy9fGdBEU5/3N3J3MXiZjD09piNo6YYmJ0eVETveYls=; b=jUM6X4jf0KNiPuOK/+xO5EQKpE xaQWddcOGNfUc9gzrIZwlOosEiL6DDYI7d9biMI2B4UGXCdPxM/3rwMtxS1YPE5Ji0qbcZe5CUEcn PzEdia36mGN5kIFQSzTb7vnFMSqltBJ5DRX254+fzFDwefXWpt7G++lQ3YXn1P59TCBzlkvTFT7Ft qzVyIudtrfTmOvYQZTtU1byJw34NJ0PgUnfG0uiBiq4wRPO4ENn/OXLziLWjmGPq8WYrzjlGaMhXt YDvnu5pznjIntatdZz3spH2cyoLOY1ZMPQge0WPFVw6CcxIrUB1d163s/tpe1fD+7IUEB3vhNaX1c +ECqboZg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rk5a6-00000006kwl-1EVz; Tue, 12 Mar 2024 17:06:26 +0000 Received: from gentwo.org ([62.72.0.81]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rk5Zp-00000006kls-2KzQ for linux-arm-kernel@lists.infradead.org; Tue, 12 Mar 2024 17:06:16 +0000 Received: by gentwo.org (Postfix, from userid 1003) id E34C540AB1; Tue, 12 Mar 2024 10:06:06 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by gentwo.org (Postfix) with ESMTP id E264E40A97; Tue, 12 Mar 2024 10:06:06 -0700 (PDT) Date: Tue, 12 Mar 2024 10:06:06 -0700 (PDT) From: "Christoph Lameter (Ampere)" To: Catalin Marinas cc: Marek Szyprowski , Mark Rutland , "linux-pm@vger.kernel.org" , "Rafael J. Wysocki" , Viresh Kumar , Will Deacon , Jonathan.Cameron@huawei.com, Matteo.Carlini@arm.com, Valentin.Schneider@arm.com, akpm@linux-foundation.org, anshuman.khandual@arm.com, Eric Mackay , dave.kleikamp@oracle.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux@armlinux.org.uk, robin.murphy@arm.com, vanshikonda@os.amperecomputing.com, yang@os.amperecomputing.com, Nishanth Menon , Stephen Boyd Subject: Re: [PATCH v3] ARM64: Dynamically allocate cpumasks and increase supported CPUs to 512 In-Reply-To: <9352f410-9dad-ac89-181a-b3cfc86176b8@linux.com> Message-ID: References: <37099a57-b655-3b3a-56d0-5f7fbd49d7db@gentwo.org> <9352f410-9dad-ac89-181a-b3cfc86176b8@linux.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240312_100609_896253_5F54C8D9 X-CRM114-Status: GOOD ( 13.80 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Mon, 11 Mar 2024, Christoph Lameter (Ampere) wrote: > This could be an issue in the ARM64 arch code itself where there maybe an > assumption elsewhere that a cpumask can always store up to NR_CPU cpus and > not only nr_cpu_ids as OFFSTACK does. > > How can I exercise the opp driver in order to recreate the problem? > > I assume the opp driver is ARM specific? x86 defaults to OFFSTACK so if there > is an issue with OFFSTACK in opp then it should fail with kernel default > configuration on that platform. I checked the ARM64 arch sources use of NR_CPUS and its all fine. Also verified in my testing logs that CONFIG_PM_OPP was set in all tests. No warnings in the kernel log during those tests. How to reproduce this? _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel