Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp3298508iob; Mon, 16 May 2022 18:33:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxjjQhDPJCoE5ZBArpPkc9UoJ+mBcGg0Gst1Lf/MYw7IZj6J0v4/mQUpGxqmQNsciWYRgqF X-Received: by 2002:a05:6a00:c8c:b0:50e:eea:1a0 with SMTP id a12-20020a056a000c8c00b0050e0eea01a0mr20047902pfv.66.1652751238454; Mon, 16 May 2022 18:33:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652751238; cv=none; d=google.com; s=arc-20160816; b=aPjG7Qj/7epihGWX2bh+XjHEBlFqadC495fgzEVTdMfgDPCF76vq6VfDaJIsLNrXbW 16uCPt1bC17ZE/x5c7i9/A4/f6Wa4rmPyhYOLG9g/pzSvy74NyetIFvVxPxnQ/hrUwt4 Qc7M2YdBvTh7/+27Il/Pp70WWXPNeAEczVkUXhU4Lgypjq/VRrXBW62AJVfm7F+NXFCn bGMQWPmoVqQ+dvOJy0FYi/orJfG//s3Xoa7P8rYS+ioHSQXUuNB6zlvhWt+93tG84bfi 0NExLCvZtm8CN+lGxPLfJaaegU5iMX1X5/oa3kTIdTD3KsAwY82dREO/wuh63D3jKJ/F 3XhQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=lgfZv34I/u7STMeii3JXQ6Fvbr/cHGXJxMl0hsDFMRU=; b=moRHBW5nChtLLWBqn1KKtGRo/SpsMepJ7lEiWbOiUBswxuNROp6zc7rn+hclxUx7pv St52Qyo463ni2dcGD5LC2Grg2xRqb4imHHvmXtkQLMtJQc84fPZ2YaKPUBa2HYAScyhJ PVQCDVRzbcOG2o3ZdExOzw2Vz70fPFGD8pXNvxsx5IuSorER3DRp8XLGG87NYCXzKEE9 KcQKAjQ0Mk3SNAXl05mRSF6kzG+TpicmBwwqH3Kve9QIB7RC2KOyMiDg3M8VGa0dJAxe i8ZVXliTy+aW4CKuuTd0rUIBhEFipKZK1ZDKqmkQKIBxq0g/4RIjZiO2BT7JYNTE5dOx Z3nA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel-com.20210112.gappssmtp.com header.s=20210112 header.b="mk/wPcdE"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t11-20020a056a0021cb00b004fa3a8dffa1si16031586pfj.88.2022.05.16.18.33.47; Mon, 16 May 2022 18:33:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel-com.20210112.gappssmtp.com header.s=20210112 header.b="mk/wPcdE"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235357AbiEPSGR (ORCPT + 99 others); Mon, 16 May 2022 14:06:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46532 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344620AbiEPSGJ (ORCPT ); Mon, 16 May 2022 14:06:09 -0400 Received: from mail-pl1-x633.google.com (mail-pl1-x633.google.com [IPv6:2607:f8b0:4864:20::633]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D2E0FC01 for ; Mon, 16 May 2022 11:06:05 -0700 (PDT) Received: by mail-pl1-x633.google.com with SMTP id i17so15167595pla.10 for ; Mon, 16 May 2022 11:06:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20210112.gappssmtp.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=lgfZv34I/u7STMeii3JXQ6Fvbr/cHGXJxMl0hsDFMRU=; b=mk/wPcdEs/mIfRRBNAyF+w/QHeAbaz3JkOQmagto8O7G5LlbRzlnSSYUbbUfvLUo4t 6X8FtWPHrvuY3v9xoIweEd6/Uo3WG7HQIY4qIobRQGiTPSQlxLjq2+lVXNS5pOCFi4Ag VnWBdJKYOGzTtP8n8I0p6LhDiP3+/Zm5ckaUek+JDEGuO7xkV2RqW0glMOo6ey3+okke YViopZ9e2dZBhliGIufP0UrL+S/TxgntN16KkK+6ERXMY337fuCln2AUnzya/Q02u/wM rXq5wABKbbsdRsLHd+W3LsGBPVvUtmvY5tPkOk9OSpKw/xgUV33gT8SIXm9gdoxZHLlv uJEg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=lgfZv34I/u7STMeii3JXQ6Fvbr/cHGXJxMl0hsDFMRU=; b=SRr6WJzWUlforTPKWNwcYhGh7WkpllAcBiBHGHDbCL6HkDvQzsMkKFdb8K/SrNec1h z3akrd8kCVltTjJWcWrJnfnZNK79PQJvWFVVR1i1FJ3y/UWbXXd2JQUIQFUKZcBIyOW9 qiW09mMz5i+HYxa8cIrVBLhF9iqMorhWPslrRWY//v+c5qszbokeCpWbdrre0u/Qisl0 JEO4URYErDZKq85mXgPNks9Amm0ucNo6akwN8atVqD6q1KXgqzokBDKMQlsT5jOQv5XS ZkjaDH1Zm/nX9CS7CsNZKMpxJ4gn1pSk/4VccAXPn/HYeOx2D4OSqdrxd7HeDeyWrniA G2Kg== X-Gm-Message-State: AOAM532mKZ+wOl2qqk9xjxnN+drJ7Q/SOTqEvUKAg5On42I9lP5hVGi/ BWDX2N84fe+2fdRGZ1v+D1oIVOH5FY+3L9X+0CaZSg== X-Received: by 2002:a17:902:da8b:b0:15e:c0e8:d846 with SMTP id j11-20020a170902da8b00b0015ec0e8d846mr18769359plx.34.1652724364595; Mon, 16 May 2022 11:06:04 -0700 (PDT) MIME-Version: 1.0 References: <20220516191005.27cee43c@canb.auug.org.au> In-Reply-To: <20220516191005.27cee43c@canb.auug.org.au> From: Dan Williams Date: Mon, 16 May 2022 11:05:55 -0700 Message-ID: Subject: Re: linux-next: build failure after merge of the nvdimm tree To: Stephen Rothwell Cc: Jane Chu , Linux Kernel Mailing List , Linux Next Mailing List Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, May 16, 2022 at 2:11 AM Stephen Rothwell wrote: > > Hi all, > > After merging the nvdimm tree, today's linux-next build (i386 defconfig) > failed like this: > > In file included from include/linux/bits.h:6, > from include/linux/bitops.h:6, > from include/linux/kernel.h:22, > from arch/x86/include/asm/percpu.h:27, > from arch/x86/include/asm/preempt.h:6, > from include/linux/preempt.h:78, > from include/linux/spinlock.h:55, > from include/linux/wait.h:9, > from include/linux/wait_bit.h:8, > from include/linux/fs.h:6, > from include/linux/highmem.h:5, > from arch/x86/mm/pat/set_memory.c:6: > arch/x86/mm/pat/set_memory.c: In function 'set_mce_nospec': > include/vdso/bits.h:7:40: error: left shift count >= width of type [-Werror=shift-count-overflow] > 7 | #define BIT(nr) (UL(1) << (nr)) > | ^~ > arch/x86/mm/pat/set_memory.c:1941:59: note: in expansion of macro 'BIT' > 1941 | decoy_addr = (pfn << PAGE_SHIFT) + (PAGE_OFFSET ^ BIT(63)); > | ^~~ > > Caused by commit > > 39702cf7885c ("x86/mce: relocate set{clear}_mce_nospec() functions") > > I applied the following patch for today. Sorry I missed this. I looked for a way to avoid adding ifdefs in the C file, but it seems that game is already lost in this file, so I'll fold this change into the resend. Thanks!