Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2237362pxb; Tue, 23 Feb 2021 01:56:17 -0800 (PST) X-Google-Smtp-Source: ABdhPJxXgp1J4wvyMP2+J++ZZrn5rc4jlYHl1up8jgvlJL0h2HKNxqsUQb4xiWzKnuYjZeT8/AXV X-Received: by 2002:aa7:cdd2:: with SMTP id h18mr24658743edw.38.1614074177039; Tue, 23 Feb 2021 01:56:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614074177; cv=none; d=google.com; s=arc-20160816; b=vccnBi5QqbEYZgbVa6r6G011Ya2vL2s6N7oWgBoE7Q0DDI9xrMQSj/8hx9RjwoTkTP BQ8gjObyzPofAMuL9+ZoGK/juX75I8IqkRq2bQTLzKqMt2LmPa4uADrZct65sNcBefa2 hX8vHZXBvo5cBWDCm3RMN2TArKg6QWFnllpaMcp8bEOgNAH3Nh2szsGqtX6V+A8f2qBF YYNcVFZMsMBq6hvYR+Q3iMMiTVkfkpVmPt1jV4cdzpGQ4LGpU3gi1ocD0I4YKaRrsp4v +8pB1A523BNWQa6mGj3GhwGjsxOQ8LMpBh3lnB4FA+WN9IsKeX39bbMaNnMQG0qedapN k1Gw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=kyHfEqr5IJKYa2HI6eY64InugVKI3wqjiBmU4QeY3ag=; b=o8Ao8yxztVx5B/81jfnDPqGaoWfYgAuykHXLtU7q/yVKJ3r1oR5I5oFXtgUou13CUV iyHnXHGQ4zgEFVzdRtthT6Z7n9kTVwvDo+hu/R8455T4oDbIxYKATvHopUxjSVDQvmim lYBa8xxYQGRiLY30QaOsAONWaKWgoJ/xa9KdYip8yLrND0gAQjVAesAcM2IeKvAs+qJJ gXVl40b9AvkkypuDWE1KGoqoxnqBNrGbxXdjz88H935Rlxs78b6Up6H3/ROLIlBzsIK3 BlPidyDyA9x1GzkB5tZt5X7aIHDO2JFSleHP0PY3qhskCbxxFG5LierjTTlHpTOOCCmp okDQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Oxxntdcw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t21si6628968edi.554.2021.02.23.01.55.47; Tue, 23 Feb 2021 01:56:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Oxxntdcw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231259AbhBWJqY (ORCPT + 99 others); Tue, 23 Feb 2021 04:46:24 -0500 Received: from mail.kernel.org ([198.145.29.99]:52220 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231163AbhBWJqU (ORCPT ); Tue, 23 Feb 2021 04:46:20 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id EE32F64E02; Tue, 23 Feb 2021 09:45:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1614073537; bh=XDJd7zq5mb1m5QRiGL2lhuuFScDU1SW3A46RMF1gAyo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=OxxntdcwJQo8anl3xwIhP0TfBMox1WV2Tr1Zlm1ybgRfXvBUwdVda4+oTnJPWlrvI 9dR+lsEVwLi4oiTRnnm5FQsjVo4e8eVyw7o8dG3vO9wy4w5qmX/rikAxK61DdQ3Hg1 eOkN/pc8kIR1u6tAgFlc2euaAJjECabTRnK8dcboXgPDtGzDusStEXGbX9ug2o1Jp1 ZvNk/jNpqrif/+mwixb+50uinPuVdQ53/ZAlCEEDFBpacOK/ayTxXFteIN6/5XoOAx K29V/pj+cqjJo2hHAtU4my6oHIZJDB1FnUSpMau+AEQmIvxDSIHBNVktAlrxPllvUS GY3E+lCGScwBw== Date: Tue, 23 Feb 2021 09:45:32 +0000 From: Will Deacon To: "Eric W. Biederman" Cc: james.morse@arm.com, jmorris@namei.org, tyhicks@linux.microsoft.com, kexec@lists.infradead.org, linux-arm-kernel@lists.infradead.org, Pavel Tatashin , linux-kernel@vger.kernel.org, catalin.marinas@arm.com, kernel-team@android.com Subject: Re: [PATCH v2] kexec: move machine_kexec_post_load() to public interface Message-ID: <20210223094531.GA10254@willie-the-truck> References: <20210219195142.13571-1-pasha.tatashin@soleen.com> <161399720788.2051103.17455817952511939013.b4-ty@kernel.org> 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) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Feb 22, 2021 at 11:16:38PM -0600, Eric W. Biederman wrote: > Will Deacon writes: > > > On Fri, 19 Feb 2021 14:51:42 -0500, Pavel Tatashin wrote: > >> machine_kexec_post_load() is called after kexec load is finished. It must > >> declared in public header not in kexec_internal.h > >> > >> Fixes the following compiler warning: > >> > >> arch/arm64/kernel/machine_kexec.c:62:5: warning: no previous prototype for > >> function 'machine_kexec_post_load' [-Wmissing-prototypes] > >> int machine_kexec_post_load(struct kimage *kimage) > > > > Applied to arm64 (for-next/fixes), thanks! > > > > [1/1] kexec: move machine_kexec_post_load() to public interface > > https://git.kernel.org/arm64/c/2596b6ae412b > > As you have already applied this it seems a bit late, > but I will mention that change could legitimately have the following > tag. > > Fixes: de68e4daea90 ("kexec: add machine_kexec_post_load()") > > So far arm64 is the only implementation of that hook. I added 'Fixes: 4c3c31230c91 ("arm64: kexec: move relocation function setup")' when I applied the patch, so at least it's clearly marked as a fix. Will