Received: by 2002:a25:23cc:0:0:0:0:0 with SMTP id j195csp2047771ybj; Wed, 6 May 2020 09:40:05 -0700 (PDT) X-Google-Smtp-Source: APiQypIIBrtyH4ImWOjGBpNyIqXpBnWA+j7wanyfGRlKF6Bs8BNiFjg7JPFP8AQ5McnHUbSHY9nW X-Received: by 2002:a17:906:4e02:: with SMTP id z2mr8092175eju.212.1588783204833; Wed, 06 May 2020 09:40:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588783204; cv=none; d=google.com; s=arc-20160816; b=i8FsD+rkwiZxyY2u93hm4UPF/vW9tICQ6zNg56HwyUw3swHrUqFk+gMvcdUG0EKTNQ b0I7NhCd7GmFqOqmr226PBwocUnwsPTSOvmibi0d1innPMCBaDTtWa42txnBD2y5vCvg YspBNPfhma6Ws1jOdL+bcFCCLFSOQy0W7DhTuQsrTZniXNlkBDBYTY+Z1/9nSNtvTcTN PAg6SrHbBC/8qv/+tjX2NMIy8q9Ja9oj4/BCTDMerCjDq7KekV5nF4GORR+3KrqRUmoe CrTbaxIRtOUXSfGGjojBZK/ornkzLL+bBljl6YFtbxFQNe58u3ffeeQhE00iqn0EDizj gJWg== 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 :in-reply-to:references:mime-version:dkim-signature; bh=Ysv40NaU9cEolxDMZqydkRSPfnO+SbJ9aiL7qpGqadk=; b=s0RtnE1bASHNsACd+hyvWOM1+/OlOK39kpcVd1mnpnPAtNZptej/84uRWGFc0oXynh kaaWZBgXaHFPA8kDyeHpJbkjp6ZDMkSLOtqYf+YqepJ4EEr+/JdBtTIvDQf36E1f+hmI Kfk5Rtclp9DOS+JA9JhUZ95Hk/SDNwGalwLo7JM8rgzHajm40eplHee7uj8U2OZTF1Pn O7Ayfm9xsdDTV+Cvv+cmev6m3PvqXmByepb5/JokAlA3q/LVCW0T8qPcZtu2lq1gp3Se nA63XKNRkPIvUyhw00bOR6Z438VyqNVJNCFrJ3m7gsk4nFGW3ojbbK/Su834rr9uvBsz zvTQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=pa20bAfV; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j21si1323854edt.523.2020.05.06.09.39.41; Wed, 06 May 2020 09:40:04 -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=@google.com header.s=20161025 header.b=pa20bAfV; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730298AbgEFQha (ORCPT + 99 others); Wed, 6 May 2020 12:37:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42026 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1729514AbgEFQh3 (ORCPT ); Wed, 6 May 2020 12:37:29 -0400 Received: from mail-pl1-x642.google.com (mail-pl1-x642.google.com [IPv6:2607:f8b0:4864:20::642]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A4FF3C061A41 for ; Wed, 6 May 2020 09:37:28 -0700 (PDT) Received: by mail-pl1-x642.google.com with SMTP id t7so718129plr.0 for ; Wed, 06 May 2020 09:37:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Ysv40NaU9cEolxDMZqydkRSPfnO+SbJ9aiL7qpGqadk=; b=pa20bAfVRZUvdO8iDKo0HP0uESvPxFamQ8qQl2Y+ujvPMYLAdFgicmQu61BZQtSZF5 Yu0yL61S71Z8xhwSqi35WXiRAfAeEEOUdzLkEHPIOaAHp/YAIYOVg5rhrLSyeU5phZ4+ XYTl+ImQT73uQLwlOFFh3G+Fnd4CqaWLhhftoQ3lWSKRtJcv1RyBPvS40bpea0X4XGkk 1VfkYGDMRNqzNVyL87G50HRwF7SRN678+j1Zhgho847nBKXFKx0zeNnQKmDMshWxTRzj 8JO3gJH1nmgyQnLGGrQ++GaVtXvCtXWULdqf1Yb8msUVutrU2A344XDMZ9H8OQtaDz12 GmXg== 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:from:date :message-id:subject:to:cc; bh=Ysv40NaU9cEolxDMZqydkRSPfnO+SbJ9aiL7qpGqadk=; b=BEFVbXhU2eCJZ/PEoUtrzKCpkSYg3diiUckWQIImTbzx/zyeSXqFhW5sSbsicZUixz 6VRV33cCUXKtGE40DaSGWnTU+oEZl95p73zaBFCAqymwWjoCL15wIJwU0zVHcdagxSuq WMblROKJOlwFsZhWrkwY0vOdy3QXzNnYEgvFg6iVzIZYGG0xm9GkIvveuRbhEdootpuM XmFYTP8SuN885tJht0sGtMKj0Rj62klgwfWcEMFRhgasEwIb4O1wH+R+CIwkI9SV676u qqdJieX686UC2cs2WgshmX/W8wYTc4DNQPXQ46b7tBhMqotzXZL43HCIQOkjBwHlmujR AKpA== X-Gm-Message-State: AGi0PubSixW2Fp1aWWuagvVtjjFueFZZBRR0pFa8reCR57FMM8xI4SiB 3AaP8DNN75tO3VE6VFTcX1LhvEw6Is3XrelQ83I45A== X-Received: by 2002:a17:90a:8c85:: with SMTP id b5mr10152416pjo.187.1588783047869; Wed, 06 May 2020 09:37:27 -0700 (PDT) MIME-Version: 1.0 References: <20200505174423.199985-1-ndesaulniers@google.com> <20200506043028.GA663805@ubuntu-s3-xlarge-x86> In-Reply-To: <20200506043028.GA663805@ubuntu-s3-xlarge-x86> From: Nick Desaulniers Date: Wed, 6 May 2020 09:37:16 -0700 Message-ID: Subject: Re: [PATCH] x86: bitops: fix build regression To: Nathan Chancellor , Ilie Halip Cc: Thomas Gleixner , Ingo Molnar , Borislav Petkov , Sedat Dilek , "# 3.4.x" , Jesse Brandeburg , "kernelci . org bot" , Andy Shevchenko , "maintainer:X86 ARCHITECTURE (32-BIT AND 64-BIT)" , "H. Peter Anvin" , Marco Elver , "Paul E. McKenney" , "Peter Zijlstra (Intel)" , Daniel Axtens , Masahiro Yamada , Luc Van Oostenryck , LKML , clang-built-linux 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 Tue, May 5, 2020 at 9:30 PM Nathan Chancellor wrote: > > On Tue, May 05, 2020 at 10:44:22AM -0700, Nick Desaulniers wrote: > > This is easily reproducible via Clang+CONFIG_STAGING=y+CONFIG_VT6656=m, > > or Clang+allyesconfig. > > For what it's worth, I don't see this with allyesconfig. Oops, ok, I'll drop that from the commit message in v2. I was testing with the former. > > > Keep the masking operation to appease sparse (`make C=1`), add back the > > cast in order to properly select the proper 8b register alias. > > > > [Nick: reworded] > > > > Cc: stable@vger.kernel.org > > The offending commit was added in 5.7-rc1; we shouldn't need to > Cc stable since this should be picked up as an -rc fix. Got it, will drop in v2. > > > Cc: Jesse Brandeburg > > Link: https://github.com/ClangBuiltLinux/linux/issues/961 > > Link: https://lore.kernel.org/lkml/20200504193524.GA221287@google.com/ > > Fixes: 1651e700664b4 ("x86: Fix bitops.h warning with a moved cast") > > Reported-by: Sedat Dilek > > Reported-by: kernelci.org bot > > Suggested-by: Andy Shevchenko > > Suggested-by: Ilie Halip > > Not to split hairs but this is Ilie's diff, he should probably be the > author with Sedat's Reported-by/Tested-by. > > https://github.com/ClangBuiltLinux/linux/issues/961#issuecomment-608239458 Ooh, you're right. Sorry about that Ilie. I'm usually pretty pedantic about getting that right; my mistake. I'll fix that in v2. As Sedat noted, the issue tracker has been a little quiet on this issue, but I'll note that there are extraordinary circumstances going on in the world these days (COVID) so delays should be anticipated. Ilie, may I put your authorship and signed off by tag on the V2? > > But eh, it's all a team effort plus that can only happen with Ilie's > explicit consent for a Signed-off-by. -- Thanks, ~Nick Desaulniers