Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp689719pxx; Wed, 28 Oct 2020 14:35:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyJZZyHCq40ywJ2DGdxtNOLJxv8lWsiuX9I1LEhk5v4TjLhoBjjL8Y89DjfSgmXEkS+mCiK X-Received: by 2002:a17:906:3fc5:: with SMTP id k5mr1133659ejj.158.1603920953710; Wed, 28 Oct 2020 14:35:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603920953; cv=none; d=google.com; s=arc-20160816; b=FnJj7XcxTtgCx8d5wDwVleGh/K6bsBSkJw2WU0a/KQ2hVkWwCC7ECUwOOmCP3HZBC/ m58F9ojrkcSrqb4dkeytznwL7jOPE7/y9NBN4tj9fiNS6IfqStYTVtDdMXXmsk87RSWE +BmDGDg/fKPv3JfWM+34MzOEorg9WNWofD8fUhjsHa31VjnT+Pj+UUVul7iv46vbXhvg Kb7Vj+MrtnxK2suKc28A8P7goTrKcY1MJexvrAqfxlbjFC2+IQ0z5Gv2QkJ6CqbgbKNt P95Y/zkKP/srMRjzCXIKJUuUE4pThZLWJy/+8q2CqmfQ7Zj9NuGoY2a5IONlW4K57p3t qVDw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=XK2vhDOZfiB4rtHPEukgUGdcEQPpZW+i+EIpmvDwIRs=; b=c/qnlCXIngBXdsHy7ozepk8CqtDlfudzRUQ5T99AqENbbgCNA30L018wmG4vxdTURe GgQwU0MgApfs8+cKgPJgA/eHyDJgD7ONs3+PhqBjJberSn4uveQtaklJ9JR2U1Z1tkKn WZKisXQ+s9s0Qv8TLMVBMLPZnQX7sDczju9FVI9R7gdrnNtNk/XK0b19mhNtd1HazW1f e2ZNOxH07btiv2Z8f0tVXBxqfclb0Zu8QVDq7GzUnIm/OCyWAJI7zsLlb64wLVofLeNs DJqX8P5cAAvmUawWkbEjO7/+jepg5T16YVVWvfrjCbI/4puiMgAsEXyb0KGhStRDPpa3 X4QA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=iRu6J6h0; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dd2si403316ejb.347.2020.10.28.14.35.31; Wed, 28 Oct 2020 14:35:53 -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=@google.com header.s=20161025 header.b=iRu6J6h0; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S373108AbgJ0Uk5 (ORCPT + 99 others); Tue, 27 Oct 2020 16:40:57 -0400 Received: from mail-pj1-f66.google.com ([209.85.216.66]:55440 "EHLO mail-pj1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2504847AbgJ0Uk4 (ORCPT ); Tue, 27 Oct 2020 16:40:56 -0400 Received: by mail-pj1-f66.google.com with SMTP id c17so1396036pjo.5 for ; Tue, 27 Oct 2020 13:40:54 -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=XK2vhDOZfiB4rtHPEukgUGdcEQPpZW+i+EIpmvDwIRs=; b=iRu6J6h0ewW6b3k9tqtOhXtdCfOgge6iZYHWUcyAkDZ8YOegSkcVDF7gC3k4jPVF7H XDmHxVGoKISu5zXOadu/RMA1sFU4O4dAHwEyAtV+S5dU/8uSHiYI9AhEvqJg/UFm9rDK BIDEQe/9taUwEg2Aj3iILtgUniZGuwj41StKbFiGsyhl5hhuT0W9rym6qeUxDhs2UxJP Q4P1Jnev3zv7MB9JT++IZEz3rD5yJitVI4Bi2H7u64sS1JViNIRkct1S/Gm9foTkzDBW qZSbf3cwDZnvzrLr58fzt/JXWm21oFdsR2IgdQ53zTOUk79ToxWZhJE9tzEHuSAF7EiG 9BkA== 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=XK2vhDOZfiB4rtHPEukgUGdcEQPpZW+i+EIpmvDwIRs=; b=BmH7dMRIrALgV4xg49VPw9oCXdgatasYX4gguE3WI/fJtudSE/g9uIOYxDYglaEmn0 ioMlCYf/2AhZghtSRhHsd7W3Oue6Maofmco1q/OkHtU93Q/ouAzGsyKa4TdPiPi9NF4O 1kxc/8jy3kh7KMoLawvo9BabS9JAcVDKjC16gnaBRHuxP6apmHhYRL8+wR383IK/VmIp nwsn55lCfPxKvFehqhloKbLATsLh44D3DUwf+6cMAetO2oEIWMZpTZOUCvBrIfAk47Kn aGI3dqrwCojqAC9q6dxsZrRV3sexPLqHejiYjTDTF8u7j39nomQ4VRtRxbRXfvyqJkwQ BcNg== X-Gm-Message-State: AOAM530v6ISZYXXjzZBkhsTsqH4tPBj4BV4MOv8B3vZz3sJ83Fl7HO/2 /6QfIUlv6Xwrv39ZUru1RSIMWRISdB58XSHSVMoPEg== X-Received: by 2002:a17:902:db82:b029:d6:3fe4:9825 with SMTP id m2-20020a170902db82b02900d63fe49825mr3886001pld.29.1603831254116; Tue, 27 Oct 2020 13:40:54 -0700 (PDT) MIME-Version: 1.0 References: <20201027203001.GA1833548@rani.riverdale.lan> In-Reply-To: <20201027203001.GA1833548@rani.riverdale.lan> From: Nick Desaulniers Date: Tue, 27 Oct 2020 13:40:43 -0700 Message-ID: Subject: Re: [PATCH v6 13/29] arm64/build: Assert for unwanted sections To: Arvind Sankar 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 , 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 , kernel-toolchains@vger.kernel.org, Miguel Ojeda Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Oct 27, 2020 at 1:30 PM Arvind Sankar wrote: > > On Tue, Oct 27, 2020 at 01:17:55PM -0700, Nick Desaulniers wrote: > > > > (I feel the same about there > > > > being an empty asm(); statement in the definition of asm_volatile_goto > > > > for compiler-gcc.h). Might be time to "fix the compiler." > > > > > > > > (It sounds like Arvind is both in agreement with my sentiment, and has > > > > the root cause). > > > > > Btw, the bug mentioned in asm_volatile_goto seems like its been fixed in > 4.9, so the hack could be dropped now? https://lore.kernel.org/lkml/20180907222109.163802-1-ndesaulniers@google.com/ For the life of me I can't find Linus' response. Maybe he shot it down in the PR, but I can't find it...Miguel do you recall? I could paraphrase, but might be better to not rely on my memory. -- Thanks, ~Nick Desaulniers