Received: by 2002:a89:413:0:b0:1fd:dba5:e537 with SMTP id m19csp335511lqs; Thu, 13 Jun 2024 11:20:21 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXKPOJ+1ql+aWTiTFNrNVSQYRBmdsuA2WIyddvtDi63xAYlGIHzCxLRPLTLA8t5o343xDa5fIEIzyg9u4jvbVEue4HQWHbMJEOKFFXAoA== X-Google-Smtp-Source: AGHT+IFlGPjTROWyhy4/vMp928l+5VyPAoXpxobgtNDzM2ebMCdwu0IUtBOCX8D0Bx+xI9jML6qk X-Received: by 2002:a17:90a:e398:b0:2c2:f6e9:54fe with SMTP id 98e67ed59e1d1-2c4db34ec95mr544183a91.27.1718302820741; Thu, 13 Jun 2024 11:20:20 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718302820; cv=pass; d=google.com; s=arc-20160816; b=SWXX3992L5dzCn3Mbt7AAOsBJvQhexlnxU+IjZdcsvZZ7uj+ytlOEO9vHz77RhGXhb wRNLPpj/Y8ADyLyfEgR9WDqQBJf+bx+t2oNPk00Cd5qm6XtWEsju/2GHkz4TdwAb21oM L4tevmqv0Y1/zkU1Rp7Av5NZ+4rmSTQSn2ISLsKPuDuG078CMTHGX/1nD0mBm0fYQpuC pHSMCGZAqKOX3TnnBK6z8cHF6thxH1r71HekoM5b0iak8GyDFRao5syZF523qTPeNe4i JHYWsJULM+BQVktExrKHGyH/zi/4442Z0iWBEii2Mh1pa3IqOPTH9rubidEFCwG+bI39 zl0Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=MFcS3b+KeKQkV59PFBLNqWqobt/CiM0335GMv/JZlvo=; fh=Rj1xHCXvW67UF2jdWCx5iK85RrX5JV0bk0RAOz6CPDM=; b=KOhkiQt5BG+2e4kUxuuJ1PAG8HDojd0tBOQc+FJ6M3Z03rim1tIiDkWJXVAE5Ymo7E YbcLDxD8LKo2ReLNPDVkqFYsJ66UAe3eVMG1qTXIUbLJnwl4GTxb+Pl5azy1s+6pf6g5 IH0iQfrcfnx/EIg86jxlWbeBvsv2dre7UJfrk3RZmeDWzv2LHnay82lAQQqB7kTb0f/W 7u+B9DPLp3/aj9ygJ5j/Fs4KYbhO3Ze0lFj1Jm8v5MbmPjlqLf3zoM3bMi/vLsXnXSmV VY1x7W4QlNTxC+Cu5sYCCb4MK02v2NOExsxUp/LWrKCVQ9c6ft+wX/unWX8DJ8/gjNFx E1HQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=fail header.i=@igalia.com header.s=20170329 header.b=K5Tq4sbm; arc=pass (i=1 spf=pass spfdomain=igalia.com dkim=pass dkdomain=igalia.com); spf=pass (google.com: domain of linux-kernel+bounces-213814-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-213814-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id 98e67ed59e1d1-2c4a75f3a7dsi3981665a91.56.2024.06.13.11.20.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Jun 2024 11:20:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-213814-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=fail header.i=@igalia.com header.s=20170329 header.b=K5Tq4sbm; arc=pass (i=1 spf=pass spfdomain=igalia.com dkim=pass dkdomain=igalia.com); spf=pass (google.com: domain of linux-kernel+bounces-213814-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-213814-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 507B1281A8A for ; Thu, 13 Jun 2024 18:20:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2754514AD36; Thu, 13 Jun 2024 18:20:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=igalia.com header.i=@igalia.com header.b="K5Tq4sbm" Received: from fanzine2.igalia.com (fanzine.igalia.com [178.60.130.6]) (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 AB17A14A617; Thu, 13 Jun 2024 18:20:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=178.60.130.6 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718302815; cv=none; b=uWR6fGAhhQUNIuMt/UsuYC97beaSsUYXSZUhV5yDpoPmZzIT8iKudDMNEQJDD7r2+feX93Rcp0ywZ5w/S7j3h0ZOO9ta69shpIpepCQwBIY1i+0h2TI3jroYWFqpVDRDFKlyh3UCvBrxYPhwf21YEn6lzu05VN+0X5vTKQTg0aY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718302815; c=relaxed/simple; bh=TOatw6k1CBHe6gpw+mH/HeqeppZsp3vmIJFGZFpVvXw=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=Sp0mWKY52Mt3lfOdVo9bsmFRABV1EMLuJk+pPyBCUNoj37YKxUX+VlRYPaTRrf6hMYjgJ21p3CtOdN8QdGDZm4j8wQihp92LlGiocMW6qh2HoVjj67ZrQZJJiG26azoCDhj9Rr26HhxPLMOpUQaK546hrYsxODkGjH21CK5PlQU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=igalia.com; spf=pass smtp.mailfrom=igalia.com; dkim=pass (2048-bit key) header.d=igalia.com header.i=@igalia.com header.b=K5Tq4sbm; arc=none smtp.client-ip=178.60.130.6 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=igalia.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=igalia.com DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=igalia.com; s=20170329; 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:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=MFcS3b+KeKQkV59PFBLNqWqobt/CiM0335GMv/JZlvo=; b=K5Tq4sbm0tlVf4ZuqWLDIzEa0C EzfP2Ai6ZiPZeNKXwoUeBMPn8vLVNc0eZDJz7ZSasFRD9iY86GSJehBQaVEaAWRF3vuGMvFnUWC0R 7GaQdTKJC+7Smw7nMnofWsPx9oDV5Adw5wjU56kqvuQuUqy+XdQRgeFk8S0P3zHiQMZmWKXGxSODI kEDcFEWd/tgtbCNH1IvL1TzrViB03FvBLl1zwvcF88m5UFU4BldfYu4H5TPLHN6ThAWZ58OlUzFPS wx8/gNpCtJ5l7ZV7qdanx3T+BGxGDsBQ2FyypyozxYdJAikkJl/lp7RxnTBcNoFQ9epayhX5Kbp9g jc+O7m6w==; Received: from [191.205.188.103] (helo=[192.168.1.60]) by fanzine2.igalia.com with esmtpsa (Cipher TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_128_GCM:128) (Exim) id 1sHp3K-002pj6-Bc; Thu, 13 Jun 2024 20:20:02 +0200 Message-ID: <6a6bd674-48ca-f7fc-d572-51e52e6899d9@igalia.com> Date: Thu, 13 Jun 2024 15:19:50 -0300 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Subject: Re: [PATCH v6 2/2] pstore/ramoops: Add ramoops.mem_name= command line option To: Steven Rostedt , Mike Rapoport Cc: Masami Hiramatsu , linux-trace-kernel@vger.kernel.org, linux-kernel@vger.kernel.org, Mark Rutland , Mathieu Desnoyers , Andrew Morton , Vincent Donnefort , Joel Fernandes , Daniel Bristot de Oliveira , Ingo Molnar , Peter Zijlstra , suleiman@google.com, Thomas Gleixner , Vineeth Pillai , Youssef Esmat , Beau Belgrave , Alexander Graf , Baoquan He , Borislav Petkov , "Paul E. McKenney" , David Howells References: <20240613155506.811013916@goodmis.org> <20240613155527.591647061@goodmis.org> Content-Language: en-US From: "Guilherme G. Piccoli" In-Reply-To: <20240613155527.591647061@goodmis.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Thanks Steve, re-tested in my VM and it's working fine. Just a minor below... On 13/06/2024 12:55, Steven Rostedt wrote: > [...] > + D. Using a region of memory reserved via ``reserve_mem`` command line > + parameter. The address and size will be defined by the ``reserve_mem`` > + parameter. Note, that ``reserve_mem`` may not always allocate memory > + in the same location, and cannot be relied upon. Testing will need > + to be done, and it may not work on every machine, nor every kernel. > + Consider this a "best effort" approach. The ``reserve_mem`` option > + takes a size, alignment and name as arguments. The name is used > + to map the memory to a label that can be retrieved by ramoops. > + > + reserver_mem=2M:4096:oops ramoops.mem_name=oops > + Likely this could be fixed on merge, to avoid another version, but... s/reserver_mem/reserve_mem Cheers!