Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp6665470rwb; Wed, 18 Jan 2023 07:59:37 -0800 (PST) X-Google-Smtp-Source: AMrXdXsLQh7mn+aiZ5hh+i3G6qliWZvxJMWK3YPpjlh+bBLT8mXN8q+p6TLUfMhHVimMINtjJihl X-Received: by 2002:a17:906:9506:b0:86b:1ccc:d434 with SMTP id u6-20020a170906950600b0086b1cccd434mr7166292ejx.67.1674057577068; Wed, 18 Jan 2023 07:59:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674057577; cv=none; d=google.com; s=arc-20160816; b=AVk6vjYSAKliwQvJrEKvURdCUl80FoDAGhEd7OzIuHkOTxsjSTAjzjKctUfh9WbZWU wp9pYBJQRuHDpBjbB5jNIWJMbCuLVw6kJh8VQtiFKA6qD7eTALNsC2P4G6L6WQHTW1hz KnAjr37EyPWsJJzR7SrNq94oaczBRLKuh2taB7L2K7CNUqKJpJ9qxb9R1fwl1Joo8Li3 KGSEF7bnn6l/CrsKSoq/vHl6ZPmq0VCioy8jbOiEY71Km5YVcLIfGXk69ZInvRIyp006 Hpk083MmqOHtzqIulZXzzYBOj/RNbZBUjYw02mqpWZniC+lbsFN37oouGHgvr6zJQEJA 8yaw== 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=Qyi/LW55EkVK757BkAA9VDtsr0MGQ7QA8hOcylTonLk=; b=DKR/TTBiZXx4tFw9/L8xwuy/VN38SfC7IustEXRLh80x9B+BF3S8NHN3JOaNajr8cO 3lv7/Bi3oVdSx77gRUlGwLWd7OTYejKhHQNPB9Xnkjem5hZAcuvSAxfOIrGFdf1N8Mwa E4A3+pjeG2fPmqH5odDUUboWL2cpi5FUkqfDUE9tW2TJ0BAGqmrSiK1YOpO2c/iXOgKf o5RZM33ptFqxV/D27k1lNEMyXnl7N6MVhOIrmNDj4dDQrVPcmKJupDLjmpKljw8DjEvP 84pZFDNVSKz5MkaJpjqZGBtsuYKAGCCUOFxviMb/lOvJ2NcFSOEP7z4/DDtHJUBL9+4W 24tg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=HdPN4d5P; 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=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hb34-20020a170907162200b00854d1861429si33215947ejc.397.2023.01.18.07.59.19; Wed, 18 Jan 2023 07:59:37 -0800 (PST) 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=@redhat.com header.s=mimecast20190719 header.b=HdPN4d5P; 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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230448AbjARPbw (ORCPT + 46 others); Wed, 18 Jan 2023 10:31:52 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37906 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230511AbjARPbs (ORCPT ); Wed, 18 Jan 2023 10:31:48 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 590063AB3 for ; Wed, 18 Jan 2023 07:31:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1674055860; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Qyi/LW55EkVK757BkAA9VDtsr0MGQ7QA8hOcylTonLk=; b=HdPN4d5PvPBjTBrnsO7KTiWmUvYGmG4YYQCkFWqxcessHo+1fDud8iIzIm3jJS6xK+uh1U /8oHg2FpVs14dLGU/2gmsjqhTnJQq/w/a8Rl8Gyh5ox+uCWS8s/Cr35HTiU3llmpvilcYq qTgHP/sdxuIuhniLM7K3PLchDn+lFnA= Received: from mail-oo1-f69.google.com (mail-oo1-f69.google.com [209.85.161.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-173-svdp9SfWPvm5VSasoez_4w-1; Wed, 18 Jan 2023 10:30:59 -0500 X-MC-Unique: svdp9SfWPvm5VSasoez_4w-1 Received: by mail-oo1-f69.google.com with SMTP id v19-20020a056820005300b004f2b398d526so3436644oob.17 for ; Wed, 18 Jan 2023 07:30:59 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=Qyi/LW55EkVK757BkAA9VDtsr0MGQ7QA8hOcylTonLk=; b=LA19aQkSjs5M36YSzYpmP8rtpw297rmoR3LQceVafCwvpmraw+xvK6luVPvF6rbAl9 BCViYOwU6p9dYtpNPL6N6DSszxxWjZKy6rUNxW+mzxO91Xh19D0j6HrkWYgeus/3gpG/ TgF+NpEF6xtXSRZvBX7wD0UkfWjO+PcVIwoWe4HfSh20CB0zCVJEnk9/U95gLBy6piXc 9ONg7lGGViw0qPGpyWSXlNJvNi9bnaoGWxQ5QiRJw/CbdJgSq7I0JNqINVWR01hBTUTr ca4lKaQl25prgkvr6r/vEhmPfFU2X8fm5ZJC7JIyKtBtvjnGvYfw4o/zoddrj4FvSFnQ od5Q== X-Gm-Message-State: AFqh2krY1FHU/LcaA7yJDrrP3LZp18CdwXFGE0+fmfl6ua2AyX69S25z 1Alzb8iio9SoFLAx9wNPWe+jmdHzk8avGGQKjw6h7DDgH+rnN/tW3Tg/oFH5cV8VP9Jd/dHT4Ak 4uJZz8b/mVsqkTsOHw8paY/8Z X-Received: by 2002:a05:6870:1614:b0:143:9d79:e911 with SMTP id b20-20020a056870161400b001439d79e911mr4735546oae.46.1674055858466; Wed, 18 Jan 2023 07:30:58 -0800 (PST) X-Received: by 2002:a05:6870:1614:b0:143:9d79:e911 with SMTP id b20-20020a056870161400b001439d79e911mr4735523oae.46.1674055858208; Wed, 18 Jan 2023 07:30:58 -0800 (PST) Received: from halaney-x13s ([2600:1700:1ff0:d0e0::21]) by smtp.gmail.com with ESMTPSA id l3-20020a056870218300b00152c52608dbsm18681737oae.34.2023.01.18.07.30.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Jan 2023 07:30:57 -0800 (PST) Date: Wed, 18 Jan 2023 09:30:54 -0600 From: Andrew Halaney To: Jakub Kicinski Cc: davem@davemloft.net, peppe.cavallaro@st.com, alexandre.torgue@foss.st.com, joabreu@synopsys.com, edumazet@google.com, pabeni@redhat.com, mcoquelin.stm32@gmail.com, richardcochran@gmail.com, netdev@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Ning Cai Subject: Re: [PATCH net] net: stmmac: enable all safety features by default Message-ID: <20230118153054.22vs2sqsuxifjpxg@halaney-x13s> References: <20230116193722.50360-1-ahalaney@redhat.com> <20230117194348.3f098a18@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230117194348.3f098a18@kernel.org> 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_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE 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 On Tue, Jan 17, 2023 at 07:43:48PM -0800, Jakub Kicinski wrote: > On Mon, 16 Jan 2023 13:37:23 -0600 Andrew Halaney wrote: > > I've been working on a newer Qualcomm platform (sa8540p-ride) which has > > a variant of dwmac5 in it. This patch is something Ning stumbled on when > > adding some support for it downstream, and has been in my queue as I try > > and get some support ready for review on list upstream. > > > > Since it isn't really related to the particular hardware I decided to > > pop it on list now. Please let me know if instead of enabling by default > > (which the original implementation did and is why I went that route) a > > message like "Safety features detected but not enabled in software" is > > preferred and platforms are skipped unless they opt-in for enablement. > > Could you repost and CC Wong Vee Khee, and maybe some other Intel folks > who have been touching stmmac recently? They are probably the best to > comment / review. > Shoot, yes thank you I intended to do! Will resend. - Andrew