From patchwork Wed Jun 19 07:49:05 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuan-Ying Lee X-Patchwork-Id: 13703496 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id DC695C27C53 for ; Wed, 19 Jun 2024 07:49:38 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 3ED866B03EA; Wed, 19 Jun 2024 03:49:38 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 39D5F6B03EB; Wed, 19 Jun 2024 03:49:38 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 23E106B03EC; Wed, 19 Jun 2024 03:49:38 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0015.hostedemail.com [216.40.44.15]) by kanga.kvack.org (Postfix) with ESMTP id 0581B6B03EA for ; Wed, 19 Jun 2024 03:49:37 -0400 (EDT) Received: from smtpin23.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay10.hostedemail.com (Postfix) with ESMTP id 6EFD8C0E58 for ; Wed, 19 Jun 2024 07:49:37 +0000 (UTC) X-FDA: 82246863594.23.2BCEA20 Received: from smtp-relay-internal-1.canonical.com (smtp-relay-internal-1.canonical.com [185.125.188.123]) by imf09.hostedemail.com (Postfix) with ESMTP id 5DA77140014 for ; Wed, 19 Jun 2024 07:49:35 +0000 (UTC) Authentication-Results: imf09.hostedemail.com; dkim=pass header.d=canonical.com header.s=20210705 header.b=Y08qbBvu; dmarc=pass (policy=none) header.from=canonical.com; spf=pass (imf09.hostedemail.com: domain of kuan-ying.lee@canonical.com designates 185.125.188.123 as permitted sender) smtp.mailfrom=kuan-ying.lee@canonical.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1718783369; a=rsa-sha256; cv=none; b=W8sOJ+SYnggA0cytu1Y178fn192/NpAXIrpE6u4yHI+M6Wq4vdyPjehjE4PtgabM5B4xQv Q2SciHDW4UGndbME7PKYGakjREcfTBhSvxCmxQRGszc/Ta46m5zff8HqZXCS0KRLU0dQ50 sv2rmXiZH2poFETXXJpfw/W/y1E4uMA= ARC-Authentication-Results: i=1; imf09.hostedemail.com; dkim=pass header.d=canonical.com header.s=20210705 header.b=Y08qbBvu; dmarc=pass (policy=none) header.from=canonical.com; spf=pass (imf09.hostedemail.com: domain of kuan-ying.lee@canonical.com designates 185.125.188.123 as permitted sender) smtp.mailfrom=kuan-ying.lee@canonical.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1718783369; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:references:dkim-signature; bh=m3DLgiHqU5aVEHPI6DieT+dSGKC6hce2MqI9a11AzEw=; b=hu2DxN9JVpaV1WtGUqBaJSVeeamNuA4hU+Jdb2RYsGfsnsjVJJCXRmbNYEWmj1RpEg8TX8 IKRu4If8I4JuSFkP6AM8BYo/uKUs5PDqMd3998KhRRVmjTizUJg9elHOHGt3uE00t6nBQt NDKDVLH/l3QiWNGi/MirynoJ5hOr/l4= Received: from mail-pf1-f198.google.com (mail-pf1-f198.google.com [209.85.210.198]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-1.canonical.com (Postfix) with ESMTPS id 787483FE5E for ; Wed, 19 Jun 2024 07:49:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1718783372; bh=m3DLgiHqU5aVEHPI6DieT+dSGKC6hce2MqI9a11AzEw=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=Y08qbBvuNqgQEYScjKYFvtmfZmTpTfC6/QSycYqBX75QcN5coWESSQrwjdSHZtYUB COV3QPuBpUkTIAqsxJRfHtww5xWyHv0z2aG2+SjYJlBi2PVlvK5Pam+Yd7/vH1Usi1 vh7LUgFcmRmTJJPXOwOI5ybWarKXGND8/v0X22Kijsuo7J7fRkN8AJr11AZQKXUpj4 bZugxwh5FOyjzbBD4YM+gfy3h8vIkDWwOL+xBjmtP5gnQVfJH3eRNaXytto1qYSYrm JoZfej5rMh/G2yHx57drHmKy4XjSp+NWNhUzY3bLcYHPRa+TmsW3d6VuRHcAkGmF/e JzKjwKu4CUEEw== Received: by mail-pf1-f198.google.com with SMTP id d2e1a72fcca58-6f8ea7f4501so5631970b3a.3 for ; Wed, 19 Jun 2024 00:49:32 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718783371; x=1719388171; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=m3DLgiHqU5aVEHPI6DieT+dSGKC6hce2MqI9a11AzEw=; b=lPRV0jPnZcWoFNEdX8tdL9Pc9cflxeXsxVNuLB0ua7elGQh1ZV1OLWclxBALvH3N8R F+dQD+1XuAdTTzhD2IxE3n3QaVFoyQlavJOSu/lw0ZSO/HcMoVIlQUYCe8XVCienOuvv sJoua2fMRP/n/2kMD0cWx9VIzO7NGn1aPvb5e973pPr24HfQ33j/irUdPhTKj+3mwRnc rZAsS5jKRzfQY/dD8/w0LfnCz4gqNaea3XMYFRv/wPiXGQpOb0xLeXfgvNkxU5m8ugfr PFAfg31Gn3IbOKWlF0XqOjTSK7SN4e0Cw7P0b4zoWRx6sbtlwk+69CMwMkMWH6K5dnZ9 YShg== X-Gm-Message-State: AOJu0YwXH/q2bOVfsU5iK4WEwTikAkfhliNSPZLQoubRQJX3vWL80G7R 0+pGuuhs6HfOzMArCDOVa4dG47MxgsH4hVN1oNnIrx3DRUBgHwXIMYZ2PhPGVLoo1JNUyWlE/tu wkueFek42ObDzK7h1gt9a6MnHwRfH67IsMvdCM2bd7wPjYNKOunw5Eyv9+oChZjUJkF8jyetx X-Received: by 2002:a05:6a20:4b15:b0:1b2:47f9:3814 with SMTP id adf61e73a8af0-1bcbb421fdcmr1621356637.2.1718783370860; Wed, 19 Jun 2024 00:49:30 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHj6ymvKkndgkA6ot+uTjfd5ErApD2DhTSQvqalFi/XnUujjKQxRHka+M3O1i8H629RzT+/oQ== X-Received: by 2002:a05:6a20:4b15:b0:1b2:47f9:3814 with SMTP id adf61e73a8af0-1bcbb421fdcmr1621349637.2.1718783370490; Wed, 19 Jun 2024 00:49:30 -0700 (PDT) Received: from kylee-ThinkPad-E16-Gen-1.. ([122.147.171.160]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-705ccb3cdc6sm10076908b3a.138.2024.06.19.00.49.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 Jun 2024 00:49:30 -0700 (PDT) From: Kuan-Ying Lee To: kuan-ying.lee@canonical.com, Andrew Morton Cc: linux-mm@kvack.org Subject: [PATCH 0/6] Fix GDB command error Date: Wed, 19 Jun 2024 15:49:05 +0800 Message-Id: <20240619074911.100434-1-kuan-ying.lee@canonical.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Rspamd-Server: rspam12 X-Rspamd-Queue-Id: 5DA77140014 X-Stat-Signature: n3ymt3e7qprgtoezgdi1k15qjptk4dyd X-Rspam-User: X-HE-Tag: 1718783375-893325 X-HE-Meta: U2FsdGVkX1+TG2wFjlyljRDGaqumU5VqdCfS3ClNvgMHKFKiAIRLSGaLCJxof3VcLoEnmSQVNqjH4Fnc+MbwWF1/wp4gm4xILibnev+7JB6rxZCVBZl+NW8h9ja/00ZzgUkmft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a3WfIlSXzG4eFuXe4o7aZVuHHbzIAHy871Hd8AFqRvb3 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: This patchset fix some GDB command errors. 1. Since memory layout of AARCH64 has been changed, we need to modify the layout in GDB scripts as well. 2. Fix pool_index naming of stackdepot. The patchset is based on next-20240618. Kuan-Ying Lee (6): scripts/gdb: redefine MAX_ORDER sanely scripts/gdb: rework module VA range scripts/gdb: change the layout of vmemmap scripts/gdb: set vabits_actual based on TCR_EL1 scripts/gdb: change VA_BITS_MIN when we use 16K page scripts/gdb: rename pool_index to pool_index_plus_1 scripts/gdb/linux/mm.py | 23 ++++++++++++++--------- scripts/gdb/linux/stackdepot.py | 8 ++++++-- 2 files changed, 20 insertions(+), 11 deletions(-)