Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp2832482pxf; Sun, 14 Mar 2021 13:47:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy6h4iXGiHn0aa31Uc/Eg/QLtF4Ls/YMHXzmiOnK6pb2NJi6JKaQTa2uLN1E32Y+cDrTFIB X-Received: by 2002:aa7:c5c4:: with SMTP id h4mr25498437eds.375.1615754857416; Sun, 14 Mar 2021 13:47:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1615754857; cv=none; d=google.com; s=arc-20160816; b=AFR+RGU7eB0rhnxCTGafz20FA3Qr6ZhCTdsnPz0QnwqmYAlRid37qvYf80ojhK1WfB lGVLTiwDBL/LEPJf1ILbIThHQW6kVXKMhjeZ+PsHvKaIxEqYgsWGlDGaTirvpgw5QIN0 Ju4hw9Dbkm5L+Fitv6nhAtJzNOfflT2ALzO27N0RVv9bviD6/nayyzvzQA7dDorrFhEc VTSshLTGfI1SN51Vd+M0Ft44znoKiwnRAyX3k8KMh/UQrlROcbMgT482UCEHQY/6Zx8H gH1NZAuV26o6fAlP6CFB9s5uXOX7v3qVsqYQK9q92MKcQQuiV2ZApt3OmqRr058JxdxA L4pA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=RIHPqF27kA1biJZMcpWwtbkRiXCNA1g7L9odZni0SGU=; b=wmifRKBGqsM0VkAVs1gVGoOc1cmj8jwJJcQyg+EfpSbULl/h+xRtgH7Rmidj0B7VjO w2rkC0BvcqKRBk82Bxz+tLFThiIJcrVT3W3LwoGxTIBr5CsZlN0KOciQgYhgFTDq3sYY Ntw6jViqy1pPpErzOFDXwxC7QVQCZrz1NYK1fZYD8LR/aud2fWEktFHuzDx2SZUbwuH3 MA+z0SScjCSBgQAQZmt8MNKBDCn2N9lKazAudGyDcXU+lmGI66Gn2b/VDPaFrJ1om6CO v5ttjDA5xA/qAJPecHy4MYXnvVTI8jO/UOj98r2ujIho2w0JxDMQFBHJKyaHVYfpYexp dkeQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=hisilicon.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v10si9587513ejq.299.2021.03.14.13.47.15; Sun, 14 Mar 2021 13:47:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=hisilicon.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234536AbhCNUlm (ORCPT + 99 others); Sun, 14 Mar 2021 16:41:42 -0400 Received: from szxga06-in.huawei.com ([45.249.212.32]:13922 "EHLO szxga06-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234507AbhCNUlW (ORCPT ); Sun, 14 Mar 2021 16:41:22 -0400 Received: from DGGEMS411-HUB.china.huawei.com (unknown [172.30.72.58]) by szxga06-in.huawei.com (SkyGuard) with ESMTP id 4DzBHn5NdmzkXV6; Mon, 15 Mar 2021 04:39:49 +0800 (CST) Received: from SWX921481.china.huawei.com (10.126.202.142) by DGGEMS411-HUB.china.huawei.com (10.3.19.211) with Microsoft SMTP Server id 14.3.498.0; Mon, 15 Mar 2021 04:41:09 +0800 From: Barry Song To: , , CC: , , , , Barry Song Subject: [RESEND PATCH v2 0/2] scripts/gdb: clarify the platforms supporting lx_current and add arm64 support Date: Mon, 15 Mar 2021 09:34:42 +1300 Message-ID: <20210314203444.15188-1-song.bao.hua@hisilicon.com> X-Mailer: git-send-email 2.21.0.windows.1 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.126.202.142] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org lx_current depends on per_cpu current_task variable which exists on x86 only. so it actually works on x86 only. the 1st patch documents this clearly; the 2nd patch adds support for arm64. -resend resending to Andrew as Kieran Bingham explained patches of scripts/gdb usually go through the tree of Andrew Morton; Barry Song (2): scripts/gdb: document lx_current is only supported by x86 scripts/gdb: add lx_current support for arm64 .../dev-tools/gdb-kernel-debugging.rst | 2 +- scripts/gdb/linux/cpus.py | 23 +++++++++++++++++-- 2 files changed, 22 insertions(+), 3 deletions(-) -- 2.25.1