Received: by 2002:a05:7412:f690:b0:e2:908c:2ebd with SMTP id ej16csp170894rdb; Thu, 19 Oct 2023 00:14:02 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG3PJmUwdiR4d+OOg0qRTbcYMu6SIhPBHZkVIFFL8T73Me4LuIBCqlAlFEyJBkrIjRt9pDY X-Received: by 2002:a17:902:f547:b0:1c8:7d21:fc63 with SMTP id h7-20020a170902f54700b001c87d21fc63mr1457383plf.56.1697699642072; Thu, 19 Oct 2023 00:14:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697699642; cv=none; d=google.com; s=arc-20160816; b=N01jytvCj6TtDA880uqeVigmMlgW/ptDRuP7jxe4MvkDdTi3njY2XMkHjOsIyiAnlw IZDeYsSrkA3ZZelDi8RMr89IscSPjnMzlzgU9n1t1idAGVsp301+iAHwY8wHo7Z/INR4 L9forJ12Ne+PSqYBES2xQruWLmC0yiCuotrEsyJZEg1/LvGsuWaMvnmVrfbixZPn9QV5 HkakxwJ6jlDYKAjFdzPaBBPMEGDJ0MUhKENS7FBPW8MoV0sW9tAcijGroey8I8CB0ONy f7C9EOAZiqF9xmEWOJ2qKBRVycbxlkM4uU8CFtcnq2VGkzvGx/9axt21RylWM/bp0MpZ vqRw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=/ExAtAUFm918w30hOEMgGU1kfUzyycn7oMYoVsXzuFQ=; fh=wA0atgXGnjFdkvBMOT9iDRngnoNK+SfN9rys/tH7F2s=; b=TXauuofD4bTahFE5DEGwaAEuSWziDri3pnIVCNGry35MrwS8AkoOwri2A334PB38aU rA3+OhAq2DQ/X8RYY21Z87C+CfJxishVhm8W7SMT+nj1Scj4V6S5R6EDoc7NPHejqB6g HiJTu23HIOv13DJwdOI4lncC8hMMgWKZ95K9FhdA0543qpK3y2mldi1h4IXwDvtrNdhw eurETAPzeR8oHaiF835K0beVZrWa902MzEw5NYP7GUZ7Dnh48QDFZojYs05HmJINAnou xWPoJ+FSU6k7nwD5YBu/NKNWK9oqDQc/ZxJj/Zb+NC03LhqdmCrIDEafyd7LEmjyJ5bD rjAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=SHj4LQnz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id u11-20020a17090282cb00b001ca4dd7b834si1531890plz.309.2023.10.19.00.14.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Oct 2023 00:14:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=SHj4LQnz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id F38C9821A17F; Thu, 19 Oct 2023 00:14:00 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344846AbjJSHNd (ORCPT + 99 others); Thu, 19 Oct 2023 03:13:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59978 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344897AbjJSHN3 (ORCPT ); Thu, 19 Oct 2023 03:13:29 -0400 Received: from pandora.armlinux.org.uk (pandora.armlinux.org.uk [IPv6:2001:4d48:ad52:32c8:5054:ff:fe00:142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4F3DF192 for ; Thu, 19 Oct 2023 00:13:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:In-Reply-To: Content-Transfer-Encoding:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=/ExAtAUFm918w30hOEMgGU1kfUzyycn7oMYoVsXzuFQ=; b=SHj4LQnzfHMa1yHTUuvP7nMolw VpESHZXD7leV7Tbxyrk8gTDRViNqV7hH7qjyAKEWJSWNKlsUSjEXsDGqfQHkuNBhM10wHuK18kDBv 6sfgJG1uJU0m0OEIDstoqhoxmXcZCshS/z5rpOaHEiPwEGUsanO8VOHiSc/rk4xoKPerI6QP5fo2x Pj6SuGxSsFToLToB+dKON9i1ajaoXSnK+tXiGX4gvE8SxT+c3ey7hGilx/Dhe6FAnpk4sdQg0XG2E 5szP3MrjA/amJ6XvPiyo0+C/gipY7t1QhISPZ3uSOxSbTzc+lfA9jXw5+PPxc4PZ0iRK8GQtocbhf 1cGobnRA==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:40768) by pandora.armlinux.org.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1qtNDJ-0006Vk-0Q; Thu, 19 Oct 2023 08:13:01 +0100 Received: from linux by shell.armlinux.org.uk with local (Exim 4.94.2) (envelope-from ) id 1qtNDC-0000EU-DM; Thu, 19 Oct 2023 08:12:54 +0100 Date: Thu, 19 Oct 2023 08:12:54 +0100 From: "Russell King (Oracle)" To: Mark-PK Tsai =?utf-8?B?KOiUoeaym+WJmyk=?= Cc: "matthias.bgg@gmail.com" , "angelogioacchino.delregno@collabora.com" , "robin.murphy@arm.com" , "linux-arm-kernel@lists.infradead.org" , "xuewen.yan@unisoc.com" , "linux-mediatek@lists.infradead.org" , "linux-kernel@vger.kernel.org" , YJ Chiang =?utf-8?B?KOaxn+iLseadsCk=?= Subject: Re: [PATCH v2] ARM: vfp: Add missing VFP instructions to neon_support_hook Message-ID: References: <20230925131720.7672-1-mark-pk.tsai@mediatek.com> <7e68377e780a2f4312a69ce8afda0cda8ad84568.camel@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <7e68377e780a2f4312a69ce8afda0cda8ad84568.camel@mediatek.com> Sender: Russell King (Oracle) X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_NONE,URIBL_BLOCKED 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 (snail.vger.email [0.0.0.0]); Thu, 19 Oct 2023 00:14:01 -0700 (PDT) On Wed, Oct 11, 2023 at 02:49:44AM +0000, Mark-PK Tsai (蔡沛剛) wrote: > On Mon, 2023-09-25 at 21:17 +0800, Mark-PK Tsai wrote: > > Add the missing "Unconditional Advanced SIMD and floating-point > > instructions" in [1] to the VFP undef hook. > > > > This commit addresses the issue reported in [2], where > > executing the vudot instruction on a platform with FEAT_DotProd > > support resulted in an undefined instruction error. > > > > Link: > > https://developer.arm.com/documentation/ddi0597/2023-06/?lang=en [1] > > Link: > > https://lore.kernel.org/lkml/20230920083907.30479-1-mark-pk.tsai@mediatek.com/ > > [2] > > Signed-off-by: Mark-PK Tsai > > --- > > arch/arm/vfp/vfpmodule.c | 18 ++++++++++++++++++ > > 1 file changed, 18 insertions(+) > > > > diff --git a/arch/arm/vfp/vfpmodule.c b/arch/arm/vfp/vfpmodule.c > > index 7e8773a2d99d..b68efe643a12 100644 > > --- a/arch/arm/vfp/vfpmodule.c > > +++ b/arch/arm/vfp/vfpmodule.c > > @@ -800,6 +800,24 @@ static struct undef_hook neon_support_hook[] = > > {{ > > .cpsr_mask = PSR_T_BIT, > > .cpsr_val = PSR_T_BIT, > > .fn = vfp_support_entry, > > +}, { > > + .instr_mask = 0xff000800, > > + .instr_val = 0xfc000800, > > + .cpsr_mask = 0, > > + .cpsr_val = 0, > > + .fn = vfp_support_entry, > > +}, { > > + .instr_mask = 0xff000800, > > + .instr_val = 0xfd000800, > > + .cpsr_mask = 0, > > + .cpsr_val = 0, > > + .fn = vfp_support_entry, > > +}, { > > + .instr_mask = 0xff000800, > > + .instr_val = 0xfe000800, > > + .cpsr_mask = 0, > > + .cpsr_val = 0, > > + .fn = vfp_support_entry, > > }}; > > Could someone please kindly review this patch? > Thanks. And if someone drops it into the patch system then it might get applied before the merge window. Thanks. -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!