Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp882472ybh; Wed, 22 Jul 2020 16:09:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzIetIUNRHCaluCl3SmA+d3EMfIRSMEXLyiNLvugQrGr+Wuh/V5i0sF2eY1FPj7tWyeQoHe X-Received: by 2002:a17:906:2c02:: with SMTP id e2mr1756652ejh.64.1595459362360; Wed, 22 Jul 2020 16:09:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595459362; cv=none; d=google.com; s=arc-20160816; b=r5bHIfUE1uTTk8aDoNd8q58QvLmkla0sOapld/XLTlY2w4lBvOQifLLbhQ8zNtOhmf 8NoBzUB/Jgjzoc70FoAeZYmNixzjsmzeW+HemZA+SCAilJuqBeoXMEYxLiOMg8bfWu11 w+NT4tsQ1Y3DW6y30D385eS2ezWtTpwZQpiGOGfXJgRhcPCtVLOT0/OPuW0C5zK1mJ8Y G4CMb0d7imGYA5LatesuGTNCfotJo5tb+4O0vp2Q9z+tfnHFk3qPtyfKSQwlySZDo7Jw Sdc/cjz0QhW1StqK7u4XDWKbT0c7oJTUMiRf89YQJ7maCv/LjOM2l+fTuQkzWCguPxLA PxBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:references :in-reply-to:subject:cc:to:dkim-signature:dkim-signature:from; bh=WyEi4r6pHlCnjds15Evf4SyPGIdz2gkscTmxlZ56a7c=; b=CKfrd3KRV6LpMDTpfAOUeUpcdLqutifzNRdemTqJNFv43s/5PismbUEiYyaJ8kg2Ei 9DST0WETF7IIQnQ6aGGnAc2FCGiOv/sh1JhM18Uvh5RBc3dBrHxnCbADco8tqQXNgc4P Mcm5tUWBXCGuJh2bOS6NQQBwopmKsFE30sMDyoYQP/sAPL5Ity9aHuhhDT2xW0ygRqqK QlWno8WkN8j7T/Dv1jjsFhl9LCbla45zdcApFCRG/sg1ORvkv9/5NgHnXoX/Hvx0n+jt IDHQra7e3Sft539vJ5wuq/s17d+keNLs0uekUDbqI2hm7R4nkmum6gxv93sMoHCuLCPN ot+w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=0VIdlQaY; dkim=neutral (no key) header.i=@vger.kernel.org; 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=linutronix.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x5si892608edl.596.2020.07.22.16.08.58; Wed, 22 Jul 2020 16:09:22 -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=@linutronix.de header.s=2020 header.b=0VIdlQaY; dkim=neutral (no key) header.i=@vger.kernel.org; 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=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729198AbgGVXIp (ORCPT + 99 others); Wed, 22 Jul 2020 19:08:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48134 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726447AbgGVXIo (ORCPT ); Wed, 22 Jul 2020 19:08:44 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8538DC0619DC for ; Wed, 22 Jul 2020 16:08:44 -0700 (PDT) From: Thomas Gleixner DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1595459322; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=WyEi4r6pHlCnjds15Evf4SyPGIdz2gkscTmxlZ56a7c=; b=0VIdlQaYmuU15xJKR2Vpu8IZRz4nGtHhg8vfaQlvdhVSw+gcedvuz9juuJ2Mfcgx7trj4X kbQwll7FYVjPNFGijxlpSc2RiWrM4y6VSLSVMhdp7sD1aW1N3q6cRap0AaNBEEkj3N9WCs tl34aWpmmKv7kaVT5q7SpQdjRRbDvKOxMQt8TC2TYTbwo8v+GLGu3FhGn23e+oJEPUeFb4 atu/+nq4gdgQ3zkiR+l+HVGP/Gd4rLOVZNbFZ+EhSkW6xWMuda+VVKryw/PVrEyn06hHhN zORjEhukzQw/gufdOpxK5k9zEad0IWjYw83raD4ZyNd4HGDhfLtpGPeg9oISjA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1595459322; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=WyEi4r6pHlCnjds15Evf4SyPGIdz2gkscTmxlZ56a7c=; b=2PJLzQX5a1QOkaKYxq4l13cl5Zpw5jHy6laMnbmQ2JW1XUOLxYwXKK1aNkm9iQpfwwWxzB fIy/OIU1EhYvkkBw== To: Dennis Zhou , Nick Desaulniers Cc: 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@googlegroups.com Subject: Re: [PATCH v3 00/11] i386 Clang support In-Reply-To: <20200721222754.GA820494@google.com> References: <20200720204925.3654302-1-ndesaulniers@google.com> <20200721222754.GA820494@google.com> Date: Thu, 23 Jul 2020 01:08:42 +0200 Message-ID: <87blk7ywp1.fsf@nanos.tec.linutronix.de> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Dennis Zhou writes: > On Mon, Jul 20, 2020 at 01:49:14PM -0700, Nick Desaulniers 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 >> > > This looks great to me! I applied it to for-5.9. You applied it? I'm not aware that you're maintaining x86 nowadays. Thanks, tglx