Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp3349414ybg; Fri, 25 Oct 2019 02:50:43 -0700 (PDT) X-Google-Smtp-Source: APXvYqx4/WiQJ68AFQT1wVcTeFpp84ij+2j/pvwnJdOdTblcj6rBcj2S8WivMR/VjaYzJhgdcUhc X-Received: by 2002:a17:907:104c:: with SMTP id oy12mr2552002ejb.269.1571997043692; Fri, 25 Oct 2019 02:50:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571997043; cv=none; d=google.com; s=arc-20160816; b=PXHeeycKsgdo03pJwOqmxTLzhjA6UgPTi3p3KhTdoIip3OvsXSE2CRtd87/b+5nfYN JamLzxNVmnQSI/KID/Z33wQhDwhmOL8yAiGwT26Xj+R8/HElQXYkbTwxQEuy/9LJOU2D 8w9MFkbNLf9CNLI7yzvAuUhhT45jPJ0nPYnQv+906pKB5OKnCvSzbTTCwf84kkXYZ7hN 7CmaHmMyk2WrCI0mhVROYQC/MjDWZJmKcgDDjFfGC7aoEDYZHwKim8CAz/ZQdg6KF6SA xqvLpXzmrFvkehNcy0trmnYh9cZ7veNnqqvCWPI4PNBGP94o0jMKHF9HJrEITTPpdrHb GZjg== 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-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=ZFICBckAkc5KRAmwKhckEEJmFV0Rx/uooL0zCaj1EX4=; b=yL1tbKMFwACAhosW+o3xPG5LGmLhDkICxH7IHkX18fpRd5QMQK6VvcngD+7gZCyfuZ 4u4nNzHGniE7Eog+h7W2nUBUVxeD/DjMeCqdwwHWY6eXnXN2vNA++HltqEDJV8H0cN13 IQInsKEw0NUk5KF8v+hXEkeuaN9Ucxhsgqb8i/nE2eSWRdwP7gABjcPzCiJs8fDLbfcS Z+iFA1MJr4siI2tVhho9oH8nSgf9jxjEjsJNSeQ3kErxe+NGK+8apbkNR0lgVryrIEdr HSuYZ6hTKk/0aqkL/p/LwC0GSl2M/IQSIzw79fy8XbNRJ31meLVeM1gW1lFi/TiZ3Ngp kvkg== 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 b9si963721edj.0.2019.10.25.02.50.20; Fri, 25 Oct 2019 02:50:43 -0700 (PDT) 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 S2408045AbfJXLQz (ORCPT + 99 others); Thu, 24 Oct 2019 07:16:55 -0400 Received: from mx2.suse.de ([195.135.220.15]:50122 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2405717AbfJXLQy (ORCPT ); Thu, 24 Oct 2019 07:16:54 -0400 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 350B1B203; Thu, 24 Oct 2019 11:16:53 +0000 (UTC) Date: Thu, 24 Oct 2019 13:16:51 +0200 From: Michal =?iso-8859-1?Q?Such=E1nek?= To: Hari Bathini Cc: linuxppc-dev@lists.ozlabs.org, Mahesh Salgaonkar , Paul Mackerras , linux-kernel@vger.kernel.org Subject: Re: [PATCH] powerpc/fadump: Remove duplicate message. Message-ID: <20191024111651.GL938@kitsune.suse.cz> References: <20190923075406.5854-1-msuchanek@suse.de> <20191023175651.24833-1-msuchanek@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 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. Thanks Michal