Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1305220ybt; Sat, 20 Jun 2020 06:49:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxOwdUkYZPe/OK8Cnb5wtNdFcUddf2KKVI3JzzbyIaSOxMIIyTnXZeSp35hmSqffrR9i5p3 X-Received: by 2002:a05:6402:459:: with SMTP id p25mr8005023edw.383.1592660976285; Sat, 20 Jun 2020 06:49:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592660976; cv=none; d=google.com; s=arc-20160816; b=xlzikEocM0lsCRHRhzzhBUB5kBz/GG1/8bX2PeRCeBCj6PD218bNcK2vevGmaNqxbV IDPykUztxp+5YyR/vFWS8QdKnAS8cpMFWZofX33hu1nYKSsGBvyVVx0S0niDYNOMXRqq x8ANjVCB3c9LJQH57DSSmDA4NDJ3p5YBoZCh08WnVVyNk1+jtllkRu1ZcQY6CBw3UeYO 01EXuTiuMpfWLYZTfknduYowWzFi4HbdEaWGyfUMaAfvf2A+NYY5+GO5t21riv0HyiyK AJPfVghEARFMi+KffYWCTDAGMJw2Gb1OqdFABZIqO03Xrd4/Fu4T9f/v/YrYeRpS4hye ng9g== 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=AvEoFysle/FnruFKkQjzJdZ8KafgheSpDLyc09M+dEo=; b=wu3k+llx6MGBl9ETdT7Neh9F1MO6xOy/t6kMVT8RQrpwoFF4pIn0ANOAXFrYkHV0rK QUcea+kJ33YiYqBOs+Xdpk5qg+x11xkqO03avmXB4PvbHFR2xS5s/bXWJR6gApwfvT08 2uFjGIRb+dbOYFK+ddnnqhvn87RvO7rE7f1ryZr+3wfelA7NCrdmdAgUROh58B5Bh/et TcNnBnMTjwAVh5Ba6jHkF0c+iCSJl6OEnnA7vD+WeeCXPzsv3tfdAxZMwVNsw7Xwkx8I v8m8QU/k0CB7iX7yJuzvWz4TdA0taUzvtugeB6X65wVZtX1zm91S5PIWWzH3s3Wps9gc vHqQ== 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 i12si5664603ejc.462.2020.06.20.06.49.05; Sat, 20 Jun 2020 06:49:36 -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 S1728184AbgFTNqf (ORCPT + 99 others); Sat, 20 Jun 2020 09:46:35 -0400 Received: from mailbackend.panix.com ([166.84.1.89]:58527 "EHLO mailbackend.panix.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728051AbgFTNqe (ORCPT ); Sat, 20 Jun 2020 09:46:34 -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 49pxm66YxDz17f6; Sat, 20 Jun 2020 09:46:30 -0400 (EDT) Date: Sat, 20 Jun 2020 06:46:27 -0700 (PDT) From: "Kenneth R. Crudup" Reply-To: "Kenneth R. Crudup" To: Christoph Hellwig cc: Linus Torvalds , linux-kernel@vger.kernel.org Subject: Re: Commit 25f12ae45fc1 ("maccess: rename probe_kernel_address to get_kernel_nofault") causing several OOPSes In-Reply-To: <20200619074233.GA3723@lst.de> 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 > > Thing is, there's other examples of the previous version in the kernel tree- any > > chance there's a usage conflict (Thunderbolt has a ROM in it, maybe something in > > "probe_roms.c"? (Just guessing, no idea): On Fri, 19 Jun 2020, Christoph Hellwig wrote: > Maybe. But nothing looks strange there. Just to re-reconfirm, you had to > revert "maccess: rename probe_kernel_address to get_kernel_nofault", > "maccess: make get_kernel_nofault() check for minimal type compatibility" > wasn't enough? Yeah, the only commit I had to revert was this one. BUT: > Below is a patch to do a "partial revert" for probe_roms.c. I'd be > totally surprised if it changes anything from staring at it for while, > but anyway.. 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?) -Kenny -- Kenneth R. Crudup Sr. SW Engineer, Scott County Consulting, Orange County CA