Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp2860252rdb; Mon, 4 Dec 2023 09:20:20 -0800 (PST) X-Google-Smtp-Source: AGHT+IEWCSKI13PaaZlRFcUnoW4jMfYSwgYIWycqELJttgXk6ZPt0/mKVGpxYyHOPsCb/jeDmP8y X-Received: by 2002:a17:90a:9dc6:b0:27f:f655:e14c with SMTP id x6-20020a17090a9dc600b0027ff655e14cmr1735676pjv.42.1701710420105; Mon, 04 Dec 2023 09:20:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701710420; cv=none; d=google.com; s=arc-20160816; b=OxgDsGDqAxnOKXngrS4E/pHi9f4wxBPRXLJ4GBJyLbad12uxqCdfJYSijdCxHJl0VK sFKdErbpxvAaHhDwvCwg5r5x62r5Q1abl9zO9ph1GxhgjMsYwfAKXTYbxoFHx79IXebM vsGW5IcUNhXmv/9+7hu6S2McqzfxYvZwZo/YEFnpBlJ0yyJiHCHvguanZfnagGzkncxh aXGFtV4+lVyYLIwQc+q/vI7Yu7PC7RJ1u/eMUG10ziav9BoqGgQsB9EfbmtAe+VjkK2O kvI2kNSJUeIKZAvUrQTCXvcfVTC7q6zJHfK4I9lKfFw+yKi47ELmgEQxpr8BlyIRLN1s ZdQg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=r24l74ke135eOnsgIcfZ8Sr+B8HH879e37qRDOxAv8Y=; fh=8wcZyh0vHc4uwF7EB9IW1lbSLhBkNhH6PuC8RTxd/u4=; b=kgaB9Jqjod4ql/mN3eR9MvQnalMw1xpDm9YgqhLhPXK2DbmeVShVe63yDlO9ti3Kmc 5+yRGCON66qraOggnLTXxJCafbHXK2UN/p5WHd+2gEB2t5BpTSTrnjiak37gD7EnUKar ognjT0ID15fZtNwA+zeUDk7mhx3EhzkVGv9rL47oYAwqzpIsdQQ9HPHZ/5T4zy78Q35B j/7gt2OWzkzALRcNC1q0LXQu8VWq2WplXL4vkDS51z4BHeug1uUX4xkrk5HBFivaK91C kmPZBpOH9acF+2E5CnNz/ZujKsKR49Vf6gbPDjewQWfy2Jc5bz6Fe0RXyBsiXHo43IF9 BptQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id w7-20020a17090a8a0700b00286cd18da88si541246pjn.137.2023.12.04.09.20.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Dec 2023 09:20:20 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id A994A8061150; Mon, 4 Dec 2023 09:20:17 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231232AbjLDRUE (ORCPT + 99 others); Mon, 4 Dec 2023 12:20:04 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43012 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229485AbjLDRUC (ORCPT ); Mon, 4 Dec 2023 12:20:02 -0500 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 5A79383 for ; Mon, 4 Dec 2023 09:20:07 -0800 (PST) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 4FF4013D5; Mon, 4 Dec 2023 09:20:54 -0800 (PST) Received: from FVFF77S0Q05N (unknown [10.57.44.129]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 539833F6C4; Mon, 4 Dec 2023 09:20:06 -0800 (PST) Date: Mon, 4 Dec 2023 17:20:00 +0000 From: Mark Rutland To: Borislav Petkov Cc: Peter Zijlstra , X86 ML , LKML Subject: Re: [RFC PATCH] x86/Kconfig: Disable KASLR on debug builds Message-ID: References: <20231130120552.6735-1-bp@alien8.de> <20231130120831.GB20153@noisy.programming.kicks-ass.net> <20231130124909.GEZWiExTP4J1pjNxPq@fat_crate.local> <20231204154954.GDZW31IjgG6A0HSULH@fat_crate.local> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231204154954.GDZW31IjgG6A0HSULH@fat_crate.local> X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Mon, 04 Dec 2023 09:20:17 -0800 (PST) On Mon, Dec 04, 2023 at 04:49:54PM +0100, Borislav Petkov wrote: > On Mon, Dec 04, 2023 at 10:42:15AM +0000, Mark Rutland wrote: > > Later, in December 2016 we made KCOV adjust the address to remove the KASLR > > offset in commit: > > > > 4983f0ab7ffaad1e ("kcov: make kcov work properly with KASLR enabled") > > Neat trick, I should remember that. Might come in handy. > > > ... so I think that's been stale for ~7 years, and we just forgot to clean up > > the Kconfig.debug text. > > Ok, I guess you'll clean it up then. Sure; done: https://lore.kernel.org/lkml/20231204171807.3313022-1-mark.rutland@arm.com/ Mark.