From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 448ACC4167B for ; Mon, 30 Oct 2023 12:43:28 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id DCF8B6B01B1; Mon, 30 Oct 2023 08:43:27 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id D59FB6B01B3; Mon, 30 Oct 2023 08:43:27 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id C22076B01F0; Mon, 30 Oct 2023 08:43:27 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0010.hostedemail.com [216.40.44.10]) by kanga.kvack.org (Postfix) with ESMTP id B47816B01B1 for ; Mon, 30 Oct 2023 08:43:27 -0400 (EDT) Received: from smtpin07.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay10.hostedemail.com (Postfix) with ESMTP id 83D9AC0207 for ; Mon, 30 Oct 2023 12:43:27 +0000 (UTC) X-FDA: 81402093654.07.DAE4B79 Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.20]) by imf13.hostedemail.com (Postfix) with ESMTP id 97D7720014 for ; Mon, 30 Oct 2023 12:43:25 +0000 (UTC) Authentication-Results: imf13.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=DYX0aYJh; dmarc=pass (policy=none) header.from=intel.com; spf=pass (imf13.hostedemail.com: domain of lkp@intel.com designates 134.134.136.20 as permitted sender) smtp.mailfrom=lkp@intel.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1698669805; a=rsa-sha256; cv=none; b=PjRkcd6P+/xqAqeisiLLg+HPom9LMDESRzn0PhRrqzrLiBjHKQfP3br02QWGW83BmrUqxq N7a28YSP68uw1UpWiHr22t8K4DPNziBg2gcmrAdgN52L+1+CfASVZGVM+3OFjySg6WbIgo xlpn+DsY1ZCztdv46GL+BRWCfB2/xCs= ARC-Authentication-Results: i=1; imf13.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=DYX0aYJh; dmarc=pass (policy=none) header.from=intel.com; spf=pass (imf13.hostedemail.com: domain of lkp@intel.com designates 134.134.136.20 as permitted sender) smtp.mailfrom=lkp@intel.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1698669805; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:content-transfer-encoding:in-reply-to: references:dkim-signature; bh=ygUblWGdtNbdVcPDJ9sX5EkzzSLR9LY8xlf18Ats3Io=; b=Y6e235s3A+nL7BMl+G4L15vQcEcSSBwtkSvmcCPlZJR1gioiqBvTJ+bWM1nTVxZwqk/MGo HX8VQZw/ngBb6orehlYoJQz/4H2odlWrVc10kmcNgL8yAap1Ef1Y+Kkch715ZhtEJngGs1 WExXfQDBlheAv/SMM/CJUwFXNiDz70I= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1698669805; x=1730205805; h=date:from:to:cc:subject:message-id:mime-version; bh=bltexQ4p+A0qUItQQg7Sl7q9dPxn9AAh4vQFsQSEsOQ=; b=DYX0aYJh62uAfNgE0y52M1yLOHCBjBX7U3e2cty9zWyA+sBCQwTPkFEh haprchWZtup+PJ/pIspr0KqNFLG6L5m9swpP0X2QS5qnQEk8pZVfV8ay2 nutvtHqyZyUxslZIa9p0YRR6xXzP8Oxs9hR2GTw/QJ1IcDdv7dweft62n fV59lPqQiW+us8r8Ca2giCQj/yvhT/ut1ZjMfre+l2Fc6XvNoGysf3Rm2 3trhsS98Kq00gRVn7PB4l38JYVlaRfl0si13DA4FfGmEUdKK2n7G00rZ4 SqXTpfXS1Gg9dv0SForXXlDGaJ82Yzg2PuOTvMHjkEXFlfYE1RYOBFsu9 Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10878"; a="378434325" X-IronPort-AV: E=Sophos;i="6.03,263,1694761200"; d="scan'208";a="378434325" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Oct 2023 05:43:20 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10878"; a="789445598" X-IronPort-AV: E=Sophos;i="6.03,263,1694761200"; d="scan'208";a="789445598" Received: from lkp-server01.sh.intel.com (HELO 8917679a5d3e) ([10.239.97.150]) by orsmga008.jf.intel.com with ESMTP; 30 Oct 2023 05:43:18 -0700 Received: from kbuild by 8917679a5d3e with local (Exim 4.96) (envelope-from ) id 1qxRbw-000DGk-16; Mon, 30 Oct 2023 12:43:16 +0000 Date: Mon, 30 Oct 2023 20:42:26 +0800 From: kernel test robot To: Anshuman Khandual Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, Linux Memory Management List , Suzuki K Poulose , Mike Leach Subject: [linux-next:master 9417/16121] drivers/hwtracing/coresight/coresight-etm4x-core.c:1183:24: warning: result of comparison of constant 256 with expression of type 'u8' (aka 'unsigned char') is always false Message-ID: <202310302043.as36UFED-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Rspam-User: X-Rspamd-Server: rspam06 X-Rspamd-Queue-Id: 97D7720014 X-Stat-Signature: bhc9mcr9fyyka3mhmbtnfug17t91u1t6 X-HE-Tag: 1698669805-448133 X-HE-Meta: U2FsdGVkX19d6aePZ65iRKC6rnnilb2O4h/pMo5qlJhl8/CFqwd5HT8tvx27pvW1kQDRACXBzy7NgX/eK2jclB+5+RLX5zgsK8UZazp2C9yas2zDebTY2BDouKORFDFjQhS2maOzmRExK8KlPet46a2U8ESV51mp4NKKsLFg+aY0V97RJ+OpQQ1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Ex5mJoyKLV2SXHt9vlVIhWTbo+trKO890YJMa4EhsJDLmUXEyi+dPj8OMeUJLQlz6lQI4B3ZzM6JlQ== X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: c503e3eec382ac708ee7adf874add37b77c5d312 commit: 0f55b43dedcdae2b871f0fec59d8c672e62ff5de [9417/16121] coresight: etm: Override TRCIDR3.CCITMIN on errata affected cpus config: arm64-allmodconfig (https://download.01.org/0day-ci/archive/20231030/202310302043.as36UFED-lkp@intel.com/config) compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project.git 4a5ac14ee968ff0ad5d2cc1ffa0299048db4c88a) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231030/202310302043.as36UFED-lkp@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202310302043.as36UFED-lkp@intel.com/ All warnings (new ones prefixed by >>): >> drivers/hwtracing/coresight/coresight-etm4x-core.c:1183:24: warning: result of comparison of constant 256 with expression of type 'u8' (aka 'unsigned char') is always false [-Wtautological-constant-out-of-range-compare] 1183 | if (drvdata->ccitmin == 256) | ~~~~~~~~~~~~~~~~ ^ ~~~ 1 warning generated. vim +1183 drivers/hwtracing/coresight/coresight-etm4x-core.c 1172 1173 static void etm4_fixup_wrong_ccitmin(struct etmv4_drvdata *drvdata) 1174 { 1175 /* 1176 * Erratum affected cpus will read 256 as the minimum 1177 * instruction trace cycle counting threshold whereas 1178 * the correct value should be 4 instead. Override the 1179 * recorded value for 'drvdata->ccitmin' to workaround 1180 * this problem. 1181 */ 1182 if (is_midr_in_range_list(read_cpuid_id(), etm_wrong_ccitmin_cpus)) { > 1183 if (drvdata->ccitmin == 256) 1184 drvdata->ccitmin = 4; 1185 } 1186 } 1187 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki