Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp2682386pxb; Tue, 13 Apr 2021 07:46:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwaMPAP4Xo4ehjjuHi8SzilYrbGpuDGSLi3OiylOh+IEn+4cdRYsV/XGidrgZHi/e8riKtr X-Received: by 2002:a05:6402:b07:: with SMTP id bm7mr34649810edb.82.1618325186872; Tue, 13 Apr 2021 07:46:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618325186; cv=none; d=google.com; s=arc-20160816; b=geeZM/pm/MIC4S9FiFZkuXmgTU4OFWE5l2JO2nhCOx2pzk28wRDYhBH4vIZWkrx1hf KN7YMmd2+lRrxB6ta6IRqWOEwo8McdX0Tv/xLJHzza4I+weYddZRM1cAITFfagMIlMjh x3sqHAGaVMUL9yykp2OsGOYlsLy40eF4dr9XmSFGnsVFv9WGfZ4iMYTgJ9iGbWpYJfcs rP+rS08dKbOP4EjSc8FXwWp2daI5Pi07h9jjn72lapwxLmK7YiEMH/TQLlfsvOtDKnXg Og/KkdX6C3yr6DA+huh2w83ceQseAY4XaAAu2SRGKWniV6DbLO+WFqQXuxYn+G3/YmLc 5cuQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=SpXKnfKNI85YSrqCDD/bo0y4MVczHHOeUkNFNQa8LZE=; b=nQz5Z3CsGLMq1PQGW1a+LpfAbr0mII3XGNhlHVULaMvkMz7OXr7u4njG3zLMlDfr/h REGzzN7SGIt+ZVOZtzH7hNzIucAR+zhGlXtzlP0bzMDXJO4yPXkQrzaSAbDR4mse/0qO HPQVxZCZhvkJhMijEgHbrmDSZupTUdc4Kuh5kmHkpC2hts2X74hlCykrWVRBARPId16x ycK3yEyt6wck461M8TmvxbMq/Z8zrM44T9fIXZcYTGylZClTaBgDcmEFKdO7tUmTwM03 eons/G3PabgNKtaJwnmd9AYcTsdHsw6dKJCVZ9z3llLDY6Hjd3ZXgEDtoq50MncbbT3K jmNA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=sf3YGn4u; spf=pass (google.com: 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=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d3si10426587edr.484.2021.04.13.07.46.03; Tue, 13 Apr 2021 07:46:26 -0700 (PDT) Received-SPF: pass (google.com: 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=@kernel.org header.s=k20201202 header.b=sf3YGn4u; spf=pass (google.com: 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=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237024AbhDMLWb (ORCPT + 99 others); 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-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-kernel@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