Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp2657794iob; Fri, 6 May 2022 07:43:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxDHMkXNHUH+Gj/jxR3Ai67LtTaZDVX4NUMppG0XqeRqO6UbG8fdMYhj4pGr8pXEOo7RyP4 X-Received: by 2002:a17:90a:e7d2:b0:1dc:e6c6:604b with SMTP id kb18-20020a17090ae7d200b001dce6c6604bmr1303853pjb.183.1651848205550; Fri, 06 May 2022 07:43:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651848205; cv=none; d=google.com; s=arc-20160816; b=TwXZ+fvGyqlJlAbs+Rw87UcJOLnPq2XSYkfi6GQLUE3VzLyZ+UYp6e51W8SrVb7prd w0No8o4owG9O/OWFC5RWTp0nSd4K/cbQ2pyHAWgHECs5hHgCboOEWm6U2FwtI4Z7J7AD PogofdPbtM7k9UGK8Yvu85NeWXbm+1m53CJ4s1vf8yL++4vclm29gshLRvZnIItZbwA4 VxsvjppE9odu6DZjc75BpkRv6jQbmSC1H1IaqgXxv2vasi8RJ+SQZ1BWdYdMB4NzNDT+ wWYWwGQWOllYmEvc41W9Ta54h4D27npFNLEcN3qAY81DgRxD8yjKCymKNpjK3tigbANo jqIQ== 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=DcrivyRXvs78RFPsaHX0wtRuc37eGonVpkZc+fBUUp4=; b=YQqb9nempUoJ3Xdt2D+tdhQaYJHdGdok+W7WRdGfiN4tyyEcSYGedB/+Lb6lR6Ext8 98Go5t5DkbhQVoUQcKHym81E8z8c/AIf36/9uztlsUtuOXvstOKpzdrI415u4P0xgj3E 3ODqCdhV2+yIyQ3UjxA4A+XXW0Q7PPiy0//mVsygAsu22odJrNGuISCdvM4qObwAkSMA mx5AUov0tjUV9tBShOtBzNMSz8TsviSnAxmF/OvCUUTzUpH1BapZpDr25vdGD4i3RH5o xlPttoI6BVkvOe9knL1dz3RK27evXsonpUClf0xhA1v9mbCc/2GGUSwVosQ5rKE1kgVh GiiA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=SWulOcJx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a31-20020a631a5f000000b003c619d71f9asi4943381pgm.209.2022.05.06.07.43.07; Fri, 06 May 2022 07:43:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=SWulOcJx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S235000AbiEEQFE (ORCPT + 99 others); Thu, 5 May 2022 12:05:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53998 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237837AbiEEQEz (ORCPT ); Thu, 5 May 2022 12:04:55 -0400 Received: from mail-yw1-x112d.google.com (mail-yw1-x112d.google.com [IPv6:2607:f8b0:4864:20::112d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 45ED6205CF for ; Thu, 5 May 2022 09:01:16 -0700 (PDT) Received: by mail-yw1-x112d.google.com with SMTP id 00721157ae682-2f7c57ee6feso53738397b3.2 for ; Thu, 05 May 2022 09:01:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=DcrivyRXvs78RFPsaHX0wtRuc37eGonVpkZc+fBUUp4=; b=SWulOcJxmVeZWRUP1r6ihWVnsx4vTmwi4LLMgKz74yg3+KJ+ewPEUGHzph6ZBsR7QZ haxC8UhbOAPhatpgkvmR/Z0HRRx55tsMFnC7gxS2LGQXN7HnykS4CwtaRiK942O3wUKs qq7RDt1iU7ye3njrHkDpfcGYzJOBhIvjlCrLcHN2SxElDLdjKCX5+N9AQDaeLr+h6/Hf TF8MWUYRetgCTAH5kOeSGpj1SY3scjUUziOdTuetbjph81XA+lyZc07zWmOfjgZ8vZFf waw0UDrA/7G20XsiZcN9b6KVrkqZAiOyy6KeEVEWmIIe3q5I8FjCPuxlZkcbx449hoV+ +rPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=DcrivyRXvs78RFPsaHX0wtRuc37eGonVpkZc+fBUUp4=; b=fmJG15FWWL21rmu2psxT72McOguVdnYMl7YRACIEQhywH5a3G9vJfUBmlez+cM8pIV OhUB+T6ectifylyAcC63aep3O4260FbOgOHf1/SpvnC/vlIeIVYlIkKI0rb27NoaxoV6 +UYmawhvy4gQzlpOdEgcyhjK522zUi000swkjORFAf1ezj3xKy2bdK+QucrBh3tINmXo JFmeTRygarhfoiif2hO+auq72NxqsscfzCKim1MXGtSZDeYc178M69HIGal8esEjq6Go 4HsylgfWlAEXJEBFuGyv/o+ik/zFQy8wlpHi3jBAXNcmHeYrM02nhXt04i739AhcIQ7g GvhQ== X-Gm-Message-State: AOAM531uPzVHv0e7Evy2WSMCCM2tPiN2heKx/en1rAkyEkjeP98C9HR7 ORhVux0N+FT97Pk/6jYBymF9f49YPRilSTGeO/u4jw== X-Received: by 2002:a81:8d02:0:b0:2f8:c9f7:4041 with SMTP id d2-20020a818d02000000b002f8c9f74041mr24674320ywg.117.1651766475264; Thu, 05 May 2022 09:01:15 -0700 (PDT) MIME-Version: 1.0 References: <20220429203644.2868448-1-samitolvanen@google.com> In-Reply-To: From: Sami Tolvanen Date: Thu, 5 May 2022 09:00:39 -0700 Message-ID: Subject: Re: [RFC PATCH 00/21] KCFI support To: Mark Rutland Cc: LKML , Kees Cook , Josh Poimboeuf , Peter Zijlstra , X86 ML , Catalin Marinas , Will Deacon , Nathan Chancellor , Nick Desaulniers , Joao Moreira , Sedat Dilek , Steven Rostedt , linux-hardening@vger.kernel.org, linux-arm-kernel , llvm@lists.linux.dev Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-17.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,USER_IN_DEF_DKIM_WL,USER_IN_DEF_SPF_WL autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, May 5, 2022 at 5:36 AM Mark Rutland wrote: > FWIW, a `-DLLVM_ENABLE_ASSERTIONS=ON` build also seems to work for me when > building a kernel with CONFIG_CFI_CLANG=y. It's much slower than a regular > Release build, so I'm still waiting for that to finish building a kernel, but > it has gotten much further through the build without issues. Thanks for confirming. This issue should be fixed here if you want to give it another try: https://github.com/samitolvanen/llvm-project/commits/kcfi Sami