Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp1206355ybx; Thu, 7 Nov 2019 08:44:16 -0800 (PST) X-Google-Smtp-Source: APXvYqyH54wO4DWCMZuGDeMrNgByCHie7xAKAz93N7TWpo8nDLC/4py6Ak2ZMOw4wjkC+xR/Vt+W X-Received: by 2002:a17:906:f255:: with SMTP id gy21mr4006551ejb.204.1573145056532; Thu, 07 Nov 2019 08:44:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573145056; cv=none; d=google.com; s=arc-20160816; b=kQ4HiI5hp5Gc2XL3zGSKbkC3dvrjKJLBc0LHaBwfcq7jRE7BLslku5c4Wzjl+7PgO+ baOlFiAXhX1hYEG5KNLhJlldas2EkNSToUy8oF9yW1bOLvqelpP/gM4dJiU3UQFPFhUs 8i4aG84StHQNR8+XdbrSHQLvGqWxx7FqokR9+69qXDFj5XCJfsqqqXAPW4dbw/YMEOxE zqEPAkWIPwixtAVQ5QTPKj8gt1XnzaR2VOHZH8rbLWzEBRQYDsTvfAjHZwR2CPWqmZj0 GjYkgCeUJEHCj3/3a1HQJimmWGOBtGpocOV4Gc3fqBufZHknd+4bt58/Uz98idyRno1P k98w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=xro3Ank9Ja7ZskAVpOB/lAhk4jT0WdL/7+IAvy+RnAQ=; b=mgWsteW6fy+219kQZjJ7gKhNtyu13AyRzq3G7MHe/ARZPnf0lBBts2GJwtm9PINa58 kUfq8g3tIYKkqHEo6zrFBgGOu8UN4ykXzoJUEPhNL9VvcnI0QXJQH2tCmJ8owK8nqfGf hxnt81yE3Xyuzq9SCP4hMDsOBxKebaTEY1gfBjtwu+kf3eZwWBx79vZkotRQ1Pguu6WN gW/tqcizoSq1aV+0TthkLYRIEYvC/CLWI0owP9vFZI8QxtPyY++nQpmZzD1/bbci0jcG h1vFfbBGP/3ZpEJkzpzq2o5Qo0IaCVqoCwdzSlhYvXyZxj0TCy5KYjOzwyZYBhakvq3o 5pKQ== 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 g4si1881637edb.41.2019.11.07.08.43.53; Thu, 07 Nov 2019 08:44:16 -0800 (PST) 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 S2389345AbfKGQmy (ORCPT + 99 others); Thu, 7 Nov 2019 11:42:54 -0500 Received: from mx2.suse.de ([195.135.220.15]:35350 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1730364AbfKGQmv (ORCPT ); Thu, 7 Nov 2019 11:42:51 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id A2760AE6F; Thu, 7 Nov 2019 16:42:49 +0000 (UTC) Date: Thu, 7 Nov 2019 17:42:48 +0100 From: Michal =?iso-8859-1?Q?Such=E1nek?= To: Hari Bathini Cc: Mahesh Salgaonkar , linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, Paul Mackerras Subject: Re: [PATCH] powerpc/fadump: Remove duplicate message. Message-ID: <20191107164248.GZ1384@kitsune.suse.cz> References: <20190923075406.5854-1-msuchanek@suse.de> <20191023175651.24833-1-msuchanek@suse.de> <20191024111651.GL938@kitsune.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20191024111651.GL938@kitsune.suse.cz> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Oct 24, 2019 at 01:16:51PM +0200, Michal Such?nek wrote: > On Thu, Oct 24, 2019 at 04:08:08PM +0530, Hari Bathini wrote: > > > > Michal, thanks for looking into this. > > > > On 23/10/19 11:26 PM, Michal Suchanek wrote: > > > There is duplicate message about lack of support by firmware in > > > fadump_reserve_mem and setup_fadump. Due to different capitalization it > > > is clear that the one in setup_fadump is shown on boot. Remove the > > > duplicate that is not shown. > > > > Actually, the message in fadump_reserve_mem() is logged. fadump_reserve_mem() > > executes first and sets fw_dump.fadump_enabled to `0`, if fadump is not supported. > > So, the other message in setup_fadump() doesn't get logged anymore with recent > > changes. The right thing to do would be to remove similar message in setup_fadump() instead. > > I need to re-check with a recent kernel build. I saw the message from > setup_fadump and not the one from fadump_reserve_mem but not sure what > the platform init code looked like in the kernel I tested with. Indeed, I was missing the patch that changes the capitalization in fadump_reserve_mem. In my kernel both messages are the same and the one from fadump_reserve_mem is displayed. Thanks Michal