Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp1835496ybn; Thu, 26 Sep 2019 02:59:13 -0700 (PDT) X-Google-Smtp-Source: APXvYqwXOxgj5VPsnwDlb16d7kcKTCfcZRcKeLkk+XtEDHyAPpZoKhC6p7ICljG4rZUKEsO2z5KZ X-Received: by 2002:a17:906:7fda:: with SMTP id r26mr2302327ejs.170.1569491953267; Thu, 26 Sep 2019 02:59:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569491953; cv=none; d=google.com; s=arc-20160816; b=zZnjt5oZzb9ZvB1TsbvwlfxcArvJ1VtQRZ75ySEaknVhwJzbzTEwhmi1c44FJzOJHF IcwKbiUYng8DiirsnLfqjPmNW6EtvRKLPOxD5yBQh49Coq9b//EaEW3Euf00UjU2x7ae azP+yfxcYh0Ys6fCgpQaPhX/EvYo7AHCvkJRJtRKg6BBmLLJ4YQ+Tyg+wWxS4NiPY1PP /BtskwcygIeWDa8LaNOYKhrgaYCAenRsb8LVZ04WyvDL7RfHC5vKJ/xqQaoLB5WorpLh A32Nw5ww5uy9puPVsTIBB/vuFM+iGgz2DkTAAV9o72te35AOuW8g6Gu2o4hNht1fdSCy JQrw== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=p0DnIVLUXYBYtzAA14wqxwWjbamn0I1WDSlyyMttzVg=; b=cu4HRTGv9ro8fIBxlVDdK6FYx2Tl+C6DY8GHZ3xwyOVssAkvGgrwEYIb/qDBZrDYj8 726/G27RNDGbWFZgJ5MKtMHa6erT3KvQjmjaL0NVEtWsKcCesgUKw5QhbK75EUBhew/B p1ypfznfhozLdFAo929RgYVQWkann2UDAWWsh41ROyOhGLPc1irhaekaPa4WmxrwLfYM TUVZq1L2RvyAy03KB4ThGOoPMkAYnGZdY+6eq/yWssJ2IHfjlLOy1eA/VtMDkAyffc28 6/kgmEmp0CqkU1gq+kneC5Pl6wCBRvl1ehLFDIwvGYyyQMRwEaTR4j4v3guHD8UkUzpB cA/w== ARC-Authentication-Results: i=1; mx.google.com; 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 n6si945694edq.228.2019.09.26.02.58.50; Thu, 26 Sep 2019 02:59:13 -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; 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 S2392828AbfIYUKO (ORCPT + 99 others); Wed, 25 Sep 2019 16:10:14 -0400 Received: from mail5.windriver.com ([192.103.53.11]:56170 "EHLO mail5.wrs.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731229AbfIYUKN (ORCPT ); Wed, 25 Sep 2019 16:10:13 -0400 Received: from ALA-HCA.corp.ad.wrs.com (ala-hca.corp.ad.wrs.com [147.11.189.40]) by mail5.wrs.com (8.15.2/8.15.2) with ESMTPS id x8PK8Mci005202 (version=TLSv1 cipher=AES128-SHA bits=128 verify=FAIL); Wed, 25 Sep 2019 13:08:32 -0700 Received: from [192.168.10.15] (172.25.59.210) by ALA-HCA.corp.ad.wrs.com (147.11.189.40) with Microsoft SMTP Server id 14.3.468.0; Wed, 25 Sep 2019 13:08:12 -0700 Subject: Re: [PATCH v3 1/4] kgdb: Remove unused DCPU_SSTEP definition To: Douglas Anderson , Catalin Marinas , Will Deacon , Daniel Thompson CC: , References: <20190925200220.157670-1-dianders@chromium.org> <20190925125811.v3.1.I31ab239a765022d9402c38f8a12d9f7bae76b770@changeid> From: Jason Wessel Message-ID: <9a8b84cb-938b-d468-335b-27bbd963c6d0@windriver.com> Date: Wed, 25 Sep 2019 15:08:11 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <20190925125811.v3.1.I31ab239a765022d9402c38f8a12d9f7bae76b770@changeid> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 9/25/19 3:02 PM, Douglas Anderson wrote: > From doing a 'git log --patch kernel/debug', it looks as if DCPU_SSTEP > has never been used. Presumably it used to be used back when kgdb was > out of tree and nobody thought to delete the definition when the usage > went away. Delete. > > Signed-off-by: Douglas Anderson The history on this one is that it was part of the logic for the soft stepping on ARM v5 cores. The code was never merged to the mainline for doing this, so the .h definition can certainly go. Acked-by: Jason Wessel > --- > > Changes in v3: > - Patch ("Remove unused DCPU_SSTEP definition") new for v3. > > Changes in v2: None > > kernel/debug/debug_core.h | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/kernel/debug/debug_core.h b/kernel/debug/debug_core.h > index b4a7c326d546..804b0fe5a0ba 100644 > --- a/kernel/debug/debug_core.h > +++ b/kernel/debug/debug_core.h > @@ -33,7 +33,6 @@ struct kgdb_state { > #define DCPU_WANT_MASTER 0x1 /* Waiting to become a master kgdb cpu */ > #define DCPU_NEXT_MASTER 0x2 /* Transition from one master cpu to another */ > #define DCPU_IS_SLAVE 0x4 /* Slave cpu enter exception */ > -#define DCPU_SSTEP 0x8 /* CPU is single stepping */ > > struct debuggerinfo_struct { > void *debuggerinfo; >