Received: by 10.192.165.156 with SMTP id m28csp512172imm; Wed, 11 Apr 2018 02:57:26 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+ncA6Vp1MR6D91DPRBnS3xlnGAG5Chs7CnaAXfk5wohrLb6S3WVqwcMVghUd6/gk2YHE4I X-Received: by 2002:a17:902:da4:: with SMTP id 33-v6mr2844291plv.52.1523440645913; Wed, 11 Apr 2018 02:57:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523440645; cv=none; d=google.com; s=arc-20160816; b=jjLH+VCBfM/phQAqFHiG0VQ9G5hXWrZHnbpKypqKAeE1DlMH8ltz/ja82r3azwLmaI eFZHx+0mTjDQGKDKEdz4Ep+2gJwYTJZIwbfFN9jDjffgX/dRH8VLbqzQQkFAflh3j8kv BowXaBZQ/NDGRwZp1rsTiPr34xRAniC7U2PMN1WINy1Pp5a3ATPN4GXBK/5AEVIdM7d6 ccRgKEuyV6yn/dhiA+kzBqBI7C5qWecoZCvkzEtFRGeahCphg4uGl9CWH6FVVnviQ6h5 c6B+4vzSODl2FeG/VahpZkGQVlZm9RpEdBNc09RqPZAVuT2IW8AMdDeWBNJ0j7dmLla/ H2Jw== 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:dmarc-filter:arc-authentication-results; bh=CyP2gd9y07J3d58b7b2KF69XSovBhmY26c+lmHTm+qw=; b=yzLH/CzjwvnoQkmb/k1rdeyk+6nUfVvsZVUS2BScSai4qkQ7rMMtLeOgXrryhOgUsa T680Qzfgfpu+g25tAYUqkISUKLoy+um67/i8jUJ//zipuBTrmuDGpXEzulrUNIh9f5JR vM0G6QwBalvzXPtNGlL0E4UxAqEQRjLWU81KIigrZkhWjRqJFZLwS6dTqeY30Ad/SAHA ufRvG2FW3l9C4V5GOox9YAvr4FlZfpeiTQVcTFyXo3pB+D2LmadWTN/RtTv+N4qQ2Q4q o0o/eWlBR/MfyTz1yoj5Zuxy+EPV4BAqwVGTr/45N3SiT1YRXXIYgWm+C2FudZXZcYx+ jwGQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y12si605052pfm.33.2018.04.11.02.56.49; Wed, 11 Apr 2018 02:57:25 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752821AbeDKJyN (ORCPT + 99 others); Wed, 11 Apr 2018 05:54:13 -0400 Received: from mail.kernel.org ([198.145.29.99]:33912 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752501AbeDKJyK (ORCPT ); Wed, 11 Apr 2018 05:54:10 -0400 Received: from saruman (jahogan.plus.com [212.159.75.221]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 44ABD21725; Wed, 11 Apr 2018 09:54:04 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 44ABD21725 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=jhogan@kernel.org Date: Wed, 11 Apr 2018 10:54:00 +0100 From: James Hogan To: Arnd Bergmann Cc: "open list:RALINK MIPS ARCHITECTURE" , Paul Burton , Maciej Rozycki , linux-arch , Andrew Morton , Linux Kbuild mailing list , Vineet Gupta , Mikael Starvik , Jesper Nilsson , Tony Luck , Fenghua Yu , Geert Uytterhoeven , "David S. Miller" , Christopher Li , Thomas Gleixner , Peter Zijlstra , Kees Cook , Ingo Molnar , Josh Poimboeuf , Will Deacon , "Steven Rostedt (VMware)" , Mark Rutland , "open list:SYNOPSYS ARC ARCHITECTURE" , Linux Kernel Mailing List , linux-cris-kernel@axis.com, linux-ia64@vger.kernel.org, linux-m68k@lists.linux-m68k.org, sparclinux , linux-sparse@vger.kernel.org Subject: Re: [PATCH] bug.h: Work around GCC PR82365 in BUG() Message-ID: <20180411095359.GB21429@saruman> References: <20171219114112.939391-1-arnd@arndb.de> <20180410224805.GA21429@saruman> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="i9LlY+UWpKt15+FH" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.7.2 (2016-11-26) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --i9LlY+UWpKt15+FH Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Apr 11, 2018 at 09:30:56AM +0200, Arnd Bergmann wrote: > On Wed, Apr 11, 2018 at 12:48 AM, James Hogan wrote: > > Before I forward port those patches to add .insn for MIPS, is that sort > > of approach (an arch specific asm/compiler-gcc.h to allow MIPS to > > override barrier_before_unreachable()) an acceptable fix? >=20 > That sounds fine to me. However, I would suggest making that > asm/compiler.h instead of asm/compiler-gcc.h, so we can also > use the same file to include workarounds for clang if needed. Yes, though there are a few asm/compiler.h's already, and the alpha one includes linux/compiler.h before undefining inline, so seems to have its own specific purpose... Cheers James --i9LlY+UWpKt15+FH Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEd80NauSabkiESfLYbAtpk944dnoFAlrN2zcACgkQbAtpk944 dnq4xQ//W/rBEEvKM2KXaxuW0aYIu5tRiVtFhDs8mABCrU7S1CieiW/jwb/hvMpi y8FpHCqjEIAaLlZT/yv+05QHtPiT8I5+3EcJJmUMpXxXGAAZV1V9IZ3gCM3U9B0G NoNYHD5kxjf+JX/+47P8hcG5dREp2TmUYrIZ8USYbXkc/jcCCrJfNra/I2OLY9lQ sw5V67uUE+0CE83n2yGrFLmb2Nh9tIIPo7DTvS7ZmBV0mc2ltU8wwPbkKtpfqEOq YSF3+2AvJrt9TWpudwuxIp7wnhNWAdOGPiSyDTSdYzK02US8cC1l3KHMswzIbhNK YCrVHl7U0fa1wx2ka6cbNepnxRUd9lfX64Cs5SsjomgDiItcJJNqkSWijwETm/wh ZWJids6oj6KYdNDwasNr096sv9S+3+IuVwLVcVtSyN9UHfkfJGAeLubT5JJYG9QH OR4I0Gdcy2/aH9o+vvvmQFyrNa4yBPNHyl6EsToI8aa+gWqg1wcRROABBxcdElgn mMBLQ9kruLIp8M6ucVTtowe9u7OzP92lCH1pQhh3yD6rgwUUAeNarxRg2Pim8OiL B+4S/GODXOUXZyaku7wbaDf4IL3nhArScsspzepnyo//ZOhz69beRfDExDT2gTJk k7YWsQxMpdhQJpi+XBhDPAHGx+lq4mIK01pMgtp0IGoh59aTTsE= =OyoV -----END PGP SIGNATURE----- --i9LlY+UWpKt15+FH--