Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp3347631pxv; Mon, 26 Jul 2021 01:59:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxW8IMFwrb1Yjrgy38dGZl6EPxkZZ7H0wTwvCwcIzxuvRg+tfeFmeXd3ec/gLdx5PNCVFEB X-Received: by 2002:a05:6402:124e:: with SMTP id l14mr12410428edw.356.1627289995809; Mon, 26 Jul 2021 01:59:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627289995; cv=none; d=google.com; s=arc-20160816; b=F19NzoA1Fkl+5NK6xNvHMUusriaAJSAsIpbp0gEjwokGoZAfjoIm4mM/0aH6K2OgZZ KtaZDwTmFzqsX9mX///+6y95ApF6LxKMMOa2yWQJkPLeQsEnOGXH9x2qQXvzVqS0tlYn mi4qI4Y7/IY4f2mqVfizxDWVnyIM6SC1s6otXKsWErixacgWretivFGE0pNahrO8UHW+ XjRtafqnhWTbn+h9osbdoywK61ss0aB7A2JUPE3P0JCFOP4pYWVrTGVTmFb5wWi5jTuC 6ENwbfNg/piC04Ia5To8Zxlq7wwnNfUNqFSboVPvbkFz8RisUaAPgwsgjNpMq78OXdhN W8VA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=WkWs2yjbuB7rMLWgvsxBc4/Z976NwWWIEDiSOgTN55I=; b=tmUcUwo69JEFmDojs9SAkcJNqgnLbG74d7fl/tn9t/CB6PvARYRvwLPnvACBGpit6s YCrbaXdO3JD4SL+X5+VMJj4ayumYcTvift8ZiqZT8V7X1ESeD/H8JaYaJxEG4TrCesM+ dOXvRgsv2+AYFAQf8Eyk6qS34ec9eEcnFR13Suyp29axeOVZrepTSRf8xWtVzRa0J2j5 5FRMG9HD7svg1uWLZDeTRGKKNA0mRgmSxDKB+uElwKGBkvYeg9xDSUObuTA80ga/S0kf 2ur5MZyEWEjYpNHqRw395hfH45QJg7HSgmpJhL/OkEUIh++F0TTyWkZ9yn/Qtgoj5xtu mMoA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b="E7jOP/dw"; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmx.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r9si5155109eje.250.2021.07.26.01.59.32; Mon, 26 Jul 2021 01:59:55 -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=@gmx.net header.s=badeba3b8450 header.b="E7jOP/dw"; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmx.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232279AbhGZIPk (ORCPT + 99 others); Mon, 26 Jul 2021 04:15:40 -0400 Received: from mout.gmx.net ([212.227.15.19]:52713 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232041AbhGZIPj (ORCPT ); Mon, 26 Jul 2021 04:15:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1627289727; bh=WkWs2yjbuB7rMLWgvsxBc4/Z976NwWWIEDiSOgTN55I=; h=X-UI-Sender-Class:Subject:To:Cc:References:From:Date:In-Reply-To; b=E7jOP/dwH1+3UHoNaSbTx2XDQRxAN5F8L7jEpZmRIgESVf9ne0KM7xfW0ObhH8vkT ABXz8dsUiPiO1dwu3MUYUkMNesxVe0Yk5ji3YVzpNZGn/BfZ3uPtXbOes3Ed2hx1cN YAlh6MXWhHfFt0OlfJQAeFIRfElfQswmhjdssuBY= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [192.168.20.59] ([92.116.128.43]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MHG8g-1lugpy469A-00DFk8; Mon, 26 Jul 2021 10:55:27 +0200 Subject: Re: [PATCH v3 9/9] asm-generic: reverse GENERIC_{STRNCPY_FROM,STRNLEN}_USER symbols To: Arnd Bergmann , linux-arch@vger.kernel.org Cc: Arnd Bergmann , "James E.J. Bottomley" , Al Viro , Anton Ivanov , Brian Cain , Chris Zankel , Christian Borntraeger , Christoph Hellwig , Guo Ren , Heiko Carstens , Jeff Dike , Linus Walleij , Max Filippov , Michal Simek , Richard Weinberger , Thomas Bogendoerfer , Vasily Gorbik , Vineet Gupta , Yoshinori Sato , linux-csky@vger.kernel.org, linux-hexagon@vger.kernel.org, linux-ia64@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org, linux-parisc@vger.kernel.org, linux-s390@vger.kernel.org, linux-snps-arc@lists.infradead.org, linux-um@lists.infradead.org, linux-xtensa@linux-xtensa.org, uclinux-h8-devel@lists.sourceforge.jp References: <20210722124814.778059-1-arnd@kernel.org> <20210722124814.778059-10-arnd@kernel.org> From: Helge Deller Message-ID: Date: Mon, 26 Jul 2021 10:55:17 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: <20210722124814.778059-10-arnd@kernel.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:kdIeDnlaRuH2T6rYGVMcZI1y8GGtOS/nCSrzGPNZ3OUQY5MU47B 5CBoPs+/Yybus1lp3BFr1TFHG7JdG2o5Hk/+MO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zmYoSrFiehrBph0pN1BH etTVyfghR0rL7vavgTnKsreSpMyl3W3flVYYrL1VFrOZOaFlu4o/STXYiDOLTuais8R4uHZ9m rx7BDIdUVUu2cfGdCxzn72+/DIL+wTIkX3hYLkdhLbb0ILsnNCRr3C7E2s1DdY1NyblFsxj3/ LgqPcJqCPQLSSnri/QeHDporOJ+A2BTzG1/uoMuWJameE3z/JlSz+68zDXDri1c2g98Ia8/zM mym0OeKhYLafNgyhfcmFszob94nhnmC8BqG Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 7/22/21 2:48 PM, Arnd Bergmann wrote: > From: Arnd Bergmann > > Most architectures do not need a custom implementation, and in most > cases the generic implementation is preferred, so change the polariy > on these Kconfig symbols to require architectures to select them when > they provide their own version. > > The new name is CONFIG_ARCH_HAS_{STRNCPY_FROM,STRNLEN}_USER. > > The remaining architectures at the moment are: ia64, mips, parisc, > s390, um and xtensa. We should probably convert these as well, but > I was not sure how far to take this series. Acked-by: Helge Deller # parisc Thanks! Helge