Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp1229158imm; Tue, 22 May 2018 00:13:26 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqEumHEYG78vjLZDEM1FNwSMju25xLZ1td/xJrU6A/q59x3zoR0iy3J0oB0NrCnAFn2YMEU X-Received: by 2002:a62:5959:: with SMTP id n86-v6mr23056524pfb.217.1526973206698; Tue, 22 May 2018 00:13:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526973206; cv=none; d=google.com; s=arc-20160816; b=yQtBqjlK8uSQgbrv+rOoepJGupwceZggox9cRHkosgQ8uGMU6QLgKj6GHsLdoMY8IA 0uUCcsWY6XZ6xzsUnuhndqYOYE6bpG0/TmsVDdQicuELBfo2LhUXelTltlIkSwZ0HgRb 2SWWtQYTMx2rI5xSl/HSep9ixLeQ7KZTXGw9BS9T1ptYbXOzvBfLpi9kSfSA3spyUGQT 7tAy1wka+F0W1paEbAAetsApNgh+0pGdsNaqtHUBMqM7LnX8auX4hf7xoZzaB2W5csR8 wMVCHPLKAANlhj7nvyDCh/JKxbKUDsLgPIH83TQ/R0Ga/lG25gxkI2D5+J02yxkwJGX3 88Eg== 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 :references:in-reply-to:reply-to:mime-version:dkim-signature :arc-authentication-results; bh=XHT6GlNE/w9z+drLq5nysXlBAtt5RRSqOZy4mw8achw=; b=oU3GemvvMQujAn1OsNPhzypaIamqe0WsIQuKAKRMqFcyie9sNNpLbXd/5u8WxRelNz IfhWuM18lN0Sp0NpmGm4jeEwRiSJKavefyWNDKKs2G8eBV4LNuZmMDXG+t6FMmzk5ODi 0u4P9UT7oqobF3q7nTC/spQwX6CeElt2lbCWhpMGcHuJU7BwFQGMu9WU9PTpe40iHxgs 0TqAoWkpy+Wgjc2sQcNOQG7dhj+aNSxSi3T+DE2uwRT2E2M2kPraUwW9zCX1m5Vf64uG 4IaeazSmiEz8o8mSJFbi0G4zdW2VnKFUDudi0/eDP/jrN79oNyfPeoAs53+qayx4MrRw wrqw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=bniQWqPF; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h185-v6si15553002pfc.348.2018.05.22.00.13.12; Tue, 22 May 2018 00:13:26 -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=@gmail.com header.s=20161025 header.b=bniQWqPF; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751240AbeEVHMA (ORCPT + 99 others); Tue, 22 May 2018 03:12:00 -0400 Received: from mail-lf0-f41.google.com ([209.85.215.41]:43838 "EHLO mail-lf0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750707AbeEVHL4 (ORCPT ); Tue, 22 May 2018 03:11:56 -0400 Received: by mail-lf0-f41.google.com with SMTP id n18-v6so27521844lfh.10 for ; Tue, 22 May 2018 00:11:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:reply-to:in-reply-to:references:from:date:message-id :subject:to:cc; bh=XHT6GlNE/w9z+drLq5nysXlBAtt5RRSqOZy4mw8achw=; b=bniQWqPFO1OJKPFgUnQTWKudFVS3P/QMZhrvpseU2Nk6HPuKfoXjtZaRG0do06iEAv lx1TxHUA6AeB25OB4XeQIOfXYme5tEj66NoG4d5BN9cCRVO4sH2KZOPv4fvsnzt1A1LI x6YF2WyX5QLPgUrGKAzHX1ptscbV5LeRe6X4tn3ewyxsJZOAudtxGMO7Cd7VairYKZYr GIUOmk0XOycm4G215J9RF18IC1romglTUWrcgLP9pHFH1N3gz+tFNTKGlsWAsGyu85hS St0R2rdoMZh2DkZyO+8Igpjr56QbPtAZJgOGX4JNsFM6cIkrU2jSO1N/9unDk+W6L4eg qf0Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:reply-to:in-reply-to:references :from:date:message-id:subject:to:cc; bh=XHT6GlNE/w9z+drLq5nysXlBAtt5RRSqOZy4mw8achw=; b=FFnTFjAmBW705wWDDkLDrATAFI37WxrVEDn/9t1nSR0qeNRLcgLHl5yrKG5JXFRzT6 A8YVXW/fP/9FULo5mJ23ThNjwWb5h9MktdpCKszY8rMn02bMZ/AoeNZbWbHPovGKvk+A hEhJfPKXc91HkY2yk3SyoanAV/SEIoFIUueJvedFfPiHTSVMD6DZhKYyHltmEucuXTAZ 3dcB5ATmySLuja8r+i8B2ieOVcMVp8Uh4lhqdcpitLDeJEI70jtktPjp+DzYfcNLgob7 Nkh+kv3EOJeLf+Ka7TLuNgOlKbCwAIPRwxW3Toy76iJZNFsezmu2YcehjKPvpMQ2t1iR i7TQ== X-Gm-Message-State: ALKqPwdXhoPd9LzGn3kKpoLKbC7U6SliDL85f7zawHtHKRlEpwPAtFxC VyI9QDAwLPqFRKPkTfts8FsbjTDAMORzDKAhXPo= X-Received: by 2002:a2e:59d4:: with SMTP id g81-v6mr14825243ljf.4.1526973115348; Tue, 22 May 2018 00:11:55 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a19:ce89:0:0:0:0:0 with HTTP; Tue, 22 May 2018 00:11:54 -0700 (PDT) Reply-To: sedat.dilek@gmail.com In-Reply-To: References: <20180423174224.GA243180@google.com> <20180424230645.GB243180@google.com> <20180507174909.GF19594@google.com> From: Sedat Dilek Date: Tue, 22 May 2018 09:11:54 +0200 Message-ID: Subject: Re: Clang patch stacks for LTS kernels (v4.4 and v4.9) and status update To: Nick Desaulniers Cc: Matthias Kaehlcke , lkml , Arnd Bergmann , Manoj Gupta , AlistairStrachan , "Steven Rostedt (VMware)" 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 Sat, May 19, 2018 at 12:54 AM, Nick Desaulniers wrote: > Sedat, > Thanks for the report. We have a fix ready in > https://bugs.llvm.org/show_bug.cgi?id=37512. Can you report what > version of clang you were using and if earlier versions of clang have > this issue? > Thanks, Hi Nick, yesterday was public holiday in Germany, so I answer today. These are really good news, Thanks. For my recent experiments with Linux-kernel v4.14.y LTS I used Clang... #1: version 6.0 from Debian/testing repositories #2: version 7 (svn330207) from In these cases I had success (good means boot on bare metal) or it failed (bad verified in Qemu): bad: CONFIG_PARAVIRT=y and CONFIG_CC_STACKPROTECTOR_STRONG=y good: CONFIG_PARAVIRT=n and CONFIG_CC_STACKPROTECTOR_STRONG=y good: CONFIG_PARAVIRT=y and CONFIG_CC_STACKPROTECTOR_NONE=y So, the issue is in both Clang versions and I appreciate to have your fix in LLVM/Clang version 6.0.1 as I don't know which version will get into upcoming Debian/buster (version 10, current status: testing). Hope this helps. Regards, - Sedat -