Received: by 2002:ac0:e34a:0:0:0:0:0 with SMTP id g10csp501996imn; Tue, 26 Jul 2022 01:28:33 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tGCKuP0p1YqUpHCPQZpNZDbZ4SJNOVH+675tc1R+Zq6LnIMAtOsyDKga+tYUv9rzW3OtiM X-Received: by 2002:a17:90b:4b8e:b0:1f2:c217:c731 with SMTP id lr14-20020a17090b4b8e00b001f2c217c731mr7860524pjb.194.1658824113565; Tue, 26 Jul 2022 01:28:33 -0700 (PDT) Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p38-20020a635b26000000b0041983a8afd2si15553622pgb.386.2022.07.26.01.28.19; Tue, 26 Jul 2022 01:28:33 -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 header.s=Intel header.b=hTd1KPCr; arc=fail (signature failed); 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=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232088AbiGZIST (ORCPT + 99 others); Tue, 26 Jul 2022 04:18:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37668 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231890AbiGZISS (ORCPT ); Tue, 26 Jul 2022 04:18:18 -0400 Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4CD391CB3A; Tue, 26 Jul 2022 01:18:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1658823497; x=1690359497; h=message-id:date:subject:to:cc:references:from: in-reply-to:content-transfer-encoding:mime-version; bh=4iGp1f00/5NZMetkXra4F1j1GW8WMubjBabR3gYGu5E=; b=hTd1KPCr1U54XEbpfhnDST6D60rXjwM/hJrXHYvwWR+gjl5ol12/THkS Y6eVpnpvHVDqCWQUeP4vdrHPbvweqqf8yjBn+LntXjZh9qDz6xZCNmBia ZFIA+8B5J4d6q1MWiT2xzrmGqwAzJ3YuxuA5w9fFwIcdeDMLCTjh6nlcx +YX3fTuYdPpk5WSbTmhZC3H/EvlTTXY3oybS4uOjqsGkz4xWcg13Gqcuw 3qMuetHQQ+tpy3wmkr5jHthD2O37M8ffDK4iTJ2nkUfM+oNMe/CmBZ0um HWGYyvWk4XGLm5sIUe/j9dlLWYlX0yCwozGOUqHqK2ELEvkuN/pLFJeDI Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10419"; a="289082589" X-IronPort-AV: E=Sophos;i="5.93,193,1654585200"; d="scan'208";a="289082589" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Jul 2022 01:18:16 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,193,1654585200"; d="scan'208";a="575395733" Received: from fmsmsx603.amr.corp.intel.com ([10.18.126.83]) by orsmga006.jf.intel.com with ESMTP; 26 Jul 2022 01:18:16 -0700 Received: from fmsmsx604.amr.corp.intel.com (10.18.126.84) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.28; Tue, 26 Jul 2022 01:18:16 -0700 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx604.amr.corp.intel.com (10.18.126.84) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.28 via Frontend Transport; Tue, 26 Jul 2022 01:18:16 -0700 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (104.47.58.108) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2375.28; Tue, 26 Jul 2022 01:18:16 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=eA3w9sdbRAH9aiF6fIBIjn9VoVTWwyfL6ktKfzFNchm2QZMl/IM3Gem0EbdSC2FGB2z7MWj57Jss2G2QhhXjs0HCgaouxnzG4qsXGiWoiqheI+ykBfudYWUGg96ArcBM5hlf55LeTFB1lX0G4oBiow6bEGPQHXON6Hq1xXw2frCnFCMxKj50ZnWNxZj+N4aDnMXale6wRMwrEzXT1sPbqLOdK4TiHmulBUVRZYfDmPbMU4yb4woTuf/jiEFRrL6Nqx1agfMoFgcoHbFH9lkXzWPamzEc8wxkM7CqkchmUBL6Ok6FLKi/v1CgM/EbzCMuBeTOrY9+XgJs2gv5v1a/ug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=E1/5IN8Fvs+rjBqrLgpt2S1L/JSbtNRy7vmLCt2U5aA=; b=ZfFiNGlZSrpwSxis0Qk6uHDwnTMYvotImH1t0VhBTdRUOwGIMQWR9mC6yn34IS6r7i7z8SMGX/qpbano+I/tpTjeP1ngC3IZNUZnBVgyFX+iFhG7o6Mjfd5aCJVXzn5zg5EkBKp36Hr1dThx3tmGVm+Wcew/9p2q3eRTdhhTo5ltcOSHOmypftOBcrvow/626DYZss7/suEPiAzt/UWxFvTl42iNY84gLwA1LhHOglSJ/aF7RrVlauOeJAC4xf6dJnaTRpVCQFWtisLn/fHHDFe31Fd04Ap6yDGIFjB0b/DxGshG6acEbFKDhUXGlp7K2c5Xm/0aUJdv+a9K8GltZA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from BL0PR11MB2961.namprd11.prod.outlook.com (2603:10b6:208:76::23) by MWHPR1101MB2207.namprd11.prod.outlook.com (2603:10b6:301:58::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5458.19; Tue, 26 Jul 2022 08:18:14 +0000 Received: from BL0PR11MB2961.namprd11.prod.outlook.com ([fe80::3d0f:2102:5483:18e]) by BL0PR11MB2961.namprd11.prod.outlook.com ([fe80::3d0f:2102:5483:18e%5]) with mapi id 15.20.5458.025; Tue, 26 Jul 2022 08:18:13 +0000 Message-ID: Date: Tue, 26 Jul 2022 10:18:08 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [next] clang: drivers/gpu/drm/i915/gt/intel_region_lmem.c:94:23: error: result of comparison of constant 4294967296 with expression of type 'resource_size_t' (aka 'unsigned int') is always false [-Werror,-Wtautological-constant-out-of-range-compare] Content-Language: en-US To: Naresh Kamboju , Linux-Next Mailing List , open list , , , clang-built-linux CC: Matthew Auld , Stephen Rothwell , Nathan Chancellor References: From: "Das, Nirmoy" In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO4P123CA0454.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:1aa::9) To BL0PR11MB2961.namprd11.prod.outlook.com (2603:10b6:208:76::23) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: c33509b8-8e24-422c-2b4a-08da6edf6262 X-MS-TrafficTypeDiagnostic: MWHPR1101MB2207:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: fLxQgPv6IKH1NPGMITjqevzGxoKM/yvCsVDWX7ghUkMaqwaKhvhRDhmnybMGTN8Q5/5eJiHfAjuBztTaEwvC2C5R0DURIAm5Qr2YT9BeleNYPUgNLe1fHaZn3nkG4amBqgm7G9X56NsjcAaNUwEApj3PC7X1UcPZE5tXbF2lqMGd+lYD1djgiPkAnbiEYrWowboGfrLpEHdJYTPa23JIGDv9AQntKTOnpkqln0V1J/xLzkZQkstE91z5JKKwF26RI5a8qAQvpkgIGvU7Ev6OwOj5iW73QJwaCMc+335ajL/5wkxGCvp+mSFZDDZ6bbQN3q0F3/UwL7jGChCN83FOXtyo66JZTltKs3DE86i3lz4/lNpMuNYUa1FhNf5j/EL0TD/6VpGnwT+rnXJE54ouH2Fu+n+nDtFzjg6CmswDc7GzzROsoHKRa5i48q6Xx9TqFapuqLHmWwn6AxgwdRip5nJHE+A8AG0S2Cl1KAz3zPa6GC2z52uAVpsA5RM6HkrPmobaTXsSixBQGCHZTOLfn3oY4XUPrXgiVb3k5k2PwiQ3ZJ0+pdBZX6ETs1pm2vxGQFJOoXAkTBwJo2UQQV1uwvJeWW7GZ3YEtV/Mpa+1EhXKlI9Mk/B1OZtcUWcrgKWCngRigbws9hblFWAPTh1DyFkCiziAU5S959t0VCTmJ+ZLfFoXYlHBVmVvRFQpmnWJQTLXmzS3D7ao/iCSrsLaBcqTew/6yOsa9yT2WZQ6ih3dycrqqPQrf7eP1c6cNWy1S8eholqkINKtc3bZT28l93efNNvigzTuyoHolWnPPWUNMRoyzSM+GSGjA3XvESq55nUVUVkFP6v6ulRDqeMkTfeWdAUYoqKee+AFBl8fmlHmFwPMEiIyzRBpPBWlFTTh X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BL0PR11MB2961.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230016)(39860400002)(376002)(136003)(396003)(366004)(346002)(38100700002)(2906002)(31696002)(31686004)(82960400001)(86362001)(110136005)(66476007)(66946007)(54906003)(26005)(8676002)(6666004)(4326008)(66556008)(36756003)(478600001)(8936002)(966005)(6512007)(6506007)(316002)(2616005)(186003)(41300700001)(5660300002)(53546011)(6486002)(219693005)(45980500001)(43740500002);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?TmtvR3plL2tvOXBIMmVsaFBkNDZuZUIvaFJVbEVLTzRGamNsc01DVEdhaUVi?= =?utf-8?B?RWRsUk0rWHhaNFpWcUpTbGlaN0dkSy9ITkxvNGx5VU52T1NXaE9sR2ZlUURy?= =?utf-8?B?WHNoTnRRSFMxSGN3QkdVK2hNckhzNGlNYlhCbGRYWjdKWGhpZTB2WWVQM2xS?= =?utf-8?B?WEtrRjEzUGRJU1FXb2VaSGxSZE1iYytab1hHS1pCb2xIQmZ3aTJGNDNkS2E3?= =?utf-8?B?QVduZjFTcnVoN1BQSldnUC9IUHphZ2JacGIyRkhleDV6Nk55bmxsQ0FLMDdR?= =?utf-8?B?NHBqVVRwajBDUS93MVFzNXVNQ2NZckVIdC9kemtMOWN6Qnp3NVU5SkZqSm9J?= =?utf-8?B?MlAwRWtxZnhnc2VnS3AzYnR2UWdKU2wwdXVZbzEzaHpzUzkvcGlTakFMSFp1?= =?utf-8?B?TXo1U3pmb1FiTDZ0Z2JEODFDeG44ejNUbTB2a3U0QXUxOTNhZXZUTm1aeEF2?= =?utf-8?B?ZGh0TTFoNW1MLytCWXVEZUN1NnVKYnBMUkxpdjAvYnQrWmk0L0kvaGhWc1dG?= =?utf-8?B?d1Z5WS85cSt4Z2c1M3ovc1ArZDZmNXJvUE5yQzhUMTZhaTBLU294Z1pMcys1?= =?ut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MnZ5OXJhT0d6TDZN?= =?utf-8?B?SmtzMnRhWWFNeHVEVUd6dFRCemxyRnlENjEwUDVWaGV4T3R0c21wMlNMZnZ2?= =?utf-8?B?Z1UxOUdxenlUdkIyaFIxb2RIaUFWSzl4Znp5YXV4TkRGcTdHM0hhcDNrN043?= =?utf-8?B?M2N2YlE3TG9xeEtvak1HUHozLzdpTWw2RGxsd2NCdjFxaEV4N3VITWNUcW9h?= =?utf-8?B?U2FsR3BuR2MzUUpteGc0eTd0THNkcGEzRDd6THFwOGJ4VkQ3MkZ2Z2dENW1D?= =?utf-8?B?WG5uQXd3ekFqRTlCWEwwa1hiUTNtSDRsTFE3K2NEd1JVM211WWszdW14cGNt?= =?utf-8?B?TGkvak50UUNtUldnbUVMbFJIOWg3dUlOUlFINDRwRHlvNkJNaWxuQ2xyb0Vz?= =?utf-8?B?cW1IclM1MWpmcWc3czI3eWdzRTRnSC8vQVBVWCt3azhUMGR3ay9nN3oyMy8v?= =?utf-8?B?MzNEaU5iSW5MRHh6Z3g0WEZJSVIzZVRjQ0FFRE1pZHhBQklHS3d3aEZkN2o2?= =?utf-8?B?bk9OeEp5UGI4MVdOaXhlcXFVQXViS2FBRHRjSGVGMGRRWkNreGhhNnYwN0xJ?= =?utf-8?B?eGlzTkhFaTF6TEFjcFBOZ1pjVG5ndTdXTVdISmZOdVBJRERwK0VLd2hVLzdl?= =?utf-8?Q?cE0GFK9nq+bmc8r2BOCcKvFiX?= X-MS-Exchange-CrossTenant-Network-Message-Id: c33509b8-8e24-422c-2b4a-08da6edf6262 X-MS-Exchange-CrossTenant-AuthSource: BL0PR11MB2961.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Jul 2022 08:18:13.5584 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: OrFRSfU1nPn7YzI7yz435Tv1s3ibuhIDR+YUHdUqLUogOHdKvXHuK/Vba2Lhs/yF3K6uk91Q1PX3UYSDGgECNw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR1101MB2207 X-OriginatorOrg: intel.com X-Spam-Status: No, score=-5.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_NONE 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 Hi Naresh, Thanks for your email. This is a oversight from me. I will send a patch to disable pci resize on 32bit machine. Thanks, Nirmoy On 7/26/2022 8:58 AM, Naresh Kamboju wrote: > The Linux next-20220725 i386 clang builds failed due this build error, > > Reported-by: Linux Kernel Functional Testing > > Regressions found on i386: > > - build-clang-11-defconfig > - build-clang-14-lkftconfig > - build-clang-13-defconfig > - build-clang-12-defconfig > - build-clang-13-lkftconfig > - build-clang-12-lkftconfig > - build-clang-14-defconfig > > Steps to reproduce: > ------------------- > tuxmake --runtime podman \ > --target-arch i386 \ > --toolchain clang-14 \ > --kconfig > https://builds.tuxbuild.com/2CQwgxqR0lJKwPMl2LxaDTNwsq0/config \ > LLVM=1 \ > LLVM_IAS=1 > > Build error log: > ----------------- > make --silent --keep-going --jobs=8 > O=/home/tuxbuild/.cache/tuxmake/builds/1/build LLVM=1 LLVM_IAS=1 > ARCH=i386 CROSS_COMPILE=i686-linux-gnu- 'HOSTCC=sccache clang' > 'CC=sccache clang' > drivers/gpu/drm/i915/gt/intel_region_lmem.c:94:23: error: result of > comparison of constant 4294967296 with expression of type > 'resource_size_t' (aka 'unsigned int') is always false > [-Werror,-Wtautological-constant-out-of-range-compare] > root_res->start > 0x100000000ull) > ~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~ > 1 error generated. > make[5]: *** [scripts/Makefile.build:250: > drivers/gpu/drm/i915/gt/intel_region_lmem.o] Error 1 > make[5]: Target '__build' not remade because of errors. > > > Build link: > https://builds.tuxbuild.com/2CQwgxqR0lJKwPMl2LxaDTNwsq0/ > > > -- > Linaro LKFT > https://lkft.linaro.org