From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ard Biesheuvel Subject: Re: [PATCH] KVM: arm/arm64: Revert to old way of checking for device mapping in stage2_flush_ptes(). Date: Fri, 4 Dec 2015 09:37:12 +0100 Message-ID: References: <1448975032-7156-1-git-send-email-p.fedin@samsung.com> <1449194337.30642.69.camel@decadent.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Cc: Pavel Fedin , "kvmarm@lists.cs.columbia.edu" , KVM devel mailing list , Marc Zyngier , Christoffer Dall To: Ben Hutchings Return-path: Received: from mail-ig0-f173.google.com ([209.85.213.173]:34110 "EHLO mail-ig0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755694AbbLDIhN (ORCPT ); Fri, 4 Dec 2015 03:37:13 -0500 Received: by igvg19 with SMTP id g19so31337624igv.1 for ; Fri, 04 Dec 2015 00:37:12 -0800 (PST) In-Reply-To: <1449194337.30642.69.camel@decadent.org.uk> Sender: kvm-owner@vger.kernel.org List-ID: On 4 December 2015 at 02:58, Ben Hutchings wrote: > On Wed, 2015-12-02 at 18:41 +0100, Ard Biesheuvel wrote: >> Hi Pavel, >> >> Thanks for getting to the bottom of this. >> >> On 1 December 2015 at 14:03, Pavel Fedin wrote: >> > This function takes stage-II physical addresses (A.K.A. IPA), on input, not >> > real physical addresses. This causes kvm_is_device_pfn() to return wrong >> > values, depending on how much guest and host memory maps match. This >> > results in completely broken KVM on some boards. The problem has been >> > caught on Samsung proprietary hardware. >> > >> > Cc: stable@vger.kernel.org >> > Fixes: e6fab5442345 ("ARM/arm64: KVM: test properly for a PTE's uncachedness") >> > >> >> That commit is not in a release yet, so no need for cc stable > [...] > > But it is cc'd to stable, so unless it is going to be nacked at review > stage, any subsequent fixes should also be cc'd. > Ah yes, thanks for pointing that out. But please, don't cc your proposed patches straight to stable@vger.kernel.org. I usually leave it up to the maintainer that merges the patch to add the Cc: line to the commit log.