Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp2742092rdb; Wed, 4 Oct 2023 10:02:33 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFf0/5D4cz9sTVnAQ13oH5P7CmNyi1to10PiO4DrHFkQ+0B0UV4IqXF8kzv677B/Gm6puBc X-Received: by 2002:a17:903:24d:b0:1bb:77a2:edda with SMTP id j13-20020a170903024d00b001bb77a2eddamr3804149plh.36.1696438952584; Wed, 04 Oct 2023 10:02:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696438952; cv=none; d=google.com; s=arc-20160816; b=u/XUt8jMx2BOdmG1QzgLTaAgqROZiPDv45mDe7v9De1Uvbu9fkuc/jB0/B8Xb7ZIpA opKmLAVUvaZE+zvHKcZ5F1ncE2oPAapDucLAZXB666UpqPmiASFUA/iXduDL+/OH3JSs FswcxuVEYWlLOarKkT9X0zjSCbD9K1Pf6w1hq8c6rxypKef2f9CtRPhf4LPYAN3OhIr1 Fm9SdLDOC3Py8diGeisOPXvfI/PLP60S/xm4p4hgHphu19z+5zW+ZbGz2FiisdCpT7XT nykUMc+FTW+AE9X+Yl/JvoSHntrCfAywrdsBkM6CFv3yQ9NFSC7RoCM1fW9Z38VzrxUq TrfQ== 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:in-reply-to:subject:cc:to:from:dkim-signature; bh=/jwS8DV3jsMCn4Bp8MLvmgTr4VDd3Ub42uJVGkJX6hs=; fh=eOziKcNq06JwcHeIsHUzECVtKTDzbs0glotKcUnQVv4=; b=scOxlZ/IyWpUsoVdImQ10yKqIe54ocT6oozCuPUYkBihuqQyBnGPcHWzrlBcSFz4c5 ZHlht1E/xYxcZ9/r8c+6w328Pb3f0WhoVOuXn02kjeEHGuu/pmXrVegkECoH4OoNaubF OuDZ+WhVVnIxEmmkl7e66YeZ0X2z2G+eKE7V4J731tS/KDN2VNVxgRjDB17q4hsJfk7r JwpQItevozzMoNZk/VTwxdapowusxxiLE0GOK6Syi6NUtpthWKWXCHfK0qh1yhNi/NHd slfdql8mzv92TaYO1Jlj9GlR92uJyPozPC/g7Idpzs0txicLcH2CQcB4vr5tYxoC7oQg 7Pdg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=FO0o3KMQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 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 howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id u18-20020a170902e81200b001c3a06b4fd7si4225459plg.561.2023.10.04.10.02.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Oct 2023 10:02:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=FO0o3KMQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 482E1807DE10; Wed, 4 Oct 2023 10:02:31 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243543AbjJDRCb (ORCPT + 99 others); Wed, 4 Oct 2023 13:02:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57506 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243515AbjJDRCb (ORCPT ); Wed, 4 Oct 2023 13:02:31 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5184D95 for ; Wed, 4 Oct 2023 10:02:25 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 967B1C433CA; Wed, 4 Oct 2023 17:02:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1696438944; bh=/jwS8DV3jsMCn4Bp8MLvmgTr4VDd3Ub42uJVGkJX6hs=; h=From:To:Cc:Subject:In-Reply-To:Date:From; b=FO0o3KMQIq5odmdGVS4GdB9w+/9pTPhf6vIZ4Fa0+F9RA+3A7B3QYkPjiLBkTiw8T sWUa9WDXpryvCkoPR49IQkgDkJH/zr3WhcAkR3/EOUDet9pzsHF9zT3U3uUQPzHF8W uBFuRxg0vOklVC/DVJuOGWuY+GXQsOhauWKZSqAuDtMOVxlcHrM+FcR5dRyzomtbFY 7uR6Tq3zQ9hPhkI6YCFezizQ0EH2UFMURoDC9f3qDTYoaq1S7OMww0v+2TD3h85qLB 4Nx0mrOUlNSbrmzT9d1bq6ufRZ/1W5WMOvUIFPFer0lB0P3oNSFusLYJz1+i0B1zxa dM0vJJCfFXICg== From: =?utf-8?B?QmrDtnJuIFTDtnBlbA==?= To: =?utf-8?Q?Cl=C3=A9ment_L=C3=A9ger?= , Paul Walmsley , Palmer Dabbelt , Albert Ou Cc: =?utf-8?Q?Cl=C3=A9ment_L=C3=A9ger?= , Atish Patra , Andrew Jones , Evan Green , =?utf-8?Q?Bj=C3=B6rn?= Topel , linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, Ron Minnich , Daniel Maslowski , Conor Dooley Subject: Re: [PATCH v2 3/8] riscv: report perf event for misaligned fault In-Reply-To: <20231004151405.521596-4-cleger@rivosinc.com> Date: Wed, 04 Oct 2023 19:02:22 +0200 Message-ID: <87cyxuuxr5.fsf@all.your.base.are.belong.to.us> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Wed, 04 Oct 2023 10:02:31 -0700 (PDT) Cl=C3=A9ment L=C3=A9ger writes: > Add missing calls to account for misaligned fault event using > perf_sw_event(). > > Signed-off-by: Cl=C3=A9ment L=C3=A9ger Reviewed-by: Bj=C3=B6rn T=C3=B6pel