Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp2625227pxb; Tue, 13 Apr 2021 06:31:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyp0MstKkMQqDIEGN7ScxVWZ0RHMInxbb+s44HWfS6aj6Vrde5NcweTkqZXgnyhXHbzJubH X-Received: by 2002:a05:6402:520b:: with SMTP id s11mr35417985edd.212.1618320669356; Tue, 13 Apr 2021 06:31:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618320669; cv=none; d=google.com; s=arc-20160816; b=Z3/o3s8wJwJG2qc7TKoA2WtPMa45kafCWuxNeTZ8UAg/TTtXLW3iHHu6O0XVddL0G5 pDd2887eM7i3Kek/qnALxjCY1XidxDjQIH2EXLA4mHbRLT6SVDnv67luHUeH84x9g3fi 8EbTGJ4YDJtHsFEcsxKU+PdMRh20JtUHTUW6YKPHf0Y/PP/W8vdLCm3C2ijtAzEhWE6k y1u6VbnsowUSgCiMHiIlTlLX1o62zPUS8SAUmoeDcxKpSoYhAcBe6/jKdzzXNPHbhhQD BdAQStUWIW69U7Vg6g4vWPTqpKigKa07q8K39UznUcxx5P6KPYJQ8ehNP6sQZvlFq7cv ZGKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:subject:cc:to:from:date :dkim-signature; bh=WWQ+Wh8XcXIN6MTfQwTduFSDpeQ6ZaR5q7FthOTGPAo=; b=ci274+nqaqVpowdNyYMb74tTMbD4tDKq+RCIBiswYyPcyEKUBPLIVrcPKYr8afwqHB bVQjXx+2nDDBBy+E40FvYKy3JHDldI5kGW6KW+PnXkWsKqGtrefYXv3HGTnxBy9YjB7D ybSA6ztUo3zG+bz4UO1T8mFwE4ER8OX62OmJs+zNAyKJB23EAYCBBhHDLto9oAibzKsh B6tJVQdX1WBP+/KTlZMXnx1KTI1K556MQtqgCGHF1zor+19yxknpCR8H8NB+Ldutb+A0 3OnBEo212PhfFKkNh/MIfwcK4c0XI8uOq/Ws1r9cJvFL5HMXb3XbIFxtvwjXJ7kJnn7Y nmjg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b="f/1b9EER"; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u24si10671001ejb.629.2021.04.13.06.30.44; Tue, 13 Apr 2021 06:31:09 -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=@canb.auug.org.au header.s=201702 header.b="f/1b9EER"; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245433AbhDMFnu (ORCPT + 99 others); Tue, 13 Apr 2021 01:43:50 -0400 Received: from bilbo.ozlabs.org ([203.11.71.1]:38463 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243542AbhDMFnt (ORCPT ); Tue, 13 Apr 2021 01:43:49 -0400 Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4FKDzb2SRVz9sVw; Tue, 13 Apr 2021 15:43:22 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=canb.auug.org.au; s=201702; t=1618292604; bh=tZ54/3ocfBoA6RPTXMtP3NOOQVJJEGcVSh2zdlv211k=; h=Date:From:To:Cc:Subject:From; b=f/1b9EERvihAO9fwjPRzur+F9rIKgJVjdZ8p9ozFuqNlzCSQvfv0ZKgzRMIWCGIfX /qzYp5aRq4pmbhZHlQO9d9DS+Y95CAu+wmCdTCuIDSP93VNU8+VD982yrrebhJY7J7 /q4vtx6aREa6UgaKx/oL4ks8Qzns18OwTxeQICFbcCjCAbxzzYrrfaWwBxY2XhmaQ3 gdICCUcSbjdvZKxgSvjW1BWbUyuUN/yhu/84EGLE6bfmRAO6dGGw+bwB1S3OeI+kU4 Ro6pKBqc/FwDR8kDKUZ1x7XBxuixQMvKcFMzzwBrqGathOkFn3y22xOB/eWoqq4714 vnILVX0bj8WNQ== Date: Tue, 13 Apr 2021 15:43:05 +1000 From: Stephen Rothwell To: Christoffer Dall , Marc Zyngier , Catalin Marinas , Will Deacon Cc: Ard Biesheuvel , Linux Kernel Mailing List , Linux Next Mailing List , Quentin Perret Subject: linux-next: manual merge of the kvm-arm tree with the arm64 tree Message-ID: <20210413154305.49442969@canb.auug.org.au> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/tvzh469tZ3+W4GMju+tgZ+i"; protocol="application/pgp-signature"; micalg=pgp-sha256 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --Sig_/tvzh469tZ3+W4GMju+tgZ+i Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable 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 and commits: 8f4de66e247b ("arm64: asm: Provide set_sctlr_el2 macro") 755db23420a1 ("KVM: arm64: Generate final CTR_EL0 value when running in P= rotected 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. --=20 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 =20 #include +#include + #include #include #include #include @@@ -701,25 -705,95 +714,33 @@@ USER(\label, ic ivau, \tmp2) // inval isb .endm =20 + .macro set_sctlr_el1, reg + set_sctlr sctlr_el1, \reg + .endm +=20 + .macro set_sctlr_el2, reg + set_sctlr sctlr_el2, \reg + .endm +=20 -/* - * 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