Received: by 2002:ac0:da4c:0:0:0:0:0 with SMTP id a12csp744026imi; Thu, 21 Jul 2022 10:04:23 -0700 (PDT) X-Google-Smtp-Source: AGRyM1urHAcSnk541LHttiMUStoDD60UKryE73mqY9nqBqGAcen8TU6ffXKIO9jecl8XCm8Y7oeT X-Received: by 2002:a50:ec99:0:b0:43b:b6ca:ba13 with SMTP id e25-20020a50ec99000000b0043bb6caba13mr13118664edr.360.1658423063052; Thu, 21 Jul 2022 10:04:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658423063; cv=none; d=google.com; s=arc-20160816; b=v6R3X9z9j2wii6VF0xtbFQ1hcucPmW1PIeysVgG4xfjreeaWZv3TKY8NzinzKEL2e3 jbL/eg9u50vwAkD7jHgODLrva5FhttYgukhHjJ6RNZP+y5n3mpmQHq7t2idAqDB4bzEU ZAKf1fNbVFDbROZh3TQJdDACzGpbQgqQmHzvlvBZSnc6p9zSdXXwKlbBVUhpnNpkhyVr kowAn0l6MyIw/PMrCrIil5EJ92xw1SC6Z9QQS2gjhFjnQCL888mMAyblP/akv9q9vsvb FmYeasGtPakB8vYKzM1Msp7hDYyyRmClLIwjRMYww1HJP/c+rpe4cFnEAva8TeE0QR4M Em7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=NOVwJ6E3MJoZUmaae4d2cIPXylAeXIyBfm4dBggpG20=; b=ZiwGHdijpKjsb2Pli/USFqytx5dfGY8/GXPIyBu8kkuj3QqIL1MAq6rV/c/ExIpmQp Eacl8noVScnx/qwiIKyeEPnQnRZKFx9sbo686OtktoTjOfQ+UYBIY261C7vlFyGm5wSS GBkVRPBWYRb2RXWmEs/oE7DLvdHL8JzJEezCW/GPAaO/+gc7b5/YV0KrWbqjDEs2kAH/ xrCjZtbbi7C82BzZ973B9eduX3+obRFTBicmyD1llhO+32e+n/L16g3AMizhAKG841uP VIuXSLlZcXtcii7LfAGvjq/holYoFmctbTO0kTuJgl6ruB0/HxA60S29qslnOEXxDWQV cxvQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=e2BkRgff; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ho9-20020a1709070e8900b007263068d526si3850064ejc.574.2022.07.21.10.03.56; Thu, 21 Jul 2022 10:04:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=e2BkRgff; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S233715AbiGUQRL (ORCPT + 99 others); Thu, 21 Jul 2022 12:17:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42948 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233883AbiGUQQy (ORCPT ); Thu, 21 Jul 2022 12:16:54 -0400 Received: from sin.source.kernel.org (sin.source.kernel.org [145.40.73.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 025878BABD; Thu, 21 Jul 2022 09:15:50 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sin.source.kernel.org (Postfix) with ESMTPS id 50D06CE2665; Thu, 21 Jul 2022 16:15:06 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1EE73C3411E; Thu, 21 Jul 2022 16:15:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1658420104; bh=bc+HNadWZW5/Ebtg39b5IGqTWAWv9J8k07Uo8LXCfew=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=e2BkRgffYqa1p0Ky6qJNOMVTlJp4lZExi6dbD0hPpPrBciRvRQBaV960i8l4PIEYY 4gNnbR0fq1l04GziqepX2uFXK3zboi7aNBlyFi4//ByHPgq97wgYWIlunTszyjmyf2 4rSp7iOqeQNOa/HyuzmhKWeaG1Re8dHRPWoOAbf/gHyCfigHEDbYfHWH136PVW8IEp //0oi24afVkFn+Wntc4eVkZ0AbLbWQHbuQgxIZAjv9hTFeZwBddLZ89KZQqgNkTjK9 hhveIweq0F0ddhSamlvu+6u0fjlUWExrBdpyqu5CT0sI/Ei62Qhq2WvkZYQ5wtrbFZ qRLDJBQ+WYCXQ== Date: Thu, 21 Jul 2022 17:14:58 +0100 From: Will Deacon To: Stephen Rothwell Cc: Catalin Marinas , Ard Biesheuvel , Linux Kernel Mailing List , Linux Next Mailing List , Peter Collingbourne Subject: Re: linux-next: manual merge of the arm64 tree with the arm64-fixes tree Message-ID: <20220721161458.GA17567@willie-the-truck> References: <20220721094512.5419f75f@canb.auug.org.au> <20220721204517.53bab2a3@canb.auug.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220721204517.53bab2a3@canb.auug.org.au> User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Status: No, score=-7.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Stephen, On Thu, Jul 21, 2022 at 08:45:17PM +1000, Stephen Rothwell wrote: > On Thu, 21 Jul 2022 09:45:12 +1000 Stephen Rothwell wrote: > > > > Today's linux-next merge of the arm64 tree got a conflict in: > > > > arch/arm64/kernel/head.S > > > > between commit: > > > > f7b4c3b82e7d ("arm64: set UXN on swapper page tables") > > > > from the arm64-fixes tree and commits: > > > > e42ade29e3bc ("arm64: head: split off idmap creation code") > > c3cee924bd85 ("arm64: head: cover entire kernel image in initial ID map") > > > > from the arm64 tree. > > > > I didn't know if the change from the former was still needed after the > > changes in the latter, so I left it out for now. > > OK, so my arm64 defconfig build produced these errors: > > arch/arm64/kernel/head.S: Assembler messages: > arch/arm64/kernel/head.S:334: Error: immediate cannot be moved by a single instruction > arch/arm64/kernel/head.S:343: Error: immediate cannot be moved by a single instruction > arch/arm64/kernel/head.S:354: Error: immediate cannot be moved by a single instruction > arch/arm64/kernel/head.S:379: Error: immediate cannot be moved by a single instruction > arch/arm64/mm/proc.S:296: Error: immediate cannot be moved by a single instruction > > So I tried this patch: > > From: Stephen Rothwell > Date: Thu, 21 Jul 2022 20:21:36 +1000 > Subject: [PATCH] fixup for "arm64: set UXN on swapper page tables" > > Signed-off-by: Stephen Rothwell > --- > arch/arm64/kernel/head.S | 8 ++++---- > arch/arm64/mm/proc.S | 2 +- > 2 files changed, 5 insertions(+), 5 deletions(-) > > diff --git a/arch/arm64/kernel/head.S b/arch/arm64/kernel/head.S > index cefe6a73ee54..aa7c58689f68 100644 > --- a/arch/arm64/kernel/head.S > +++ b/arch/arm64/kernel/head.S > @@ -331,7 +331,7 @@ SYM_FUNC_START_LOCAL(create_idmap) > adrp x0, init_idmap_pg_dir > adrp x3, _text > adrp x6, _end + MAX_FDT_SIZE + SWAPPER_BLOCK_SIZE > - mov x7, SWAPPER_RX_MMUFLAGS > + mov_q x7, SWAPPER_RX_MMUFLAGS [...] I think Marc posted something similar here: https://lore.kernel.org/r/20220721124244.903567-1-maz@kernel.org but in further discussion offline (and echoed on that thread), we've decided to drop f7b4c3b82e7d ("arm64: set UXN on swapper page tables") for now; the issue it addresses doesn't affect the hardware which is readily available at the moment so we'll just get it into -stable instead rather than disrupt everything at this stage in the release cycle. > So I gave up and left arm64 broken for today :-( No problem, thank you for trying and hopefully it will be better tomorrow once we've dropped that commit. Will