Received: by 2002:a05:7412:3210:b0:e2:908c:2ebd with SMTP id eu16csp399286rdb; Thu, 31 Aug 2023 12:41:39 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFwHAafvn7wq46Fula2Brgs9rHAaIksdwqcWM6Z4bbQBzVA/bDC12oobBG6t00OVSe/Kh2I X-Received: by 2002:a17:90a:7283:b0:268:2af6:e48c with SMTP id e3-20020a17090a728300b002682af6e48cmr636561pjg.4.1693510898408; Thu, 31 Aug 2023 12:41:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1693510898; cv=none; d=google.com; s=arc-20160816; b=S71WOm35PdYJ/kYYNTOX4wjbyXuwI5aVD1rZKa0G83462jsXxH2QpcBzutRtYMZGAh w2wBTEip5OFBHYln5s4Tl/I+DAKDyOX3KmLedkml2mf++x9l2luo7MWJai9kOR1iVzpz RgMfDCdIKjyB73zhfl5htJq5CeF+x3SsZ/K5HnP6+xSEAzzyYCbvuYrCtAaGRlk7fOpA ybBS8e0mFcKNy/s22TBJxC/5n4e7dG1g3hXI/u34akjER1DG8Opjj66Fm3tc83s7CcH1 E5kS/z623hEBVvrE/koboPimNeOnyizp7Isca7pSIm/KkTUQP6Rxx/SZlA79D3BkaqwQ RHhA== 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=9Pr9fegNoNUn//WzmCMU1Histd8f9wgBhE+pRfO0JRU=; fh=3LWdDgxkU6R5Aul6a3LmQpy/nmtexRgSpq2o8G6nazI=; b=Fpo/h9Ervc8iEuirENTn9tVuVKJ6+1DY3lXenHGrwq+oQEJ9xgRQWcxqAIvixNkb5r 0WCxD8T96BcZPxyIBkcCpw9eqzjOV5aZhXvOZQcWvg0ytczw4msqHMa/n9b/NZIRnfho +a+DzchUulUH8ur1OmpX/j5IZqRqj7MXnaDyIG2XZh8JPFqU6fNqZzrsnBZbpMS8tvei fUvefKlCSLeupg+rXGsCCfb7a7eucdZVAgboT3jzeXw1hnd7MOeu1tB4fiH1et5cOSBu V+JKa36OPZgIX6+2n6DrKjSwRLUuBKW+cLIyLbCdk9sjy96Rr2ck8hPtLRWjvwdF+zoj 8hIQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=AuPs3RaY; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y7-20020a17090aa40700b0026902b035d8si1703266pjp.18.2023.08.31.12.41.23; Thu, 31 Aug 2023 12:41:38 -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=@kernel.org header.s=k20201202 header.b=AuPs3RaY; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241904AbjHaQae (ORCPT + 97 others); Thu, 31 Aug 2023 12:30:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60106 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233190AbjHaQa2 (ORCPT ); Thu, 31 Aug 2023 12:30:28 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2F75DCC5 for ; Thu, 31 Aug 2023 09:29:49 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id C355EB8215C for ; Thu, 31 Aug 2023 16:29:47 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id AA047C433C8; Thu, 31 Aug 2023 16:29:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1693499386; bh=9Pr9fegNoNUn//WzmCMU1Histd8f9wgBhE+pRfO0JRU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=AuPs3RaYJA/9emJHcwCOySVCskILTl6kosxIZvHqkUtS3d4eylDKQknnFeQGEuMk/ bDUFH28qqwkrlKsh19PS6GBfVNTFVuUV41Tk51hAkeiATEEJlKdeCkTQAdWDw31DXk u3E8hos4Qn3n0GQNALOvmIzjpgdeeDdU4B2e4YoenkyV46esTgKFUlYE7ixJHfW7lZ uTC9Spt4h5wSrUJSM0eqlaR1wCkQYlXdjdE2HgDZ+vf73GJNNPgkrbDMiv2f9rP9rz b2SgNof35GV+eWEp/mvsFFc3ydeNnS86dgPW/DYdTXq+G3KsGSIlWbKyJmwOEelR/P Qzz73QAPDzP6w== Date: Thu, 31 Aug 2023 17:29:42 +0100 From: Conor Dooley To: Nam Cao Cc: Conor Dooley , Guo Ren , Paul Walmsley , Palmer Dabbelt , Albert Ou , linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, bjorn@kernel.org Subject: Re: [PATCH] riscv: provide riscv-specific is_trap_insn() Message-ID: <20230831-untidy-geologic-8c8232eb3cac@spud> References: <20230827205641.46836-1-namcaov@gmail.com> <20230829-unbridle-condense-2fc45a442bb6@wendy> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="pX1jrx4hiKgkc+Cg" Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,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: X-Mailing-List: linux-kernel@vger.kernel.org --pX1jrx4hiKgkc+Cg Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Aug 29, 2023 at 10:18:30AM +0200, Nam Cao wrote: > Now I'm not sure what you mean. But I agree with Guo Ren here, users can use > compressed instructions but kernel does not have it enabled. So we should > always check c.ebreak regardless of RISCV_ISA_C. I think I was just being dumb, apologies for the noise. --pX1jrx4hiKgkc+Cg Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZPC/9gAKCRB4tDGHoIJi 0iNIAQDlFOLhVRwewDs3RynOY+M19AyVbnv6fuCWrcIVf6rtpQEAuxuaR9YxMsh/ J1iTji590xUIscZGwQx0MV/Mn6UZTgA= =Oo6H -----END PGP SIGNATURE----- --pX1jrx4hiKgkc+Cg--