Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp706871ybl; Tue, 13 Aug 2019 01:06:20 -0700 (PDT) X-Google-Smtp-Source: APXvYqy/owsI6cn7m5EYrvxVE5KrBLrDMCWN6biPUdSVHU2FklsFHJ/ljIvvEo510yDolVJMEuC6 X-Received: by 2002:a63:c203:: with SMTP id b3mr4373055pgd.450.1565683579652; Tue, 13 Aug 2019 01:06:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565683579; cv=none; d=google.com; s=arc-20160816; b=Z4FxSBGteem/cJiz/9QktQMcFENXWOH/Isf3guy8Euq6EIFQQUhQlhSqn0akQ7FMvf DmLMfqkTIK5JFHYfPix0VNLuJbVqYuqoNpka0PDBnqrTzKfvyNmEks3GkW0h6Ij40yep mveiVhXjNpTaICGDnnL9nzsaRiAHu7dodYQya3AAnceCabjA5+j6/l4v4wnP7PN1sI67 SukucBwKlijkhbr/xYI3Ipp1oeq6SMS0NYkpZvpqArxCOz85+5BesCabZzP08jiyVurt vFRlKa8nxb9Z7NRxCbD8985O4iJ58cZnLxUpTw8xHHmzvglgr3BhvZxeVouTXIR+A5y7 X9sA== 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=wl48/yP8ym+uAxlHWjHE76DYRPjIBsOyJqj9CuF2dDw=; b=X/ruO7OOzUdPSOurp1it3OzZpSpf8gxGsllcVZmZ4ek7xv+2yfu8QrdAQ1Pe+NJfaV FrReFkFEufQHigYvxI8mfs31izTY+VIr71qmpxblX1JS/sQJJlC/3pXPVM/Wb+0seM+x 8gX3VztXI3wXKhgw8IsESC8DP73WjJxraLuX3b08KzKZGED0P/mYCVfz9NpuD3gcLxWu eIqCU6bbn9lUBtHcmG/BeJGLMppNjLi0JppPPMWX3Y9zjCAjSunLGGuUKidnDZgU1e6W PjoCd+nPaxdW26LoAA4OlfKmsr1La6t4OBYPZpYgPjgBnPwLa506mlGMUJD+GmUh7K/2 h86w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=HojvWsnu; 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 f186si34702869pgc.438.2019.08.13.01.06.01; Tue, 13 Aug 2019 01:06: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=HojvWsnu; 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 S1727892AbfHMIDc (ORCPT + 99 others); Tue, 13 Aug 2019 04:03:32 -0400 Received: from mail.skyhub.de ([5.9.137.197]:48728 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725842AbfHMIDc (ORCPT ); Tue, 13 Aug 2019 04:03:32 -0400 Received: from zn.tnic (p200300EC2F0D240075AA4C13F769B7E7.dip0.t-ipconnect.de [IPv6:2003:ec:2f0d:2400:75aa:4c13:f769:b7e7]) (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 DB4771EC0716; Tue, 13 Aug 2019 10:03:30 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1565683411; 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=wl48/yP8ym+uAxlHWjHE76DYRPjIBsOyJqj9CuF2dDw=; b=HojvWsnu4z3l24NK1FunWmVH/LMCwJ92cMf1vgSxKUSF/ZcwW93/nsIVtHdOrjMXeNkNQK SVIAIhTkIFQhq2NH5Gc/obcuQIpikRgovZtLCpW8k/lCRubfAwIxiJax8kyWD1yudp4dO8 8cqabak02k+wK7M22yAuYYxpNfnznP0= Date: Tue, 13 Aug 2019 10:04:16 +0200 From: Borislav Petkov To: Isaku Yamahata Cc: "Kani, Toshi" , "linux-kernel@vger.kernel.org" , "fei1.li@intel.com" , "x86@kernel.org" Subject: Re: [PATCH 0/3] x86/mtrr, pat: make PAT independent from MTRR Message-ID: <20190813080416.GB16770@zn.tnic> References: <20190809070647.GA2152@zn.tnic> <3355d77da5e094ad1d3149b9236cdd204486fd69.camel@hpe.com> <20190813074920.GA24196@private.email.ne.jp> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20190813074920.GA24196@private.email.ne.jp> 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 Tue, Aug 13, 2019 at 12:49:20AM -0700, Isaku Yamahata wrote: > In addition to Xen, KVM+qemu can enable/disable MTRR, PAT independently. > So user may want to disable MTRR to reduce attack surface. No, no "user may want" etc vague formulations. Just because some virt thing "can" do stuff doesn't mean we should change the kernel. What are the clear benefits of your proposal, why should it go upstream and why should it be exposed to everybody? How is going to be used it and what would it bring? Are there any downsides? Thx. -- Regards/Gruss, Boris. Good mailing practices for 400: avoid top-posting and trim the reply.