Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp630873ybl; Sun, 1 Dec 2019 09:12:44 -0800 (PST) X-Google-Smtp-Source: APXvYqx4M7gFFFqmBKU39BJIvZSHIgUpEhPuHV/wgQtyie2CeUyQjDli7e+DbTzf2+TllYuo7W2a X-Received: by 2002:a50:8c63:: with SMTP id p90mr6852190edp.12.1575220364206; Sun, 01 Dec 2019 09:12:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575220364; cv=none; d=google.com; s=arc-20160816; b=UApH8hdFACk0BIZR+2pItYS/zuZlhIeYgIONl2BZDWZ/sYqHHrRGlXOAh4SYIPmN1I 6191fIm9nlVdr5V4FhvGjTwiqHxz343M3LtLyGb29KoFbrWlRUzSN4GwWgzob1Xq7LQE ZWMy0mdTC9FnX9oby5O9dAk9HL4AqNjSNlTP42v10LYVNFNthQztgtS1neTqLOL1ZriP KhoywI2GOINJFnpRYeAYB7BZT9FTKx79driBB/snLX4pzLner9MJJnNkukkm9qPHZymW hr5ZPIoXcYlJTgViINiYOmuLnebx3ZWkBINSDGCVNWXbB+CZ1DQFoFnhtfJgJBTq9xee 1htg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:reply-to:from:date; bh=1f+ULnopZGkx9fF2SWeCS4rysCQK+B32w1nv7BO9V+0=; b=Cw/OlDAIAJMZvdzqInJU5kWLbwxfS1A0ksdPwcigaF1iCYg52r8LICKZafscr92C7H GtZK/R0CXW2h1O/9+qhEp/0d8tlyMcEFmtUUv/E5h9PmdmnE5EDXlnEJ4kw5zRhHNjiz 1Y26IUkF6netuf6ttyEJpSzLUE2e5vP0Xpa0Y+7kGda/Hyu/aXIg2GVLEvxybAGaSz55 AOadF+HLgYZ9T3So9jbz7Y203nQJFP3tmi6pd0WxaX/4pEbyHoBgta2MgbftdimcUIHQ L4R4AOo+Vi6l9u+7iejwQwIvIQbAjHg7X3QiiPTmI4yEZ7ZkrKyYZKQVy+qUdfa4X8XK ad9A== 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 k26si7547397ejr.356.2019.12.01.09.12.20; Sun, 01 Dec 2019 09:12:44 -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 S1727259AbfLARI4 (ORCPT + 99 others); Sun, 1 Dec 2019 12:08:56 -0500 Received: from mailbackend.panix.com ([166.84.1.89]:59065 "EHLO mailbackend.panix.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726393AbfLARI4 (ORCPT ); Sun, 1 Dec 2019 12:08:56 -0500 Received: from hp-x360n.lan (cpe-108-185-41-56.socal.res.rr.com [108.185.41.56]) by mailbackend.panix.com (Postfix) with ESMTPSA id 47Qvpq3Cvxz1J7T; Sun, 1 Dec 2019 12:08:51 -0500 (EST) Date: Sun, 1 Dec 2019 09:08:50 -0800 (PST) From: "Kenneth R. Crudup" Reply-To: "Kenneth R. Crudup" To: Ingo Molnar cc: Linus Torvalds , mceier@gmail.com, Davidlohr Bueso , kernel test robot , Davidlohr Bueso , Thomas Gleixner , Peter Zijlstra , Borislav Petkov , LKML , lkp@lists.01.org Subject: Re: [PATCH] x86/pat: Fix off-by-one bugs in interval tree search In-Reply-To: <20191201144947.GA4167@gmail.com> Message-ID: References: <20191127005312.GD20422@shao2-debian> <20191130212729.ykxstm5kj2p5ir6q@linux-p48b> <20191201104624.GA51279@gmail.com> <20191201144947.GA4167@gmail.com> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 1 Dec 2019, Ingo Molnar wrote: > So it would be nice if everyone who is seeing this bug could test the > patch below against Linus's latest tree - does it fix the regression? The patch fixes the issue for me. > If not then please send the before/after dump of > /sys/kernel/debug/x86/pat_memtype_list - and even if it works please send > the dumps so we can double check it all. I don't have the "before patch" (but could if it is absolutely needed) but here's the "after patch": ---- PAT memtype list: write-back @ 0x4c314000-0x4c35f000 write-back @ 0x4c35e000-0x4c35f000 write-back @ 0x4c35e000-0x4c364000 write-back @ 0x4c363000-0x4c366000 write-back @ 0x4c365000-0x4c369000 write-back @ 0x4c368000-0x4c36b000 write-back @ 0x4c36a000-0x4c36e000 write-back @ 0x4c36d000-0x4c36f000 write-back @ 0x4c36e000-0x4c370000 write-back @ 0x4c36f000-0x4c371000 write-back @ 0x4c370000-0x4c372000 write-back @ 0x4c7eb000-0x4c7ec000 write-back @ 0x4c7ec000-0x4c7ef000 write-back @ 0x4c7ec000-0x4c7ed000 write-back @ 0x4c7ef000-0x4c7f0000 write-back @ 0x4c7f0000-0x4c7f1000 write-back @ 0x4c867000-0x4c868000 write-back @ 0x4c868000-0x4c869000 write-back @ 0x4fa86000-0x4fa87000 write-back @ 0x4fefc000-0x4fefd000 uncached-minus @ 0x77f00000-0x77f10000 uncached-minus @ 0x8e000000-0x8e040000 uncached-minus @ 0x8e040000-0x8e041000 uncached-minus @ 0x8e200000-0x8e202000 uncached-minus @ 0x8e203000-0x8e204000 uncached-minus @ 0x8e300000-0x8e301000 uncached-minus @ 0xe0000000-0xf0000000 uncached-minus @ 0xfd6a0000-0xfd6a1000 uncached-minus @ 0xfd6a0000-0xfd6b0000 uncached-minus @ 0xfd6d0000-0xfd6e0000 uncached-minus @ 0xfd6e0000-0xfd6e1000 uncached-minus @ 0xfd6e0000-0xfd6f0000 uncached-minus @ 0xfe000000-0xfe002000 uncached-minus @ 0xfe001000-0xfe002000 uncached-minus @ 0xfed00000-0xfed01000 uncached-minus @ 0xfed10000-0xfed16000 uncached-minus @ 0xfed15000-0xfed16000 uncached-minus @ 0xfed40000-0xfed45000 uncached-minus @ 0xfed90000-0xfed91000 uncached-minus @ 0xfed91000-0xfed92000 uncached-minus @ 0xff340000-0xff341000 write-combining @ 0x4000000000-0x4010000000 uncached-minus @ 0x4010000000-0x4010001000 uncached-minus @ 0x4010000000-0x4010001000 uncached-minus @ 0x4010000000-0x4010001000 uncached-minus @ 0x4010001000-0x4010002000 uncached-minus @ 0x4010001000-0x4010002000 uncached-minus @ 0x4010001000-0x4010002000 uncached-minus @ 0x604a000000-0x604a200000 write-combining @ 0x604a800000-0x604b000000 uncached-minus @ 0x604b100000-0x604b110000 uncached-minus @ 0x604b110000-0x604b118000 uncached-minus @ 0x604b118000-0x604b11c000 uncached-minus @ 0x604b11c000-0x604b120000 uncached-minus @ 0x604b11e000-0x604b11f000 uncached-minus @ 0x604b122000-0x604b124000 uncached-minus @ 0x604b125000-0x604b126000 uncached-minus @ 0x604b129000-0x604b12a000 ---- -Kenny -- Kenneth R. Crudup Sr. SW Engineer, Scott County Consulting, Silicon Valley