Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2240667imm; Fri, 7 Sep 2018 13:05:19 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYb4RqWv76k3oRBPxr90H7osWdT912CTULk/zDVOrPpTGlTcWaAOaSAvGDFBEGvbiFu8ljt X-Received: by 2002:a65:608b:: with SMTP id t11-v6mr10201372pgu.259.1536350719746; Fri, 07 Sep 2018 13:05:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536350719; cv=none; d=google.com; s=arc-20160816; b=cFqaXXAwNV6jOLNVYfeJ9EaZoq/5mHfwPk8HLqnbHMP9sj+I9zWhT1gwbQ11eeOuG3 k86iYK6wWO81zBFA+O2ZT35U6Uke6vCvcLo9LfLatvoOZO+XvnbXiu7KXM8ZYqzQsuC6 W60tq/Kzm7sM4ugHZ/13wDh4HKkvjONANTldhYodJ8dsOToZf3rpKBO/ujkVsod/a2g5 z245DfIDQiNTouncnNY3EMI9xXqZpmh7OfhP7IVcQsELmNkHy0J9QsuokA9J8jJhjmNg 0b8Ujg6es7qHlvIBa24dOsJwRbOz9HV/DKCMe5mQS/V+CFz8dLPCLlimoiMLef0jzzYC QV5w== 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-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=g1dh/PuStklE6WGRK/RO534hBCDGH6yBfH5IMIhbfJU=; b=kViiaf1kLLnQ1XkAf6S9/z8TUdT/YycdRRgDlJNahlOugIvl9ykfb0YwNAPscvwkhB 7lKEKcO3U4H+YEKzqNX5GXrYMZWOjJe+ERUUOEX8T3o9XNxs/mavfq6sgkvHQnpQt/N4 BZkAysIyZ6xTCW9lDyXwj1PyL9XXt0t5bKf9jUQZl0n6Q/Q/OstpgmTi3sDJuEENcOHM T1miNxHiSkz55s13OK72N9my1IvsJnYodTzMrUW69X907b8HrcUCjBLJIy0AOL6CDSpL ASEE9R7QTle4OfClq5kBSjiv4HFVIXLyRg5qJfcc88Y5Xe9cItQZAY988srUiQBj6zej DmtQ== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k64-v6si8609013pge.129.2018.09.07.13.05.03; Fri, 07 Sep 2018 13:05: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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726351AbeIHAqN (ORCPT + 99 others); Fri, 7 Sep 2018 20:46:13 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:39450 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726010AbeIHAqM (ORCPT ); Fri, 7 Sep 2018 20:46:12 -0400 Received: from localhost (ip-213-127-74-90.ip.prioritytelecom.net [213.127.74.90]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id CF7BCD09; Fri, 7 Sep 2018 20:03:41 +0000 (UTC) Date: Fri, 7 Sep 2018 22:03:38 +0200 From: Greg Kroah-Hartman To: Ben Hutchings Cc: linux-kernel@vger.kernel.org, stable@vger.kernel.org, Dan Williams , David Airlie , Matthew Wilcox , Ross Zwisler , Andrew Morton , Linus Torvalds , Guenter Roeck Subject: Re: [PATCH 4.4 31/43] mm: fix cache mode tracking in vm_insert_mixed() Message-ID: <20180907200338.GB25756@kroah.com> References: <20180814171517.014285600@linuxfoundation.org> <20180814171519.142204859@linuxfoundation.org> <1536339923.3024.112.camel@codethink.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1536339923.3024.112.camel@codethink.co.uk> 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 Fri, Sep 07, 2018 at 06:05:23PM +0100, Ben Hutchings wrote: > On Tue, 2018-08-14 at 19:18 +0200, Greg Kroah-Hartman wrote: > > 4.4-stable review patch.??If anyone has any objections, please let me know. > > > > ------------------ > > > > From: Dan Williams > > > > commit 87744ab3832b83ba71b931f86f9cfdb000d07da5 upstream > > > > vm_insert_mixed() unlike vm_insert_pfn_prot() and vmf_insert_pfn_pmd(), > > fails to check the pgprot_t it uses for the mapping against the one > > recorded in the memtype tracking tree.??Add the missing call to > > track_pfn_insert() to preclude cases where incompatible aliased mappings > > are established for a given physical address range. > [...] > > This apparently breaks a number of DRM drivers. The upstream fixes > are: > > 8ef4227615e1 x86/io: add interface to reserve io memtype for a resource range. (v1.1) > 7cf321d118a8 drm/drivers: add support for using the arch wc mapping API. > > They appear to apply cleanly to 4.4-stable. They are included in 4.9 > so no other stable branch needs them. Thanks, now queued up. greg k-h