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=HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 3B2D2C11D3D for ; Thu, 27 Feb 2020 15:28:36 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 01B522469F for ; Thu, 27 Feb 2020 15:28:35 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 01B522469F Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=xmission.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 938586B0006; Thu, 27 Feb 2020 10:28:35 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 8C1156B0007; Thu, 27 Feb 2020 10:28:35 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 788A16B0008; Thu, 27 Feb 2020 10:28:35 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0037.hostedemail.com [216.40.44.37]) by kanga.kvack.org (Postfix) with ESMTP id 5D50B6B0006 for ; Thu, 27 Feb 2020 10:28:35 -0500 (EST) Received: from smtpin13.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay04.hostedemail.com (Postfix) with ESMTP id 0BB1D83F9 for ; Thu, 27 Feb 2020 15:28:35 +0000 (UTC) X-FDA: 76536288990.13.space87_8a7a8d960d441 Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin13.hostedemail.com (Postfix) with ESMTP id 979D818035431 for ; Thu, 27 Feb 2020 15:22:32 +0000 (UTC) X-HE-Tag: space87_8a7a8d960d441 X-Filterd-Recvd-Size: 5851 Received: from out01.mta.xmission.com (out01.mta.xmission.com [166.70.13.231]) by imf29.hostedemail.com (Postfix) with ESMTP for ; Thu, 27 Feb 2020 15:22:31 +0000 (UTC) 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 Cc: kbuild test robot , kbuild-all@lists.01.org, linux-arm-kernel@lists.infradead.org, Will Deacon , Vincenzo Frascino , Szabolcs Nagy , Richard Earnshaw , Kevin Brodsky , Andrey Konovalov , Peter Collingbourne , linux-mm@kvack.org, linux-arch@vger.kernel.org, Arnd Bergmann 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 Content-Type: text/plain 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-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: 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);