Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp826073pxb; Thu, 31 Mar 2022 19:31:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwMVdnKWzTFJb21mHTcXacYB53M2NWZDQfJfNMpqcud+zv8+GnD9m7GSmk/XLab2a9KCUBO X-Received: by 2002:a17:90b:4c8e:b0:1c6:d1ed:f6b2 with SMTP id my14-20020a17090b4c8e00b001c6d1edf6b2mr9195927pjb.166.1648780302833; Thu, 31 Mar 2022 19:31:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648780302; cv=none; d=google.com; s=arc-20160816; b=1IYBCzAX6TLXA3+91v+6RIHX+Bs05QU/WsYdozv9ziG19fQOk507vh8ViO3R7Eig6L vyoV0dR0yzjC7L41qK+ue3p3FSA87inLC6Rl+I/+TqDjX8sMqK6PC1voM17IF5YwlL8z tIC9lwO1PXkFpTAUoGlf8725cdXO56WXMHcrIxgDU3p/JDy0755uiURuNinanrT+AD3w g78zTJEcDGf6e7pbO2U7qBLOQl8nW4yBMkkXAT3JIxfHLW9CEeKwPWPJlLiQQWBW4ChX npT4owjdEGezwi9/q3aH35c44CawF0mji5Gb4ynJsql/hc1l1DfJ0JiKvKA2NfpPN018 OlQw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=K4XT9tltWqxFXo/QjPPdRpa79ktn98jD4zdL+tM53YM=; b=FsFUVcWVDkS2O2sKUc5AOvq66krk8Q3uKJLiDx9o1qqx8az64JJVlVj7ELGa6/QHJb oXSveI7wZKlHuZnqpQQWSC1goFDTDwbA830uUPbu2u2xk1DBymu3FnEl/Y3GIdQQnrew uKtjgNuz15i5Rw9//EM1kuZs31MIFcl5o0gFBa3/aF6VL+psDD36GJVHi7POw4cJ41x6 NjpKUtYDLreNo9+G9ouaLw3YVBibZMbb4odjbxWoNfTxuyCNMExfTIWArIDv06EkC1ch GzvjfC2Qyr9llsFbtAI7Ki850uUVzw0qiLgNj+voRA2qmzSti9hN8y2g4fQUgZxGldK8 Mdbw== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n16-20020a637210000000b003816043f053si1227601pgc.584.2022.03.31.19.31.27; Thu, 31 Mar 2022 19:31:42 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238939AbiCaPvh (ORCPT + 99 others); Thu, 31 Mar 2022 11:51:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43654 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238310AbiCaPvg (ORCPT ); Thu, 31 Mar 2022 11:51:36 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id E1EFB5BE4B for ; Thu, 31 Mar 2022 08:49:48 -0700 (PDT) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id A7051139F; Thu, 31 Mar 2022 08:49:48 -0700 (PDT) Received: from [192.168.178.6] (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 8ECA43F73B; Thu, 31 Mar 2022 08:49:47 -0700 (PDT) Message-ID: <887fd1ba-c83f-77e4-74a9-53eef1dacc49@arm.com> Date: Thu, 31 Mar 2022 17:49:46 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: [PATCH v2] arch/arm64: Fix topology initialization for core scheduling Content-Language: en-US To: Phil Auld Cc: linux-kernel@vger.kernel.org, Catalin Marinas , Will Deacon , Mark Rutland , Peter Zijlstra , linux-arm-kernel@lists.infradead.org References: <20220330155611.30216-1-pauld@redhat.com> <66f29bee-e26c-b40e-c3af-79d5297565d8@arm.com> <20220331132103.GB17613@pauld.bos.csb> <20220331145343.GF17613@pauld.bos.csb> From: Dietmar Eggemann In-Reply-To: <20220331145343.GF17613@pauld.bos.csb> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_HI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 31/03/2022 16:53, Phil Auld wrote: > On Thu, Mar 31, 2022 at 04:37:50PM +0200 Dietmar Eggemann wrote: >> On 31/03/2022 15:21, Phil Auld wrote: >>> On Thu, Mar 31, 2022 at 11:04:31AM +0200 Dietmar Eggemann wrote: >>>> On 30/03/2022 17:56, Phil Auld wrote: [...] >> Yeah, maybe, it wouldn't hurt I guess. IMHO mentioning stress-ng's prctl >> needs PR_SCHED_CORE support could also be handy since today's stress-ng >> packages don't seem to have this yet. >> > > My scripts clone it so I did not realize that was not in prepackaged versions > yet. But that said, that's really just a way to tickle the problem. Anyone > using core scheduling on such a system will hit this (at least the WARN part, > the actual crash was harder to create w/o all the threads and tasks stress-ng > uses). OK. I just saw that there is even a kselftest for this: 9f2699007493 - kselftest: Add test for core sched prctl interface (2021-05-12 Chris Hyser) But it doesn't trigger the issue. > I can send a v3 with a further commit message update. Sounds good.