Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp4406550ybb; Tue, 14 Apr 2020 06:44:40 -0700 (PDT) X-Google-Smtp-Source: APiQypJ2dH6M9viAQGAQ7T0yxt9Bx9t8cajXR9/T7MnxG423dQw4qZLmSrytPe4odAf4bFhAT4bO X-Received: by 2002:a17:906:9a2:: with SMTP id q2mr178802eje.244.1586871879953; Tue, 14 Apr 2020 06:44:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586871879; cv=none; d=google.com; s=arc-20160816; b=gerMfNZZzrKIigKYO3rkZlbNFPCzyJhQjgOpKw8CYEI7eG+/J5tmubzZXNjWFEh57e 4rbsCmW/I8sHqk7wosgoUL2snrU6mezwFW4mgOQjUlF2lquw7epQqyhvr7rf102luceB g8Ih1zRHB1dGB/4iKF2uAr8i0QXAzO4mcRg/wRt5XFqfJTnufqEHsijLNogNtMIBog/D XUyZQf2ihGRQUiWvayoi6nQmXkUXx3DimnH1ZaseBaCpUvrqJbZHhY68LVmbP3W3Wj8S Mtc0x3dWq1pueu9Ldh/sCoxqHD7gkRqVMbQEFIG/DRnOhQqNAsYuNC8bZrFuH962yUsW 73tw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=lMPIRjn0PE7jnqkkSuf3FQb+qv7klZT/6x17CMWdL34=; b=ky+Iy3n+SHIkTcltqybKKUha/5Id4t5H9WdWE+1qLc5C3U8fi4RxVtrif+IQ5ZOJ0l rC1KpS/EApVPYQKO1dfKuhouUbwGA8xQ6f4PyWC7mFBjGiZIDKnk2sx/MYaknpeB2ljX tppCGeiywA06bj5Id9YrN0UAeHSoMTRM3Indx4K9130uwpGytnzUImmnZNPwnoPGemlj wv/7zQZRdttLXQCd9yFb02dByZa3Z4emyxxIQQE8Dp1CoK393fdgB0hgUluP4yrWP8eM i1Fcjry1NU+euy2faROfhioRFxYpRIAFy+VwdkMZzO0MKW5gk+nUCiRRHpPWanFBnagL l3BA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=d9NwDt3I; spf=pass (google.com: best guess record for 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k15si4473586edk.194.2020.04.14.06.44.16; Tue, 14 Apr 2020 06:44:39 -0700 (PDT) Received-SPF: pass (google.com: best guess record for 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=@google.com header.s=20161025 header.b=d9NwDt3I; spf=pass (google.com: best guess record for 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390011AbgDMXhY (ORCPT + 99 others); Mon, 13 Apr 2020 19:37:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39694 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1727839AbgDMXhX (ORCPT ); Mon, 13 Apr 2020 19:37:23 -0400 Received: from mail-pg1-x544.google.com (mail-pg1-x544.google.com [IPv6:2607:f8b0:4864:20::544]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 86A1EC0A3BDC for ; Mon, 13 Apr 2020 16:37:23 -0700 (PDT) Received: by mail-pg1-x544.google.com with SMTP id d17so5196825pgo.0 for ; Mon, 13 Apr 2020 16:37:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=lMPIRjn0PE7jnqkkSuf3FQb+qv7klZT/6x17CMWdL34=; b=d9NwDt3IHShJ2ZFMU0WdEcCis4G+93NeL33oosLAJ0QBuuU2m6PWo3KMjSfpLJlU4I t06sp32EumYZEhSVDRcWGyPkyeetQP8+MvbdwRXYykzoH3+AITWvVP64YO93bwnOJxLF D5KfnhButbLosSN8/qU629tHEf6ViakscnvvxpZ3hhQXplpdLVNheOPeHCaq8xhmjbzn s6Z9ObCL9VQ4ioIaVHFzpurAEI0OZDQEdMmeCPFrIo58ZFT/7Xe0wdFRaU5Vdi3dQhlc rYQcrSsUKZOdKvzTe+NmJgyRZz7G74rogHaSGx7C4MrN6k8npbyfw+gF6whUx0hQek9X eQOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=lMPIRjn0PE7jnqkkSuf3FQb+qv7klZT/6x17CMWdL34=; b=BaTPtu9NG5Fg2c7j4bJGj1CUziAn70yLYBnY9lpfqydrd3VjcB9qPaBr4HxUQwVJJx TlJ0+WOp6o3u+AbqmQ9uIVDu7FmPDw7A/Jk+VqryykgLYtnSQPpySH4KuCwEFRQKWqX+ aUYQ0I2WCb+1LYZH1bcEA+C0C5LTikmNuRHPzCz1Wz+/CKU53eBSZM6eSQjh4nfa7ycM tHKnXgk6NfUE2KN2lEMH57KX6qPzSuucYa5bRQZob4mEi0AjAXLRvnj0Pf/4xpOl7IRh D3S1ziPTuKEmZtRM2TKs7BZWrgG6NsEz0JWVrLk0lc4ccLEHex43V3OeOnbXa+kAG35u mD/Q== X-Gm-Message-State: AGi0PuYkZqZm+ExTefMK2qOtWGb+2bZdYdIL8C6j6/+8ZZeepJDSuVsF aIB2nRZAxhg5wO4s5ga4+ZpH7Q8w3c+G/C/EXodCBtXTfnw= X-Received: by 2002:a63:6604:: with SMTP id a4mr18265124pgc.381.1586821042616; Mon, 13 Apr 2020 16:37:22 -0700 (PDT) MIME-Version: 1.0 References: <20200413231016.250737-1-maskray@google.com> In-Reply-To: <20200413231016.250737-1-maskray@google.com> From: Nick Desaulniers Date: Mon, 13 Apr 2020 16:37:10 -0700 Message-ID: Subject: Re: [PATCH] arm64: kvm: Delete duplicated label: in invalid_vector To: Fangrui Song Cc: Linux ARM , kvmarm@lists.cs.columbia.edu, LKML , Catalin Marinas , Marc Zyngier , Will Deacon , clang-built-linux Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Apr 13, 2020 at 4:10 PM Fangrui Song wrote: > > SYM_CODE_START defines \label , so it is redundant to define \label again. > A redefinition at the same place is accepted by GNU as > (https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=159fbb6088f17a341bcaaac960623cab881b4981) > but rejected by the clang integrated assembler. > > Fixes: 617a2f392c92 ("arm64: kvm: Annotate assembly using modern annoations") Thanks for the patch! I think a more accurate Fixes tag would be: Fixes: 2b28162cf65a ("arm64: KVM: HYP mode entry points") With this patch applied, and your other arm64 integrated assembler patch (https://lore.kernel.org/linux-arm-kernel/20200413033811.75074-1-maskray@google.com/T/#u), I can now assemble arch/arm64/kvm/. Reviewed-by: Nick Desaulniers Tested-by: Nick Desaulniers > Link: https://github.com/ClangBuiltLinux/linux/issues/988 > Signed-off-by: Fangrui Song > --- > arch/arm64/kvm/hyp/hyp-entry.S | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/arch/arm64/kvm/hyp/hyp-entry.S b/arch/arm64/kvm/hyp/hyp-entry.S > index c2a13ab3c471..9c5cfb04170e 100644 > --- a/arch/arm64/kvm/hyp/hyp-entry.S > +++ b/arch/arm64/kvm/hyp/hyp-entry.S > @@ -198,7 +198,6 @@ SYM_CODE_END(__hyp_panic) > .macro invalid_vector label, target = __hyp_panic > .align 2 > SYM_CODE_START(\label) > -\label: > b \target > SYM_CODE_END(\label) > .endm > -- > 2.26.0.110.g2183baf09c-goog > -- Thanks, ~Nick Desaulniers