Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp620733pxb; Wed, 24 Feb 2021 10:22:45 -0800 (PST) X-Google-Smtp-Source: ABdhPJyenIW54AY4Uj/H2eduH9S+5gHNg+xGOlVaAsQ1FEEkqGLVCboZU+Oi6BvXioL4yR3caae3 X-Received: by 2002:a05:6402:348c:: with SMTP id v12mr11906258edc.314.1614190965289; Wed, 24 Feb 2021 10:22:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614190965; cv=none; d=google.com; s=arc-20160816; b=zZG9LquIcXYQLyAxUxSDexz/xfU4Xasl4dvR57VA+EsXRFvC5u1jPvalV5YRezedBH MEOe1AtYU3KZ8YusFvrMl/r575PW/xVrtZlWv8ybW5wbebzvVUTDHtIXPxN5UmkTnE0c IVNBPoKew70JFh68F5SXIp9U9o6VkGZSm7jGQ9fOjFtLfn/2ghhJv72KKdgK2kPwvnls fE12kTYCdrA0QWZObRkPbmmYr+RwfeaHFLVfr2U4E0HJHOuRSKvEsvhqXsLN29YKuHrf 20cj1RIWJwTi/HX+S+WsbUDPAdC1d48os4qp0sOos65RBNWk8QS9VUyt0yxMuBeWQO2c DWzg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=e0rbFj2QZFSP1e04HW49nEV/AboE08y0zDD96T8/4DE=; b=rWbp6Zq0O2AqFPq9J1UWx5M3216tFanrIb+zWLqhH5IrGE8z0gIm7ewcgkO4d5MVob Qb/KWfuG2USyijXPvhiwVFkhQwe8a3pSKWjQBrToMwe37izLtkH61kq2Fb6fu+o+ErKD zgkvtm+KpeBg+F94m351a5sUhcL3P2rObzTm81ToIovdV2pSclHmwqtv2SD69S7vLI9j nWXLB3W71YT6N5pWpYtvDQiyNwIkvlseei8zbIKt/voBwsW4s5+FHAGSHf2tQQIjNflM ItJxcRMn8UUtj6UDO9xsBDzmAXe9euNlPb7WtzH2BLGC6NQ7MUAjIWqu1sS0uMthsB6u dvKQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=korg header.b=k0nC12vp; 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 i28si1609425edy.261.2021.02.24.10.22.21; Wed, 24 Feb 2021 10:22:45 -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=@linux-foundation.org header.s=korg header.b=k0nC12vp; 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 S231561AbhBXSVg (ORCPT + 99 others); Wed, 24 Feb 2021 13:21:36 -0500 Received: from mail.kernel.org ([198.145.29.99]:58654 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229599AbhBXSVf (ORCPT ); Wed, 24 Feb 2021 13:21:35 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id D6DE264E6B; Wed, 24 Feb 2021 18:20:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1614190854; bh=nhrXWqf/AsZdXUVa95Ly9pNufse5xw4fS1fpiI0sHQQ=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=k0nC12vpQ3NmalV1GbiJlabOxL0csR6ual+AQzwNCHPpCQPRPJWwaMdMs2vUgwPOP hSwp2QGp54C1h3QeSX93YExdRaH8errHdu3z4mrhb/RW4/6tQ6GTBtELzho/WIVeym c5yN5JBhS1LeOZANDm/h/9ZwfP6s5kaLcQ2xeNjM= Date: Wed, 24 Feb 2021 10:20:52 -0800 From: Andrew Morton To: Doug Anderson Cc: Sumit Garg , 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 Subject: Re: [PATCH] kgdb: Fix to kill breakpoints on initmem after boot Message-Id: <20210224102052.009aaa27dd5b530d7e7ef599@linux-foundation.org> In-Reply-To: References: <20210224081652.587785-1-sumit.garg@linaro.org> X-Mailer: Sylpheed 3.5.1 (GTK+ 2.24.31; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. I'll take your response to be the coveted acked-by :)