Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp530558ybh; Tue, 21 Jul 2020 01:10:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJywV8tnXdEDyj3fFx7dlCf5rW68TVCn4G/F18O4wNXafw4ntUKEGGxpa+Re0vVlGLoUlDqD X-Received: by 2002:a17:906:694d:: with SMTP id c13mr23415651ejs.337.1595319008061; Tue, 21 Jul 2020 01:10:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595319008; cv=none; d=google.com; s=arc-20160816; b=TA60x9b+jiZs4X5anOdhwCiq+vQj5IlSbdInWcchQ1mJbe9g09gCUFMX5TKSrzhUmf 5W7mQY7ZRXzExhjjJyRojpUI5X4LRLZ4VA2RvVNZPOQysjTCSkQyqgLbWyIDOY/aQq3d 9fCTvti4pMVV0tXueYnRUjPYRuHNnr2ss6EFrY9JFY0H1UgaNy/NWRlPs8Xy35swjgbv Z3Xw/Cwwu5Yf3B072z3LbxjvOvUZA+EvJJ6rncoCUG8lvrCXasEENzyo+oZD1qpV1VyA 7025SOrABIBnEEaFwNiNbycM6AJHoJoy8F40grDld2mhVC9ToNftYxhuuLNTLjErrxKz KhDQ== 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 :reply-to:in-reply-to:references:mime-version:dkim-signature; bh=5uXIl0XLm92YFeb9hC7/nZPQwctVwAjVznJvDpfY4JA=; b=Zn+M4GN+xM/RxP/L0G+QYeRGDtwUhk6XPMYf9grj5qii1EDyUs0xjQMrxqB/mpX2+h Ij7bcQwZ+xxvzBNGPWou4VV0jxx4tlM8k7izPTsZdDmAGVa+fEm2QABN9+NPqRWsm9gi P8qYsZyLbgNYC7zfkTWYEXDK/A5XxnwrgdrXwQJrrXAjFtzd+Vszxj04cyZjvaBlH9DK txSa8gFxgoAvPHkvefr6F9qjqn4kO88YsM2Rk4rP4IKqAvxPB8cv7tQDsCKRH5ZdKhPv IPU+bRKU0nAuaDdoFartOLT8Iae1NTAmvSbXiRxEqOgY5Pr+o6mDqCWYcO0FzFl5BDho r83g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Z7YTfmBR; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gh12si12340342ejb.580.2020.07.21.01.09.45; Tue, 21 Jul 2020 01:10:08 -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=Z7YTfmBR; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728322AbgGUIJ2 (ORCPT + 99 others); Tue, 21 Jul 2020 04:09:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51894 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728109AbgGUIJ0 (ORCPT ); Tue, 21 Jul 2020 04:09:26 -0400 Received: from mail-io1-xd43.google.com (mail-io1-xd43.google.com [IPv6:2607:f8b0:4864:20::d43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 680AAC061794 for ; Tue, 21 Jul 2020 01:09:26 -0700 (PDT) Received: by mail-io1-xd43.google.com with SMTP id v8so20453461iox.2 for ; Tue, 21 Jul 2020 01:09:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:reply-to:from:date:message-id :subject:to:cc; bh=5uXIl0XLm92YFeb9hC7/nZPQwctVwAjVznJvDpfY4JA=; b=Z7YTfmBRYzgiLjTyCve9aAjphgcb0+ObYh3oHepQRhMwZyFB++g2mWAGL0JDeTp8aD InojmbW9YEjLNF5awNkn+TNBlQWw06mmCbOt9s+LjFM0RNt3fT+hFp2X/I6ylm22xF9J 25JA8OLozcUeYNPWqpbl3hLX0Em7Pl8QQfMmxFdVad27K9x8NVz3ukH7cpnFy38T7mLd 5B1eIDSKGHseIeNZ5hKP2Bec38ZEug+8Vg3JwNFtCajpVLXV/7KrqSjLxjsEVIhVgcEM 2Bmz2G4+KgMTvrvcugQB77fngUBurRfSGIhGROJzuwGf/TxNvvtxvuB7kfdiJUKQMcF0 C1/Q== 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:reply-to :from:date:message-id:subject:to:cc; bh=5uXIl0XLm92YFeb9hC7/nZPQwctVwAjVznJvDpfY4JA=; b=XCUlRxfpQTA3En9rbvDQblkBXkxH45irGZki41RwHbWCXhz52FmnT4iEs5st7KekS5 SPJz8DYCoAwHrr11pTULh94nBYcb5dDE8R7U0jiXJLafojg3m+IH/fMpwp8PR0It/Oyg LbDpu3GSVhXz0fh4VcuubYenn42qhSmctn0Amf62SMC6V0yItLbQGlZi7nSJbX91lO0R h3fo5qBwdCOaJ5zDYJz1KQKHxIJ0jE5ZVo6qMNWy/D+7Ji9hUWdtpT6YNhTgOyFdq4Bo SfTIWjQ9tg+cUDjg1mTR41b+KAmD8rZarX7KDeulWb4C2AIMRV9HC9KwI2THD0SHMroM l+2w== X-Gm-Message-State: AOAM5317yAF2c+kUDJN3NjZwpYypIAXgYbAop0iUbrUyjDvLnvCJqR+8 n8du3uCMGn8QJTrjcWIJlfzOkI+XX/xx1iaJiN0= X-Received: by 2002:a02:ce9a:: with SMTP id y26mr31164481jaq.121.1595318965508; Tue, 21 Jul 2020 01:09:25 -0700 (PDT) MIME-Version: 1.0 References: <20200720204925.3654302-1-ndesaulniers@google.com> In-Reply-To: <20200720204925.3654302-1-ndesaulniers@google.com> Reply-To: sedat.dilek@gmail.com From: Sedat Dilek Date: Tue, 21 Jul 2020 10:09:14 +0200 Message-ID: Subject: Re: [PATCH v3 00/11] i386 Clang support To: Nick Desaulniers Cc: Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dennis Zhou , Tejun Heo , Christoph Lameter , x86@kernel.org, "H. Peter Anvin" , Al Viro , Andrew Morton , Peter Zijlstra , linux-kernel@vger.kernel.org, Clang-Built-Linux ML 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 Mon, Jul 20, 2020 at 10:49 PM 'Nick Desaulniers' via Clang Built Linux wrote: > > Resend of Brian's v2 with Acks from Peter and Linus collected, as well > as the final patch (mine) added. The commit of the final patch discusses > some of the architectural differences between GCC and Clang, and the > kernels tickling of this difference for i386, which necessitated these > patches. > > Brian Gerst (10): > x86/percpu: Introduce size abstraction macros > x86/percpu: Clean up percpu_to_op() > x86/percpu: Clean up percpu_from_op() > x86/percpu: Clean up percpu_add_op() > x86/percpu: Remove "e" constraint from XADD > x86/percpu: Clean up percpu_add_return_op() > x86/percpu: Clean up percpu_xchg_op() > x86/percpu: Clean up percpu_cmpxchg_op() > x86/percpu: Clean up percpu_stable_op() > x86/percpu: Remove unused PER_CPU() macro > > Nick Desaulniers (1): > x86: support i386 with Clang > > arch/x86/include/asm/percpu.h | 510 +++++++++++---------------------- > arch/x86/include/asm/uaccess.h | 4 +- > 2 files changed, 175 insertions(+), 339 deletions(-) > > -- > 2.28.0.rc0.105.gf9edc3c819-goog > Hi, I have tested this patchset v3 on top of Linux v5.8-rc6 with a selfmade llvm-toolchain (snapshot version: v11+git-e05c7e400f3a plus cherry-picked 8b354cc8db41). This happened out of interest if this is in good shape together with my Debian AMD64 system. I checked my build-log and dmesg-output and it looks good. Feel free to add my... Tested-by: Sedat Dilek Thanks. Regards, - Sedat -