Received: by 2002:a25:d783:0:0:0:0:0 with SMTP id o125csp24628ybg; Wed, 18 Mar 2020 16:37:24 -0700 (PDT) X-Google-Smtp-Source: ADFU+vt6OxQ6PQ00GvBdVno3qvncCx+1Td3VcK0wcWPerweGLXqY5WMfFbcB7mjD+r/OIFRefuKf X-Received: by 2002:a05:6808:5c7:: with SMTP id d7mr370245oij.136.1584574644667; Wed, 18 Mar 2020 16:37:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584574644; cv=none; d=google.com; s=arc-20160816; b=l1Le1XOi0++ZUnxD784vujJ5cJjhzGqN9wF1SA/oCXTufq9UeOQQfJAtevIfMK7BwU E5vzBa+fLxtftR4YJ1vZCUMeXEWL4QzVGyV8oRazljfT+cZlj+yM8JplUGh5rorrri8S vzUUeMUFf6OSOvAW8Qg8bWJ9GfIBi6VeanhgfnGTgwR3q0QKyAG5dDy1cL6hq/vb0LO8 NejurOFglU0JPSmkOPjEQAdWVI/jFrIxxJMCFtwTvgeCW4x3L/Z/WFex9EJ+O2QeIaDQ WYAVG6xxCxhJZUaMJEB9wT+xdasP5yAT3yWUxwt+J9dkROnk5Ejfz4Vz6+Ta4SwXaoZl EwrA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:references:in-reply-to:subject:cc:to:from :dkim-signature; bh=cneBisTIfGspObuCQff9YmTNHRgoWWMdst4wpMEugss=; b=VjF60LxIZGUNZyguS9VXB4BiQo0ZZs7m2pyXrIb6m8r1BqU9a2AJ7K9vyDrC6ikC+6 XD14TrZUshyBET8iCOLWN1MYEo+OyQqmbl1SVlaWwxSwGKkZuKAnuSVBKfvCw49qi5hH Fe3/VQcgtxW85wEdNZu2PRQS3xP2jMH1PbOfKY2f8wyoKABTLHoa3zyD0I2ysyYfrETF eLChOTebz2oFUnwS82oxxtoFmf1/iV5uXEhOVOf+VGWzXloNHve3Jba3usVK994WMwuo XnbmH85W7f3XK0U0MVhIIVDrFFx3gLrB9ylZN0Xa6am65Mx9TY3s8lHNp7VsbpEbys// beJA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ellerman.id.au header.s=201909 header.b=Y3qHO+96; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z204si99458oiz.133.2020.03.18.16.37.11; Wed, 18 Mar 2020 16:37:24 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@ellerman.id.au header.s=201909 header.b=Y3qHO+96; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726821AbgCRXgZ (ORCPT + 99 others); Wed, 18 Mar 2020 19:36:25 -0400 Received: from ozlabs.org ([203.11.71.1]:37095 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726647AbgCRXgZ (ORCPT ); Wed, 18 Mar 2020 19:36:25 -0400 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 48jRJ617n2z9sPF; Thu, 19 Mar 2020 10:36:21 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ellerman.id.au; s=201909; t=1584574582; bh=1wPd69g706f1HjFfq9A1c68BcRSf6tB8V7w5oED57sM=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=Y3qHO+96wskzfknqGg/UlEnfIqCdso3oDbRgMS0Dac4PRP15nGV4cX6mlLOSw2rzY AysVFPwCCecrESjxP0uFDE36gveIubypVLh6FtB0HfzfLd8yxnFwiPXHkkBjFtKqIn bLUHjitp5jZomJ2w709RjolUQ3BUd7a+jJaMWVfdhvlK2KXxTqD0qz4gEMZeR5u19B +sDUVcHtt38CupYOthm7diYgSoRJFk/+h78MgrnHIyM0idckC92+y0MaZ8/cntNOoP V9dMzkAAGi/04pQxC4UKnXS+iKcuyUvpNUSCqA8qRWCPRpvSjXc1IA9DCZsTfYD1rS S8bQh6px1tAkA== From: Michael Ellerman To: Segher Boessenkool , Christophe Leroy Cc: Ravi Bangoria , mikey@neuling.org, apopple@linux.ibm.com, peterz@infradead.org, fweisbec@gmail.com, oleg@redhat.com, npiggin@gmail.com, linux-kernel@vger.kernel.org, paulus@samba.org, jolsa@kernel.org, naveen.n.rao@linux.vnet.ibm.com, linuxppc-dev@lists.ozlabs.org, mingo@kernel.org Subject: Re: [PATCH 12/15] powerpc/watchpoint: Prepare handler to handle more than one watcnhpoint In-Reply-To: <20200318212726.GN22482@gate.crashing.org> References: <20200309085806.155823-1-ravi.bangoria@linux.ibm.com> <20200309085806.155823-13-ravi.bangoria@linux.ibm.com> <3ba94856-0d87-5046-eca9-b5c3d99ec654@c-s.fr> <87zhcdevz7.fsf@mpe.ellerman.id.au> <20200318212726.GN22482@gate.crashing.org> Date: Thu, 19 Mar 2020 10:36:22 +1100 Message-ID: <87wo7hdymh.fsf@mpe.ellerman.id.au> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Segher Boessenkool writes: > On Wed, Mar 18, 2020 at 12:44:52PM +0100, Christophe Leroy wrote: >> Le 18/03/2020 =C3=A0 12:35, Michael Ellerman a =C3=A9crit=C2=A0: >> >Christophe Leroy writes: >> >>Le 09/03/2020 =C3=A0 09:58, Ravi Bangoria a =C3=A9crit=C2=A0: >> >>>Currently we assume that we have only one watchpoint supported by hw. >> >>>Get rid of that assumption and use dynamic loop instead. This should >> >>>make supporting more watchpoints very easy. >> >> >> >>I think using 'we' is to be avoided in commit message. >> > >> >Hmm, is it? >> > >> >I use 'we' all the time. Which doesn't mean it's correct, but I think it >> >reads OK. >> > >> >cheers >>=20 >> From=20 >> https://www.kernel.org/doc/html/latest/process/submitting-patches.html : >>=20 >> Describe your changes in imperative mood, e.g. =E2=80=9Cmake xyzzy do fr= otz=E2=80=9D=20 >> instead of =E2=80=9C[This patch] makes xyzzy do frotz=E2=80=9D or =E2=80= =9C[I] changed xyzzy=20 >> to do frotz=E2=80=9D, as if you are giving orders to the codebase to cha= nge its=20 >> behaviour. > > That is what is there already? "Get rid of ...". > > You cannot describe the current situation with an imperative. Yeah, I think the use of 'we' and the imperative mood are separate things. ie. this uses 'we' to describe the current behaviour and then the imperative mood to describe the change that's being made: Currently we assume xyzzy always does bar, which is incorrect. Change it to do frotz. cheers