Received: by 2002:a05:6500:1b8f:b0:1fa:5c73:8e2d with SMTP id df15csp622676lqb; Wed, 29 May 2024 06:12:20 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUiiZzoHdgwiAkbYV9FN56hJgCU0JVUJLORW2TNWrXoxsVOAkteZWGMiThBKvkQNy/AiZn7OUM82hIX621AdvPqa6bgpg1Dxk7V3RhW6w== X-Google-Smtp-Source: AGHT+IFtq2rclggyqDbCN24xqb9fCjMGFnpBXQFs9JW7J7IIoGGsU3m51d4t1JFz4Unq/uX7j+bK X-Received: by 2002:a17:90a:b898:b0:2ac:40c8:1ed3 with SMTP id 98e67ed59e1d1-2bf5e170d8bmr14251011a91.5.1716988340009; Wed, 29 May 2024 06:12:20 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716988340; cv=pass; d=google.com; s=arc-20160816; b=gfAQYfVmAv5cmi/C3EjXI6dFIoNkN2q4KFaJI2oitJCY+F4HJjbAeFaSbx0w1MORTK qhmJGHQf9N1WL/DXyGbYJpUqhiVMrdg2rlgmSgQmN+aDdUt1ZE8mCr0KlLAltUy9aRI0 7cAO/IuhvfbtiPUPQ42xFNUdFoj7oaxCu/jUQPu/ANCNm1B5AHGRVxuOqyPFTy+DdmiV XnIkWQI70RfVfBvC7xd203uHZyYaqLInniHMBHXilFZtf6L28EuXBFVXVUj7CbPCkoA+ K7mvVYayvb9RAuPtZyOm9PR6rtP762qX8LX3MideH36yvYK7zxnNhclNHnQn260jczQo BfrQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=9dyAFBwewJ+RHjYJS8brY7i+iKSDpb+pqY0B3wakOdQ=; fh=pK4voaUL8K+bPRHE5M8OQAzRrqV0d4feYGQWxSSvXhc=; b=QXaUVt7PVnMqnLBZMhToR6S5Jy4BdYvq9KSL1PouUpHzFsBZaVGNH01O4UIjyShYvR JHzxsB0fLzGwGFz/dkHTuLhBsfSbvbAyi8iQaOa2Ze90FyTGFo5fvFvIMJ+6mScVEGy2 lsHL7pvaKPIFykTSSVxHXrWZGKniRbXUjj8m4dY/NNIohassTu4dveRxxKVUl2/Jee0Q dwg53FM9926woWitZVpsGNM10xdl/otscyMOwOB3VWL3w8WiojQZgoGXDsWl0klqLaJj JjBoygVFFtWZOlK9fakEMgrU/LoUs1LXevO0ojrBgY/FxDf8402zk7BepT1tU5Fm1CwO aRTA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=SMwr4x20; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-194132-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-194132-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id 98e67ed59e1d1-2bff2a8e5ddsi4643266a91.152.2024.05.29.06.12.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 May 2024 06:12:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-194132-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=SMwr4x20; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-194132-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-194132-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id E6F3A2863D2 for ; Wed, 29 May 2024 13:10:49 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2F3C9E542; Wed, 29 May 2024 13:10:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="SMwr4x20" Received: from mail-wm1-f52.google.com (mail-wm1-f52.google.com [209.85.128.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E70A9DDAD for ; Wed, 29 May 2024 13:10:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.52 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716988244; cv=none; b=UUm+l2nep5EwDK7ys6Rz5h/pX3PRllj4TZrr8PpFXUUFV8oY7ArKn5BNZyEBJfTdBR8r25m9MXZOCy1xIRlWLXEEpfk9XoSpu7l99nJ2r97SmSUVYcav+6YAEV5Lwyu9EYzKDIc9OWRqghRnA9uCLrcor/teWwEbnciACLgpkDE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716988244; c=relaxed/simple; bh=cLMWqTZ4eP4dETUfafvDYBzH6ujk3BWpl5aJZcG0BWc=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=pEF+ZXBn23+fpYhNb/sIBwbMZFQu8ttSP6TDgeqhDidlOd5aLphK9ksA5kI2ckiyjzea0xTclywPZwWumjQ8LpqqKBd2i7brBS50BhwFvj+TQdmspPxanD/lmgWsjjjHWpP9u3WXoAWSP53hQ2tjIZQvEW+Mf6xbbYn5u9ekZ94= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=SMwr4x20; arc=none smtp.client-ip=209.85.128.52 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-wm1-f52.google.com with SMTP id 5b1f17b1804b1-4211fb904a8so2843985e9.2 for ; Wed, 29 May 2024 06:10:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1716988241; x=1717593041; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=9dyAFBwewJ+RHjYJS8brY7i+iKSDpb+pqY0B3wakOdQ=; b=SMwr4x20r+cpyxpq22s/pXt0e1geWqQsR9cVjS1DatdlIl8BRx+fANBywZVbQkIE1S aQZz7GM6sq4Gj7u24OydHLUa7v73yOo7+waNeVTTgp3r4R1OIECF0GNFGIDpuTElJxuN E2vzgLhQ6NH3qOnXGvmN1G4jGRpiiaq3Y0v3ZTGCQiUkfCQ7Wf7lYSsDb5FjlpEe82uq YjGjJO9nQ+7sVLR44zUC7DkAQsK3hBbYekuqjZYcb48KXHHz+ISniLkrcO9bRppMG7jS O98+WoTuDeuZKsHVKJ025Kd/Aj+OLbwG7NJjNZPYHHIth0Pygj0Vtlx/Guo7LBJxSqZf d6pA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716988241; x=1717593041; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=9dyAFBwewJ+RHjYJS8brY7i+iKSDpb+pqY0B3wakOdQ=; b=HNHoN7f46WitOk9PTz9CwanwatPRSdjeR5mY1fZrMJgFIhyraz3w/+Fc2YlyJ4JWgn xnkakMgRTb/uWa7RDEpDWPyB2jR5/d/1/LsrnZkGnc7J5rR+ydN+WyPksVBhcdBthkJX siSyyhcV43qOdMgvVvlozcCFnvxhavYRoOFyyWPjchLM+lrCZ/loDnjMxpce087YcFQt 8wJ+N6fbznTZcV19lrbsEprfh294VEE4BQci1RmT0dQ9rTpapfWGrB4luz6FSn+hYyeH y9rHDtKvzFEoIRyZ+vN6jzCPaGql2aOcHIlUe1TnxMSeLDp5WSv0WcXETH6CUw8sfUGR 52tQ== X-Forwarded-Encrypted: i=1; AJvYcCXf3QmMvONXEUCMURjnT3z9TCJcASGiBSgdobyn/ObTiAlN5D/Tq5gU12wkA3r/8XhdkBf5noBZGMtFWHD/ooZgmkDczZOkaPCxgQkd X-Gm-Message-State: AOJu0Yxy8WhBs0OZ8GtKpT11L8DunrMs0Trc+f7vCNBkst7sJ26dz8vg vf+ddTTYCFSScWDZ3hwipGzSVkk9RXAI/Ma5J+pFkNxkMDiwmSHSjhTPj6i/QSBpVB6VAkJhgoc oQjZWB0vxKBUo8p3xEsxUvlKpmqc= X-Received: by 2002:a5d:5309:0:b0:34d:b5d6:fe4b with SMTP id ffacd0b85a97d-3552fe02ee8mr10973005f8f.4.1716988241174; Wed, 29 May 2024 06:10:41 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240521023957.2587005-1-jaewon31.kim@samsung.com> <20240521025329epcms1p6ce11064c0f0608a0156d82fda7ef285c@epcms1p6> <20240521101753epcms1p50443f6b88adea211dd9bbb417dd57cb1@epcms1p5> <20240524090715epcms1p274939a1d5954be3423f6ce14a3df6f92@epcms1p2> <20240527013504epcms1p22bec7b83f2a42e76877b97ed0d769009@epcms1p2> <20240529095119epcms1p73f0e9ff756bcb2ee6a14db459128a644@epcms1p7> <20240529113519.jupuazcf754zjxzy@master> In-Reply-To: <20240529113519.jupuazcf754zjxzy@master> From: Jaewon Kim Date: Wed, 29 May 2024 22:10:29 +0900 Message-ID: Subject: Re: (2) [RESEND PATCH 00/10] memblock: introduce memsize showing reserved memory To: Wei Yang Cc: Jaewon Kim , Mike Rapoport , "vbabka@suse.cz" , "akpm@linux-foundation.org" , "linux-mm@kvack.org" , "linux-kernel@vger.kernel.org" , "tkjos@google.com" , Pintu Agarwal Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable (Sorry I might forget to change to be plain text) Oh good thing, I did not know this patch. Thanks. By the way, I've tried to get memblock/memory and kernel log from a device based on v6.6.17 kernel device, to see upstream patches above. memblok/memory does not show region for 0x00000000_80000000..0x0x00000000_8195ffff. 0: 0x0000000081960000..0x00000000819fffff 0 NONE The kernel log shows information for 0x0000000080000000..0x00000000813fffff= , but we don't see information for 0x0000000081400000..0x000000008195ffff from kernel log. (I removed the name.) <6>[ 0.000000][ T0] OF: reserved mem: 0x0000000080000000..0x0000000080dfffff (14336 KiB) nomap non-reusable AAA <6>[ 0.000000][ T0] OF: reserved mem: 0x0000000080e00000..0x00000000811fffff (4096 KiB) nomap non-reusable BBB <6>[ 0.000000][ T0] OF: reserved mem: 0x0000000081200000..0x00000000813fffff (2048 KiB) nomap non-reusable CCC <6>[ 0.000000][ T0] OF: reserved mem: 0x0000000081a00000..0x0000000081a3ffff (256 KiB) nomap non-reusable DD A smart parser should gather these kernel log and memblock/memory log and should show log like my memsize logic shows below. 0x0000000081400000-0x0000000081960000 0x00560000 ( 5504 KB ) nomap unusable unknown Thank you Jaewon On Wed, May 29, 2024 at 8:35=E2=80=AFPM Wei Yang wrote: > > On Wed, May 29, 2024 at 06:51:19PM +0900, Jaewon Kim wrote: > > > > > > > ... > > Would you mind sending it in pure text again? > > -- > Wei Yang > Help you, Help me