Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp639933imu; Fri, 25 Jan 2019 08:21:57 -0800 (PST) X-Google-Smtp-Source: ALg8bN4njAWvgSnkAqf0UM8wz0o3+kjY6/IbrYMuAkHgfU1Icud0pXLHbIUzh25lLJgiycsUF76o X-Received: by 2002:a63:f201:: with SMTP id v1mr9942298pgh.232.1548433317483; Fri, 25 Jan 2019 08:21:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548433317; cv=none; d=google.com; s=arc-20160816; b=D9XqAITMfDYDgwf3zpSK21Q0q0WGugGpVvbvoXfv0X/QmHIIj709Mzm6w9UkiVAQl4 BaHUhmN8UsBwY+GK8Po8fdy6BYrBcg/bDnFEB0p05M+WCZ9t3J9d+jFbjh1lgI1cIrEx P6pepTEtzGPuCzkP5idoSjSCgdU18w+oF0v4pbbGmG2HJ5d6IVTrow6Q3x2dB8FhvLnw Xo89EE+/sPuUF+VXw/peSCZ+HGofMRqNCZStXl4uxegvGjLO1JjiQBPbRiQLa8jLpp+p 12/uS+0kVMWuNZV0NUHWXNhtmvO4s5fYiEO+Uj0irslfFK77pmBYs0g8OJ65x1EvBPLN IO0Q== 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:dkim-signature; bh=Fb6QfXnDya57aIllN8OrBHEzgweeEhiGtjzhT0asteg=; b=kaGLgapBHAAG9Vunu/ePLf3bIWDzk3Q5MiUSkD0DZynPKn2ZA2+CEP8N+6rn8IgcX0 yRU50R2CKqiu/VYyQz6YAyqZ5gJynCwVNLWQY1tG2Ai8a9Eur9WtDHWbxZTom+IeNty7 XEZZQVq8usteCMJKr/olOs1TxROkw61BnX9Ot66Em4npooKONx/bwkrvM2je7KMOMcjM 6LhQW/XXrW7e97Xb/pd7MnXnhUavj4RSPtdZk0+nON5cxlOUsX6HW2dXpPSke4kusojy R3HqBej8gYQWJ44lRvANQ21+ttNC/YiBTen4f9U7J8d9XkPxdyGcLLXDg/c+6M0qex1B 2cbQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@armlinux.org.uk header.s=pandora-2014 header.b=Jg+mY4fZ; 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=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h67si25706128pfb.146.2019.01.25.08.21.41; Fri, 25 Jan 2019 08:21:57 -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=fail header.i=@armlinux.org.uk header.s=pandora-2014 header.b=Jg+mY4fZ; 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=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727105AbfAYQVg (ORCPT + 99 others); Fri, 25 Jan 2019 11:21:36 -0500 Received: from pandora.armlinux.org.uk ([78.32.30.218]:59710 "EHLO pandora.armlinux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726122AbfAYQVf (ORCPT ); Fri, 25 Jan 2019 11:21:35 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2014; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding: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=Fb6QfXnDya57aIllN8OrBHEzgweeEhiGtjzhT0asteg=; b=Jg+mY4fZd4Fh38o/VC9Ln2xfb JN3U08pa9jgQaUkC9++KAWmKjLgpzUEBx35I75q4QyMFkgorfHmpgnMPnZDwsLxk30AnWeLDKkcgw t6YNTJS4cjCz1xF4o4zbIyr/kj25p4WOZhvftqtGwu1UfwwMXq5O6ec68tvt8EGnndrvg=; Received: from e5254000004ec.dyn.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:55400 helo=shell.armlinux.org.uk) by pandora.armlinux.org.uk with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1) (envelope-from ) id 1gn4E8-0003Ku-Bh; Fri, 25 Jan 2019 16:21:08 +0000 Received: from linux by shell.armlinux.org.uk with local (Exim 4.89) (envelope-from ) id 1gn4E6-0001p0-Sr; Fri, 25 Jan 2019 16:21:06 +0000 Date: Fri, 25 Jan 2019 16:21:06 +0000 From: Russell King - ARM Linux admin To: Catalin Marinas Cc: Arnd Bergmann , y2038@lists.linaro.org, linux-api@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, mattst88@gmail.com, will.deacon@arm.com, tony.luck@intel.com, fenghua.yu@intel.com, geert@linux-m68k.org, monstr@monstr.eu, paul.burton@mips.com, deller@gmx.de, benh@kernel.crashing.org, mpe@ellerman.id.au, schwidefsky@de.ibm.com, heiko.carstens@de.ibm.com, dalias@libc.org, davem@davemloft.net, luto@kernel.org, tglx@linutronix.de, mingo@redhat.com, hpa@zytor.com, x86@kernel.org, jcmvbkbc@gmail.com, akpm@linux-foundation.org, deepa.kernel@gmail.com, ebiederm@xmission.com, firoz.khan@linaro.org, linux-alpha@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-ia64@vger.kernel.org, linux-m68k@lists.linux-m68k.org, linux-mips@vger.kernel.org, linux-parisc@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-s390@vger.kernel.org, linux-sh@vger.kernel.org, sparclinux@vger.kernel.org, netdev@vger.kernel.org, linux-fsdevel@vger.kernel.org Subject: Re: [PATCH v2 07/29] ARM: add kexec_file_load system call number Message-ID: <20190125162106.axfhoxxdutkmaeh3@e5254000004ec.dyn.armlinux.org.uk> References: <20190118161835.2259170-1-arnd@arndb.de> <20190118161835.2259170-8-arnd@arndb.de> <20190125154359.GG25901@arrakis.emea.arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190125154359.GG25901@arrakis.emea.arm.com> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jan 25, 2019 at 03:43:59PM +0000, Catalin Marinas wrote: > On Fri, Jan 18, 2019 at 05:18:13PM +0100, Arnd Bergmann wrote: > > diff --git a/arch/arm/tools/syscall.tbl b/arch/arm/tools/syscall.tbl > > index 86de9eb34296..20ed7e026723 100644 > > --- a/arch/arm/tools/syscall.tbl > > +++ b/arch/arm/tools/syscall.tbl > > @@ -415,3 +415,4 @@ > > 398 common rseq sys_rseq > > 399 common io_pgetevents sys_io_pgetevents > > 400 common migrate_pages sys_migrate_pages > > +401 common kexec_file_load sys_kexec_file_load > > I presume on arm32 this would still return -ENOSYS. Yes, I already checked. If CONFIG_KEXEC_FILE is not set, then kernel/kexec_file.c is not built, and we fall back to the stub in kernel/sys_ni.c. -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTC broadband for 0.8mile line in suburbia: sync at 12.1Mbps down 622kbps up According to speedtest.net: 11.9Mbps down 500kbps up