Message ID | 20221126122137.2025-1-thunder.leizhen@huawei.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp4608426wrr; Sat, 26 Nov 2022 04:42:31 -0800 (PST) X-Google-Smtp-Source: AA0mqf6qjooqYWAIrEMRWHVAUFVDwCZKxol7GNsNYLAo8PoxFf/MndWUsao8qwI0i8CHeMgA5s9S X-Received: by 2002:a17:90a:ce05:b0:219:23ea:b314 with SMTP id f5-20020a17090ace0500b0021923eab314mr905727pju.230.1669466551556; Sat, 26 Nov 2022 04:42:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669466551; cv=none; d=google.com; s=arc-20160816; b=Q4CTkrvomwH5zudm62xvibgQUmPFr/qd46egnMM0OS90wGZy5qIju4cFiBixTLWiR8 n/w1jJsC1vSOUTSMndBoT4jcJpc4dE5T1AvH9VxCSfS50jnKOU1Fhl5VI5ERI0aBsQ6l 8W/7QiVRpe1dCojnGJaV9VCPpVR1kFG4iAiLWM7rR4aZES8C/gpO6WVqg1ZbPIf0PvxE G6WsqcBTIY4gxLSQOgcGnqKOD4QSkTUO4WjYy/snjMFHOYu1u30ERstUDfNAlZB7voI5 TTuros9et/lU0x8NwX8fivIfbSBPy1i5vzrLi6/A82GnRaCphTahYNzl8fNlQ/kDZvxh 5C+Q== 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=sVkVVvYV8YjHryHcSirye3UD6rVmsZaQKk67h11KpXI=; b=b+2KbYUNhS6zF2KQ4LBt8N/JeCy8G/8P6szgGLO9lGRIVugdu8r8HnxnX/hoUmq9c9 8vdNubADL7TGOR1DO/19kut99XNlX0DL+1nIwmGCryhX4STJWjdHDxZdCD2wpIYdkcFp KcacL1XiC0S6jEh85X0QMbSSlqa6MPG5+8J2sQ37Sj8+FsQQWrjEcZgNP6f124Jw+tDZ 8IwHHVHl6ApnYlFlXtk7PdXisFsZfJNjfyhF8vyJYzMzBgUisnQKihjS3K7FXqxTTUkx u4wPMQcCAl4QWce49dnoKY43YqhqZwGv/Tr1C/o9w1UF9fREVIONsfNCqYRWbFt+uNy4 t/ag== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d1-20020a170903230100b00179ec1d9eb4si7565325plh.112.2022.11.26.04.42.16; Sat, 26 Nov 2022 04:42:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229599AbiKZM3Q (ORCPT <rfc822;zxc52fgh@gmail.com> + 99 others); Sat, 26 Nov 2022 07:29:16 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34082 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229462AbiKZM3P (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Sat, 26 Nov 2022 07:29:15 -0500 Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 097BD1CB1F for <linux-kernel@vger.kernel.org>; Sat, 26 Nov 2022 04:29:13 -0800 (PST) Received: from dggpemm500021.china.huawei.com (unknown [172.30.72.56]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4NK9xv51YBzmW0N; Sat, 26 Nov 2022 20:28:35 +0800 (CST) Received: from dggpemm500006.china.huawei.com (7.185.36.236) by dggpemm500021.china.huawei.com (7.185.36.109) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Sat, 26 Nov 2022 20:29:11 +0800 Received: from thunder-town.china.huawei.com (10.174.178.55) by dggpemm500006.china.huawei.com (7.185.36.236) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Sat, 26 Nov 2022 20:29:10 +0800 From: Zhen Lei <thunder.leizhen@huawei.com> To: Russell King <linux@armlinux.org.uk>, Ard Biesheuvel <ardb@kernel.org>, <linux-arm-kernel@lists.infradead.org>, <linux-kernel@vger.kernel.org> CC: Zhen Lei <thunder.leizhen@huawei.com> Subject: [PATCH v4 0/2] ARM: Make the dumped instructions are consistent with the disassembled ones Date: Sat, 26 Nov 2022 20:21:35 +0800 Message-ID: <20221126122137.2025-1-thunder.leizhen@huawei.com> X-Mailer: git-send-email 2.37.3.windows.1 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.174.178.55] X-ClientProxiedBy: dggems704-chm.china.huawei.com (10.3.19.181) To dggpemm500006.china.huawei.com (7.185.36.236) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1750562558709108487?= X-GMAIL-MSGID: =?utf-8?q?1750562558709108487?= |
Series |
ARM: Make the dumped instructions are consistent with the disassembled ones
|
|
Message
Zhen Lei
Nov. 26, 2022, 12:21 p.m. UTC
v3 --> v4: 1. The sparse warnings that are not involved in the modification are not eliminated. 2. Eliminate the sparse warnings involved in the modification when refactor dump_instr(), no longer use a separate patch. v2 --> v3: 1. Don't use '__force to' cleanup the sparse warnings 2. Refactor dump_instr() 3. Relace cpu_to_le{32|16}() with __mem_to_opcode_{arm|thumb16}() v1 --> v2: 1. Cleanup sparse warnings. Zhen Lei (2): ARM: Refactor dump_instr() ARM: Make the dumped instructions are consistent with the disassembled ones arch/arm/kernel/traps.c | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-)
Comments
On Sat, Nov 26, 2022 at 08:21:35PM +0800, Zhen Lei wrote: > v3 --> v4: > 1. The sparse warnings that are not involved in the modification are > not eliminated. > 2. Eliminate the sparse warnings involved in the modification when > refactor dump_instr(), no longer use a separate patch. > > v2 --> v3: > 1. Don't use '__force to' cleanup the sparse warnings > 2. Refactor dump_instr() > 3. Relace cpu_to_le{32|16}() with __mem_to_opcode_{arm|thumb16}() > > > v1 --> v2: > 1. Cleanup sparse warnings. > > Zhen Lei (2): > ARM: Refactor dump_instr() > ARM: Make the dumped instructions are consistent with the disassembled > ones Looks good now, thanks. Please put it in my patch system, details in my signature. Thanks.