Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp4294947imu; Mon, 12 Nov 2018 08:44:02 -0800 (PST) X-Google-Smtp-Source: AJdET5c4T2gVhadmox9Tb0pl3PVXYQ5ZmmpmDLPsLiSEtKwzRrBHQ1LjsGxMOHUeW/uo+m6euNqT X-Received: by 2002:a17:902:e201:: with SMTP id ce1-v6mr1634382plb.138.1542041042502; Mon, 12 Nov 2018 08:44:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542041042; cv=none; d=google.com; s=arc-20160816; b=M7SqyPgKBWG2SfqdlU8x4OYTot9Gkz+UfKCvI+FFWvl8AFkUENMe+s/UdU0kog7kdh KPTcSirRJgZGYTJ4clr1pninvcepJX047LsuyFfcQyrn3bk3V4pTpL9jjJ5ed1v6baVn PQwvOL7oXx+4CO9coxSq7nFKK+IyUB6hK1jRJj701GAiEc8FhnQyY1ZxddJQGxGcZtiy 6g5Rb7NTQFA9BL30Y9suT1HAptABYU7LZa5gWhEUtyDydk2hC98VCoqXMMTFB6aczC74 eaNaKk55BZmPyIPBTIEoANNs33uiIvYTjGxTw+2Z6TBrGF/rNvXmamx0lV2PfT+gzFbM g7pw== 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:mime-version :organization:references:in-reply-to:date:cc:to:from:subject :message-id; bh=Q319c59qpuM15iHPPBeu9rRngZz+7Y4WK8/Fo+DkWhk=; b=eV57zGATn6M8Aaw0pitN2rtkI9CAJn1qTlL0ovVGKci85OMjKzAqQ3LsSksaPPCxyQ Lvl73VUhYR9fvXaMtAvuCIfZOEwNA90mVVZEXcoe5RdeLMyCelMgNFDUufCIgfabsjk+ Ld+J4w4WuIt9q1Zxtl+dQD7XYWOQQyNd2mmpJQ8YWXEKyuxK+6AV4JHAumnH+NtAFBoh ADMLxUaHsT+R0ZQxAckJ/1LMReBZLAc1QeQw8MH1eH1uMCHiqW6CNx3HTv4fEwsl06Jw xRiNEQESpC7x3MnUgGDSbfgpMMUObRzUyEnoIyVXce8rpOqZcWoUrcM+0hj5hupn00+S h+Zw== 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 v30si10581912pga.45.2018.11.12.08.43.46; Mon, 12 Nov 2018 08:44:02 -0800 (PST) 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 S1729879AbeKMCfs (ORCPT + 99 others); Mon, 12 Nov 2018 21:35:48 -0500 Received: from mx2.suse.de ([195.135.220.15]:60348 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728018AbeKMCfs (ORCPT ); Mon, 12 Nov 2018 21:35:48 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 53D5BB174; Mon, 12 Nov 2018 16:41:46 +0000 (UTC) Message-ID: <1542040904.2661.35.camel@suse.de> Subject: Re: Performance regression in ast drm driver From: Jean Delvare To: Takashi Iwai Cc: David Airlie , christian.koenig@amd.com, dri-devel , linux-kernel Date: Mon, 12 Nov 2018 17:41:44 +0100 In-Reply-To: References: <20181101162707.598c1718@endymion> <20181108130509.3b2d42ff@endymion> <1542033367.2661.33.camel@suse.de> Organization: Suse Linux Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.22.6 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 2018-11-12 at 15:45 +0100, Takashi Iwai wrote: > On Mon, 12 Nov 2018 15:36:07 +0100, > Jean Delvare wrote: > > Takashi asked me to compare the contents of > > /sys/kernel/debug/x86/pat_memtype_list before and after the commit > > above. Before the commit, we have: > > > > uncached-minus @ 0xfafe0000-0xfb000000 > > uncached-minus @ 0xfb000000-0xfb005000 > > write-combining @ 0xfb005000-0xfb584000 > > > > After the commit, we have: > > > > uncached-minus @ 0xfafe0000-0xfb000000 > > uncached-minus @ 0xfb000000-0xfb005000 > > uncached-minus @ 0xfb000000-0xfb800000 > > uncached-minus @ 0xfb005000-0xfb584000 > > Just to be sure: > could you double-check whether you're checking the right order > (i.e. not checking against the revert)? The change above looks > illogical from what I can see from the commit... Yes, I double checked and can only confirm what I wrote above. However while checking I noticed another strange thing: the contents of pat_memtype_list depend on whether I'm reading the file from an xterm or from the text console (Ctrl+Alt+F2). So I summarize again: Commit "drm/drivers: add support for using the arch wc mapping API" APPLIED, reading pat_memtype_list from the text console: uncached-minus @ 0xfafe0000-0xfb000000 uncached-minus @ 0xfb000000-0xfb005000 uncached-minus @ 0xfb000000-0xfb800000 uncached-minus @ 0xfb005000-0xfb584000 Commit "drm/drivers: add support for using the arch wc mapping API" APPLIED, reading pat_memtype_list from an xterm: uncached-minus @ 0xfafe0000-0xfb000000 uncached-minus @ 0xfb000000-0xfb005000 uncached-minus @ 0xfb000000-0xfb800000 Commit "drm/drivers: add support for using the arch wc mapping API" REVERTED, reading pat_memtype_list from the text console: uncached-minus @ 0xfafe0000-0xfb000000 uncached-minus @ 0xfb000000-0xfb005000 write-combining @ 0xfb005000-0xfb584000 Commit "drm/drivers: add support for using the arch wc mapping API" REVERTED, reading pat_memtype_list from an xterm: uncached-minus @ 0xfafe0000-0xfb000000 uncached-minus @ 0xfb000000-0xfb005000 If you don't find it logical, remember that if things were the way they are supposed to be, customers and myself would not be reporting this bug ;-) -- Jean Delvare SUSE L3 Support