Received: by 10.223.148.5 with SMTP id 5csp7980593wrq; Thu, 18 Jan 2018 12:04:24 -0800 (PST) X-Google-Smtp-Source: ACJfBot2/EkFwxyYZO3ruHjct0edBCWtop/rmhLwNXaotSAghfr9yQRJZz5C736vFHraQ3UfE1DK X-Received: by 10.101.81.7 with SMTP id f7mr38297423pgq.433.1516305864529; Thu, 18 Jan 2018 12:04:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516305864; cv=none; d=google.com; s=arc-20160816; b=O3lXyxepuhJwIjaOenCC5TmiWJZ6m0xKz537KCSKz/1bKaM8b65QeFm2UK8RLdJECE dFUW3+jo4+ZSzecEQob7Zw6S9FoxTMkQEOXWJYuNKIwgacr3R7BmXkZajYdjS1kSfKbw XFFOErIKbeSPBr0mfWgpiHG/WJU+4eCw6Xw/ih8b5vn3CLyu/IczZvsSGwXXx6LL0iOX eL/Ym01yE6gMebjUbmCdVLws/1iI3Drh9zkl7Ss1Bp7thbF0N+Nb8JrSGklkpVRmJhZK P8UiZJa2GD4CHb1qvvxhQCpnRwbYy4/Sx6ZTyLtK8OZsZmoaR2WK02ILmqMcXRjKLlzo djqg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=SjmhoRvhS24QK1Dw9CVJWW9/BsweWxRcOdezY+Jw8i4=; b=Pk8O2CQGaWXiC7d8j8wZbPj8iFhS5XbiOSQfjIHSwTYAW0eHKVZZgfo6tOkCQT0p2o h9yUS+CzId4bkFhjMtPgaB4VpspNnlMoY1+NeD2DIcgrUqO+7eJuU6XD/t8e/KphWFhv S629FUu2FHyoQLKEf7ZsiX3G2HDnBJv5XlUOK7nVwQht86hpZmsysWulo5k8FMpTPaPM 1hJWqqD5vFJZP3th0xyGSWMrMfYeQvX1qNgTcyW95TqxK751ndptA7/cZ9JwUeWiJ3vT fbGFwcBJ7Fm0XaJN/ZxRnSUvqk2XNv48tNbOk+1YFkeI0spKwKkvuOIzLMMItNi3Tr6x PMPA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=D53tPRWr; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b25si7643934pfc.241.2018.01.18.12.04.06; Thu, 18 Jan 2018 12:04:24 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=D53tPRWr; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932823AbeARUDK (ORCPT + 99 others); Thu, 18 Jan 2018 15:03:10 -0500 Received: from mail-qt0-f196.google.com ([209.85.216.196]:46065 "EHLO mail-qt0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932297AbeARUDJ (ORCPT ); Thu, 18 Jan 2018 15:03:09 -0500 Received: by mail-qt0-f196.google.com with SMTP id x27so25308219qtm.12 for ; Thu, 18 Jan 2018 12:03:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=SjmhoRvhS24QK1Dw9CVJWW9/BsweWxRcOdezY+Jw8i4=; b=D53tPRWrBM3JK+1PiHAhkapesAq0awcS/27lImvf/22hJ0Xq39K8XmncHMqG/sEXGA bpz6vcepuYScX8ORgKZx7Z/e/8MshCmr4q+NlM8QW+CoNed3FnOmDgvavu1HIMafQkom wMAxQAJDclrU2Y78/6Wl9OZb1L0T7NYIo1B10hELSlWXTY6g8LhuAfpW1a0XGmZUXXQr IB9COfZ4TvgNnUU2Eqn3ED/RpdgT5RD6dSuF+Fr5wWIITYIvEQc04LZX3HMzFm9Zbpbt QUv+bvas4vs4MkFtgU7A0u/qD3mP58BQx+BWTICNVTXaNdADsGTC34iO0qpPudwUfQMn gaUg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=SjmhoRvhS24QK1Dw9CVJWW9/BsweWxRcOdezY+Jw8i4=; b=qv5ElZ9Tup4rl7Q6tRVMowpQ+c/LsSleLBMxbr1b7sL7LAWJbpCL1MeE5SHejZ+BUR w6E0H5WydLzz59pWIaeJVkma7Dqvswjn9KzUa/aM8BMe+nL4PA8cbfGUUnv4n0PERsE8 pFu02OXGo8SHBOuR3ZZCXm+q4D+gZhYgtWUamGh9cldOAs7JMPNnGwfkH67Q9LeeD67D PIGf56NoNMUolgyk4Xp9Fiq3uw2UfFVAUGIBwVijIUgTN0RP67QIxTX0bYfdisEL3tAz ouca0HgLBLhvi2B4s7kP1yRVCVcH0ZQZr/CdSDLpEEln/rck+epsMoXGxwn1bLiPBwu7 DylA== X-Gm-Message-State: AKwxytcX9SHMoeBd7l4k+GAHCOK7w+Vc7/VkgwC/ttpZEatT+it6W/Ts 0DP0dgHz6RfeM2C4utpPKum5q6zgahA= X-Received: by 10.55.12.133 with SMTP id 127mr57669580qkm.69.1516305787986; Thu, 18 Jan 2018 12:03:07 -0800 (PST) Received: from [10.69.41.93] ([192.19.223.250]) by smtp.googlemail.com with ESMTPSA id p31sm5369434qta.77.2018.01.18.12.03.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 18 Jan 2018 12:03:06 -0800 (PST) Subject: Re: [PATCH 11/14] MIPS: memblock: Print out kernel virtual mem layout To: Serge Semin , ralf@linux-mips.org, miodrag.dinic@mips.com, jhogan@kernel.org, goran.ferenc@mips.com, david.daney@cavium.com, paul.gortmaker@windriver.com, paul.burton@mips.com, alex.belits@cavium.com, Steven.Hill@cavium.com Cc: alexander.sverdlin@nokia.com, matt.redfearn@mips.com, kumba@gentoo.org, marcin.nowakowski@mips.com, James.hogan@mips.com, Peter.Wotton@mips.com, Sergey.Semin@t-platforms.ru, linux-mips@linux-mips.org, linux-kernel@vger.kernel.org References: <20180117222312.14763-1-fancer.lancer@gmail.com> <20180117222312.14763-12-fancer.lancer@gmail.com> From: Florian Fainelli Message-ID: Date: Thu, 18 Jan 2018 12:03:03 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 In-Reply-To: <20180117222312.14763-12-fancer.lancer@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 01/17/2018 02:23 PM, Serge Semin wrote: > It is useful to have the kernel virtual memory layout printed > at boot time so to have the full information about the booted > kernel. In some cases it might be unsafe to have virtual > addresses freely visible in logs, so the %pK format is used if > one want to hide them. > > Signed-off-by: Serge Semin I personally like having that information because that helps debug and have a quick reference, but there appears to be a trend to remove this in the name of security: https://patchwork.kernel.org/patch/10124007/ maybe hide this behind a configuration option? -- Florian