Received: by 10.223.185.116 with SMTP id b49csp148249wrg; Tue, 13 Feb 2018 18:33:55 -0800 (PST) X-Google-Smtp-Source: AH8x225Ul9E9RkOw+K0PgYLQSvAcLXi6FTVyt0Zh+pH7Tx0qnzT3I91czY/nWZvWJqPB0m7qbu1f X-Received: by 2002:a17:902:20e3:: with SMTP id v32-v6mr2989916plg.405.1518575634975; Tue, 13 Feb 2018 18:33:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518575634; cv=none; d=google.com; s=arc-20160816; b=vVPrGrtZ8K7OuTgtnvo/pwRQ3RQF0kHWF0EnLZcaOYL/aH1uvGRM+cnmWoAdjtx+b/ /2SgBi+837Or2Lv6Fu5p0Kiek013gVNDcJI4pUHVsd+9LZT5IbDNRF7GA4av5xCVEJFt JoByvJv0hCXOuPk6TwqVJye7lNtOQyu5fGwcX/cbMOdxrF02WG6mqlgrEP9377AMkUSg ZxPcvFQIJhfHk+eaxrbWbw3i3qQVGJLgwUtV5/8Sssf/XiOcicOKJyKbGB+iZYn867VV kHhFQAhmCjAcgGHSGZXeH53RG6YmIcQ0d3llSeWODKbD0ZuLJXJrIbFAPELR9ldh6Cxz wblQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature:arc-authentication-results; bh=jWlJK9ywrVl2sENLzP+IL1JEWQ8cW8BJu1xb3gJgKec=; b=WPE1V0Na5JHGe+zCFnSV2gfpqKyNk0qrfS0vRmcoiQD/3EbwSHJ4Hfr+etw4kzBC4j 2VX1qQjD/okpbQ0Um9mCbUMetwX4P+iwayvz5blClniNavA06EsW+WGV5FSwx8N2EQMt 4oGGMts9jXFDMIsQij0WOThjZdVUcNO2w4jaeleEzJnFRKZkqQEIN+gjPtn1POomnHQ9 1MEi8AKyTfUwrW7KMzYCdbof5rSl8dO8eOqDKKzXiMuFhOdGQHW9KFnLoSvpyHNUKD9W hhQFdHo5bBga6Wtm0RpKOnswBq8tso1rFT9/n6JseEChtPmC/ZT7+MVA1/K3g/u1wJ6D RB5A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=oivCe+Ga; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o18si173099pge.300.2018.02.13.18.33.40; Tue, 13 Feb 2018 18:33:54 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=oivCe+Ga; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S966500AbeBNCdC (ORCPT + 99 others); Tue, 13 Feb 2018 21:33:02 -0500 Received: from mail-pl0-f68.google.com ([209.85.160.68]:43984 "EHLO mail-pl0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S966382AbeBNCdB (ORCPT ); Tue, 13 Feb 2018 21:33:01 -0500 Received: by mail-pl0-f68.google.com with SMTP id f4so7697681plr.10 for ; Tue, 13 Feb 2018 18:33:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=jWlJK9ywrVl2sENLzP+IL1JEWQ8cW8BJu1xb3gJgKec=; b=oivCe+Ga2E2Dksf3hK+R8vcagR6DlbFyClVoN1KLtAgS0cPd/pox3dOZwSmsjAXHml +aey0mY4nLCrfRtuIjz+X4Umg6bFoHgVTLaTtGMxTj5UDIiZ/E1C7P+SU22STlBp1cKp hV3whvwX2lj9GGJUQjjIWZ7MzbtaIfnoMWCFkQ2Mf9M4SFV28Ke5jkoDvNCA2s8ouBZP P3gRYYcCZPl+IzbamliO0tYbL5EMPdrSR0e36H/KJCiwuB0FeU5sTEzoLXZWBNAaU1XY 6/DiKpjzQRnQi2fmM1hDn4hTEA02vnihVCrLgCp+RS26IvoUlmjC1rK++OAxU1pdcEnI tymQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=jWlJK9ywrVl2sENLzP+IL1JEWQ8cW8BJu1xb3gJgKec=; b=TggkuCKGQgDmVzVSKn24lZaJxmTchOROKnleryCUt3Arb43O8zwWtw2PZPQDJkWFQ/ l7c7CRCWgdtWqcfO6A3fz0ybf6V/PWvZkfZDUjNaV79Ip+WWF3gxjYb76DQ6UCj+xqPI A3O/lWGjt/rMuQNBIF/i0VBmNxM/Qykd51Np7hz104ltjfT4xMzECpmx8QMqvaxaxFVh 1LTuWO9aeGs8u3/aJ7kVA/Rzb7A+Qh5W18tfR8oU7etdKmeV/Ml6Upij/M5SdrA7A03b XiTsoJRU6BSluvMk8GFhMNz8bb9Jo3I3c4+Xx81MVd5gPpsHR5icJYK3OHaHD3HsDGod jqRw== X-Gm-Message-State: APf1xPDcd1E4KOaBmMrFMu0FxWbm1YPD9dT/1AIVCpiOEgFPkPF/My4c oMBYPZi8czmyCeJmZPUd1V0= X-Received: by 2002:a17:902:3064:: with SMTP id u91-v6mr2945380plb.421.1518575575768; Tue, 13 Feb 2018 18:32:55 -0800 (PST) Received: from balbir.ozlabs.ibm.com ([122.99.82.10]) by smtp.gmail.com with ESMTPSA id e71sm28359967pgc.79.2018.02.13.18.32.53 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 13 Feb 2018 18:32:55 -0800 (PST) Date: Wed, 14 Feb 2018 13:32:39 +1100 From: Balbir Singh To: Guenter Roeck Cc: Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman , "open list:LINUX FOR POWERPC (32-BIT AND 64-BIT)" , "linux-kernel@vger.kernel.org" , Nicholas Piggin Subject: Re: [PATCH 1/2] powerpc/kdump: Add missing optional dummy functions Message-ID: <20180214133239.498a1e73@balbir.ozlabs.ibm.com> In-Reply-To: <20180212232551.GA5199@roeck-us.net> References: <1518474848-3158-1-git-send-email-linux@roeck-us.net> <20180212232551.GA5199@roeck-us.net> X-Mailer: Claws Mail 3.15.1-dirty (GTK+ 2.24.31; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 12 Feb 2018 15:25:51 -0800 Guenter Roeck wrote: > On Tue, Feb 13, 2018 at 10:01:57AM +1100, Balbir Singh wrote: > > On Tue, Feb 13, 2018 at 9:34 AM, Guenter Roeck wrote: > > > If KEXEC_CORE is not enabled, PowerNV builds fail as follows. > > > > > > arch/powerpc/platforms/powernv/smp.c: In function 'pnv_smp_cpu_kill_self': > > > arch/powerpc/platforms/powernv/smp.c:236:4: error: > > > implicit declaration of function 'crash_ipi_callback' > > > > > > Add dummy function calls, similar to kdump_in_progress(), to solve the > > > problem. > > > > > > Fixes: 4145f358644b ("powernv/kdump: Fix cases where the kdump kernel ...") > > > Cc: Balbir Singh > > > Cc: Michael Ellerman > > > Cc: Nicholas Piggin > > > Signed-off-by: Guenter Roeck > > > --- > > > > Thanks for working on this. > > > > You've added two functions, I understand the crash_send_ipi() bits > > that I broke. Looks like crash_ipi_callback broken without KEXEC_CORE? > > > > If I recall correctly, 4145f358644b introduced the call to crash_ipi_callback(). > After I declared the dummy function for that, I got an error about the missing > crash_send_ipi(). I didn't spend more time on it but just added another dummy > function. It may well be that another problem was introduced in the same time > frame. On the other side, maybe I got it all wrong, and my patch is not worth > the computer it was written on. > The patches worked for me with CONFIG_KEXEC=n and CONFIG_KEXEC_CORE=n Tested-by: Balbir Singh Balbir Singh