From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 11D34C11D3D for ; Thu, 27 Feb 2020 15:22:44 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D81772469F for ; Thu, 27 Feb 2020 15:22:43 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="I4YZk+jL" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D81772469F Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=xmission.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Subject:MIME-Version:Message-ID: In-Reply-To:Date:References:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=R5Iwsr6ogBw0f6lj/dFRt54thVxsCVNvHc+NxZC0XdM=; b=I4YZk+jLUkkG44 KPqlUEYXBnFCjql+1MZV2yjqLYcLhuoUQvinguDauWohBVhQZyWRhBUicx5Yyqek59RQzg449L6/i 5OPwMdGWbZdA1eXset3hAkV0Vt/qLLueu8KxqEh8W6+nYeLZ1OxtZDUXZsVsg8t+o+qQvNf38uzPB qD4QEOJvX/DS3fdctvbRGlOSh+UpsgrnR9craIAMYWKQcULnnM8Qvu7NHstFq6Vpwgst223/AZHeO okjiPoqWd2uf5scQF5MtrcwPk94iKMGCtQp2qkSyD6fSOzT3oBjDoZ4Z7HEakQUrd3oFxGR8xJR2k U8u2XPK/edD3+rVzhEhA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1j7Kzi-0005vi-AG; Thu, 27 Feb 2020 15:22:34 +0000 Received: from out01.mta.xmission.com ([166.70.13.231]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1j7Kzf-0005vF-FT for linux-arm-kernel@lists.infradead.org; Thu, 27 Feb 2020 15:22:33 +0000 Received: from in02.mta.xmission.com ([166.70.13.52]) by out01.mta.xmission.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1j7Kzd-0002oK-5G; Thu, 27 Feb 2020 08:22:29 -0700 Received: from ip68-227-160-95.om.om.cox.net ([68.227.160.95] helo=x220.xmission.com) by in02.mta.xmission.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.87) (envelope-from ) id 1j7Kzc-0004Rt-Be; Thu, 27 Feb 2020 08:22:28 -0700 From: ebiederm@xmission.com (Eric W. Biederman) To: Catalin Marinas References: <20200226180526.3272848-10-catalin.marinas@arm.com> <202002270627.YYGOStB9%lkp@intel.com> <20200227110558.GB3281767@arrakis.emea.arm.com> Date: Thu, 27 Feb 2020 09:20:23 -0600 In-Reply-To: <20200227110558.GB3281767@arrakis.emea.arm.com> (Catalin Marinas's message of "Thu, 27 Feb 2020 11:05:58 +0000") Message-ID: <87tv3cvyyw.fsf@x220.int.ebiederm.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 X-XM-SPF: eid=1j7Kzc-0004Rt-Be; ; ; mid=<87tv3cvyyw.fsf@x220.int.ebiederm.org>; ; ; hst=in02.mta.xmission.com; ; ; ip=68.227.160.95; ; ; frm=ebiederm@xmission.com; ; ; spf=neutral X-XM-AID: U2FsdGVkX1/nALEEfqW3mERTujRdYVsPc5xKTukFjx4= X-SA-Exim-Connect-IP: 68.227.160.95 X-SA-Exim-Mail-From: ebiederm@xmission.com Subject: Re: [PATCH v2 09/19] arm64: mte: Add specific SIGSEGV codes X-SA-Exim-Version: 4.2.1 (built Thu, 05 May 2016 13:38:54 -0600) X-SA-Exim-Scanned: Yes (on in02.mta.xmission.com) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200227_072231_516006_BE2E228C X-CRM114-Status: GOOD ( 15.45 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-arch@vger.kernel.org, Richard Earnshaw , kbuild-all@lists.01.org, kbuild test robot , Arnd Bergmann , Szabolcs Nagy , Andrey Konovalov , Kevin Brodsky , Peter Collingbourne , linux-mm@kvack.org, Vincenzo Frascino , Will Deacon , linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org Catalin Marinas writes: > On Thu, Feb 27, 2020 at 06:33:14AM +0800, kbuild test robot wrote: >> url: https://github.com/0day-ci/linux/commits/Catalin-Marinas/arm64-Memory-Tagging-Extension-user-space-support/20200227-041230 >> base: https://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc.git for-next >> config: x86_64-defconfig (attached as .config) >> compiler: gcc-7 (Debian 7.5.0-5) 7.5.0 >> reproduce: >> # save the attached .config to linux build tree >> make ARCH=x86_64 >> >> If you fix the issue, kindly add following tag >> Reported-by: kbuild test robot >> >> All error/warnings (new ones prefixed by >>): >> >> In file included from include/linux/export.h:43:0, >> from include/linux/linkage.h:7, >> from arch/x86/include/asm/cache.h:5, >> from include/linux/cache.h:6, >> from include/linux/time.h:5, >> from include/linux/compat.h:10, >> from arch/x86/kernel/signal_compat.c:2: >> In function 'signal_compat_build_tests', >> inlined from 'sigaction_compat_abi' at arch/x86/kernel/signal_compat.c:166:2: >> >> include/linux/compiler.h:350:38: error: call to '__compiletime_assert_30' declared with attribute error: BUILD_BUG_ON failed: NSIGSEGV != 7 > > I haven't realised that x86 has a build check for NSIGSEGV. I'll fold in > the diff below (there are no new fields added to siginfo, so no other > changes necessary): Yes. That looks good. Acked-by: "Eric W. Biederman" > diff --git a/arch/x86/kernel/signal_compat.c b/arch/x86/kernel/signal_compat.c > index 9ccbf0576cd0..a7f3e12cfbdb 100644 > --- a/arch/x86/kernel/signal_compat.c > +++ b/arch/x86/kernel/signal_compat.c > @@ -27,7 +27,7 @@ static inline void signal_compat_build_tests(void) > */ > BUILD_BUG_ON(NSIGILL != 11); > BUILD_BUG_ON(NSIGFPE != 15); > - BUILD_BUG_ON(NSIGSEGV != 7); > + BUILD_BUG_ON(NSIGSEGV != 9); > BUILD_BUG_ON(NSIGBUS != 5); > BUILD_BUG_ON(NSIGTRAP != 5); > BUILD_BUG_ON(NSIGCHLD != 6); _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel