Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp995364pxb; Thu, 25 Feb 2021 23:00:14 -0800 (PST) X-Google-Smtp-Source: ABdhPJzBJQtoMoEBoQru6jOSdDq0T+EDOdD92WNNoVYE9BtKd7vZ2Dsba3MkguQxUeSNkeoUbNX6 X-Received: by 2002:a05:6402:50c6:: with SMTP id h6mr1692291edb.117.1614322814013; Thu, 25 Feb 2021 23:00:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614322814; cv=none; d=google.com; s=arc-20160816; b=MffvKD9PCrxV/FVDEvTVoea+EWV0UwjH2t+Zbmc5VIadglmu4QRVAaNCZkuELi/fsA dNBT/h267sMaOtZFgzxNqwRoQfQbMTrzFN/sf7Ezwf8c+xb4cCPoFeGpbZPG71DgsyOh tI2DMlvy1tWFyJfKmlMizbJe+K+08qE061C2vTBDN+wTidOEF8Vwrge396PpPk2hVuDC 2A+5FIEAL5MH0iuN/kZvdcX/7+AG2qAQJK6pT6REsN76IlVV7HCXibkpe6vLIOoY8+gq KtFtDUWNZoK7cLHQPqWGZ5Ns09bcgRuy+lEgZcGBIfpdxeNxrF3nJKQyqVsccoMaVFif YA3A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=gTghAYC+gRhrAARfUZ1trTPRu51XeejlsuQaOFCWN7A=; b=IotDrCaHfCmXe9HUyVc1IOT8C+0rVD58dZLZIojHdhbYXzweYFODlw2Dlt0733pItD q+/Wzl6cYfJyrYvYPbaFDyCnSQXEgcaFMF9QEjz/WcNsCqYPm+UCjOVG3X4mbDNbY7Le YU/X9dGmfpQn5uOSE8EdxdzNEr7FY5EDS/I7gq4azwyC6VkXB66R4O/NC4A+qgTgqWYO o7Dp2gOqHW02GRMHdgX6FMY6MuJ+B48ihDh6s41PC0n++3WDVBsl1k2bf8hx1VloH4Ma vUSlsHeWDZKN5pt36p0c4q8kikTsrPUKkX5zXwaO4GAjG4Ag19wrZ2kv6BNkTSjEiit4 BUHQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=susevJAT; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dp8si4947764ejc.367.2021.02.25.22.59.51; Thu, 25 Feb 2021 23:00:14 -0800 (PST) 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=@linaro.org header.s=google header.b=susevJAT; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229707AbhBZG5w (ORCPT + 99 others); Fri, 26 Feb 2021 01:57:52 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39334 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229449AbhBZG5v (ORCPT ); Fri, 26 Feb 2021 01:57:51 -0500 Received: from mail-lf1-x136.google.com (mail-lf1-x136.google.com [IPv6:2a00:1450:4864:20::136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C0F1AC061574 for ; Thu, 25 Feb 2021 22:57:10 -0800 (PST) Received: by mail-lf1-x136.google.com with SMTP id m22so12372310lfg.5 for ; Thu, 25 Feb 2021 22:57:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=gTghAYC+gRhrAARfUZ1trTPRu51XeejlsuQaOFCWN7A=; b=susevJATkTe7C57QpZVMpR//EDKwOOqnHDssM2XTs8U8PRxcs6OK8NSe3zdGl9+mHE xvfWZQfYXJR2SlV8oPP2jIufFa6C9paGbp4q1LTcF+ily8Cu0eMDapLU7xn8+gxRzyam /2qCvHmLtq46Vv1Ncj6xZ2QTmb5QbtdBzlYaQGtk4sdK/lnPk/4ObcjCYQiW+yJ4vcnJ SSzmeAvQ7Pm/WGKP0BgA9mfopaQapYA2eP9rpWHK/osOvGuK+ONiRM3zBmbqqon64Bon TqahnkV3PnLb0TeF+ZHtc0waxmx1zcyUmBj4ruENZq0jdgoUz7vrSSeW4TsBlaY/FK0u s8cg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=gTghAYC+gRhrAARfUZ1trTPRu51XeejlsuQaOFCWN7A=; b=ZwaqtixoLcrLciE9bH1EelYVUDcfH2V+1Rx6Ks6+UKYN6xJgZi2/BH+butYgZPVf9z qaYdgtFmlZcB0+mYT+IbzK3BDx49csoinPg+BrqhoYOe2S8QSnfuT60zC5M2oTE4uc92 AERcwxuIYJjq7EdRCkFKx5G5tOG+/LIa0/14J5pJ3/Erh8pzSuvzd2UNLItD/diwHAOl bFvWuTjUUzcPWr+a/rFq9AOadJYEheMMLINDjoGPg4bmD1Ru+D3BZFL/bKWfOOjHcixH AXvd6e7F4TptksK95xM161Wk+h36RXJdEzUo8xt8VdQlOgq/jTsoEROte50qXA8dUrVu 820g== X-Gm-Message-State: AOAM533iiFi6DW431t+PR3qjaOBiRbPUiOAIvJAMY24YUImefsp40OFZ VieuoZ3ZYE91h06OPka+P3UYd1jLF6Fo84fh5dQfWg== X-Received: by 2002:a05:6512:308a:: with SMTP id z10mr960635lfd.84.1614322629317; Thu, 25 Feb 2021 22:57:09 -0800 (PST) MIME-Version: 1.0 References: <20210224081652.587785-1-sumit.garg@linaro.org> <20210224102052.009aaa27dd5b530d7e7ef599@linux-foundation.org> In-Reply-To: <20210224102052.009aaa27dd5b530d7e7ef599@linux-foundation.org> From: Sumit Garg Date: Fri, 26 Feb 2021 12:26:58 +0530 Message-ID: Subject: Re: [PATCH] kgdb: Fix to kill breakpoints on initmem after boot To: Andrew Morton Cc: Doug Anderson , kgdb-bugreport@lists.sourceforge.net, Masami Hiramatsu , Steven Rostedt , Daniel Thompson , Jason Wessel , Peter Zijlstra , stefan.saecherl@fau.de, qy15sije@cip.cs.fau.de, LKML Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 24 Feb 2021 at 23:50, Andrew Morton wrote: > > On Wed, 24 Feb 2021 10:09:25 -0800 Doug Anderson wrote: > > > On Wed, Feb 24, 2021 at 12:17 AM Sumit Garg wrote: > > > > > > Currently breakpoints in kernel .init.text section are not handled > > > correctly while allowing to remove them even after corresponding pages > > > have been freed. > > > > > > Fix it via killing .init.text section breakpoints just prior to initmem > > > pages being freed. > > > > It might be worth it to mention that HW breakpoints aren't handled by > > this patch but it's probably not such a big deal. > > I added that to the changelog, thanks. > Thanks Andrew for picking this up. -Sumit > I'll take your response to be the coveted acked-by :)