Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp1321254rdb; Wed, 20 Sep 2023 06:12:21 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHL9jufoLGlktpajKzkx4QsvZ/JfXRiBos8hnBNUVa5aaCKDcZR1hRVVA+6h8Dbovemy+sd X-Received: by 2002:a05:6a20:7f84:b0:133:7a67:b477 with SMTP id d4-20020a056a207f8400b001337a67b477mr2504317pzj.1.1695215541087; Wed, 20 Sep 2023 06:12:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695215541; cv=none; d=google.com; s=arc-20160816; b=cmRZG+Iz02UbaTjGgxwQt/9TV77CuZSfVvgAVRDb2U0yJecauh2oJTqdQEc3m6Fuzm dy/Pwo77RTJEtE2AIpy7Ascn/ItSA3qLrO5PzTg5N5bOzbOe/cyWMahunMedx/ov67yi EKrM7imzvvgvkq3MJHyky+kjrGQWKGHy6HwHVFfp/KLiONuazidSRD9Wxj4D+KIbr1/u G2dj4ydJQARsAq0MZeUYRuow87rMwqVT4XV6c4Fwhseju3v/PzRkiu11rPlQn11gzJi7 1pe2DVcrPjJuNdstHZ8o3F2CvYtEwHo0OIUhsDAIKaUtpRwXZqG6C2WHGnnhEAbDfw2f SCyw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=kv+svYrMzGZXbsH49j8A5pkAvGfMZCYzhz6MSlWTgus=; fh=sQdqRW1Pzmz5d5becguDi80aV7EkIvkXDi9ag1HXNRs=; b=c6Jup796TaXDE3yMPdTgSMFcK6cYY0ZxgEXAccARpJjclxV1NiuadMZweem7Q8PF4Z WJ3/yswl6nE9zQo8OgxJIvy40XFOwxs/MxmNm098FMyLPrfVtG+RF2zwy2Bm4XJujQHF a00akNJXFsEsWhBT1dww/Db94gF/j2xCKubawIaZ/VZw7jeYeL26p5QJpXuWlA/H8mmg SlXvLWmxKrdjfcUHU81bwN1PDTUEM6YResN4Z933gJapHRQIGO8DEFeqJSiyiw0ypf2l W6YtNUi+fxEy5yCJk/oJy4GhoAPbdWrCFdxpW4FASiOJieJ1/fkA8mrZTu4vxE6DkYzP yhgg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=dm3tkoTK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Return-Path: Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id i15-20020a17090acf8f00b00276a0aaf7e5si1490960pju.148.2023.09.20.06.12.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Sep 2023 06:12:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=dm3tkoTK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id ACC03802123B; Wed, 20 Sep 2023 02:56:09 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234248AbjITJ4G (ORCPT + 99 others); Wed, 20 Sep 2023 05:56:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40278 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234293AbjITJz6 (ORCPT ); Wed, 20 Sep 2023 05:55:58 -0400 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.154.123]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 91F59B6 for ; Wed, 20 Sep 2023 02:55:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1695203752; x=1726739752; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=kv+svYrMzGZXbsH49j8A5pkAvGfMZCYzhz6MSlWTgus=; b=dm3tkoTKQJmwujf2DcG/FYHNI8GWQQXRcuYlxdEwTtlIyasJ8skXbPJr JzAqPqtBFl5Dg213G6MG+siuQ55iThb4iF77KJpPFqTzn3LJdznLQXQ9l Ffx8sjmRJ8wj1QZfDM830KclpoF8k0tuh1tvupZHkn4xj+8huD98jXKvV 7ESMvSPILV+Nq80GrOECakO1GrlOOV4MJ63WYORPXO3URAV8qnhWLR2A7 XxQbkJilB2Aw4Iv2DrSIje3F4vpZwTGkrzUssBbwnEVJGzSfj+vGzjGlR f5FQfOtJkEaAPY8/9Pe6SR61YDJVE3awCKIJn1ch1fhYAbdhYb965K8ZT w==; X-CSE-ConnectionGUID: dbn6Zn3nR1qJCQIoTThVUg== X-CSE-MsgGUID: 0qEvuKfASuicX6E2xi7s2w== X-ThreatScanner-Verdict: Negative X-IronPort-AV: E=Sophos;i="6.02,161,1688454000"; d="asc'?scan'208";a="5487440" X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa4.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 20 Sep 2023 02:55:51 -0700 Received: from chn-vm-ex04.mchp-main.com (10.10.85.152) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21; Wed, 20 Sep 2023 02:55:49 -0700 Received: from wendy (10.10.85.11) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21 via Frontend Transport; Wed, 20 Sep 2023 02:55:47 -0700 Date: Wed, 20 Sep 2023 10:55:30 +0100 From: Conor Dooley To: Yu Chien Peter Lin CC: , , , , , , , , Subject: Re: [PATCH v3 1/3] riscv: Improve PTDUMP to show RSW with non-zero value Message-ID: <20230920-pureblood-unwilling-f17aff1eef6a@wendy> References: <20230920035522.3180558-1-peterlin@andestech.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="egyxQ65o8DYutaoK" Content-Disposition: inline In-Reply-To: <20230920035522.3180558-1-peterlin@andestech.com> X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,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 morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Wed, 20 Sep 2023 02:56:09 -0700 (PDT) --egyxQ65o8DYutaoK Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Sep 20, 2023 at 11:55:20AM +0800, Yu Chien Peter Lin wrote: > RSW field can be used to encode 2 bits of software > defined information. Currently, PTDUMP only prints > "RSW" when its value is 1 or 3. >=20 > To fix this issue and improve the debugging experience > with PTDUMP, we redefine _PAGE_SPECIAL to its original > value and use _PAGE_SOFT as the RSW mask, allow it to > print the RSW with any non-zero value. >=20 > This patch also removes the val from the struct prot_bits > as it is no longer needed. >=20 Could you please add cover letters to multi-patch patchsets? Thanks, Conor. --egyxQ65o8DYutaoK Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZQrBkgAKCRB4tDGHoIJi 0rl0AQDCTnGcbYIj3i57BCo5CDgqHtCeWpve6uDM+V8OgNsMhQD/cec9Sn6GA/BC aY9PQc8PUSY8H4plXnnsX6z61H1msgA= =3fdS -----END PGP SIGNATURE----- --egyxQ65o8DYutaoK--