Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp2968770iog; Mon, 20 Jun 2022 08:28:24 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sxi+2TRgMZbFrOrC4yaE+CDLAbzdEh91ofauCGa5riYvh7MMmbXc+q4XMLJq1SjgGokpl9 X-Received: by 2002:a17:90b:314b:b0:1e3:1033:f555 with SMTP id ip11-20020a17090b314b00b001e31033f555mr38230885pjb.245.1655738904615; Mon, 20 Jun 2022 08:28:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655738904; cv=none; d=google.com; s=arc-20160816; b=J+5JhBufdoZ7GEjoWY9jDO/RkOWG9riqVf/oXymshKSf2/FcHNHFnwkDbSPMT4Tizi 8x3qiiqLbvKJ6APdkFvQEDYZOj6KJ2KQcGkJZ6f2VSegoe9EOZd3W0bKbB0Baa9R3k8K 5rm3kGuV/anH1L+kJWAhbujh7cBMxi9nG2Up14Tvh5jrwCcoIlG4JbK5Xwixhgz0sx2b Mf2AWmUzNALYEp7UAEA+zwFC+9L2L1zU3WzLkqgdPLYdKyQ8rYIBKFOJVIqKMpiYG1BO FtrQlBhPBf0s7yu+5NxG9wmGrmnzjWzf8MIpp8DtWTffB57mOZ506wGAVPEVktIQ41CJ 8SaQ== 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-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=0z9V0FdzlT7VULt5XesPFhgk0Qd6EWYtWJfB7hriGko=; b=TZ5QmSARgRKrBBRmVWYPcF4p0I0ih/RuTiUUl4j88sooQq9OrqCdFxXxrnA6jiEslQ EXA3xQSaD25A0Tx/wKJ2r4A4mAmot17Ivs+dqSP8WMCJmoxw68lQmU9w5XMitQ8yZtA2 smVlhBtt0aLXYZaUUFkNHw6CW+F2G0SEM7851dhb2Wf/0xx83/u6XCi58Ppl30BgObi6 stl2OUIiOBvdD5hMlzCqCluzvQxEO5Hyt4fa70qF1A2e5Yliy4YlDcrMFu34Q7n9+IIM BPDPn/HWQBdwpLZkPbX0WIWhB7PZ1PKlmA+4lcpgcZUckmvTI1LVPH0g0G0nkK0uRbub PDWA== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p3-20020a170902a40300b0015e9ff43b64si14488579plq.585.2022.06.20.08.28.10; Mon, 20 Jun 2022 08:28:24 -0700 (PDT) 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; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234773AbiFTPB2 (ORCPT + 99 others); Mon, 20 Jun 2022 11:01:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55768 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231754AbiFTPBJ (ORCPT ); Mon, 20 Jun 2022 11:01:09 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 16B5D2A24E for ; Mon, 20 Jun 2022 07:26:45 -0700 (PDT) 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> X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham 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 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.