Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp2211064ybt; Sun, 21 Jun 2020 12:32:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxOg/frq4DQee+EuzjK2jgLNq+YAX8GCUV5ETPYWdl8qKnRSO9YGJ7MhXOCECOs50Z2ufzo X-Received: by 2002:a17:906:b88d:: with SMTP id hb13mr13139368ejb.96.1592767934381; Sun, 21 Jun 2020 12:32:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592767934; cv=none; d=google.com; s=arc-20160816; b=YAOAgWiab5xXVNvE1BO6R0d9n9rif+RIleNLySjwAfCISD0QV10DaogDBpt+C4+SCR gycAqYIk4xfUxnfZGzKYmn8KaxlViPPWjtOnbyjxUmocrt0Tl7tO/WWE6M0YpDurk+B1 +TqZiGUokS3NRwVnGIFiLKRagaYywz088H0qDU1kC3Fx8JDuWXfJf3ZECeG8c4IsKgfq nWEZC7T6QhP6rX7sy3lr0WtOaS0VGQfoonlpC2TQmRuFBeGbpMufYAXVtRUT7cViLk7N ILCmWCmsSM4FXwuyjDxGLVF3yA0IG+o0purnVlTCzXxi59L+ZHAWfuOlR2nutuwXj2F/ u6dg== 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=PivJHVnQa2DIaUE5Q/1vVvrHC7opv/SEc9I68T3LIqQ=; b=WaMugWTyT59/gSi9HbDmLsOa/VYAeqFgRGN3qTSPsxPpv7iljnuisf+P/PMfpSW1ki sp/GmoIxb7kZ/ZkB61ZnBgwD7USUo2GOOvKbnDbS8e86KWi4MXe6fCshn9qJ3HlPkckt Bs9UzaiR8UnrEWNFLYfYMNVkxSYe1W3eHwjmW8X6YgaRqZYb44v4GqES7VoyB/Qfh4UJ JHbLYuIaC/d6e2zxVZ/q/EZNPgSpmjFf/AHsWufYsyvivFwMJEeFvdDJBNo+I/Y2RU4d GHz5sFrISgkBiRhihKqOIUeEMxvFpd2D1L+LkvZyu+EbWm+HbcaKR4YieF+Oghz+STk8 jhaQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a7si7484880ejy.133.2020.06.21.12.31.50; Sun, 21 Jun 2020 12:32:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730085AbgFUT37 (ORCPT + 99 others); Sun, 21 Jun 2020 15:29:59 -0400 Received: from mailbackend.panix.com ([166.84.1.89]:16996 "EHLO mailbackend.panix.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729090AbgFUT37 (ORCPT ); Sun, 21 Jun 2020 15:29:59 -0400 Received: from xps-7390 (cpe-23-242-39-94.socal.res.rr.com [23.242.39.94]) by mailbackend.panix.com (Postfix) with ESMTPSA id 49qjKx3yTpz1h7Y; Sun, 21 Jun 2020 15:29:57 -0400 (EDT) Date: Sun, 21 Jun 2020 12:29:56 -0700 (PDT) From: "Kenneth R. Crudup" Reply-To: "Kenneth R. Crudup" To: Linus Torvalds cc: Christoph Hellwig , Linux Kernel Mailing List Subject: Re: Commit 25f12ae45fc1 ("maccess: rename probe_kernel_address to get_kernel_nofault") causing several OOPSes In-Reply-To: Message-ID: References: <20200619065007.GA3041@lst.de> <20200619074233.GA3723@lst.de> User-Agent: Alpine 2.22 (DEB 394 2020-01-19) 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 Sat, Jun 20, 2020 at 6:46 AM Kenneth R. Crudup wrote: > > So, be totally surprised :) I've just booted with "maccess: rename > > probe_kernel_address to get_kernel_nofault" intact and your probe_roms.c > > patch with no issues. > > (Perhaps there's some sort of compiler optimization going on?) On Sat, 20 Jun 2020, Linus Torvalds wrote: > I'm staring at that opatch and not seeing how it could _possibly_ make > any difference in code generation. > Which is the obvious next step: would you mind compiling that file > with and without the patch and sending me the two object files? It looks like you had already, do you still need me to do this? FWIW, here's my gcc info: $ gcc --version gcc (Ubuntu 9.3.0-13ubuntu1) 9.3.0 OH- I did change arch/x86/Makefile in my own builds- maybe this could matter? Doubtful, but I could test later tonight or tomorrow (gotta do some ;l work in the meantime). ---- diff --git a/arch/x86/Makefile b/arch/x86/Makefile index 00e378de8bc0..37aff76f3067 100644 --- a/arch/x86/Makefile +++ b/arch/x86/Makefile @@ -123,7 +123,8 @@ else cflags-$(CONFIG_MPSC) += $(call cc-option,-march=nocona) cflags-$(CONFIG_MCORE2) += \ - $(call cc-option,-march=core2,$(call cc-option,-mtune=generic)) + $(call cc-option,-march=icelake-client,$(call cc-option,-mtune=native)) \ + $(call cc-option,-mtune=icelake-client,$(call cc-option,-mtune=native)) cflags-$(CONFIG_MATOM) += $(call cc-option,-march=atom) \ $(call cc-option,-mtune=atom,$(call cc-option,-mtune=generic)) cflags-$(CONFIG_GENERIC_CPU) += $(call cc-option,-mtune=generic) ---- -Kenny -- Kenneth R. Crudup Sr. SW Engineer, Scott County Consulting, Orange County CA