From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3661AC43334 for ; Mon, 20 Jun 2022 14:26:50 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id AB35D6B0071; Mon, 20 Jun 2022 10:26:49 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id A64A28E0002; Mon, 20 Jun 2022 10:26:49 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 952598E0001; Mon, 20 Jun 2022 10:26:49 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0011.hostedemail.com [216.40.44.11]) by kanga.kvack.org (Postfix) with ESMTP id 86AF46B0071 for ; Mon, 20 Jun 2022 10:26:49 -0400 (EDT) Received: from smtpin09.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay12.hostedemail.com (Postfix) with ESMTP id 5B037120181 for ; Mon, 20 Jun 2022 14:26:49 +0000 (UTC) X-FDA: 79598840538.09.D40F800 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by imf08.hostedemail.com (Postfix) with ESMTP id A072A1600A7 for ; Mon, 20 Jun 2022 14:26:48 +0000 (UTC) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id C925E1596; Mon, 20 Jun 2022 07:26:44 -0700 (PDT) Received: from FVFF77S0Q05N (unknown [10.57.70.167]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 63A803F534; Mon, 20 Jun 2022 07:26:41 -0700 (PDT) Date: Mon, 20 Jun 2022 15:26:37 +0100 From: Mark Rutland To: Tong Tiangen Cc: James Morse , Andrew Morton , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Robin Murphy , Dave Hansen , Catalin Marinas , Will Deacon , Alexander Viro , Michael Ellerman , Benjamin Herrenschmidt , Paul Mackerras , x86@kernel.org, "H . Peter Anvin" , linuxppc-dev@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, Kefeng Wang , Xie XiuQi , Guohanjun Subject: Re: [PATCH -next v5 2/8] arm64: extable: make uaaccess helper use extable type EX_TYPE_UACCESS_ERR_ZERO Message-ID: References: <20220528065056.1034168-1-tongtiangen@huawei.com> <20220528065056.1034168-3-tongtiangen@huawei.com> <4371a7c9-8766-9fee-2558-e6f43f06ad19@huawei.com> <0da734f3-5743-3df3-3f90-d92e5bd585ce@huawei.com> <684f0362-6e58-753d-32e1-112c6ffe6d12@huawei.com> <908f4c14-b9cb-71f8-7a3c-7569f7c89033@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <908f4c14-b9cb-71f8-7a3c-7569f7c89033@huawei.com> ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1655735209; a=rsa-sha256; cv=none; b=6OClAyGcAt+cghFasDGjZqYpYpUnfsrj0muurMb4m4v/6+7b3Ymnb521BrZhI+pCSH4J/1 UujV8mZs3tuCGECeCXYa8N60dQRpEes8/FhzuDDEK1C4EHlZjgVb5xzWwyHhvrK3vMH7wo OQ6SSJGiOZg3uolZtoQwSwjL71uVWrg= ARC-Authentication-Results: i=1; imf08.hostedemail.com; dkim=none; dmarc=pass (policy=none) header.from=arm.com; spf=pass (imf08.hostedemail.com: domain of mark.rutland@arm.com designates 217.140.110.172 as permitted sender) smtp.mailfrom=mark.rutland@arm.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1655735209; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=0z9V0FdzlT7VULt5XesPFhgk0Qd6EWYtWJfB7hriGko=; b=KHGDQxhkO+/drM39O84IdX68sSmdKr1JP2X7GqeRxeKTjINRLd+jbbvDnMCjn7TkoBJlvZ VWPqdBlKcTOk6+4aElbNBNrpDnmWQaAPJOAeOjwbdQ0Y8g01C+tiTj1ZU4ZIlU5lbrvUke hWen9aFdBHhVQih7pnwWDbst9auVGTM= X-Rspamd-Server: rspam01 X-Rspam-User: Authentication-Results: imf08.hostedemail.com; dkim=none; dmarc=pass (policy=none) header.from=arm.com; spf=pass (imf08.hostedemail.com: domain of mark.rutland@arm.com designates 217.140.110.172 as permitted sender) smtp.mailfrom=mark.rutland@arm.com X-Stat-Signature: gmntoy99k7appd7pa4ouwwopft1tpe1r X-Rspamd-Queue-Id: A072A1600A7 X-HE-Tag: 1655735208-496594 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Mon, Jun 20, 2022 at 10:13:41PM +0800, Tong Tiangen wrote: > > > 在 2022/6/20 17:10, Mark Rutland 写道: > > On Mon, Jun 20, 2022 at 10:59:12AM +0800, Tong Tiangen wrote: > > > 在 2022/6/18 20:40, Mark Rutland 写道: > > > The following errors are reported during compilation: > > > [...] > > > arch/arm64/lib/clear_user.S:45: Error: invalid operands (*ABS* and *UND* > > > sections) for `<<' > > > [...] > > > > As above, I'm not seeing this. > > > > This suggests that the EX_DATA_REG() macro is going wrong somehow. Assuming the > > operand types correspond to the LHS and RHS of the expression, this would mean > > the GPR number is defined, but the REG value is not, and I can't currently see > > how that can happen. > Now I can compile success, both versions 9.4.0 and 11.2.0. > > I should have made a mistake. There is no problem using your implementation. > I will send a new version these days. No problem; thanks for confirming! Mark.