Received: by 2002:a25:b794:0:0:0:0:0 with SMTP id n20csp6512755ybh; Thu, 8 Aug 2019 01:15:20 -0700 (PDT) X-Google-Smtp-Source: APXvYqw4wyb3E7BBzaxTvhFgQ/HiqZJSYCKpMqlxYim17LtRxtEOwitZTYDwH2plb5/U6lQBaCwo X-Received: by 2002:a63:6c4:: with SMTP id 187mr10796693pgg.401.1565252119960; Thu, 08 Aug 2019 01:15:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565252119; cv=none; d=google.com; s=arc-20160816; b=t+LgTANPp1Ot8atsm+q8sk6YuMca5XaWG1/GWtXMNG7evx0shl90B1isvj09yzbB0D KlXvddRxl8lebN3OLswestwoS+XeBObYckEBMgKhsNXC/X3wsrYVj0cQJeQBNSFDyK9j UkW85/Ydcw7Le7ysbWFrv18QBVYJROA4V94M35BAUfPjAPl3hySJAIkqT91eN8QFmuH3 92AaQpcKEePK6cEZYgtCojQhVQEMYjX5/1hUu53Dn0rhyicmjZZT6CGQUt1m/R5rp55o 417qa6sZVhlbTJqh3D0pQIU2oUUFqMWzv4AB9eBG0fVzvW8Vi3N8QLWJOX9Hqlv+qt0D ZqxA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=7GWg8dqLy9kBKDA8AmzGkXjbF+WFKtm6Ljlw7ip0bg0=; b=MsIvGiHVCPHX83PGoIZ9al3KQ5NVmHUSScsDl60QD07hr93Pc41LPCf2LUxUIY09jW yZTRdUcenkDwqUW0yQ2p3jb/zwcHdFGK3EcbXCznW5wE3AWvCn2eO6MiIElkxpUXIy2a AA3raKg52nXPYwcnSKPL33Y1DADx0mcDI7Sf4E2gUEYve2Tp5VkN2yvr4c49YXKvE1AI NsGItmwCp3wAVZBWIejoZIuS02L6i7ootEyE4k92canHzF4BdZZRm7epZsmCRDLamqdN X3TEg3Huqo9JE8LAxju18sW9qdw1wt72JxFfRM0gXgZhqh+XWYGSoc+FpJHofFEe13sW c7Wg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=MEIoZWPS; 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=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e23si50172398pgv.528.2019.08.08.01.15.03; Thu, 08 Aug 2019 01:15:19 -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; dkim=pass header.i=@alien8.de header.s=dkim header.b=MEIoZWPS; 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=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731891AbfHHIMz (ORCPT + 99 others); Thu, 8 Aug 2019 04:12:55 -0400 Received: from mail.skyhub.de ([5.9.137.197]:54602 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731781AbfHHIMy (ORCPT ); Thu, 8 Aug 2019 04:12:54 -0400 Received: from zn.tnic (p200300EC2F0FD700B5ECB790597D1186.dip0.t-ipconnect.de [IPv6:2003:ec:2f0f:d700:b5ec:b790:597d:1186]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id B0E851EC0BF2; Thu, 8 Aug 2019 10:12:53 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1565251973; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:in-reply-to:in-reply-to: references:references; bh=7GWg8dqLy9kBKDA8AmzGkXjbF+WFKtm6Ljlw7ip0bg0=; b=MEIoZWPS5DuE9ZDumkvzhhvuej/C4IP8irOClmtdk5ArDWXls+3cITLtOJfHANG0utqKPu y49iGjScyJo3D7cCzMryD5HDHPIqAvrOtHwnnDzQ8mKVpMVLUuGTrlk6wQ3YIlNkLkQvAr 50JwzytvkeC9Bc54XknbQcC2SElNy1Y= Date: Thu, 8 Aug 2019 10:13:42 +0200 From: Borislav Petkov To: Reinette Chatre Cc: tglx@linutronix.de, fenghua.yu@intel.com, tony.luck@intel.com, kuo-lang.tseng@intel.com, mingo@redhat.com, hpa@zytor.com, x86@kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH V2 01/10] x86/CPU: Expose if cache is inclusive of lower level caches Message-ID: <20190808081342.GB20745@zn.tnic> References: <151002be-33e6-20d6-7699-bc9be7e51f33@intel.com> <20190806173300.GF25897@zn.tnic> <20190806183333.GA4698@zn.tnic> <20190806191559.GB4698@zn.tnic> <18004821-577d-b0dd-62b8-13b6f9264e72@intel.com> <20190806204054.GD4698@zn.tnic> <98eeaa53-d100-28ff-0b68-ba57e0ea90fb@intel.com> <20190808080841.GA20745@zn.tnic> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20190808080841.GA20745@zn.tnic> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Aug 08, 2019 at 10:08:41AM +0200, Borislav Petkov wrote: > Ok, tglx and I talked it over a bit on IRC: so your 1/10 patch is pretty > close - just leave out the generic struct cacheinfo bits and put the > cache inclusivity property in a static variable there. ... and by "there" I mean arch/x86/kernel/cpu/cacheinfo.c which contains all cache properties etc on x86 and is the proper place to put stuff like that. -- Regards/Gruss, Boris. Good mailing practices for 400: avoid top-posting and trim the reply.