Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp44332imm; Thu, 13 Sep 2018 15:22:50 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYDzi2HVlgC+0jG3H/Zw5GxMiRBAGGfGuMzBxSHMz6MZPnNZdq4ZxOJ77BdLOuOsvg1hlQd X-Received: by 2002:a17:902:e004:: with SMTP id ca4-v6mr8889756plb.252.1536877370228; Thu, 13 Sep 2018 15:22:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536877370; cv=none; d=google.com; s=arc-20160816; b=JmzE9hYEVtg2/RA6uEtDiLwRNrGSCIoHpqiNn+WKDm+q4elsjosQmxaoQJX48SKFtX zSOx11rdyMht4BzChEFxQJ44vbMl8+nQy9hYj8VfgwVobGKAaJhHWGgaXbhGWQsG+DZA UqNdxuPmk9ojdMpZ1SAxPLriET1SWKs6mqh4Z/H4+S9nDyDUdcRPqN9nilZX2ApfkiEx QD1rmSBI9Y0Y7jD8oFQQsfEyUWIZ6Z290OzI6Ai8AUyNK1NYY9M4F13CxTq1az7Jp77e YAnC0RYQdB7/HaeOlBqDKom6Zw3QYSrp043KDAQl/EwEailyMiu49KgKck2jx0RSpEqi EEJw== 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:dkim-signature; bh=uNpZDY++mCeCl7CX2IIt3kDcnLGQUx3a40KbAkA2prE=; b=QaqsKmv+uUzu3YBL6ZpfpzMApALokTHGW1NynEcREZmjrNYJfs6lvKkbXlEE2Th6M5 ZVu+wtAfkrnDZ3d7K3fTIpnMXEnAvW9CMxI0AM4l3eW5WQP/bwSL+pu1X0yPd77X/q+j sNhrwL9cEpoSvMC/r/a1cquV0/1/g4KfG/qZ2nH7urv759eqE1lBoIrgk+fgiPp02eQf PV9nST5lgvV63GZg/eKFY+2JoKrnTjeCA+hZb0jtCDf747tbjVzRDbBZXA/n3XfSgIoP Z937ckPL6a8OjEUheI3S7EA6hVu42X8IWOSYcNVdR/46nYFmj7Hn3CuOwkxRtOUOLdLt +JTA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=f82t5bNe; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r8-v6si5504127pgs.144.2018.09.13.15.22.34; Thu, 13 Sep 2018 15:22:50 -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; dkim=pass header.i=@google.com header.s=20161025 header.b=f82t5bNe; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728133AbeINDbr (ORCPT + 99 others); Thu, 13 Sep 2018 23:31:47 -0400 Received: from mail-pf1-f194.google.com ([209.85.210.194]:47058 "EHLO mail-pf1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727413AbeINDbq (ORCPT ); Thu, 13 Sep 2018 23:31:46 -0400 Received: by mail-pf1-f194.google.com with SMTP id u24-v6so3285790pfn.13 for ; Thu, 13 Sep 2018 15:20:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=uNpZDY++mCeCl7CX2IIt3kDcnLGQUx3a40KbAkA2prE=; b=f82t5bNebYgVTg92dBEG5tYS5cMAGaEv2i/IbTjHmKvCePAFqvXj9YIHsUpH8Zz+pb XrGuhp47ghFjYPWor90icIOHYSd53eTA0icDFHc8Vtq6xXx8ckGr4j4Q7iN/HvcupVVh BoRovx8j+VMePZu0gYvx7mCQOajpjABXN+9UdjXKlsg2io+4weYdp6ejYePsmrVG20PT o4pSUJm0hRhjQymi2Q2jxgOY2TL2AO06JU5IZUfpVHLiqQVUkyN/5ntFmtYxbFBzeYDf EHyQgEMhK5n+RpKy2PsfKuO9L+esaAI6haUCxy8XzUiP6Yet0YqsdEFl641ZmDoWnKFG /3zA== 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=uNpZDY++mCeCl7CX2IIt3kDcnLGQUx3a40KbAkA2prE=; b=Q/rrMyhtf2Cr7EI4CuE1e/gG6yr4p7QsZ6pws0ljsjyuXGb5dQ6oHOjX2ifn6xrK7W XUrxjbu9VKvOvvBKuUiSlxiOTfcjRIYK1t6LRbF7jb89WScJj6PuSA6nOqmJolDyV5QJ 4xOxFV7p9SJraa1FyRhByqoY+BW2POXbToxBKEUSDgM3UW03a7NSPF+My17o/r6Y8AFf FBGUrzENiOAo0czBPuN3nK6j+rZduDOzeGdDGV+sqiqzthtKnCkxVeIjJB0uPIpbOEGu egTjwnbtotEHyiL91Aa+2rNRzwQn2fVgt3bznxbW2g9e8x1ipBNKvRfcDFrdNf2S/itp lPFQ== X-Gm-Message-State: APzg51DwkdZPeHKJWibrCBQP6ly1DPoOEmrb2Sq3PYjivMssrRW1L+pO crPtCiiNSa8XCq+XE6cP96NVpVXv+MxpRPWc2f+jHg== X-Received: by 2002:a63:1363:: with SMTP id 35-v6mr8910022pgt.202.1536877219108; Thu, 13 Sep 2018 15:20:19 -0700 (PDT) MIME-Version: 1.0 References: <20180910060455.20409-1-stefan@agner.ch> In-Reply-To: From: Nick Desaulniers Date: Thu, 13 Sep 2018 15:20:07 -0700 Message-ID: Subject: Re: [PATCH] include/linux/compiler-clang.h: define __naked To: Miguel Ojeda Cc: Arnd Bergmann , Stefan Agner , Linus Torvalds , Andrew Morton , Kees Cook , Thomas Gleixner , Ingo Molnar , Andrey Ryabinin , Will Deacon , Rasmus Villemoes , dwmw@amazon.co.uk, Paul Lawrence , Linux ARM , LKML , Dmitry Vyukov 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 Wed, Sep 12, 2018 at 9:03 PM Miguel Ojeda wrote: > > Hi again, > > On Wed, Sep 12, 2018 at 6:19 AM, Miguel Ojeda > wrote: > > > > I will do a bigger one tomorrow or so and see if there are any > > important differences. Regardless of what we do, I will send the > > __naked patches separately as well (requested by Nick on GitHub). > > So I did a comparison with a full allyesconfig between -rc2 and -rc2 + > v4. I find quite a lot binary differences, but not a single objdump -d > difference (object file by object file) just by fixing UTS_RELEASE to > the same value, so I guess that is a very good sign in case someone > wants to pick the entire series sooner than expected. Regardless, I > will send the separate __naked patches. > > I should note that, at some point in one of my allyesconfig builds I got this: > > UPD include/generated/compile.h > CC init/version.o > AR init/built-in.a > AR built-in.a > LD vmlinux.o > MODPOST vmlinux.o > ld: drivers/edac/amd64_edac.o(.text+0x200031d2): reloc against > `__asan_load4_noabort': error 4 > ld: final link failed: Nonrepresentable section on output > Makefile:1035: recipe for target 'vmlinux' failed > make: *** [vmlinux] Error 1 + Dmitry for the KASAN error (Andrey was already cc'ed) > > Running make (without cleaning) didn't reproduce it, and the other > allyesconfig builds didn't suffer any problem either. Maybe my > hardware is failing, but I wanted to let you know nevertheless. > > Cheers, > Miguel -- Thanks, ~Nick Desaulniers