Received: by 2002:a25:ca44:0:0:0:0:0 with SMTP id a65csp2583118ybg; Fri, 31 Jul 2020 04:30:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyps30qLQUBu/cQ+xC2FL9+qsvqXNnwFgfmPRuCeyXbPQotRxOq346yzLxlBVCl4H5ksVsv X-Received: by 2002:a17:906:80d3:: with SMTP id a19mr3715176ejx.217.1596195022512; Fri, 31 Jul 2020 04:30:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596195022; cv=none; d=google.com; s=arc-20160816; b=d6bDsDMeD2/zFWKAqmuQXaGHfhFBagqrgq0ju68N55wBCLPEza6D8jphuWYuoCaUJH 5jBaXwQRMh+MnpEh1kpi5uQd4R3A3XMNp/R2BRR6Hh7Ga+511vFteyWF6vTWUS116IcO y20JxrXr94hoYj6K62nx/EtuK59Ss77u1mlMNtC67XCbO1la/ORS1EJwJ+3wnIdigixw GRZkxxZQdPZ/f6VvmU6OLpTuYhNt2Bk1o9heCvkkSN7kYwrUSyBV+Okcn5nEjc/CXae3 urykQV3CooGts88FKQ+IJ1gL9t7eVmIrAuN7ne6mPfldgspglQMG/kGtb18od3as16c+ WvBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:dkim-signature; bh=eKyKxckxXeIuvMsF5N1n8tT/ACVSKf7LgkGO5C0BfY8=; b=bnlHQNsfx7Xc8ZmDz46o/tFwkQa0vgsS1IkEEZWkg+TBfqCYppyA/Qgj/2A4nSdQJG +R1F6v50wKZLivNxYRb9eeRK40/UfS/AJmvCUHmMc15bzb4C5HkA7JC9OjAzAo1UdX4/ 0vlOiLq+/38T25itOHpYOwyAzWSJDHqtKYaZ0NKlytiTdsK9O7Ho6Qkwc5w7r9xa4Vy+ +bADQ6VDu5lvy3AtkGeqkRLjCMzZPcjHgDrpIBGnbswAXyWTT5cEvfVrXuOSzfABMCXA 3BLNItmCzW/n4TBybnn3RA49h6HiwWjb1ARAkfYgHuFGJUjQCLXkk5s1d9zCmhBQRFl9 jNAg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ellerman.id.au header.s=201909 header.b=OSEdhG5N; 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 co12si2047539edb.270.2020.07.31.04.30.00; Fri, 31 Jul 2020 04:30:22 -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; dkim=pass header.i=@ellerman.id.au header.s=201909 header.b=OSEdhG5N; 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 S1732689AbgGaL3T (ORCPT + 99 others); Fri, 31 Jul 2020 07:29:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51140 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732437AbgGaL3T (ORCPT ); Fri, 31 Jul 2020 07:29:19 -0400 Received: from ozlabs.org (bilbo.ozlabs.org [IPv6:2401:3900:2:1::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4B9D7C061574 for ; Fri, 31 Jul 2020 04:29:19 -0700 (PDT) Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4BJ4mp6L85z9sT6; Fri, 31 Jul 2020 21:29:14 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ellerman.id.au; s=201909; t=1596194955; bh=34jb67RQIXV7zdZcIuU4OXuBbmIQf5h3pTfTRC5qdDg=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=OSEdhG5Nyegx+5lOPERe6hw4U7kZu3HZEbYJtnRsl8VvmMN3DcleE37IaNnVP2uEK vnTxt01f9TprUvYcrsPsp15OupO4YryCp7m4fVdSfNL9IMJlKbb7yDitd4j+gt2nfk 2rHfXv9rxfC9ZrYOHo/yqaBQ2e5+agBi5TtmzvwiOCFWNyGdmEhN7zzl3xdYi+FcQx Q/FtrMUqFn4hjPy4YvFIPCZFz2pOTt4hJ3sUONjzranMjpADV7aY60FOLBiXGu+S3i Str4YbjIQ7Bjg9ZVLoOUxxQnotEjW8aNslQt29gVTU77jf7A+ohGujwZwWCdIYwMQr U3IMDb0052Vyg== From: Michael Ellerman To: Srikar Dronamraju Cc: linuxppc-dev , LKML , Nicholas Piggin , Anton Blanchard , Oliver O'Halloran , Nathan Lynch , Michael Neuling , Gautham R Shenoy , Ingo Molnar , Peter Zijlstra , Valentin Schneider , Jordan Niethe Subject: Re: [PATCH v4 10/10] powerpc/smp: Implement cpu_to_coregroup_id In-Reply-To: <20200731095808.GB18776@linux.vnet.ibm.com> References: <20200727053230.19753-1-srikar@linux.vnet.ibm.com> <20200727053230.19753-11-srikar@linux.vnet.ibm.com> <87wo2k3yeq.fsf@mpe.ellerman.id.au> <20200731095808.GB18776@linux.vnet.ibm.com> Date: Fri, 31 Jul 2020 21:29:13 +1000 Message-ID: <87tuxn53ee.fsf@mpe.ellerman.id.au> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Srikar Dronamraju writes: > * Michael Ellerman [2020-07-31 18:02:21]: > >> Srikar Dronamraju writes: >> > Lookup the coregroup id from the associativity array. > > Thanks Michael for all your comments and inputs. > >> It's slightly strange that this is called in patch 9, but only properly >> implemented here in patch 10. >> >> I'm not saying you have to squash them together, but it would be good if >> the change log for patch 9 mentioned that a subsequent commit will >> complete the implementation and how that affects the behaviour. > > I probably got influenced by few LKML community members who always add a > stub and implement the gory details in a subsequent patch. I will surely add > the change log in patch 9 about the subsequent patches. That's OK, it's a valid way to do things, and can be good for keeping the size of individual patches down to make them easier to review. But yeah a mention in the change log of the preceeding patch is helpful for anyone looking at that commit on its own in the future. cheers