Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp4974853ybi; Tue, 30 Jul 2019 11:26:53 -0700 (PDT) X-Google-Smtp-Source: APXvYqyakhEC06/8e07yXx2fWNAZPgZT9RmS4i+IxC6/yoiNSyYW0KXf/mvJR30WZhmAtfeDNZuy X-Received: by 2002:a62:187:: with SMTP id 129mr43561430pfb.128.1564511213136; Tue, 30 Jul 2019 11:26:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564511213; cv=none; d=google.com; s=arc-20160816; b=tE30/Zw/LjgA4P70SJenptmV1RC+L5w7Q+jLrWvOJXvxmYflMOafhVGAl3gUnmOPnL wfPhWtdN2E78ti2ez6ZiUgW1dvYSloyG7zsnoMnEpQuiWcRoNF3riFHbcKvgyp1xfJoI lIoFulpl4WDa7t30y/8g/BApBttQCzZL7Ab6ujIL10uFakTibAZRFJUj21Xh2J6Ynd9F LXJWC0GUxa9P+Xfc0c3v/Osb+v+5d7e67Q6GRIiynaodM1PJ3m597CTSW0qXLm4bPSFw g9Ugi2l09DfgqXox5prb8fRTqWWHoUr8sOGd7L3nSHjNwCBjhz8o7DGKxjc70jKaLogT 2arA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=hgkfIZTZT31YAwT292CElgRNymWNb2JeX6gELGSJ0g8=; b=psU7IeQrrFS0p4DAouIS/JSTP1/pc/KKVq6dEOR1lVvy+ZAML4VrV/VN4bdqi1P2qL 55IfFDulGLTXHTLKtQi2SUMHRfnOSN9vjKZXklXSPmH6mokqGneaVx1YaV/5zC1uKiBr onL6p8adFyGG3ebmxXwddIawWauMieIX9uEnD2OQLn0pkm4NH1csrcT4TDPX1N4MXm78 TeARLskwyioJIPWR4fluj1E1sgCUa0jsp18u18WHQqdRSOBK+C5TF1w4Zmi7K2p4rOR8 3a3N3mb/833QEKD/P3WCC23H3Q6SwtosnS32GCd8EtpwVuC0hoqA+QThUflD4USw8pQZ saRQ== 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 v141si33859821pgb.183.2019.07.30.11.26.37; Tue, 30 Jul 2019 11:26:53 -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 S1729606AbfG3SZQ (ORCPT + 99 others); Tue, 30 Jul 2019 14:25:16 -0400 Received: from mail-qk1-f194.google.com ([209.85.222.194]:38410 "EHLO mail-qk1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729112AbfG3SZP (ORCPT ); Tue, 30 Jul 2019 14:25:15 -0400 Received: by mail-qk1-f194.google.com with SMTP id a27so47329286qkk.5 for ; Tue, 30 Jul 2019 11:25:15 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=hgkfIZTZT31YAwT292CElgRNymWNb2JeX6gELGSJ0g8=; b=tz2jIMAats3GShbrBatOfygDiXbx4xC6GBe7dsfYS0myEKbOYqqFZAEE8syt92sQ2i rqjsgQr0kw+vao1ZYeV4hQbUsU7K+r7yrk8lSyp6ByzMzyQdSAqiW+x54g6D2tWjKlHs 1cyUq/PAMrUslwQ70wDk8MgUtPE2Iv0KbSAWZXw7+NHk81OggK3Kq/k+JlyiGoBbG+B6 gvKWSIxh1aRf42P9n4BhK4abEL4sLKb/na1nAtiV3WCowpcDlMXENtI7KCgUKW0YMyZw kY7SqbeIr5YOveetT/tdy0x1RvuVZ1PGWHlSPgouK9u37VSYrWawQXTxvyV36iJQ6153 AIjQ== X-Gm-Message-State: APjAAAWajXGGpJtsqSMRHuMmOPxPNmJCoeV3sfl/BK1GZmA/GM6R4y3H 4T9GCjB5Yki6cS1LMa4Wapdj9hraObLzyzFNeWCeiiFb X-Received: by 2002:a05:620a:b:: with SMTP id j11mr43867129qki.352.1564511114607; Tue, 30 Jul 2019 11:25:14 -0700 (PDT) MIME-Version: 1.0 References: <20190729202542.205309-1-ndesaulniers@google.com> <20190729203246.GA117371@archlinux-threadripper> <20190729215200.GN31406@gate.crashing.org> <20190730134856.GO31406@gate.crashing.org> <20190730161637.GP31406@gate.crashing.org> <20190730170728.GQ31406@gate.crashing.org> In-Reply-To: <20190730170728.GQ31406@gate.crashing.org> From: Arnd Bergmann Date: Tue, 30 Jul 2019 20:24:58 +0200 Message-ID: Subject: Re: [PATCH] powerpc: workaround clang codegen bug in dcbz To: Segher Boessenkool Cc: kbuild test robot , Nick Desaulniers , Linux Kernel Mailing List , clang-built-linux , Paul Mackerras , Nathan Chancellor , linuxppc-dev Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jul 30, 2019 at 7:07 PM Segher Boessenkool wrote: > > On Tue, Jul 30, 2019 at 11:16:37AM -0500, Segher Boessenkool wrote: > > in_le32 and friends? Yeah, huh. If LLVM copies that to the stack as > > well, its (not byte reversing) read will be atomic just fine, so things > > will still work correctly. > > > > The things defined with DEF_MMIO_IN_D (instead of DEF_MMIO_IN_X) do not > > look like they will work correctly if an update form address is chosen, > > but that won't happen because the constraint is "m" instead of "m<>", > > making the %Un pretty useless (it will always be the empty string). > > Btw, this is true since GCC 4.8; before 4.8, plain "m" *could* have an > automodify (autoinc, autodec, etc.) side effect. What is the minimum > GCC version required, these days? gcc-4.6, but an architecture can require a higher version. Arnd