Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp3671189pxb; Mon, 1 Feb 2021 01:17:05 -0800 (PST) X-Google-Smtp-Source: ABdhPJx4rMiNstYcYJCjGnTPb1RVbBTpHbik4eJOS5kXCFaxsKqN+EQm1cEA3pcEMqdsH3cSoVzF X-Received: by 2002:a50:c94b:: with SMTP id p11mr1167915edh.388.1612171025402; Mon, 01 Feb 2021 01:17:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612171025; cv=none; d=google.com; s=arc-20160816; b=PqoqfVxdHzLQ1MQT5hoBWWdH0uE3XQK5w0xUgsEks+PGYIRQRB5QZfovxGygrs40rr wgL2Tw+GkUmcPwJ6Hiycm0171ML7ExmzZznYvY7aKYxha4EpsPO2R9FvsiQIB49XNNb0 z+ktc3rdEmK6tE1r+/Js41y+Lajje2bFw5ypEKQWKPRBizNRRF2dGyhhFLysoBZLxqsQ sdG7LoSKy54e3nFFvRnjeuoyifH/KLlWOWAgVhLMZHBuXuDbD9AkOJFelq5or6PE7d+B FHRbHjO8i31OPS/RuVmANiGtHjqOb8czHstdmVk/zt4MLQxVgW3PXuT3nDS/VlKbEX0O yyfA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=3tjdZWZq03xU7S45RYn7/iMV9oUlIC3Za+A9whzx8O4=; b=z7EhZyT+a0HFlXXG9h0zpYJWyNqOAuVYjkHjqDG2qFcLLjR0JDufwCJf42OGY9s+Uf 0atplglXIH09pmFcwWluO8gswVG9e/QizAUamgo52izOIH/w5/t4fztS6rjjFsPVDOyx GppD7P6ltgtv2n+3Mw/Phl6H4ecOMRTDoisr+JVcx54aY9soarbiHC44p21X4JKcUV65 jLINaXBLyKjyEfeYVoS275YmqOAVuj04wQjSne+2ewN85lo013GhviUWSoNoSy5WCAx5 95WYDdpbCdRuLp7DDZRCl+KBIhuYl2ecBCEajSx2ujx7EtoTk2PV98KS8hC04aFbHIw6 C0FA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=g+kDcXC5; 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 n8si3502244eji.230.2021.02.01.01.16.40; Mon, 01 Feb 2021 01:17:05 -0800 (PST) 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=@infradead.org header.s=casper.20170209 header.b=g+kDcXC5; 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 S232290AbhBAJQA (ORCPT + 99 others); Mon, 1 Feb 2021 04:16:00 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45210 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231598AbhBAJPO (ORCPT ); Mon, 1 Feb 2021 04:15:14 -0500 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 70C88C0613D6 for ; Mon, 1 Feb 2021 01:14:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=3tjdZWZq03xU7S45RYn7/iMV9oUlIC3Za+A9whzx8O4=; b=g+kDcXC5sY6NNbrSwB+PTTIhEQ MCzg7SRDAvsEgZWpvGFg5ZagSMRx93K4G04egK4nx96D+sLgSIuS5hgQpKzvR2sLSljcv6EbTpxKA lN4wGQEd9g738WZgPr2MTfWvyhA9Sa1cVwWdN8Gvq6Rk6GXhdwebb9BJJInr1kC1IBaJjeT3lvziy Xu90EN3GH/QiNBT9CHYxuO7perPUE5x3ePkxepKAZZ/VtgPiQrxAgrp2Vcu6nFtZ8SpA63Vr1Xn7i DFoniN5WvmJGtaicYB0zOfSt5t3d44gThe43hf29lhQt/Yw4SBWeQrL9f9yHLjrWCQx0juwK3Dxyq JyJA808A==; Received: from hch by casper.infradead.org with local (Exim 4.94 #2 (Red Hat Linux)) id 1l6VHm-00DZzI-8E; Mon, 01 Feb 2021 09:14:18 +0000 Date: Mon, 1 Feb 2021 09:14:18 +0000 From: Christoph Hellwig To: Andy Lutomirski Cc: x86@kernel.org, LKML , Dave Hansen , Alexei Starovoitov , Daniel Borkmann , Yonghong Song , Masami Hiramatsu , Peter Zijlstra Subject: Re: [PATCH 09/11] x86/fault: Rename no_context() to kernelmode_fixup_or_oops() Message-ID: <20210201091418.GC3229269@infradead.org> References: <5b0ad34afeeee15032393367b0945a5032903162.1612113550.git.luto@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5b0ad34afeeee15032393367b0945a5032903162.1612113550.git.luto@kernel.org> X-SRS-Rewrite: SMTP reverse-path rewritten from by casper.infradead.org. See http://www.infradead.org/rpr.html Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Jan 31, 2021 at 09:24:40AM -0800, Andy Lutomirski wrote: > + kernelmode_fixup_or_oops(regs, error_code, address, pkey, si_code); > if (!user_mode(regs)) { > - no_context(regs, error_code, address, SIGBUS, BUS_ADRERR); > + kernelmode_fixup_or_oops(regs, error_code, address, SIGBUS, BUS_ADRERR); These overly long lines are a little annoying..