Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp2270900ybh; Fri, 17 Jul 2020 13:40:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw5xKG51xQApUTyqTsvGH5sTMG3HYJYbOWoyShFMpvzjcvpGozthjLXi1rGO4JbtVHsoKp8 X-Received: by 2002:a17:906:2bc7:: with SMTP id n7mr10542742ejg.96.1595018420327; Fri, 17 Jul 2020 13:40:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595018420; cv=none; d=google.com; s=arc-20160816; b=LtBURzXk18yeec7IKI019vdpGFd3A6FbuwOZmKytObrc8o96xirOsoCo6WQtZrGKLR nOeV40qKuueA1e6z2co7+j+RV7IB9J77ZGlITmEGF9Mems5pwBAZlDA8sPPo4rChcsdb i75AUW2H6RA+oz9rJlslsYYL99K+wpZiRltkmlqx8/uSYpQ0gnl96F1sYM2ZB3Fo8L0Z 1xL6JiXzNHwpdbQvaly+NMUkPlSLrUrZdDvez6MNxW/r6MXJ7crpqLTFmbn58p0QdiM5 /mFHjFLLikW00z4KD9pLvdfmIaw5Z13gGKA6oyUBwhE5SOVdHUujAraTFPRMwmYIviEs Qw2A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=VLVPZEMJwQQ0WvBRzyPVCNtnIVB0qvXryFUj1Ha4Tno=; b=xP3FDtuaxkeBSyZMsiKYLEd6bJdjXfI00HdN4Ns5w+khzaIFIKxP+s3pyTSM41gXIi NhWMZiHBLOP1jyw2wKx02dSf8lqCnwB5BPy10CuwJ9ojEtanGiyTrdkCSuw6yyFFGnzJ 9iA6adUYGAf3gZHoWdE0wLWpcdx0FPtVrcPnwLHMKRZhhAfl/c/b1RV6X6VMRBLWre2d fVxU2K8oQTkTvVpaX85hYoO8S92LgwubIQYvG3QvpW7YvVUU+Y0LWvXYeILsYOw5yweG UXOZg+fAkVmsgcl+sXJmOF+8z5HxyXuga7+vVvaI02x6eVni4pZFJUXV9+D2Ek+VrSES X9/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2020-01-29 header.b=BiXgkm8Q; 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=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cx20si5422491edb.568.2020.07.17.13.39.55; Fri, 17 Jul 2020 13:40:20 -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=@oracle.com header.s=corp-2020-01-29 header.b=BiXgkm8Q; 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=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728254AbgGQUi6 (ORCPT + 99 others); Fri, 17 Jul 2020 16:38:58 -0400 Received: from aserp2120.oracle.com ([141.146.126.78]:56768 "EHLO aserp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726492AbgGQUi5 (ORCPT ); Fri, 17 Jul 2020 16:38:57 -0400 Received: from pps.filterd (aserp2120.oracle.com [127.0.0.1]) by aserp2120.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 06HKXO8D151756; Fri, 17 Jul 2020 20:38:49 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=date : from : to : cc : subject : message-id : references : mime-version : content-type : in-reply-to; s=corp-2020-01-29; bh=VLVPZEMJwQQ0WvBRzyPVCNtnIVB0qvXryFUj1Ha4Tno=; b=BiXgkm8QaDArg06s5nzI7L6kgCR5+25TC5KWESzfPx3PaDuvyyYtpFLGekW9bqJOuPul GhkQhPaX08zPXTN6b/3KqdPaH59xr/pPO8Snyg4Kx3EBr6qmpaiHUbe8Y9dlD50IFfBQ vNj0D5mwhQ0GslbO0OXJthpJ2XIYGznJ7SD1E0VRUP79QNMmyMekMELauk11SFTwwKSu T90ROJq90ClOvreZfTq3qLQ/Zunw10LnTp5eAPgBm5RHFXrzb9jjegI3gk298mSA7pqw k+C7q46wXGBony9uOIBM2yTyOFtsXxjzrGX5CXYqDRHKw9+hLF2wguuO9Yy2g4hgQ4Ku Wg== Received: from userp3020.oracle.com (userp3020.oracle.com [156.151.31.79]) by aserp2120.oracle.com with ESMTP id 3275cmscfk-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 17 Jul 2020 20:38:49 +0000 Received: from pps.filterd (userp3020.oracle.com [127.0.0.1]) by userp3020.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 06HKc0Yh124545; Fri, 17 Jul 2020 20:38:48 GMT Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by userp3020.oracle.com with ESMTP id 32bj2d2mfa-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 17 Jul 2020 20:38:48 +0000 Received: from abhmp0013.oracle.com (abhmp0013.oracle.com [141.146.116.19]) by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id 06HKciQV018816; Fri, 17 Jul 2020 20:38:44 GMT Received: from localhost (/10.159.159.76) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 17 Jul 2020 13:38:44 -0700 Date: Fri, 17 Jul 2020 13:38:42 -0700 From: "Darrick J. Wong" To: kernel test robot Cc: Dave Chinner , kbuild-all@lists.01.org, linux-kernel@vger.kernel.org, Christoph Hellwig , Allison Collins , Brian Foster Subject: Re: arch/x86/include/asm/preempt.h:79:9: sparse: sparse: context imbalance in 'xfs_iflush_abort' - wrong count at exit Message-ID: <20200717203842.GP7625@magnolia> References: <202007131148.9IapVMiV%lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <202007131148.9IapVMiV%lkp@intel.com> X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9685 signatures=668680 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 mlxlogscore=999 adultscore=0 spamscore=0 bulkscore=0 malwarescore=0 mlxscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000 definitions=main-2007170139 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9685 signatures=668680 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 priorityscore=1501 bulkscore=0 adultscore=0 lowpriorityscore=0 phishscore=0 spamscore=0 impostorscore=0 malwarescore=0 mlxlogscore=999 clxscore=1015 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000 definitions=main-2007170138 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jul 13, 2020 at 11:03:53AM +0800, kernel test robot wrote: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master > head: 11ba468877bb23f28956a35e896356252d63c983 > commit: 4165994ac9672d91134675caa6de3645a9ace6c8 xfs: factor common AIL item deletion code > date: 4 months ago > config: i386-randconfig-s001-20200713 (attached as .config) > compiler: gcc-9 (Debian 9.3.0-14) 9.3.0 > reproduce: > # apt-get install sparse > # sparse version: v0.6.2-37-gc9676a3b-dirty > git checkout 4165994ac9672d91134675caa6de3645a9ace6c8 > # save the attached .config to linux build tree > make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=i386 > > If you fix the issue, kindly add following tag as appropriate > Reported-by: kernel test robot > > > sparse warnings: (new ones prefixed by >>) > > >> arch/x86/include/asm/preempt.h:79:9: sparse: sparse: context imbalance in 'xfs_iflush_abort' - wrong count at exit Um, does this still need attention? --D > vim +/xfs_iflush_abort +79 arch/x86/include/asm/preempt.h > > c2daa3bed53a81 Peter Zijlstra 2013-08-14 72 > c2daa3bed53a81 Peter Zijlstra 2013-08-14 73 /* > c2daa3bed53a81 Peter Zijlstra 2013-08-14 74 * The various preempt_count add/sub methods > c2daa3bed53a81 Peter Zijlstra 2013-08-14 75 */ > c2daa3bed53a81 Peter Zijlstra 2013-08-14 76 > c2daa3bed53a81 Peter Zijlstra 2013-08-14 77 static __always_inline void __preempt_count_add(int val) > c2daa3bed53a81 Peter Zijlstra 2013-08-14 78 { > b3ca1c10d7b32f Christoph Lameter 2014-04-07 @79 raw_cpu_add_4(__preempt_count, val); > c2daa3bed53a81 Peter Zijlstra 2013-08-14 80 } > c2daa3bed53a81 Peter Zijlstra 2013-08-14 81 > > :::::: The code at line 79 was first introduced by commit > :::::: b3ca1c10d7b32fdfdfaf5484eda486323f52d9be percpu: add raw_cpu_ops > > :::::: TO: Christoph Lameter > :::::: CC: Linus Torvalds > > --- > 0-DAY CI Kernel Test Service, Intel Corporation > https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org