Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp336951pxk; Thu, 17 Sep 2020 04:35:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwOFUCDwy+9GJxanjyWeQffdCkLzzIIqlOQYpthUZw2zR3MkUcrpEiIADvyEhGLWrcBjYRk X-Received: by 2002:a17:906:14ca:: with SMTP id y10mr7650056ejc.542.1600342547334; Thu, 17 Sep 2020 04:35:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600342547; cv=none; d=google.com; s=arc-20160816; b=McFQtPHDIYVwIU21jmnlQhVi3mUziFo2rU6Kl0nnxgLW2ImHf7GJviQ5aTJFAqG4x+ yBYlmAR7bt8X9FIyHV4AVNSG44G0rbDv4rrBAxN2SLdxMyshD6/+ICanlHrn/fK6GOa8 mZIpbzSIES2YlBx8vmw1/5jsepZt4SUbIbBwyS2hSVjnjPv5yu7T1cs18UIs3d3wF8q3 cr+ejVafX2t+02jIoUbVmm5HnV8Gy6Aj7U5ft1i6oCK2kWj7MlLwtK7f6A3kqOQi9NtH aE+Irb5zZa01xkb71CHoExuq8rH7UtOzkV2q0PelbL0YFAdJIuG3/wkmShJg63KkA8Nj ATsA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:date:message-id:subject:references:in-reply-to :cc:to:from; bh=wrbqZwbs2OLw1quDOzL2lnMibsZx0/9ZvJUHe5Z4KDI=; b=V2Ii9pChKs3OyG7yb/MmdGatnbMvtnMSNk/4uWiOJfLpmL2oP0dpaa9IywZkK9W+/V y41BDSZ5YW7Gz+HtQrANGM4QWLuyxgRJ1NR7O757epBytGFU5csIDlZfdeoIgSL6B90g 7bfd82uHcXG9VvCfX7RUjvnpurG1e72twyDWaWhnLDp5VgZAjWoqNisNJzPeZ5i18ARA Y9iyduxq83STci510KfYxbnZEqP9Kcj0BZJ9I0yKlg2okhXwIYer0g+Z2V5HOId7OS9G NKfz/I+aTiUmIni9V2sXdd5CAap21LmT24Qk9ZLh8zuZS0C8DOqyOzkaYrvC/fJeCsyh dbCQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p18si14121687edy.100.2020.09.17.04.35.24; Thu, 17 Sep 2020 04:35:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726790AbgIQLeU (ORCPT + 99 others); Thu, 17 Sep 2020 07:34:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58758 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726721AbgIQL1t (ORCPT ); Thu, 17 Sep 2020 07:27:49 -0400 Received: from ozlabs.org (bilbo.ozlabs.org [IPv6:2401:3900:2:1::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F0F6CC06174A for ; Thu, 17 Sep 2020 04:27:48 -0700 (PDT) Received: by ozlabs.org (Postfix, from userid 1034) id 4BsZSf1CWwz9sVb; Thu, 17 Sep 2020 21:27:29 +1000 (AEST) From: Michael Ellerman To: Michael Ellerman , Srikar Dronamraju Cc: Dietmar Eggemann , Peter Zijlstra , Valentin Schneider , Michael Neuling , Vincent Guittot , LKML , Mel Gorman , linuxppc-dev , Gautham R Shenoy , Ingo Molnar In-Reply-To: <20200807074517.27957-1-srikar@linux.vnet.ibm.com> References: <20200807074517.27957-1-srikar@linux.vnet.ibm.com> Subject: Re: [PATCH v2 1/2] sched/topology: Allow archs to override cpu_smt_mask Message-Id: <160034200734.3339803.9987418393320708886.b4-ty@ellerman.id.au> Date: Thu, 17 Sep 2020 21:27:29 +1000 (AEST) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 7 Aug 2020 13:15:16 +0530, Srikar Dronamraju wrote: > cpu_smt_mask tracks topology_sibling_cpumask. This would be good for > most architectures. One of the users of cpu_smt_mask(), would be to > identify idle-cores. On Power9, a pair of SMT4 cores can be presented by > the firmware as a SMT8 core for backward compatibility reasons. > > Powerpc allows LPARs to be live migrated from Power8 to Power9. Do note > Power8 had only SMT8 cores. Existing software which has been > developed/configured for Power8 would expect to see SMT8 core. > Maintaining the illusion of SMT8 core is a requirement to make that > work. > > [...] Applied to powerpc/next. [1/2] sched/topology: Allow archs to override cpu_smt_mask https://git.kernel.org/powerpc/c/3babbe447d76ac2919ec4d0eb3b0adfb22f5b03c [2/2] powerpc/topology: Override cpu_smt_mask https://git.kernel.org/powerpc/c/f3232321db58480804f80d59aeb651a5c859a200 cheers