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 X-Spam-Level: X-Spam-Status: No, score=-5.5 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 51D9BC433E4 for ; Mon, 13 Jul 2020 14:39:14 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 1F25720738 for ; Mon, 13 Jul 2020 14:39:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729845AbgGMOjM (ORCPT ); Mon, 13 Jul 2020 10:39:12 -0400 Received: from szxga07-in.huawei.com ([45.249.212.35]:56962 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1729644AbgGMOjM (ORCPT ); Mon, 13 Jul 2020 10:39:12 -0400 Received: from DGGEMS409-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id B186E45549ECF17A744D; Mon, 13 Jul 2020 22:39:09 +0800 (CST) Received: from [127.0.0.1] (10.174.186.75) by DGGEMS409-HUB.china.huawei.com (10.3.19.209) with Microsoft SMTP Server id 14.3.487.0; Mon, 13 Jul 2020 22:39:01 +0800 Subject: Re: [PATCH v2 2/2] arm64: tlb: Use the TLBI RANGE feature in arm64 To: Jon Hunter , , , , , , , CC: , , , , , , , , , linux-tegra References: <20200710094420.517-1-yezhenyu2@huawei.com> <20200710094420.517-3-yezhenyu2@huawei.com> <4040f429-21c8-0825-2ad4-97786c3fe7c1@nvidia.com> From: Zhenyu Ye Message-ID: Date: Mon, 13 Jul 2020 22:39:00 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.3.0 MIME-Version: 1.0 In-Reply-To: <4040f429-21c8-0825-2ad4-97786c3fe7c1@nvidia.com> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.174.186.75] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Jon, On 2020/7/13 22:27, Jon Hunter wrote: > After this change I am seeing the following build errors ... > > /tmp/cckzq3FT.s: Assembler messages: > /tmp/cckzq3FT.s:854: Error: unknown or missing operation name at operand 1 -- `tlbi rvae1is,x7' > /tmp/cckzq3FT.s:870: Error: unknown or missing operation name at operand 1 -- `tlbi rvae1is,x7' > /tmp/cckzq3FT.s:1095: Error: unknown or missing operation name at operand 1 -- `tlbi rvae1is,x7' > /tmp/cckzq3FT.s:1111: Error: unknown or missing operation name at operand 1 -- `tlbi rvae1is,x7' > /tmp/cckzq3FT.s:1964: Error: unknown or missing operation name at operand 1 -- `tlbi rvae1is,x7' > /tmp/cckzq3FT.s:1980: Error: unknown or missing operation name at operand 1 -- `tlbi rvae1is,x7' > /tmp/cckzq3FT.s:2286: Error: unknown or missing operation name at operand 1 -- `tlbi rvae1is,x7' > /tmp/cckzq3FT.s:2302: Error: unknown or missing operation name at operand 1 -- `tlbi rvae1is,x7' > /tmp/cckzq3FT.s:4833: Error: unknown or missing operation name at operand 1 -- `tlbi rvae1is,x6' > /tmp/cckzq3FT.s:4849: Error: unknown or missing operation name at operand 1 -- `tlbi rvae1is,x6' > /tmp/cckzq3FT.s:5090: Error: unknown or missing operation name at operand 1 -- `tlbi rvae1is,x6' > /tmp/cckzq3FT.s:5106: Error: unknown or missing operation name at operand 1 -- `tlbi rvae1is,x6' > /tmp/cckzq3FT.s:874: Error: attempt to move .org backwards > /tmp/cckzq3FT.s:1115: Error: attempt to move .org backwards > /tmp/cckzq3FT.s:1984: Error: attempt to move .org backwards > /tmp/cckzq3FT.s:2306: Error: attempt to move .org backwards > /tmp/cckzq3FT.s:4853: Error: attempt to move .org backwards > /tmp/cckzq3FT.s:5110: Error: attempt to move .org backwards > scripts/Makefile.build:280: recipe for target 'arch/arm64/mm/hugetlbpage.o' failed > make[3]: *** [arch/arm64/mm/hugetlbpage.o] Error 1 > scripts/Makefile.build:497: recipe for target 'arch/arm64/mm' failed > make[2]: *** [arch/arm64/mm] Error 2 > > Cheers > Jon > The code must be built with binutils >= 2.30. Maybe I should add a check on whether binutils supports ARMv8.4-a instructions... Thanks, Zhenyu