Received: by 2002:ab2:7855:0:b0:1f9:5764:f03e with SMTP id m21csp574460lqp; Wed, 22 May 2024 12:46:00 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXv21WSLuET3+cWCzzQzLTdf3pcpQtwYeptRUFVwTyFT48NYhZ+LygxO7sxpMS5hhUVpUV2Ob7XgB+kNgbRn90TRhIJOLxtNk6MtIUmVg== X-Google-Smtp-Source: AGHT+IFPrUlGwUOYcqv+pnAaWZuSQh+/Scun3igVa24lq4KyN2Iomoe9TfxewMGF0Wehuds+IgeX X-Received: by 2002:a05:6e02:1909:b0:36c:8c58:c554 with SMTP id e9e14a558f8ab-371f8654062mr33360605ab.7.1716407160409; Wed, 22 May 2024 12:46:00 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716407160; cv=pass; d=google.com; s=arc-20160816; b=tE9J6M5Ye64zGoS79tjhCJ4AeLV06KAwCoZQlsU0ve3uTMiSWl6Mt40fbbOlbjrFym 6hoPrGrD60PRY83MIn6T4GM/gJVHMGwHzvN8lw5TYVvG7VgNJbnacMItFB4UbHAqxjzg 5YaUF9Mp84bknJKlCAXa5RrFCW55LTiB2ZqjRJRxZBzFM0Ie8pyZGGc8/jgoDmIOW5nq 7cyEiQrO2yo1jMc8Sr3fQ0alv/bjWZKoTChlS1oTjJF680A1FyhKQdFm0Rv6pEQCG493 rstigJXmOFj5ZD00Ng8tDs5NRuDJRXtgJn1SOqROypRB85fxGrp1ZMUMMPmALKpELxnm /+tQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=FI49tvEGsGHblfm6AHh+t9HIBtIq0Qp9gM7qngdaoZ4=; fh=4PrSsemLUELwLceYbsCrx08YZUw012FN2J11wxJFji8=; b=UKcgaSeKnq+OsQcsCdElwNHAyw99BZMmSbQxvEQhgzNjmGG8bhYUNxYxII2PSG0kbf Hgle+/nljhBcNuVBKpYmAzYK9zKnlN0J7QTMRGcthuvVn6R8I9rIw2EotcpcT7/F2Dgr 5i+pl9TkleYNcIG8jt/ud+E4/05GENqLZeBkm4tfU3F/BESgbLj670hmfocQGHjbSi0o CTWDbwqCut2ZcnEPhJ899blYqPCevL/P+Rj86YVfKx4UFrC6eSvuaLewZ12CzHi9bvMA pu32krj98MJ6ZrjGEHGBzDrSM/AC+JrlqxSxyV+MkRdbQd2zF4M4aeigrQ8lyPpl+1If G46Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Gp9t78h5; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-186680-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-186680-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id d2e1a72fcca58-6f6d88861fasi1511076b3a.331.2024.05.22.12.45.59 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 May 2024 12:46:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-186680-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Gp9t78h5; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-186680-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-186680-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 1DC13B2116E for ; Wed, 22 May 2024 19:45:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D085F146A63; Wed, 22 May 2024 19:45:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="Gp9t78h5" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.13]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 68A75A929; Wed, 22 May 2024 19:45:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.13 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716407148; cv=none; b=mhEJxP3BIy3WkBJAkIjZUz5B89yc8cTPwo6tmuDdPb39r3S2lZGaPvtkWZijrDFes8kC9mXxx+iOEBVW2YLcwGCl8Vqp1gKoxqOdlZlmk9Wnw44lOrDTbejg7qXeyMsnIV4bdAHLJ+lBtb2P6fgMZyIaBuimv3tD+NxczTP96dM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716407148; c=relaxed/simple; bh=VNy3X1gCkM1Q2lQt+/I2zG7AyOiV6ah49bD+X8inkw4=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=YE5uGjShWOn9mPS2FNIpX4NvWwInQwzbB86sHTzq+j+6jlPRMt6YAKbcEknjbJTBvY0pbeQAOd5uchq0MHPonuje4zZib6ITxOROo3NlC158mHTMg7ZWwhP9HDZWWH/iH9XsRphJFp7yvIFM+/qbcTMIubBvy0jyJ9jz1dPAAVg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=Gp9t78h5; arc=none smtp.client-ip=198.175.65.13 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1716407147; x=1747943147; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=VNy3X1gCkM1Q2lQt+/I2zG7AyOiV6ah49bD+X8inkw4=; b=Gp9t78h57p+ribgoWSp6DYpU7YLPAd8Bp0T5TxtBNTyTTs6Lz2CgnUJx CSyobItc5FgGJGQPMSIgp91ELpKtkR4j3mnT9cBFKQf87tAeB0/Goeogk lrBZ4i5gl4RQ+C2AHsj2OWD4FOAitmpnWuEQDdu4pY/ywuzbKNo3l37RE NcOk9aKXD900Dt1p7Sm9CFhZT3FpmcJSNn+F8t/8EYTXG9lUik+VAA8Mm xy+yAss4xhWxPK4c+9CSE7FZKe022yWeMwxsNv1y9Q+XPXC++edpK2Th0 oV+o28t4Id8pEQNrLp61mlWZRvc9h9u0H/z9ZYYkM9wnmkUm5F/Jg5z+u A==; X-CSE-ConnectionGUID: mafGFH3KRBKPvFzw0r3fUw== X-CSE-MsgGUID: EN1rdK+bSkC0keokfFFThA== X-IronPort-AV: E=McAfee;i="6600,9927,11080"; a="23822285" X-IronPort-AV: E=Sophos;i="6.08,181,1712646000"; d="scan'208";a="23822285" Received: from fmviesa003.fm.intel.com ([10.60.135.143]) by orvoesa105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 May 2024 12:45:46 -0700 X-CSE-ConnectionGUID: rp48xsGlTcSri1Fl61eRFg== X-CSE-MsgGUID: jvSo1K/UT1echsxPpGbLqw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,181,1712646000"; d="scan'208";a="37883105" Received: from unknown (HELO 0610945e7d16) ([10.239.97.151]) by fmviesa003.fm.intel.com with ESMTP; 22 May 2024 12:45:41 -0700 Received: from kbuild by 0610945e7d16 with local (Exim 4.96) (envelope-from ) id 1s9ru7-0001vN-0N; Wed, 22 May 2024 19:45:39 +0000 Date: Thu, 23 May 2024 03:45:08 +0800 From: kernel test robot To: Xiaojian Du , linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, dave.hansen@linux.intel.com, hpa@zytor.com, daniel.sneddon@linux.intel.com, jpoimboe@kernel.org, pawan.kumar.gupta@linux.intel.com, sandipan.das@amd.com, kai.huang@intel.com, perry.yuan@amd.com, x86@kernel.org, ray.huang@amd.com, rafael@kernel.org, Xiaojian Du , Mario Limonciello Subject: Re: [PATCH v2 2/2] cpufreq: amd-pstate: change cpu freq transition delay for some models Message-ID: <202405230325.UPlOikDm-lkp@intel.com> References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Hi Xiaojian, kernel test robot noticed the following build warnings: [auto build test WARNING on tip/master] [also build test WARNING on rafael-pm/linux-next rafael-pm/bleeding-edge linus/master next-20240522] [cannot apply to tip/x86/core tip/auto-latest v6.9] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Xiaojian-Du/cpufreq-amd-pstate-change-cpu-freq-transition-delay-for-some-models/20240522-135241 base: tip/master patch link: https://lore.kernel.org/r/b2c8fb2da41f9fb21f095f67d99cbdbd0aa34091.1716356681.git.Xiaojian.Du%40amd.com patch subject: [PATCH v2 2/2] cpufreq: amd-pstate: change cpu freq transition delay for some models config: x86_64-randconfig-006-20240522 (https://download.01.org/0day-ci/archive/20240523/202405230325.UPlOikDm-lkp@intel.com/config) compiler: clang version 18.1.5 (https://github.com/llvm/llvm-project 617a15a9eac96088ae5e9134248d8236e34b91b1) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240523/202405230325.UPlOikDm-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/202405230325.UPlOikDm-lkp@intel.com/ All warnings (new ones prefixed by >>): >> drivers/cpufreq/amd-pstate.c:824:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] 824 | else | ^ 1 warning generated. vim +824 drivers/cpufreq/amd-pstate.c 811 812 /* 813 * Get pstate transition delay time from ACPI tables that firmware set 814 * instead of using hardcode value directly. 815 */ 816 static u32 amd_pstate_get_transition_delay_us(unsigned int cpu) 817 { 818 u32 transition_delay_ns; 819 820 transition_delay_ns = cppc_get_transition_latency(cpu); 821 if (transition_delay_ns == CPUFREQ_ETERNAL) 822 if (cpu_feature_enabled(X86_FEATURE_FAST_CPPC)) 823 return AMD_PSTATE_FAST_CPPC_TRANSITION_DELAY; > 824 else 825 return AMD_PSTATE_TRANSITION_DELAY; 826 827 return transition_delay_ns / NSEC_PER_USEC; 828 } 829 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki