Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp2218164ybt; Sun, 21 Jun 2020 12:47:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJysTW8R3OkVyXC6qBd4c7NeWRIWH+0irvZPiQv+0vYF6FZUa9zl3b7SFsUsBUHPbrtVfe01 X-Received: by 2002:a17:906:2e50:: with SMTP id r16mr12519966eji.305.1592768869486; Sun, 21 Jun 2020 12:47:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592768869; cv=none; d=google.com; s=arc-20160816; b=iUvaI76hvsnkb1JWCRS8PM23eDOtzuAMfw64/WEHfW5rNOmAVm2q7L/CakF83XkERV N/oQ0is+mHr3sM0MInLO5Ul+fQzQQeFxdUcdn8PVSE/CyaBgtZlBIr2dZS020BlWH4Qq e0wPDcy/n37crs62OwiE9Tx37t2V98hY3R5KZN2FfxH/FNMPJ/Nhp1IrjDrbg8aIFNWK ycccrzXIy29YovZ+1b6XagxOUNTQl6V8Q9es+QbFozExQV5n0yx4yc0TRni+3RWCcep0 Gjr0xOSCZJiss2Eh3AGJQyViuFnlQppqVwqhBKDWTO8oCnQC2u/Oj6CnfYfA7AMo/+9b GPvg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=fSLpPxMEz7DxYqE5ffZM/BXJwv/YNcdB/XLkDwuN+BA=; b=x83Nq675RT72feynBJaW7zn2WFUJEgQ8r3CDX9d1Fny37HtSpWFrf1Cy7/SB03p6Qk aB1WPxXyg3s8krm4VsjNzBWkudLxFkZFn8NkeZQwI392lL5AV8Q7hXniNGJlb6hwwOa3 pzR/RBWlRJJft+KvKQPrdWTo7ix7BlyuxdxqNq71FyUgco6/5Cycm1qVULefJPrPM9GO /BOILpyFxaMe4+1t0UyeIy3TQUjXA8pI5mWpSAZzU4mCX53eGe3yLEnONTbKfI6FV3nP EVVQ4jnOBogr7gLZY7e0TrtTsYFFBYcdRn9SSfJcpWueexSjdfdUElRTdbTA4omiBYV+ 3WrA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=AWZ2VQ8N; 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 a7si7499219ejy.133.2020.06.21.12.47.14; Sun, 21 Jun 2020 12:47:49 -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; dkim=pass header.i=@linux-foundation.org header.s=google header.b=AWZ2VQ8N; 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 S1730540AbgFUToj (ORCPT + 99 others); Sun, 21 Jun 2020 15:44:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53250 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730181AbgFUToi (ORCPT ); Sun, 21 Jun 2020 15:44:38 -0400 Received: from mail-lf1-x144.google.com (mail-lf1-x144.google.com [IPv6:2a00:1450:4864:20::144]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 52ADBC061794 for ; Sun, 21 Jun 2020 12:44:38 -0700 (PDT) Received: by mail-lf1-x144.google.com with SMTP id m26so8381072lfo.13 for ; Sun, 21 Jun 2020 12:44:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=fSLpPxMEz7DxYqE5ffZM/BXJwv/YNcdB/XLkDwuN+BA=; b=AWZ2VQ8N8O6rqj1PNwGwf2BvwoUMCwCk4LaNpr+V7Md3ptnDfdsWPgR9Tt3njRDzu+ EAAte8yrs8pHBp0eWRn2yPCe07Gfhfl2Vv1qyo6LMSWMoMisfXefIVlnq2mtJNZaEkuq 21wSz352wzUz3QiiKaE70UX/wrDTriZ8JcMLY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=fSLpPxMEz7DxYqE5ffZM/BXJwv/YNcdB/XLkDwuN+BA=; b=mDgv3ql7QzLRHyftlIP0qVoJ/zylqC6y+NasmGmrDHa1NJU+7kEeoKtU4gNqBJDIHY NxOc1TX4YI7qFLMszAw78cYZVkwjeBYf3jFWoDZQZTWC4cACAAeqwMUNYeNWWsmnxp6d VZm578YTKkTkkkFA1OIvThR5MgxLsxaLifG2wh20AKoiG4iveaNVE36WfbVR3KA8vpUK AeUOtSAii576Xqedh7pOPQBT/gU4/a8jgXiWEJrOvxkVLunUcZv3DBuqE46tqOof748M xoxvZE6mmhB7dIdEd741xT6XNzIOzj3sJtoWrw1+d0nY5Mx1BUYyKhUP4StX1/ndPzFe malQ== X-Gm-Message-State: AOAM530wvoBHllV0qwz47xt7l98rOCn+2mcui1bWwX77vnS+QiI/2vjk WxpRhtZAz1zU0ogEapHIDB8QvVQn5dg= X-Received: by 2002:a19:2292:: with SMTP id i140mr7674278lfi.95.1592768676311; Sun, 21 Jun 2020 12:44:36 -0700 (PDT) Received: from mail-lj1-f176.google.com (mail-lj1-f176.google.com. [209.85.208.176]) by smtp.gmail.com with ESMTPSA id a22sm1710753lfg.96.2020.06.21.12.44.35 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 21 Jun 2020 12:44:35 -0700 (PDT) Received: by mail-lj1-f176.google.com with SMTP id n24so16894080lji.10 for ; Sun, 21 Jun 2020 12:44:35 -0700 (PDT) X-Received: by 2002:a2e:b5d7:: with SMTP id g23mr6448596ljn.70.1592768675067; Sun, 21 Jun 2020 12:44:35 -0700 (PDT) MIME-Version: 1.0 References: <20200619065007.GA3041@lst.de> <20200619074233.GA3723@lst.de> In-Reply-To: From: Linus Torvalds Date: Sun, 21 Jun 2020 12:44:19 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Commit 25f12ae45fc1 ("maccess: rename probe_kernel_address to get_kernel_nofault") causing several OOPSes To: "Kenneth R. Crudup" Cc: Christoph Hellwig , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Jun 21, 2020 at 12:30 PM Kenneth R. Crudup wrote: > > > 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? Yes please. For me that patch makes no difference. With gcc, it generates the exact same code. > FWIW, here's my gcc info: > > $ gcc --version > gcc (Ubuntu 9.3.0-13ubuntu1) 9.3.0 Yeah, well, I've got gcc version 10.1.1 20200507 (Red Hat 10.1.1-1) (GCC) but it's not like yours is any known problematic one. But please compile that probe_roms file with Chrisptoph's patch that makes things work for you, and without it - but otherwise identically and with the same config options that work with that patch applied. > OH- I did change arch/x86/Makefile in my own builds- maybe this could matter? Doubtful, but who knows. The fact that so far yours seems to be the only report of this, and it looks inexplicable, maybe it has that tuning difference that triggers it. But don't change it now. If it is what triggers the issue, it's still an interesting datapoint. You might test (separately) if removing that change from your build makes a difference, but I'd like to see what the code generation difference is with the patch and without, since there _shouldn't_ be any. Linus