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=-3.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no 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 B10F0C55178 for ; Tue, 27 Oct 2020 20:32:55 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 297E420790 for ; Tue, 27 Oct 2020 20:32:55 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="sAvesSne"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="dVEua1Jx" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 297E420790 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=alum.mit.edu Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:To:Date:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=pHvRhxrZI8pAjQmYLq242WbZBs2JF9oa+0nNKhyHzJw=; b=sAvesSneNLdkxQTITG+y0EgDO rpfmsaKYc3ajyOjEd3yZ4M/n3VGQ1vQDAci8nIed4ERmdQ07ou7/lw7zoUbSWAE0suJT9GZc816B3 6M0tFYX7tVfToKWCHipIbcB6wanEzaud7W1NA6Aty3wOHeTKQPxlJL6F4g/187eNhbSgYlYMGwtRg DbBqJrcJHJfJSGsgBbITtmFDq5N/chtnGOGWQEAgOSJOnjjPAipCN90qM8DSl3aipq7gQ5DMtNY1k Uc4chcDoErBRaaP2O7kCuiKGx4wGGIDQWRIPQ14z2uzwuW8VGOdPp9oafKG6CTo0+ljT3X9ck3Qxv cHuhtNOmQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kXVdl-00030s-48; Tue, 27 Oct 2020 20:32:21 +0000 Received: from mail-qt1-x842.google.com ([2607:f8b0:4864:20::842]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kXVde-0002zR-IC for linux-arm-kernel@lists.infradead.org; Tue, 27 Oct 2020 20:32:16 +0000 Received: by mail-qt1-x842.google.com with SMTP id c5so2061020qtw.3 for ; Tue, 27 Oct 2020 13:32:14 -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=HxII/K/oc5kSCDWQCN8PKtCDHWp6XAX6mQyJ7kOhsB7ko5G/OffyJ26G0n55osZUdI MfSvr0+gmn1z7o49yISaeHGhwYKVIlty2eeHkDuBdpxvXniZ2eOa30XlR36pLZuDaQYp CAn3ob1PJprZaPkvKlqi61iHx2KBAs7Th2J+saG+TgR+OYtdeeGM583F+pk/hF5BbKAj vA4Er1OO1nFrpZ5f28Znl3GCStzoftdZeYj/cReOeIuayAtt4l3BglJSS6rJ0xfjOwXa 96hDeKhE22bFSl44oyRWpA2Gfq6CoeijjC6j7JOF8PFijR+EZQaz2xP9KpBrQxDNiwr7 m7HQ== X-Gm-Message-State: AOAM530S+0hrLS8POYmXIycwtUpvZynZCT6ZNvbgSJkzi5eK5Bs9JTbu XqrNHXLLmmmJVXZBNEUyk1A= X-Google-Smtp-Source: ABdhPJw+/KajJAZR4KhhkToF5vEu0AJijgp+l4FeyR7nCnD6maQSWhjUbbL/XOfwYDVVkwW8AguEEg== 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) From: Arvind Sankar X-Google-Original-From: Arvind Sankar Date: Tue, 27 Oct 2020 16:32:10 -0400 To: Nick Desaulniers 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-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201027_163215_267020_7B2A1E93 X-CRM114-Status: GOOD ( 18.04 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , linux-efi , Catalin Marinas , Arvind Sankar , Ard Biesheuvel , Linux-Arch , Masahiro Yamada , the arch/x86 maintainers , Russell King , Ingo Molnar , clang-built-linux , Ingo Molnar , Geert Uytterhoeven , Borislav Petkov , Kees Cook , Arnd Bergmann , linux-toolchains@vger.kernel.org, Josh Poimboeuf , Nathan Chancellor , Peter Collingbourne , Linux ARM , Linux Kernel Mailing List , Linux-Renesas , Miguel Ojeda , James Morse Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel