Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp4396749imm; Mon, 25 Jun 2018 15:10:05 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJkgO1Adddew0234uMftgpq16x8+6JKq+z8OpzQtGI1mPtF/kLp/riSrKI5qWg9bC25DsSj X-Received: by 2002:a62:9652:: with SMTP id c79-v6mr14820177pfe.114.1529964605073; Mon, 25 Jun 2018 15:10:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529964605; cv=none; d=google.com; s=arc-20160816; b=cPFRBco64Pa7OA+YPl95AEAimE4C2/yP7AhCsIvqWhrlf0/DtNcm5OJz9v8fHK4u4m DAQ6EjXbUK/afw4RtxjeFPPdljVUFHNWVFC2/Qnfl+8zPexBGxVkbaMIZI3novoaV7lG eniTiBKhhwX6nkkiKSEdClH1rEli5W8n2pRbOQLDjzK6ilLqEmdEhybOKS4nxXYgnsFe y+E+PDn+Y+aDHsiNNfW8V7xN4HauKC0vGGiK7TcLUEIDRLLSSV5fsgLRe26YtqPMZq8R QIwHt+Kbr3Dw63Dg60mmk5zYqpYe1E6lqHerFnC4PzYL/BorHmuuVQ4K72FowfGj1lcw /ang== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=0HfD3HhcFNiSMnFTN67HBwlXtySnFa4EdmbPzdD4tj0=; b=N/X6rlIrzCZNAL2NGE0IqtxoLRnf/bZmL19RzeOMg6mqMoiZn46qF/OezZ75oM13ws eczAtwXhZMRLzHErZvuTeGD1K6cgeMJATJRZ4ZozZjfDvDzV8hRHOndxo83O1VbZiU37 bnunN//7dQT4sRNztoM3/6Mp1LHBiSKlvViUIz0as4UxhL66Yvh1BfYA39C1Q+v1DWBU ttdOfIBhLf0hM/Ufk0Kp9puZAr+Xj0O0CJ0xCCSuYlGPkYgi247wRq640Rtxc/ZRdFVr hOs1IbmOV6CeD/lllDRo3bSmMWe7kYoYlzT6mKbytSQROpMCotEW1Pzu9z7ccWT8kEbk oWMw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id q76-v6si6866pgq.597.2018.06.25.15.09.36; Mon, 25 Jun 2018 15:10:05 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1752755AbeFYWIl (ORCPT + 99 others); Mon, 25 Jun 2018 18:08:41 -0400 Received: from mga09.intel.com ([134.134.136.24]:31824 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752248AbeFYWIk (ORCPT ); Mon, 25 Jun 2018 18:08:40 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 25 Jun 2018 15:08:40 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,272,1526367600"; d="scan'208";a="62137081" Received: from rchatre-mobl.amr.corp.intel.com (HELO [10.24.14.149]) ([10.24.14.149]) by orsmga003.jf.intel.com with ESMTP; 25 Jun 2018 15:08:39 -0700 Subject: Re: [PATCH V7 00/41] Intel(R) Resource Director Technology Cache Pseudo-Locking enabling To: Thomas Gleixner Cc: fenghua.yu@intel.com, Tony Luck , vikas.shivappa@linux.intel.com, gavin.hindman@intel.com, jithu.joseph@intel.com, dave.hansen@intel.com, mingo@redhat.com, "H. Peter Anvin" , x86@kernel.org, LKML , David Howells , Al Viro References: From: Reinette Chatre Message-ID: <3d2bff8f-e5a8-1627-1e19-a7d190b67bdf@intel.com> Date: Mon, 25 Jun 2018 15:08:39 -0700 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Thomas, On 6/23/2018 5:16 AM, Thomas Gleixner wrote: > On Fri, 22 Jun 2018, Reinette Chatre wrote: >> The Cache Pseudo-Locking enabling series that was recently merged to the >> x86/cache branch of tip was found to conflict with the new kernfs support >> for mounting with fs_context. >> >> In preparation for a conflict-free merge between the two repos some no-op >> hooks are created within the RDT mount function being changed by >> the two features. The goal is for this commit to be placed on a minimal >> no-rebase branch to be consumed by both features. > > Thanks for doing this so quick! I've picked up the lot and slightly > modified the first patch by moving the stubs to the header file to get them > completely out of the conflicting area. > > The immutable branch for David to pull is: > > git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git for-vfs > > I've also created a branch based on Davids mount-context branch, applied > the cleanup patch below to it and merged the for-vfs branch on top. > > David feel free to pull the result from > > git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git for-vfs-merged > > or pick up the patch below and do the merge and conflict resolution yourself. > > The x86/cache branch is rebased and merges cleanly with for-vfs-merged. The > last two patches are dropped; I folded them back to the patches they fix. > > git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86/cache > > Reinette, can you please verify that x86/cache + for-vfs-merged are doing > the right thing? > I tested a merge of x86/cache and for-vfs-merged and Cache Pseudo-Locking works. The for-vfs-merged changes modify how mount options are handled so I tried to cover this as well by testing on a (L3) CDP supporting system. Mounting resctrl with and without the cdp mount option behaves as expected. In fact, if I am looking right it seems that for-vfs-merged includes a fix for the current resctrl mount option handling. The resctrl filesystem supports mount options for CDP and the MBA software controller. At the moment, if an error occurs after the mount options are handled, only the CDP option handling is reverted, not the MBA software controller handling. The for-vfs-merged changes includes an additional snippet on the error path for handling of the MBA software controller mount option: +out_mba: + if (ctx->enable_mba_mbps) + set_mba_sc(false); Reinette