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=-11.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham 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 97023C433ED for ; Tue, 13 Apr 2021 11:22:12 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 75F96613B7 for ; Tue, 13 Apr 2021 11:22:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236737AbhDMLWb (ORCPT ); Tue, 13 Apr 2021 07:22:31 -0400 Received: from mail.kernel.org ([198.145.29.99]:37548 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231374AbhDMLW3 (ORCPT ); Tue, 13 Apr 2021 07:22:29 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 4B9D4613AB; Tue, 13 Apr 2021 11:22:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1618312930; bh=g+Amr+H6gpQzOmh2GqQCzZ+IAJiCYARTeXychT5XtQw=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=sf3YGn4uk2N3C3JzIqhU4R+Eury8HX1qFGok8bBk/9fItimrUXvaqUy/VtGwVa1Lg WBAz4+a8B8OTyrif9/oU3RF09oNDzrZ5nRJYp+SEYHnXYp/p6yRcRMrCaYfTeIzSIM xplyhVdC4D/0NI3vXjpRUd0aQPjtPJv4neca6vFtONfZLx4ttqdwPjVL8fJGQ8i+m1 DIEyOEhhjz0X9qXL+I8LEJ+admeF3/vCYAnmSa1PQXrbcp5v/dsRAdoo/6cfsnWsW+ MFCvb2pv8PnDsGSeFMXTHG521GH+SboYWPAxSS83QrxCphwoxO5y9JVhrpYn6cYVar 5vbbozq5SO49A== Received: by mail-oi1-f180.google.com with SMTP id x77so7254781oix.8; Tue, 13 Apr 2021 04:22:10 -0700 (PDT) X-Gm-Message-State: AOAM532ec/OHI45CL8fvfmInbZfr99MX2KgPF4Jkcy5qjYrIZVJ+INDi gx/S9+PagpaoYoBEH9j/NyJU3Yq5G80a+c1Q+Zo= X-Google-Smtp-Source: ABdhPJxHJu1n1Zki/tBkBHJoZcQlKLeFNnkHd7jV3/qdFkWLAWoB316ByyIxvRqq+W3RkxUZb0weJjx7RBqmW6VB1UE= X-Received: by 2002:a05:6808:4c3:: with SMTP id a3mr2875863oie.174.1618312929483; Tue, 13 Apr 2021 04:22:09 -0700 (PDT) MIME-Version: 1.0 References: <20210413154305.49442969@canb.auug.org.au> In-Reply-To: <20210413154305.49442969@canb.auug.org.au> From: Ard Biesheuvel Date: Tue, 13 Apr 2021 13:21:58 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: linux-next: manual merge of the kvm-arm tree with the arm64 tree To: Stephen Rothwell Cc: Christoffer Dall , Marc Zyngier , Catalin Marinas , Will Deacon , Linux Kernel Mailing List , Linux Next Mailing List , Quentin Perret Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-next@vger.kernel.org On Tue, 13 Apr 2021 at 07:43, Stephen Rothwell wrote: > > Hi all, > > Today's linux-next merge of the kvm-arm tree got a conflict in: > > arch/arm64/include/asm/assembler.h > > between commits: > > 27248fe1abb2 ("arm64: assembler: remove conditional NEON yield macros") > 13150149aa6d ("arm64: fpsimd: run kernel mode NEON with softirqs disabled") > > from the arm64 tree Those patches are on a topic branch 'for-next/neon-softirqs-disabled' in the arm64 tree, so probably best to just pull that into kvm-arm and fix the conflicts there. > and commits: > > 8f4de66e247b ("arm64: asm: Provide set_sctlr_el2 macro") > 755db23420a1 ("KVM: arm64: Generate final CTR_EL0 value when running in Protected mode") > > from the kvm-arm tree. > > I fixed it up (see below) and can carry the fix as necessary. This > is now fixed as far as linux-next is concerned, but any non trivial > conflicts should be mentioned to your upstream maintainer when your tree > is submitted for merging. You may also want to consider cooperating > with the maintainer of the conflicting tree to minimise any particularly > complex conflicts. > > -- > Cheers, > Stephen Rothwell > > diff --cc arch/arm64/include/asm/assembler.h > index ab569b0b45fc,34ddd8a0f3dd..000000000000 > --- a/arch/arm64/include/asm/assembler.h > +++ b/arch/arm64/include/asm/assembler.h > @@@ -15,7 -15,7 +15,8 @@@ > #include > > #include > +#include > + #include > #include > #include > #include > @@@ -701,25 -705,95 +714,33 @@@ USER(\label, ic ivau, \tmp2) // inval > isb > .endm > > + .macro set_sctlr_el1, reg > + set_sctlr sctlr_el1, \reg > + .endm > + > + .macro set_sctlr_el2, reg > + set_sctlr sctlr_el2, \reg > + .endm > + > -/* > - * Check whether to yield to another runnable task from kernel mode NEON code > - * (which runs with preemption disabled). > - * > - * if_will_cond_yield_neon > - * // pre-yield patchup code > - * do_cond_yield_neon > - * // post-yield patchup code > - * endif_yield_neon