Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp689296pxx; Wed, 28 Oct 2020 14:35:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzm99mGYM8RwzcwjkTAZlLWYMIjet0HArv6KPCSmkNu4x7/1Nn+I1+4czILknXSnLYz3D24 X-Received: by 2002:a17:906:7fda:: with SMTP id r26mr1084919ejs.20.1603920910546; Wed, 28 Oct 2020 14:35:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603920910; cv=none; d=google.com; s=arc-20160816; b=yUSuVJ7E0mkLiI9cz/B2Il0zJ+85UIxtR/k1IV25oh2XPhr80LS+Xg3sh74cnMqVbY P0T84VVw1GvNJfLesiTKfFrNzmAt4uP95BkAtR+6QQ+ihhQPiTSDuvE/SauN0TWz2ASZ iY/4AiHq/LlxkxhDWd6h0uw0iV99fhWc4iacA4tvklCDLsZcq1fs5EdFJRMyStgJilnB RXKYrMNncD/vrXeO6+IEhf2XFnSsuZYvmLIl5CBm3lv/6rc+cZX4006+eiP1O0xFVs0l zI6kpdSJ3PJNNmwqq/PH9cRklOwVAxgMlI1KS/oJI1vfywv/720wARSKyj2lP6n+ImGY 76Iw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:date:from:sender:dkim-signature; bh=03p941z578kZgGjWkKdr5ZhhMq4DqEXigALvalpK2/k=; b=1HUR55TFoadVusj+iv8EhLJZO1T7/OZZjiSVV2hJyJmFhUjSRLA7jhHjrpwv77ecy3 4fBlYA3+cI4iVo3wdbfNGjyj0Uzu2vuCzhqbyR+cgjUdKoBG7EZPjIz0Llg24LQ0+54+ 6HuPY1+q9HjS90l1H2m+JNurigavAC+yeiwrvmEghVN66SRyV9YhZkyUPNY0dCxw3FZn Kkw+zBJijs64B02bM6T6YbrRK8U624ZgEk0E5AQSHy50LZ3t5zqdsC33XDIUHsPK4aMs Ux4LzastFvUtTVieW8I0EGS6JAKH78qzEM//FQYAoS9GFeYx7PzXCNzr2EcRNDrz5ONa /jKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=dVEua1Jx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id qn3si385971ejb.655.2020.10.28.14.34.47; Wed, 28 Oct 2020 14:35:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=dVEua1Jx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1831368AbgJ0UcP (ORCPT + 99 others); Tue, 27 Oct 2020 16:32:15 -0400 Received: from mail-qt1-f193.google.com ([209.85.160.193]:42657 "EHLO mail-qt1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2441253AbgJ0UcO (ORCPT ); Tue, 27 Oct 2020 16:32:14 -0400 Received: by mail-qt1-f193.google.com with SMTP id h12so2045234qtc.9; Tue, 27 Oct 2020 13:32:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:date:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=03p941z578kZgGjWkKdr5ZhhMq4DqEXigALvalpK2/k=; b=dVEua1JxEoh8/9lwoMLb6YQ/JFHjs081cyKKPDAU8caVhL6DyTYB0f3cuQg0mXKMUS CHQV6OzwyTvsyXzPwiqv9+CAl9IDSE+8ocQthJFVZ+6ohyrxiywsik6H0e8eBayJTDgL ZL+1kk0hdTsv0yjEqg5tB+nhF1k5M+hhfA7p+554a9XZP4Y1Svki/UjLdSX5IF/LWrtY IkmVBfqoyhecMwRxqO8Dv7+CIFkBcgp01iuxoVyfzMFUAlHnFExmIxiQHetIr3DwTcnx LuUb90tJflMX+YZelaG1OTDcY4QnrM1SHhttfWIPjX6sXZaYs6Hrr0tWzw9ABDPB8hOr lc+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:date:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to; bh=03p941z578kZgGjWkKdr5ZhhMq4DqEXigALvalpK2/k=; b=UoiwqLLZgyc+LeTRsj3YH5kx3Gpd9YlcKXX//98SXBBLJDGPkrHcaYKOgFUH2xyAbw TOLbZVBOO+nFieQS4HE6DZJ3fqyRCuTduCaSzT2LdpKSxmqG8wE1VUj56p9AvToC1eYW EMAWadrMip7mACUprQvqU0nY4wDazSbcwoI/YDZzX1Dhyvz7g5U5+dwPo/4JzKCvwJWE j9WzWzsnSHS+IX6fCd5LLAxopXrT+znunYRjvK/bP6ecSqBOqhzI/+09kCQ6CqRfNEmM 4unAsCO416hatb8R7jUPcsQ95za2vMjpNtNW3dUqV+KLXTjleygS/ai7FwB+8RVK1lY1 Tdqg== X-Gm-Message-State: AOAM5327AJy6LYBxt2gX0UoyWHDuXbAWdEKLa2UhcD0lch/ZK6MfD7ha yDZNWh1B/5N9ximFmBfzbAY= X-Received: by 2002:aed:3905:: with SMTP id l5mr4181349qte.366.1603830732959; Tue, 27 Oct 2020 13:32:12 -0700 (PDT) Received: from rani.riverdale.lan ([2001:470:1f07:5f3::b55f]) by smtp.gmail.com with ESMTPSA id f21sm1583470qtx.68.2020.10.27.13.32.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Oct 2020 13:32:12 -0700 (PDT) Sender: Arvind Sankar From: Arvind Sankar X-Google-Original-From: Arvind Sankar Date: Tue, 27 Oct 2020 16:32:10 -0400 To: Nick Desaulniers Cc: Ard Biesheuvel , Geert Uytterhoeven , Kees Cook , Ingo Molnar , Catalin Marinas , Mark Rutland , Peter Collingbourne , James Morse , Borislav Petkov , Ingo Molnar , Russell King , Masahiro Yamada , Arvind Sankar , Nathan Chancellor , Arnd Bergmann , the arch/x86 maintainers , clang-built-linux , Linux-Arch , linux-efi , Linux ARM , Linux Kernel Mailing List , Linux-Renesas , Josh Poimboeuf , Miguel Ojeda , linux-toolchains@vger.kernel.org Subject: Re: [PATCH v6 13/29] arm64/build: Assert for unwanted sections Message-ID: <20201027203210.GB1833548@rani.riverdale.lan> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Oct 27, 2020 at 01:28:02PM -0700, Nick Desaulniers wrote: > > commit 3193c0836f203a91bef96d88c64cccf0be090d9c > > Author: Josh Poimboeuf > > Date: Wed Jul 17 20:36:45 2019 -0500 > > > > bpf: Disable GCC -fgcse optimization for ___bpf_prog_run() > > > > has > > > > Fixes: e55a73251da3 ("bpf: Fix ORC unwinding in non-JIT BPF code") > > > > and mentions objtool and CONFIG_RETPOLINE. > > Thanks for the context. It might be time to revisit the above commit. > If I revert it (small conflict that's easy to fixup), > kernel/bpf/core.o builds cleanly with defconfig+GCC-9.3, so maybe > obtool did get smart enough to handle that case? Probably regresses > the performance of that main dispatch loop for BPF, but not sure what > folks are expecting when retpolines are enabled. > -- > Thanks, > ~Nick Desaulniers The objtool issue was with RETPOLINE disabled.