Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp5437656rwl; Tue, 11 Apr 2023 05:36:42 -0700 (PDT) X-Google-Smtp-Source: AKy350aHPoasmJIgADxQyHWunYEtMPXpIpxmVb3OyriBBo0kZNQypUoP/Tk2JaWAI7brhJA4hbZN X-Received: by 2002:a17:906:4f91:b0:932:2874:cc5 with SMTP id o17-20020a1709064f9100b0093228740cc5mr9282032eju.16.1681216602559; Tue, 11 Apr 2023 05:36:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681216602; cv=none; d=google.com; s=arc-20160816; b=L+exHr4Zc/MsQgCDnVvUwtFJ2y/OSlGSgElRcMKbSvGfOIHijYBNwoCtnMMY+n6TRt oxKn7FLG+Ri+BupA0g4oJpvHgltcbK72h3yhCfwtdhryLhq+QxCzRh1TSCvtm81T1SnZ 2zk+HURnVxv6Dcm3ViASgMmi7mleN2b0M+2jRKWShWPQvPwVZpQBAxupMWNb+UT+ECsc RmuPvOKMx70suoa53UEOu94W2gMJH4JYdfNmUyW5VBsYo63EgaEPZYVE5T2DTdPb1m7P SlUyMVkCnhU1m+r+2qRzxA6okkWHlUclr3NIl1sP3bCNGx9SYOIJXzA249O7jpWHZXJs R54g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=qsdJg6MZvLyW6lyiDQpN3lhmgzc4LeAZsE9rDHV+Jr8=; b=tHwxL3fx2DczW5ybAN2z12re7FXBp7Ld3k3jJRlAF2Pfp2/uiH6G8TbfyQRlzZkNT4 DuJvTRTdPqU17RDUc9bMif6scixaoVSgv9X0HUrYCL8odLERHVQ0ldidAR9Wyqffdd9h MXUymZv4BZBkDwh74tfWx+e6bpcG/CcLlinBNz9OuKFS52/VEVZVfjfLvuuEBPG1tV3a uvxxYS1RlIl3eVXIonwBftqsS2aX+0aTVdCWIthGFVMO/FrsGuzgzzlgn1Vu9+xEAiXM 4MEXUcC2oJ6qrjFuCa57CrCzCAVYq/S0UWrsBecpp0lzJlDajWOn28Nuya1awOrPTPZi KTCQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bytedance.com header.s=google header.b=gik7YFy2; 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=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=bytedance.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id gs38-20020a1709072d2600b0093048a8bd2esi2500616ejc.43.2023.04.11.05.36.17; Tue, 11 Apr 2023 05:36:42 -0700 (PDT) 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; dkim=pass header.i=@bytedance.com header.s=google header.b=gik7YFy2; 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=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=bytedance.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229533AbjDKMba (ORCPT + 99 others); Tue, 11 Apr 2023 08:31:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52182 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229518AbjDKMb3 (ORCPT ); Tue, 11 Apr 2023 08:31:29 -0400 Received: from mail-wm1-x336.google.com (mail-wm1-x336.google.com [IPv6:2a00:1450:4864:20::336]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 684DF3C0D for ; Tue, 11 Apr 2023 05:31:28 -0700 (PDT) Received: by mail-wm1-x336.google.com with SMTP id hg25-20020a05600c539900b003f05a99a841so12120318wmb.3 for ; Tue, 11 Apr 2023 05:31:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bytedance.com; s=google; t=1681216287; x=1683808287; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=qsdJg6MZvLyW6lyiDQpN3lhmgzc4LeAZsE9rDHV+Jr8=; b=gik7YFy29rFOY8/ULA7RG1tlEApOn1I1BhHWSq0CeLDZpAQjbKnGrnZpCaMFbjkGr/ Mb7BiyfdL3fyxV/v+fxU8dStBUcPzh9mHpb5ZzbACaLg4sEFF5YSOUu/dTp90nx8j+wU Fgfla62Kt+GiUM6LgIaXxuzqrIle3fiR2tV9Zx00NRZufT7qZ6tr2gymEJooY2oazGEV eVVHRWh2MbrN7UiycEa0yoqumWR9lqg6dUOtWhJztQDIQ8Ozsqrx+/JStTkpxaUQrSkR 5PVQiS8p287IOdqvUw+ACt6umZheyrTvNMI/mQ58HlEElU53W9qguwwRVRHdWs4Iynko qlZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1681216287; x=1683808287; h=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=qsdJg6MZvLyW6lyiDQpN3lhmgzc4LeAZsE9rDHV+Jr8=; b=z46sZ+ZyZpbosh76hH9TgA5e4T/wDffGi3ioaRHZ327poqbu+isb+XP91C2wwdjsL9 k2qAgtX9dSQlzRXIrVrrKrFaqlA+BfFFCCNVlW1gH8cySFhL0uqme+ZiBl5UUWm6DaDj iKN4qefsAzFzU6W5CpbRVUunc2STIz06m8KOP+teFADGIXe+BleVMULZxFatyYUENXGA aBhO4FvS9AKY4LTJI0fmcr934RFb/Jp/WlRLTBh8/8W72/DBIU3Sr8JBfAc6hdul3uO2 1G6Er1Oxe9HrqL0yUVLr8UL6POWOkI5HL5R1pYDsk4UOzv/2Z9LxyBSbr4pMM1mUAiE1 BJlA== X-Gm-Message-State: AAQBX9fovlmPkNXIB6ONCGIwGG6GnovASFjm8T05uLdyJstIg44nBlJX OTkvXnC9Hw2YcrwaAcWcaDC/iGakLu5iWnsGj1GVuQ== X-Received: by 2002:a05:600c:218c:b0:3ee:282d:1031 with SMTP id e12-20020a05600c218c00b003ee282d1031mr2918698wme.7.1681216286906; Tue, 11 Apr 2023 05:31:26 -0700 (PDT) MIME-Version: 1.0 References: <20230329082950.726-1-cuiyunhui@bytedance.com> In-Reply-To: <20230329082950.726-1-cuiyunhui@bytedance.com> From: =?UTF-8?B?6L+Q6L6J5bSU?= Date: Tue, 11 Apr 2023 20:31:16 +0800 Message-ID: Subject: Re: [PATCH v2] riscv: Dump user opcode bytes on fatal faults To: conor.dooley@microchip.com, paul.walmsley@sifive.com, palmer@dabbelt.com, aou@eecs.berkeley.edu, peterz@infradead.org, mpe@ellerman.id.au, jpoimboe@kernel.org, mark.rutland@arm.com, svens@linux.ibm.com, cuiyunhui@bytedance.com, guoren@kernel.org, jszhang@kernel.org, ebiederm@xmission.com, bjorn@rivosinc.com, heiko@sntech.de, xianting.tian@linux.alibaba.com, mnissler@rivosinc.com, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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: X-Mailing-List: linux-kernel@vger.kernel.org Dear All, Any comments on this patch? Thanks, Yunhui