From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A34F435958; Thu, 12 Mar 2026 04:34:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.137.202.133 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773290063; cv=none; b=N/nF44TUwUBFibS2ejFU202Ocihklw6gaYA4K9I7/x2jKZPuOTxPWp4QZqyqTDM6liKzKaR08qeu4HYPuZ+70VGt8oddqT59SJF8vq5eXXqZlxGFoYsVa6DxFpVwmsqaRTtyqWramlUt9zqjGNCDSYOc1j554J8qa/8CkFNRtfg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773290063; c=relaxed/simple; bh=qWdaTZywDpPIoOzNarPuu2OlEmR7YYww5wg9IkJLbEs=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=oci8g5SiA/Q1KQSChWu3QyVimF3eD3QS2SS4xFq7EFJwsi0fEjYiTdWu/b/Oebo+6Gb+JpFT/cj8EmEYpqvoJ9BRsg+1uFlR5vZq3Sl4E/UljhCTo4btVKpIMFGjtO/rD4EBoWrPfb+KMRzHCdci5v3cP4ID7+cZ5RJQNXdbN6k= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=infradead.org; spf=none smtp.mailfrom=infradead.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b=icdKWQ8p; arc=none smtp.client-ip=198.137.202.133 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=infradead.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="icdKWQ8p" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date: Message-ID:Sender:Reply-To:Content-ID:Content-Description; bh=W/GdNouIWyw/Hxd+Cg8eyY6MPPfVnuc4KC8I179/6Oo=; b=icdKWQ8pM7+BfYu6G/Y782mRO3 ZX3/3xRZ9+vCXzzSlrbsiZVR7HH4GWF/miznAlW4YdW0B+VOUA/Hu8SmAyIVK9mlkRz0C3rd5S1oK 6uVWDOjBPgZ7l9f5N2V/h6V7x61cwzmp6c0knIkykh+vUWtKrpx9bAwcWSVoTjaOdFdc9oPf9r1i1 fvV/WCMCscSDcOuE7AD4/vKXaQZAqSQg3yhEOECDAmsmi9Q279WdIBbrfdM3q0wUg8BqI2J7tEBN/ eNC51BScMZXvhdWygSXkDxNWWGThaGq8c7RkkfIbyPpT0s2CVD2O1neaXgrP/SSJM8OdqCtnCxHR6 8/3/7IHw==; Received: from [50.53.43.113] (helo=[192.168.254.34]) by bombadil.infradead.org with esmtpsa (Exim 4.98.2 #2 (Red Hat Linux)) id 1w0Xk8-0000000DGZs-2BrU; Thu, 12 Mar 2026 04:33:52 +0000 Message-ID: <1418e495-8725-45fb-a865-b75fb87477f6@infradead.org> Date: Wed, 11 Mar 2026 21:33:50 -0700 Precedence: bulk X-Mailing-List: workflows@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 01/25] kernel: Introduce meminspect To: Mukesh Ojha , Jonathan Corbet , Shuah Khan , Eugen Hristev , Arnd Bergmann , Dennis Zhou , Tejun Heo , Christoph Lameter , Andrew Morton , Thomas Gleixner , Peter Zijlstra , Anna-Maria Behnsen , Frederic Weisbecker , Ingo Molnar , Juri Lelli , Vincent Guittot , Dietmar Eggemann , Steven Rostedt , Ben Segall , Mel Gorman , Valentin Schneider , David Hildenbrand , Lorenzo Stoakes , "Liam R. Howlett" , Vlastimil Babka , Mike Rapoport , Suren Baghdasaryan , Michal Hocko , Kees Cook , Brendan Jackman , Johannes Weiner , Zi Yan , Chris Li , Kairui Song , Kemeng Shi , Nhat Pham , Baoquan He , Barry Song , Youngjun Park , Petr Mladek , John Ogness , Sergey Senozhatsky , Bjorn Andersson , Mathieu Poirier , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Saravana Kannan Cc: workflows@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, linux-mm@kvack.org, linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org References: <20260311-minidump-v2-v2-0-f91cedc6f99e@oss.qualcomm.com> <20260311-minidump-v2-v2-1-f91cedc6f99e@oss.qualcomm.com> Content-Language: en-US From: Randy Dunlap In-Reply-To: <20260311-minidump-v2-v2-1-f91cedc6f99e@oss.qualcomm.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 3/10/26 1:15 PM, Mukesh Ojha wrote: > diff --git a/kernel/meminspect/Kconfig b/kernel/meminspect/Kconfig > new file mode 100644 > index 000000000000..fa2b5a84b251 > --- /dev/null > +++ b/kernel/meminspect/Kconfig > @@ -0,0 +1,19 @@ > +# SPDX-License-Identifier: GPL-2.0 > + > +config MEMINSPECT > + bool "Allow the kernel to register memory regions for inspection purpose" purposes" > + help > + Inspection mechanism allows registration of a specific memory > + area(or object) for later inspection purpose. area (or object) purposes. > + Ranges are being added into an inspection table, which can be are added > + requested and analyzed by specific drivers. > + Drivers would interface any hardware mechanism that will allow > + inspection of the data, including but not limited to: dumping > + for debugging, creating a coredump, analysis, or statistical > + information. > + Inspection table is created ahead of time such that it can be later The inspection table > + used regardless of the state of the kernel (running, frozen, crashed, > + or any particular state). > + > + Note that modules using this feature must be rebuilt if option if this option > + changes. -- ~Randy