Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp5563058pxb; Mon, 14 Feb 2022 02:02:13 -0800 (PST) X-Google-Smtp-Source: ABdhPJySlq9zLeojNaKCoFAIg9mxYqq+idMrPn9zHaaq/wAHAqZhwdbLC85XL6vP66z8SDnG22F4 X-Received: by 2002:a63:fb4a:: with SMTP id w10mr11044091pgj.615.1644832933254; Mon, 14 Feb 2022 02:02:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644832933; cv=none; d=google.com; s=arc-20160816; b=SNp3+2DpNOUPLYlOI/09aVVe0zCv/KE1W9jIIUvkuE6cMPQ1zsYQOLQ8PGRMbESgG0 aFWydMY7RdJ6kbkuIG1cB1/O3kWMmbJW68cm6gnh1Rh+6z71Y6ndsDfzaubhVBVkKbvd pEgSZ45h1csEQdzaqq0f7ZD2P2e08rwq1wCqud7gsz3bChbDI24Jjt/m0DavoFR8ncsx ouf+T5EolbfgGC9TwJKyugyUknItQJ0XwAf9xZfW0SdyDePZ1UZUYevxa+YunPNHtObe S2r+9vGB/ZKTrO/h3yZu2LxMRLhqHwVkcRwSxhPwEsDv1hQQpJDWuTmd0bAvfOK551Pq fPRA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=MA9z/nAeEAqw03l/kdUwd44agJ7PPHF1efYwVNLWeSs=; b=p+Gc4DpZXKlV/btRQ3SesRpm3Yu1SygLGDthd1DJ6htaeqjowyrEUY3jM3WzThTktd NjPyATLNMUkfLZtpkAIT9PXLfi9VElFmG6agmGo1wpLv4UVbHB5zs8FZCTzX8pCsBD4t cbGkQGbLXLdy2xtxdVr1qEvHwbiWM1/8/AgklLjLiJGxx1nPafBkkj7bELbZdWbHd6iC Rtfm+iGzNdcvBTJl6naXjQHpvYJnR5SNjLmqHHkJ1WVLwNTC6OqZ7PHqKWbrvl11JPqf zebjf++HwSfYr5++Z4ciiTNxPPFPMv1jDJXVyQij0erQiMUY8IceSwjYtmBQFphKjEQ3 mRdg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=N7i2fk2z; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n6si11932800plg.201.2022.02.14.02.01.55; Mon, 14 Feb 2022 02:02:13 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=N7i2fk2z; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344258AbiBKRq2 (ORCPT + 93 others); Fri, 11 Feb 2022 12:46:28 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:39648 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1352286AbiBKRqZ (ORCPT ); Fri, 11 Feb 2022 12:46:25 -0500 Received: from mail-ej1-x62c.google.com (mail-ej1-x62c.google.com [IPv6:2a00:1450:4864:20::62c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 59482CD3 for ; Fri, 11 Feb 2022 09:46:24 -0800 (PST) Received: by mail-ej1-x62c.google.com with SMTP id y22so12517267eju.9 for ; Fri, 11 Feb 2022 09:46:24 -0800 (PST) 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=MA9z/nAeEAqw03l/kdUwd44agJ7PPHF1efYwVNLWeSs=; b=N7i2fk2zHkfW0E6UKnO6Wo/Imf/u3S8xkzP3Yc7yfmEvKZ55/UBpbB0BGzwdoZLLoL LFRA1QHQEkob4dV4TmcGOBlPgteITlzuVBQtBvnc+zpgvda3Dg2/r+Sjs/vxwlEMXyvO OzLGDDdjEUGfehlgywVSMxpodGt90Z9SUiN+M= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=MA9z/nAeEAqw03l/kdUwd44agJ7PPHF1efYwVNLWeSs=; b=OqX3gTH+ZIgMP4Bz1gV94VXWXfa8Wlt80Rtn0n/hctLOK/RESYzDvjv4BNnwv8i9f7 heXzQuO3ZWHYMLM//xkA4HaKDESZPlBakvthLqKXOFhBW0h2Mfsx0ndNSQ/O/9fKyix8 xrjpRNLdm5W1MOjJt6v91Y14iyaLVyxpndKVkCcB7zZavbTUYerdquyMd/Df0Bjz1Hp4 +/vKfYIFX11U8vZg9Bj0pCuHs73ZRaBFaNItXYHGwryHYHpiA84qkVQtfqys39emXIBk V4j/+uCA0sgVWm7nIK0JidXB+jX0pEA6PKBVPRWWct+xTy5hMU/cCJNd01wlwnyecqV4 02IQ== X-Gm-Message-State: AOAM532xfw54XNyWUddDJoYwbHBJo4xLvwec4wF7WbBBoOSMZ6tRDjd1 pqg+ctodqJ+a2F4PjTgqOM28U3SoZFm4VJEBfJ8= X-Received: by 2002:a17:906:564c:: with SMTP id v12mr2346186ejr.255.1644601582833; Fri, 11 Feb 2022 09:46:22 -0800 (PST) Received: from mail-wm1-f43.google.com (mail-wm1-f43.google.com. [209.85.128.43]) by smtp.gmail.com with ESMTPSA id y16sm5276299ejd.72.2022.02.11.09.46.20 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 11 Feb 2022 09:46:21 -0800 (PST) Received: by mail-wm1-f43.google.com with SMTP id c192so5917903wma.4 for ; Fri, 11 Feb 2022 09:46:20 -0800 (PST) X-Received: by 2002:a05:600c:15ca:: with SMTP id v10mr1224526wmf.26.1644601580144; Fri, 11 Feb 2022 09:46:20 -0800 (PST) MIME-Version: 1.0 References: <20220117132757.1881981-1-arnd@kernel.org> <126ae5ee-342c-334c-9c07-c00213dd7b7e@xilinx.com> In-Reply-To: From: Linus Torvalds Date: Fri, 11 Feb 2022 09:46:03 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] microblaze: remove CONFIG_SET_FS To: Arnd Bergmann Cc: Stafford Horne , Michal Simek , Linux-Arch , LKML , Christoph Hellwig , "Eric W . Biederman" , Al Viro , Arnd Bergmann , Geert Uytterhoeven , "Peter Zijlstra (Intel)" , Catalin Marinas , Mark Rutland Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Feb 11, 2022 at 9:00 AM Arnd Bergmann wrote: > > I have now uploaded a cleanup series to > https://git.kernel.org/pub/scm/linux/kernel/git/arnd/playground.git/log/?h=set_fs > > This uses the same access_ok() function across almost all > architectures, with the exception of those that need something else, > and I then I went further and killed off set_fs for everything other > than ia64. Thanks, looks good to me. Can you say why you didn't convert ia64? I don't see any set_fs() use there, except for the unaligned handler, which looks trivial to remove. It looks like the only reason for it is kernel-mode unaligned exceptions, which we should just turn fatal, I suspect (they already get logged). And ia64 people could make the unaligned handling do the kernel mode case in emulate_load/store_int() - it doesn't look *that* painful. But maybe you noticed something else? It would be really good to just be able to say that set_fs() no longer exists at all. Linus