Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp893733ybh; Wed, 22 Jul 2020 16:28:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxwpRbToMa9B+MY3X6drUMk5eQfN7v5+NVZbN/iYYztpJqomc1eHQk+5dtO48jkgnah+K17 X-Received: by 2002:a50:f9c9:: with SMTP id a9mr1724346edq.89.1595460487817; Wed, 22 Jul 2020 16:28:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595460487; cv=none; d=google.com; s=arc-20160816; b=zpZJpthG1r36v7+pDUPwVlE+VQJ6pWpl8fJFAU/evoIDfPV8MhuqQgiTwlRkG9iEPw ORp7GM8zptUrqb0tYA+T4pIQHOsIMQulear8diVZJXEKym45Rd2pbQdBIlNn9zHFj2Ef Acde311W4rE8ltAFhW0PNwHOQDBO+u++nsdLFvh669oaJhTnl3AzPpreHnoGMAQLHUk6 VsshhOC9zMob9kc0/ZM6fmBHqaUOoEyxPSNH5mhK9MwW8XtlY21w2GbuMafhWvR2OIZh QZtN2E7Gw2r4r+eYm9YDAQNWdkZA6gWL+gLhvzpPLO8RdriH9+P+G+/TmRWYGi0AAidQ nU5w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=u16+n9WUBgulDsvWWrvJlcH01cdO9g6pus/V2E/LhAg=; b=GpV6n+WawdsnoPyMsUvu5Sib2RSxw/F4AMooJCoOJrZF61hf2fH2+HCETXeOE0obHV earv7l2vpcC8PTMY+ARpIMas4iULBwNzuQIzjlTbZItG2TKvTCF2y1OnIUc3ge5GXiQh EGrHnKgrcX79rpYahw5YSC5WsFiecTBpkTgxoUhCDziBvChJ8m0f0R3WkOF2190kkmzs zJ5euAa+RfpbmaYIE4lkdhAgXEtTMSlpr2OEUXY25VdaRnCLmLikeNZlnem4I+2N/E1i R8AjqDMZ5zJpsTLcv5rQKQevM2XiXnHDM13n88zJdMlLZ2M/Gphtd0SWDb4yeUHaDw1A P8Ug== ARC-Authentication-Results: i=1; mx.google.com; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n19si760677edt.434.2020.07.22.16.27.45; Wed, 22 Jul 2020 16:28:07 -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; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1733112AbgGVXZb (ORCPT + 99 others); Wed, 22 Jul 2020 19:25:31 -0400 Received: from mail-ua1-f65.google.com ([209.85.222.65]:41801 "EHLO mail-ua1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726525AbgGVXZb (ORCPT ); Wed, 22 Jul 2020 19:25:31 -0400 Received: by mail-ua1-f65.google.com with SMTP id u6so1213802uau.8 for ; Wed, 22 Jul 2020 16:25:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=u16+n9WUBgulDsvWWrvJlcH01cdO9g6pus/V2E/LhAg=; b=fq6lOH97yCzuzTsaYXarxZcnj5SElSaF1BkOcjcMbU24dYM5fSrEdHhIKagBOMjn/u G/VYGn4tG5nW9Bfsd0+0Hh1julm1ZtKwd4Zqtvl66JJXNyZBm1j4J/KVLJFAlr6u7AzZ 5nd+zvfjps5/VlLHTuN0jmHTT3zSnDRguXMfqR1jCf25SSwAfXuQ+nf7ooEgtItSDjn1 g4M10hmYlMLyJQ62FVs2j4/Ev2CLvR3kEnSnQ7gz2v0rKE2/yMnI3M4IZPIxK8Ix2l36 ziUfQlFNaMgtDYlJ4i5Nsx91qXOwYCZ9HSHLm7XdMv6Xufbd+lGXVPCtPFLzaTEhVqqq 78+g== X-Gm-Message-State: AOAM53056FiWb1ur8mY4gZmVGUX1/HCQUMZ+wTJPq1SkVqOx0j6uC800 kSldDdZOmnB0WXxH9AMpPNg= X-Received: by 2002:ab0:7551:: with SMTP id k17mr2018238uaq.102.1595460330003; Wed, 22 Jul 2020 16:25:30 -0700 (PDT) Received: from google.com (239.145.196.35.bc.googleusercontent.com. [35.196.145.239]) by smtp.gmail.com with ESMTPSA id n2sm164181vsa.11.2020.07.22.16.25.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Jul 2020 16:25:28 -0700 (PDT) Date: Wed, 22 Jul 2020 23:25:27 +0000 From: Dennis Zhou To: Thomas Gleixner Cc: Dennis Zhou , Nick Desaulniers , Ingo Molnar , Borislav Petkov , 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 Message-ID: <20200722232527.GA1156429@google.com> References: <20200720204925.3654302-1-ndesaulniers@google.com> <20200721222754.GA820494@google.com> <87blk7ywp1.fsf@nanos.tec.linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87blk7ywp1.fsf@nanos.tec.linutronix.de> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jul 23, 2020 at 01:08:42AM +0200, Thomas Gleixner wrote: > 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 I'm sorry I overstepped. I've dropped them. Please take them with my ack. Thanks, Dennis