Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp4570849pxu; Wed, 9 Dec 2020 23:05:22 -0800 (PST) X-Google-Smtp-Source: ABdhPJzf/LBfDAfr+q5xe1HEizHxjEt0F8I6bShkuJRJB1idEgD2bkYN8CQc++A0VywDNL7+6/nG X-Received: by 2002:a17:906:a1cb:: with SMTP id bx11mr4953754ejb.508.1607583922493; Wed, 09 Dec 2020 23:05:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607583922; cv=none; d=google.com; s=arc-20160816; b=gdz2RshUyTozQ8YVsBMRvZNmDRvEIpN40BXJgRu7dI7iDuxo3PeBkC9D9WuDDS46YA OMMR2YnV0Ib5F6DgXg9ifBbMbcyLo+9APiEzPSjT6G1jSoJeoW9rFS1qtuSCLxVvbH6W IS0M+y+pkhlYAM4yHsE1XUt0QYC2fTgP7DfBr6Iqky+R/zvAs163fohhFdJt/pPCsZdL mF1TaJVKrvTZ5WIxaaE6II3Z89xXNCvzD79NQ2JyxmxPcnBOxAkfRVUFlyRrTwTDR1w4 3kFHpesvFCR85drU46kHD0zI+BV1Ssd8r9M7o0NCaUSi4840krbL9/JKLnFn+e5bGzIF NOxA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-language:content-transfer-encoding :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:ironport-sdr:ironport-sdr; bh=IMF7NfekI9q0EkWxizuFyksqI5Hksit6gKA5VLPXBIE=; b=xF0G0c0cbmFl8f6ciPp5W41eWd4ev6Tnw+9k2t/xMXZ+cpKQc5v6OYSo1JGZceyq+K zplaCdK5aUgzregJxZUz+WVx4BRG+1q/Fa6xFwo/yrPKSyxr99rjfgDNKgKZkIQ5N1mV RWS/IsO4AmMDL9Jvp2Sq9+/s6DgLdzCbmCTokDsNsu7o+frGJvR2TheCDHFdkRBTvTFz aAp+zFTtDnIZjzCH5ZQrE/+aqUM7Y9cw9Ciba1ILJv1OaKssJTw/g1DgxPgfmMSEUekk qsPqOA+4QldnHymvBJ/JXWZ3bImzVtuwsTb05WXVsiQ0J4oTt6+bNHfuz4Vt1iyDygFD igwA== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u11si2212949edr.4.2020.12.09.23.04.58; Wed, 09 Dec 2020 23:05:22 -0800 (PST) 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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732600AbgLJEp6 (ORCPT + 99 others); Wed, 9 Dec 2020 23:45:58 -0500 Received: from mga03.intel.com ([134.134.136.65]:12220 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731800AbgLJEp5 (ORCPT ); Wed, 9 Dec 2020 23:45:57 -0500 IronPort-SDR: ER0GPPauokLvRfHQWK8O1pHibQy1ZQjAl1z9pFpWSXPR/nxUQ500fNr8tJyEigc0O7srbe4ltd gSYdagD5QOtw== X-IronPort-AV: E=McAfee;i="6000,8403,9830"; a="174312771" X-IronPort-AV: E=Sophos;i="5.78,407,1599548400"; d="scan'208";a="174312771" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Dec 2020 20:45:16 -0800 IronPort-SDR: 2y2V7N4MW3og0qRNymZ4HRVE8xs2L1lao2Q7js4rD2E+9eF+qTD4aN4AvxklEwMu4gfePI6t27 yNwx5Zyr+4HQ== X-IronPort-AV: E=Sophos;i="5.78,407,1599548400"; d="scan'208";a="364451802" Received: from xshen14-mobl.ccr.corp.intel.com (HELO [10.254.210.48]) ([10.254.210.48]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Dec 2020 20:45:14 -0800 Subject: Re: [tip: x86/cache] x86/resctrl: Fix incorrect local bandwidth when mba_sc is enabled To: Borislav Petkov Cc: linux-tip-commits@vger.kernel.org, Borislav Petkov , Tony Luck , x86@kernel.org, linux-kernel@vger.kernel.org, Xiaochen Shen References: <1607063279-19437-1-git-send-email-xiaochen.shen@intel.com> <160754081861.3364.12382697409765236626.tip-bot2@tip-bot2> <20201209222328.GA20710@zn.tnic> From: Xiaochen Shen Message-ID: <343e2fc7-6f64-d1b7-2ea1-cd422596f5be@intel.com> Date: Thu, 10 Dec 2020 12:45:11 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 In-Reply-To: <20201209222328.GA20710@zn.tnic> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Boris, On 12/10/2020 6:23, Borislav Petkov wrote: > And then it didn't apply cleanly: > > $ test-apply.sh /tmp/xiaochen.01 > checking file arch/x86/kernel/cpu/resctrl/monitor.c > Hunk #1 FAILED at 279. > Hunk #2 succeeded at 514 (offset 64 lines). > 1 out of 2 hunks FAILED > > I wiggled it in but it ended up removing the wrong chunks inc line - > not the one in mbm_bw_count() but in __mon_event_count() - which I just > realized. Thank you for clarifying this issue. It is not a 0-DAY CI issue. > > So please redo this patch against: > > https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/log/?h=x86/cache > > Thx. I will send a patch against branch tip: x86/cache soon. Thank you. -- Best regards, Xiaochen