From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 601B658ADD for ; Tue, 23 Apr 2024 09:40:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=45.249.212.187 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713865233; cv=none; b=RBTBlhNkgS6kampc1WwT539JP2hEjOA9WYCkpdzNaVk0hSZn+wwYEUNdwVNM1WdQj3Gn1hwR3rqYffj4WhQPVhfP9eiSf1T/6+vPz1gql09bRVgD9at51vw/uzWcKVkMIKqt3+007nd61q5VSCNDxr3vcx5jgG0tb8ornjAcqAM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713865233; c=relaxed/simple; bh=WSHzthjZepAMvwfbEx8NcTiLoGKmflWyRDbqNIWM2rE=; h=Subject:To:CC:References:From:Message-ID:Date:MIME-Version: In-Reply-To:Content-Type; b=S9Ru6V0x0AEX5JOxCV3VnCK5ewMDembNNQFALj0oQ4Vd/UlzEBqtQMbMl2D3OjYV7/IejU6LAPNdUvUEpp70DMdpx1M2srawMaI5aYYi+YsFxIlj9I8HOetCchYvrSNSwqpAqaB8fHFAcYp5OgTXfWJunx3VqkQ4x2LXcTJE5AM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com; spf=pass smtp.mailfrom=huawei.com; arc=none smtp.client-ip=45.249.212.187 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=huawei.com Received: from mail.maildlp.com (unknown [172.19.163.174]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4VNxq31Cy8zwTVG; Tue, 23 Apr 2024 17:37:19 +0800 (CST) Received: from kwepemm600007.china.huawei.com (unknown [7.193.23.208]) by mail.maildlp.com (Postfix) with ESMTPS id C3AB31403D4; Tue, 23 Apr 2024 17:40:28 +0800 (CST) Received: from [10.174.185.179] (10.174.185.179) by kwepemm600007.china.huawei.com (7.193.23.208) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.35; Tue, 23 Apr 2024 17:40:27 +0800 Subject: Re: [PATCH v4 12/15] KVM: arm64: nv: Add emulation for ERETAx instructions To: Jon Hunter CC: Marc Zyngier , , , , James Morse , Suzuki K Poulose , Oliver Upton , Joey Gouly , Fuad Tabba , Mostafa Saleh , Will Deacon , Catalin Marinas , "linux-tegra@vger.kernel.org" References: <20240419102935.1935571-1-maz@kernel.org> <20240419102935.1935571-13-maz@kernel.org> <14667111-4ad6-48d2-93ee-742c5075f407@nvidia.com> From: Zenghui Yu Message-ID: <4c2fd210-fa36-8462-8a4d-70135cc2f040@huawei.com> Date: Tue, 23 Apr 2024 17:40:22 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.9.0 Precedence: bulk X-Mailing-List: kvmarm@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 In-Reply-To: <14667111-4ad6-48d2-93ee-742c5075f407@nvidia.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-ClientProxiedBy: dggems702-chm.china.huawei.com (10.3.19.179) To kwepemm600007.china.huawei.com (7.193.23.208) On 2024/4/23 17:22, Jon Hunter wrote: > > Some of our builders currently have an older version of GCC (v6) and > after this change I am seeing ... > >   CC      arch/arm64/kvm/pauth.o > /tmp/ccohst0v.s: Assembler messages: > /tmp/ccohst0v.s:1177: Error: unknown architectural extension `pauth' > /tmp/ccohst0v.s:1177: Error: unknown mnemonic `pacga' -- `pacga x21,x22,x0' > /local/workdir/tegra/mlt-linux_next/kernel/scripts/Makefile.build:244: > recipe for target 'arch/arm64/kvm/pauth.o' failed > make[5]: *** [arch/arm64/kvm/pauth.o] Error 1 > /local/workdir/tegra/mlt-linux_next/kernel/scripts/Makefile.build:485: > recipe for target 'arch/arm64/kvm' failed > make[4]: *** [arch/arm64/kvm] Error 2 > /local/workdir/tegra/mlt-linux_next/kernel/scripts/Makefile.build:485: > recipe for target 'arch/arm64' failed > make[3]: *** [arch/arm64] Error 2 > > > I know this is pretty old now and I am trying to get these builders > updated. However, the kernel docs still show that GCC v5.1 is > supported [0]. Was just looking at the discussion [1] ;-) . FYI there is already a patch on the list [2] which should be merged soon. [1] https://lore.kernel.org/r/CA+G9fYsCL5j-9JzqNH5X03kikL=O+BaCQQ8Ao3ADQvxDuZvqcg@mail.gmail.com [2] https://lore.kernel.org/r/20240422224849.2238222-1-maz@kernel.org Zenghui