From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id BAF3AC5519F for ; Wed, 18 Nov 2020 19:15:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 41E1A2223D for ; Wed, 18 Nov 2020 19:15:36 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="j88TbSW/" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726666AbgKRTPf (ORCPT ); Wed, 18 Nov 2020 14:15:35 -0500 Received: from mail.kernel.org ([198.145.29.99]:34714 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725772AbgKRTPf (ORCPT ); Wed, 18 Nov 2020 14:15:35 -0500 Received: from willie-the-truck (236.31.169.217.in-addr.arpa [217.169.31.236]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id E65EE221EB; Wed, 18 Nov 2020 19:15:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1605726934; bh=rMQuX91lkr1RJsgraomQtcqKiNK07EY/h76cse3JGTY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=j88TbSW/tQkQoWlyacSPlGYSeZ2VK/zZpBG0BVMtkWwXkZ9T/R0b7BhPgRkay9dmH PYhH4EkfQ5yrW2DTH173GgwdfMvhZinDUiChfmVohySyGHeM03ddw38gpBfQwQRoHs sH9k02h3Ip5GYnnuFnTuqCWhC8NENYgc6c4Dc7qw= Date: Wed, 18 Nov 2020 19:15:29 +0000 From: Will Deacon To: Mike Rapoport Cc: Barry Song , catalin.marinas@arm.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, akpm@linux-foundation.org, anshuman.khandual@arm.com, linuxarm@huawei.com Subject: Re: [PATCH] arm64: mm: add support for memmap kernel parameters Message-ID: <20201118191528.GA2680@willie-the-truck> References: <20201118063314.22940-1-song.bao.hua@hisilicon.com> <20201118173854.GA8537@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201118173854.GA8537@kernel.org> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Nov 18, 2020 at 07:38:54PM +0200, Mike Rapoport wrote: > On Wed, Nov 18, 2020 at 07:33:14PM +1300, Barry Song wrote: > > memmap should be an useful kernel parameter which has been supported by > > x86, mips and xtensa. > > Why is this parameter should be useful for ARM64? > My understanding is that it is required only to work around really > broken bootloaders, isn't it? Agreed, I can't see this being something we really want to support. If it turns out that it is generally useful, then the implementation should probably be somewhere outside of arch/ where I don't have to look at it :) Will From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C3147C5519F for ; Wed, 18 Nov 2020 19:16:04 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 3A679221EB for ; Wed, 18 Nov 2020 19:16:04 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="xROtxxVn"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="j88TbSW/" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3A679221EB Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=K0w1tWrV5GAQBW/oKSTFIexB42vvurC+Nl8/2gURytI=; b=xROtxxVnOfl7DM15JN4VFYtbS uqTYAUEgWwVr7PSgiRbd980SSrRCHKV41TtOimdbHxu9QcDCF6muQ0zLqpnMebg1tMwDSug8Ke4OK NB5DmdvTAsFyRv3jjk6lrndvOeyeE/4cW4JrF+9W8WXmzBbpJ3cfJvpWcOBylLXD/wrLKIV1AVKMv Wr+LKmLG+FRxxAtRIqqo9x11kEYr3R+4OKybnWBN7DpXdUciI2H/m4L8NcEpuY4CO/uFIulE7jQtb ldVAIj4EDinyG//uFADA0k3+ikJJA2ZL1LQ4KNDam3SFm12BYuf5BdMpKdjjaSvuI1xSlqCT6a7gC fDHxP7TJQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kfSvZ-0005HG-TA; Wed, 18 Nov 2020 19:15:37 +0000 Received: from mail.kernel.org ([198.145.29.99]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kfSvX-0005GO-Se for linux-arm-kernel@lists.infradead.org; Wed, 18 Nov 2020 19:15:36 +0000 Received: from willie-the-truck (236.31.169.217.in-addr.arpa [217.169.31.236]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id E65EE221EB; Wed, 18 Nov 2020 19:15:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1605726934; bh=rMQuX91lkr1RJsgraomQtcqKiNK07EY/h76cse3JGTY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=j88TbSW/tQkQoWlyacSPlGYSeZ2VK/zZpBG0BVMtkWwXkZ9T/R0b7BhPgRkay9dmH PYhH4EkfQ5yrW2DTH173GgwdfMvhZinDUiChfmVohySyGHeM03ddw38gpBfQwQRoHs sH9k02h3Ip5GYnnuFnTuqCWhC8NENYgc6c4Dc7qw= Date: Wed, 18 Nov 2020 19:15:29 +0000 From: Will Deacon To: Mike Rapoport Subject: Re: [PATCH] arm64: mm: add support for memmap kernel parameters Message-ID: <20201118191528.GA2680@willie-the-truck> References: <20201118063314.22940-1-song.bao.hua@hisilicon.com> <20201118173854.GA8537@kernel.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20201118173854.GA8537@kernel.org> User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201118_141536_018169_33A0690E X-CRM114-Status: GOOD ( 15.73 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Barry Song , anshuman.khandual@arm.com, catalin.marinas@arm.com, linux-kernel@vger.kernel.org, linuxarm@huawei.com, akpm@linux-foundation.org, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, Nov 18, 2020 at 07:38:54PM +0200, Mike Rapoport wrote: > On Wed, Nov 18, 2020 at 07:33:14PM +1300, Barry Song wrote: > > memmap should be an useful kernel parameter which has been supported by > > x86, mips and xtensa. > > Why is this parameter should be useful for ARM64? > My understanding is that it is required only to work around really > broken bootloaders, isn't it? Agreed, I can't see this being something we really want to support. If it turns out that it is generally useful, then the implementation should probably be somewhere outside of arch/ where I don't have to look at it :) Will _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel