Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp229472pxu; Fri, 11 Dec 2020 00:28:10 -0800 (PST) X-Google-Smtp-Source: ABdhPJxE5s5vtFdGLUK54jCCRG4fRbSX2kEMJh/0lFKaK82XoFt0GsZZBUHXM5BoVRsU+4quxuIW X-Received: by 2002:a17:906:3b5b:: with SMTP id h27mr9845469ejf.450.1607675290720; Fri, 11 Dec 2020 00:28:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607675290; cv=none; d=google.com; s=arc-20160816; b=ThpSJQLgL2btaOwPkhT36l5+XiGWH1brZELVQpw1gIeyKlkRubQ9NppfJjBPREoKvH /p/wA5k6LvwtWeo7SxnpbYZ7IPyzkGlAefSzQZZa/6hGkjm9/ZURhD/s1BBP48dF1dBx cPrfbr1TUveN39BcY0kMJcXW/DuV2M1joLdJZUbzYmtsG4Th9AOHBoMCgzDo0gwj+nWb aLjgh0fVVRjW/MZ+r8iup9c5w93P3ORkYA29bvDYnhHXR5WmJ0zihmH2OP3lYjQ0iQSV iTvvvpPpCvIcxo/eBwhjArCEo3V3BopvFwGa2CnKLAOtDBD1O9KHZZOFJqduw09nQdvu m6qQ== 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=IuuQnJRyAPQ9P/rxIyzY1WzMl2GvKmak1vB7zAAR/yw=; b=mbGyX3OngMReXLKatuohmXt+st5vRyJKS5J3+2ygCAFnyHdNJ9o5bfkjpG+uRS2DoO YB+Ly1clvGvGBXnkaOhM8Mqsvl+6B/4wtz7ugTuKrCPYP1vju2MGOJjdAsQUY4zCAVQu 2M0ZdAak8i5GQht0+0ykeODpRXmDsTez/s7SrJwfA8uaHm6+X8G08miQelpoR/1wDeY7 bA+sEA/MNbLLXmJWVAwLPezbSDw5wPfNtG/6PKR1BTqHK4bLdeq3gj7uSm0rABh+/23K bjOlaepxypJuMAoMSPmZ/afirA5W5Z+1L2pQcw2KT01oN2nitJndui5641mAiKSs4yD1 G7sg== 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 do13si4187859ejc.286.2020.12.11.00.27.47; Fri, 11 Dec 2020 00:28:10 -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 S2392372AbgLJQlt (ORCPT + 99 others); Thu, 10 Dec 2020 11:41:49 -0500 Received: from mga07.intel.com ([134.134.136.100]:56569 "EHLO mga07.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2391875AbgLJQlf (ORCPT ); Thu, 10 Dec 2020 11:41:35 -0500 IronPort-SDR: X+qC+MwTTbFDHshuL30UO4hraOXO8HCTZCmlI/KpAtrp0wgBYRSorlUh5AM9T3GMlFj1RaX7Q/ KbUzR0489QJA== X-IronPort-AV: E=McAfee;i="6000,8403,9830"; a="238391945" X-IronPort-AV: E=Sophos;i="5.78,408,1599548400"; d="scan'208";a="238391945" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Dec 2020 08:40:52 -0800 IronPort-SDR: MeZNnbehwgAoigQXzsBRgezD1v3XOgJRv6yxhfySmr+Plp/T81Ze7+cECb3DsWj45PlG+Y91r0 mtSeV4aQSDWg== X-IronPort-AV: E=Sophos;i="5.78,408,1599548400"; d="scan'208";a="364763388" Received: from xshen14-mobl.ccr.corp.intel.com (HELO [10.254.210.172]) ([10.254.210.172]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Dec 2020 08:40:50 -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, 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> <343e2fc7-6f64-d1b7-2ea1-cd422596f5be@intel.com> <20201210102625.GA26529@zn.tnic> From: Xiaochen Shen Message-ID: Date: Fri, 11 Dec 2020 00:40:46 +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: <20201210102625.GA26529@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 18:26, Borislav Petkov wrote: > On Thu, Dec 10, 2020 at 12:45:11PM +0800, Xiaochen Shen wrote: >> Thank you for clarifying this issue. It is not a 0-DAY CI issue. > Which begs the question: this patch should be Cc: stable and should go > in now, shouldn't it? > > Because then the first submission applies cleanly ontop of > tip:x86/urgent. > > I mean, it is fixing only reporting but that reporting is kinda waaay > off. > > Hmmm? > Yes. Thank you for pointing out this, we'd better add Cc: stable tag. But we have to backport the patch for -stable trees because the code base is changed by following upstream commits: (1) For all stable trees: in commit abe8f12b4425 ("x86/resctrl: Remove unused struct mbm_state::chunks_bw"), removing unused struct mbm_state::chunks_bw changes the code base for this patch. (2) For 4.14 and 4.19 stable trees: in commit fa7d949337cc ("x86/resctrl: Rename and move rdt files to a separate directory"), the file arch/x86/kernel/cpu/intel_rdt_monitor.c has been renamed and moved to arch/x86/kernel/cpu/resctrl/monitor.c. This patch needs to be rebased. I plan to do backporting for all -stable trees after this patch is merged into upstream. Thank you. -- Best regards, Xiaochen