From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4D108C433F5 for ; Wed, 19 Jan 2022 10:06:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1353031AbiASKGU (ORCPT ); Wed, 19 Jan 2022 05:06:20 -0500 Received: from mailgw02.mediatek.com ([210.61.82.184]:48710 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1352594AbiASKGT (ORCPT ); Wed, 19 Jan 2022 05:06:19 -0500 X-UUID: 6f0487ea9b324649a36e3cef157eea4b-20220119 X-UUID: 6f0487ea9b324649a36e3cef157eea4b-20220119 Received: from mtkexhb01.mediatek.inc [(172.21.101.102)] by mailgw02.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 807312107; Wed, 19 Jan 2022 18:06:16 +0800 Received: from mtkcas10.mediatek.inc (172.21.101.39) by mtkmbs07n2.mediatek.inc (172.21.101.141) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 19 Jan 2022 18:06:15 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkcas10.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Wed, 19 Jan 2022 18:06:15 +0800 From: Miles Chen To: CC: , , , , , , , , , , , Subject: Re: [PATCH] lib/crypto: blake2s: fix a CFI failure Date: Wed, 19 Jan 2022 18:06:15 +0800 Message-ID: <20220119100615.5059-1-miles.chen@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org Hi, >Hi Miles, > >I'm actually not able to reproduce your oops. I'm using vanilla clang >13, cross compiling for arm64, with thin LTO enabled and CFI enabled. >Kernel seems to run fine. > > >Are there other settings that are needed to trigger this? Do you see >it in upstream clang or just the Android fork of clang? > I will try another clang (the previous version I use). I am using Android fork of clang and there is a clang upgrade in this merge. Miles From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D9857C433F5 for ; Wed, 19 Jan 2022 10:06:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=y7dhY1k7dwzCaXnu9WP9NmBG+v/gYQ4LVg0NTi1G0jY=; b=BWClfO1/tOt5J+ Pzj4WkmthQ286geejk6Ae1myIvJaSuRLFPzjisL2I6dvF+LCJhL3j8aitBm1WFvEQ6RH6qgQVlAbP qjDGwLbdh8j4UWbFIC/t5lg0/9kzVu08MirwQDFn5fSK8lDc62HcWX31Jckt/fTenKiJA08oqJbEB V5e0MkOu4JYWbrG0WoQnfwq+tehafEFt1SfFWPQhzmTPkK65xSC3bDzwRHreocMjO7rq/HXWunL7m Nhthw3LmO+0FDGhYqpqm/wUueRUt/6qXvfqHRwi03/S4IrY4mMhhV69inUG/PUWwIVq7FY8rCSGwH SjDgHvX2ObS6oGh4SETA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nA7rE-004nrC-Kw; Wed, 19 Jan 2022 10:06:24 +0000 Received: from mailgw02.mediatek.com ([216.200.240.185]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nA7rB-004nq3-Ip; Wed, 19 Jan 2022 10:06:22 +0000 X-UUID: 6f39b86bd3bf4557a2cf41abd2d1b933-20220119 X-UUID: 6f39b86bd3bf4557a2cf41abd2d1b933-20220119 Received: from mtkcas66.mediatek.inc [(172.29.193.44)] by mailgw02.mediatek.com (envelope-from ) (musrelay.mediatek.com ESMTP with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 2047853670; Wed, 19 Jan 2022 03:06:18 -0700 Received: from MTKMBS07N2.mediatek.inc (172.21.101.141) by MTKMBS62DR.mediatek.inc (172.29.94.18) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 19 Jan 2022 02:06:16 -0800 Received: from mtkcas10.mediatek.inc (172.21.101.39) by mtkmbs07n2.mediatek.inc (172.21.101.141) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 19 Jan 2022 18:06:15 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkcas10.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Wed, 19 Jan 2022 18:06:15 +0800 From: Miles Chen To: CC: , , , , , , , , , , , Subject: Re: [PATCH] lib/crypto: blake2s: fix a CFI failure Date: Wed, 19 Jan 2022 18:06:15 +0800 Message-ID: <20220119100615.5059-1-miles.chen@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: References: MIME-Version: 1.0 X-MTK: N X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220119_020621_654303_8245E4C2 X-CRM114-Status: GOOD ( 10.19 ) X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org Hi, >Hi Miles, > >I'm actually not able to reproduce your oops. I'm using vanilla clang >13, cross compiling for arm64, with thin LTO enabled and CFI enabled. >Kernel seems to run fine. > > >Are there other settings that are needed to trigger this? Do you see >it in upstream clang or just the Android fork of clang? > I will try another clang (the previous version I use). I am using Android fork of clang and there is a clang upgrade in this merge. Miles _______________________________________________ Linux-mediatek mailing list Linux-mediatek@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-mediatek From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 066A5C433F5 for ; Wed, 19 Jan 2022 10:07:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=/5U++Zm2O6vxVEPmHOTYglVv01ZmhUT6slz45qaDdEA=; b=el9nO0jfdx7HCa 8TnFVJI5hZLJkmZuzLdwarJPOBjzBWgp7Eb1GaPNHtdw3fjm9IyUEgu6laDmVW8u1olqozscXJeIn feQTDuIx5luI3KgbQdoDE80BDfkRUSt4owi5cBSSlcO8TO8CdYtfzlTv8WDpt18rMm+FiUJJyMzs2 a6ptpZLdqfHv7TV00KkEp3dngWMAKpMxFa+O0+vcAHtgcFh5CZ/8VRotWr4kEiXm7cN761sFnrOc6 xnmU1ZSS5tdDUz01TlYPC4ti4znxEX8qEDWtAoFeYQiqsEw2cTvnGHx+MhkYDppEcD+s/iHsINwfW IyweCrbd8QnAlS7EeEmg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nA7rG-004nrO-9I; Wed, 19 Jan 2022 10:06:26 +0000 Received: from mailgw02.mediatek.com ([216.200.240.185]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nA7rB-004nq3-Ip; Wed, 19 Jan 2022 10:06:22 +0000 X-UUID: 6f39b86bd3bf4557a2cf41abd2d1b933-20220119 X-UUID: 6f39b86bd3bf4557a2cf41abd2d1b933-20220119 Received: from mtkcas66.mediatek.inc [(172.29.193.44)] by mailgw02.mediatek.com (envelope-from ) (musrelay.mediatek.com ESMTP with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 2047853670; Wed, 19 Jan 2022 03:06:18 -0700 Received: from MTKMBS07N2.mediatek.inc (172.21.101.141) by MTKMBS62DR.mediatek.inc (172.29.94.18) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 19 Jan 2022 02:06:16 -0800 Received: from mtkcas10.mediatek.inc (172.21.101.39) by mtkmbs07n2.mediatek.inc (172.21.101.141) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 19 Jan 2022 18:06:15 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkcas10.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Wed, 19 Jan 2022 18:06:15 +0800 From: Miles Chen To: CC: , , , , , , , , , , , Subject: Re: [PATCH] lib/crypto: blake2s: fix a CFI failure Date: Wed, 19 Jan 2022 18:06:15 +0800 Message-ID: <20220119100615.5059-1-miles.chen@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: References: MIME-Version: 1.0 X-MTK: N X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220119_020621_654303_8245E4C2 X-CRM114-Status: GOOD ( 10.19 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi, >Hi Miles, > >I'm actually not able to reproduce your oops. I'm using vanilla clang >13, cross compiling for arm64, with thin LTO enabled and CFI enabled. >Kernel seems to run fine. > > >Are there other settings that are needed to trigger this? Do you see >it in upstream clang or just the Android fork of clang? > I will try another clang (the previous version I use). I am using Android fork of clang and there is a clang upgrade in this merge. Miles _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel