Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp4972067rwb; Wed, 17 Aug 2022 08:54:48 -0700 (PDT) X-Google-Smtp-Source: AA6agR61YWoKLyElNHFvwMfcQZEp6RTyDWP46KrCkxc7YYOPKhqLe1jq95Ly0FZJk6xnYwEhUCtr X-Received: by 2002:a17:907:7241:b0:734:b282:184b with SMTP id ds1-20020a170907724100b00734b282184bmr17163554ejc.445.1660751688615; Wed, 17 Aug 2022 08:54:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660751688; cv=none; d=google.com; s=arc-20160816; b=og04bsqR3Ex4BvGXhZyU/XQoxm+OKLdVMMQyKTnFMGQhQZ9ZChiBsyryysRTJD2g6x DURUiubrcJ1gVdsF/jCYQPPZe82TOhRu0HptCmnvmi+Bum4827SA5EOTlkxYaviJ442W cKz+s/XovMyTf40y0pPxSD+9wAm0Tbrw+cH7XjIb4swyiIZ68zi+hLPMM7T4acW86qtV qzqK4d55IgTWavrb1R62VFDgAyMXean6vAvJVr8skc8FwNwBgNtjyX3QsVU2ujfPaXdt qMsbPiLGZ8k5bNl977rKHybeg69RUYmxTrAYIVSuJv8iRuCIdnuG+lenu4mhlT0gGyt4 2iNQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=YFXiivEa1thp76HEOsTq1dUt/kWdp3XVGsj/yFSZ7RE=; b=FhQNKMBng4Gdhpbk5fBVnG0KaiRl2v+bR2MzJ+eyofXA87Mzzegn+zzoKS92F81BTD edUQ2nT43pxqcN/anChhkEMnCSVFhCDoJ3oq6kUghcjOtykL33A4SlQsXkydEMDB0z6z xZSMTWWVuL6PEfm/yZ6QwjW4F76T72HomlZeYExNUaaka0cvP0UnCHsI9nTmgDysr6So 1H5V2xVK2tRhOWdr0WbSSfpjIqGNSgMNDT7egzOJnjkZVq3ZNWdO/2Lf30t6zB1QQzV5 pvs75Y/He9E9dc4JnWtaKqP3f4z9tF6VbE9ofWMsFsGY11lTMkF1Uy1Ju4bPEj3AdbUp VYOg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=bl0idNDN; 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 dm5-20020a170907948500b00738553043e5si8015864ejc.573.2022.08.17.08.54.22; Wed, 17 Aug 2022 08:54:48 -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=bl0idNDN; 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 S240374AbiHQO6q (ORCPT + 99 others); Wed, 17 Aug 2022 10:58:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46144 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240068AbiHQO6l (ORCPT ); Wed, 17 Aug 2022 10:58:41 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 58BB149B73; Wed, 17 Aug 2022 07:58:40 -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 dfw.source.kernel.org (Postfix) with ESMTPS id EB9616152A; Wed, 17 Aug 2022 14:58:39 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 94B1CC433D7; Wed, 17 Aug 2022 14:58:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1660748319; bh=UukA7zr2GtXoSZlWDUfpBufnEeeEq4BCJXJ2O44v+d4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=bl0idNDNtDHk1jVi8tNfuPNsj1odugEpueiUTjHfcUhceIdm1DeS40z+JZFuROjqj yfK4jdo7eLtF1Zde+VIbNJ62dalgWjU2OhApMt3AWgO81w/iboNW8+W1PhhkFM/44q bIjVCW1soZ32wjwxxz/PS4h6rmsP0/o2X98cRKaOwwU4KiLZ+wFFyzfYEPtm+6HQng Ogn7NP6J7pTsGHbEXwzYW00zp/96iCZmt+mfdIl1D/XESXnCncV7GEmRPVEXfSp9wb hQSWpFkkArIEpc1VYhfszhcvSBEBi03QwmuXe9Wwvm7FN2ClVNsv3E5UnSTr9MWPB3 CP9O8MV7riXzA== From: Will Deacon To: linux-arm-kernel@lists.infradead.org, Catalin Marinas , Lukas Bulwahn , Ard Biesheuvel Cc: kernel-team@android.com, Will Deacon , linux-kernel@vger.kernel.org, "Jason A . Donenfeld" , kernel-janitors@vger.kernel.org Subject: Re: [PATCH] arm64: adjust KASLR relocation after ARCH_RANDOM removal Date: Wed, 17 Aug 2022 15:58:32 +0100 Message-Id: <166074437048.1238547.17932971504421721818.b4-ty@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20220721100433.18286-1-lukas.bulwahn@gmail.com> References: <20220721100433.18286-1-lukas.bulwahn@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 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,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 On Thu, 21 Jul 2022 12:04:33 +0200, Lukas Bulwahn wrote: > Commit aacd149b6238 ("arm64: head: avoid relocating the kernel twice for > KASLR") adds the new file arch/arm64/kernel/pi/kaslr_early.c with a small > code part guarded by '#ifdef CONFIG_ARCH_RANDOM'. > > Concurrently, commit 9592eef7c16e ("random: remove CONFIG_ARCH_RANDOM") > removes the config CONFIG_ARCH_RANDOM and turns all '#ifdef > CONFIG_ARCH_RANDOM' code parts into unconditional code parts, which is > generally safe to do. > > [...] Applied to arm64 (for-next/fixes), thanks! [1/1] arm64: adjust KASLR relocation after ARCH_RANDOM removal https://git.kernel.org/arm64/c/ff5900092227 Cheers, -- Will https://fixes.arm64.dev https://next.arm64.dev https://will.arm64.dev