Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp12443272rwd; Fri, 23 Jun 2023 06:17:20 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6/y60QHtc+g0e1SQRP1aYAi0Rs9ukymcsKyxX/2M61nG/BBVdhWxF96mZY81s16UtV3Djy X-Received: by 2002:a05:6a20:394c:b0:125:9d7f:3bff with SMTP id r12-20020a056a20394c00b001259d7f3bffmr1830639pzg.44.1687526239747; Fri, 23 Jun 2023 06:17:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687526239; cv=none; d=google.com; s=arc-20160816; b=G+JV84yYS83mq4qnUMngVJMirP/jT5Gb0aWQgLKUaaIa5Pm8aZVxhIqyHleHiM4Esb CTUaXtZUlQISk75LxXNueH6ZoPIg4W9ekg1eoTzrUU5Lk4wWlRG9jaMYaHAwoMeFle6o 4akj7WqsT1z5XhAs5E+ahc8tiEn76/k3ip4ebrNy51VZJjJwFjvseW+KJbO0cHcBcwfk VIJU5c40dgf0gxF2x6/WmD9jpztRCyY1i4dzoZJDHcgqACoum0o5MW8/yeUCG+//81om HYVGDFdAX7/pKMxYwGxahMlidYs8U78RGjpBpDztsYKn7IPfCR4Y58WxwW5qzlxC3qeB 12wQ== 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=+nlw8o0x9EmBbnewRBB9FOcSf2qgr1xezY4CpDaC89M=; b=sA3UsmmbSlWKzGFsBPxzOFTh+0rqfs6/UZqmYrdBEM4EwudxGbd9DDA5/KoQm4o+Sc GsRTdZFAwdV/kISUTt0BsSspKioDTftaPfvkcgCRu+VwK851OAAc1I7BaAIs/D2AP8Ug IWdVWjhabnrjozSlNRzvFC2vEK2BrluMe/5gkaAEJBqRWKMSXGwHGPbA71GjxEJHy3rh vyhrNGn4pie0pBpI6lF4gg+MTRXqJMbyYu0yJoVAVP0jW/o2l7PTc65j9J33al4JNQCL U4O0JnsDJEQCIt8dQi4M2q9KMmXiabZMGwN9FIR4ly/sKZ3/uIK6MYKGcLgRzoJDQBYQ GOZw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Nhsz06Xm; 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 j190-20020a6380c7000000b0055759bb6888si2546473pgd.433.2023.06.23.06.16.49; Fri, 23 Jun 2023 06:17:19 -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=@redhat.com header.s=mimecast20190719 header.b=Nhsz06Xm; 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 S231278AbjFWNIC (ORCPT + 99 others); Fri, 23 Jun 2023 09:08:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44968 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229484AbjFWNIB (ORCPT ); Fri, 23 Jun 2023 09:08:01 -0400 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 330422133 for ; Fri, 23 Jun 2023 06:07:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1687525634; 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=+nlw8o0x9EmBbnewRBB9FOcSf2qgr1xezY4CpDaC89M=; b=Nhsz06XmAuJBGD08IdDxx3PlWVdNlEalmxlPnN5PtgExgaIZN1Yr2dxspFFUydVAc66DD0 BlxcxO5S9BfO2JOYrn7WaZxF+tilc/LrOhZ+5AogsYf1HvYmbHQGFb/sDccVrZGZgN+wSV 3fQqsLGgj9AoXcLpoD3qZ3soMd9TCt4= Received: from mail-oi1-f197.google.com (mail-oi1-f197.google.com [209.85.167.197]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-561-gMXELkuNPkCNz9wl5Zb7FQ-1; Fri, 23 Jun 2023 09:06:56 -0400 X-MC-Unique: gMXELkuNPkCNz9wl5Zb7FQ-1 Received: by mail-oi1-f197.google.com with SMTP id 5614622812f47-3a034580b21so538995b6e.3 for ; Fri, 23 Jun 2023 06:06:56 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687525615; x=1690117615; 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=+nlw8o0x9EmBbnewRBB9FOcSf2qgr1xezY4CpDaC89M=; b=QzY41BHh6Cm7OyOoa+J/A+O05+PTN4j/PMv1qI2fvrAqKNXt5THUGwRaXd6QkyJD5j bxTUrZCnf+h5JLEF0w+v0M8teBnm6XtcJBn5Cap2h1euR6glfSnRqEhxem+zhBhveE0e Nsa/wx7pWxwbTZ7sLHr8CRSW2vGS9p5lO+yC4DsH4gYIwxbplysp5UFUgoeWiQ6Cl2Gh er7e5IIcAfU2zIBzWhgJIfB4tQH+TJtSQ/ZgDsNSy8b1+y6MYaxpPqz8H1MTxL15Xt9o kF7lG3TzrY/j4YTqs+n4DiiR00tqCB3jCz3nv+oGXuRMCSsuuJJVgBom69dOr7MajwFp 5Jlg== X-Gm-Message-State: AC+VfDwb/CHXGuz7/s628N59MXfg01NBi2Dua2oThaPnRhQMxt+XifN0 viDvZo09N3I9psxq0/mQUi+bwAmfj1Gqleeo4/KETtW0R49UUol+zD52HHvdnt2x08WFb/ZSTxL LsIe/jLGfjxdfUR8g7UTSmUGC X-Received: by 2002:a05:6808:1386:b0:39e:b84b:4786 with SMTP id c6-20020a056808138600b0039eb84b4786mr20204388oiw.27.1687525615071; Fri, 23 Jun 2023 06:06:55 -0700 (PDT) X-Received: by 2002:a05:6808:1386:b0:39e:b84b:4786 with SMTP id c6-20020a056808138600b0039eb84b4786mr20204357oiw.27.1687525614823; Fri, 23 Jun 2023 06:06:54 -0700 (PDT) Received: from halaney-x13s ([2600:1700:1ff0:d0e0::f]) by smtp.gmail.com with ESMTPSA id be18-20020a056808219200b003a05636f4a8sm2061949oib.29.2023.06.23.06.06.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Jun 2023 06:06:54 -0700 (PDT) Date: Fri, 23 Jun 2023 08:06:51 -0500 From: Andrew Halaney To: Bartosz Golaszewski Cc: Vinod Koul , Bhupesh Sharma , Andy Gross , Bjorn Andersson , Konrad Dybcio , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Giuseppe Cavallaro , Alexandre Torgue , Jose Abreu , Maxime Coquelin , netdev@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, Bartosz Golaszewski Subject: Re: [PATCH net-next v2 00/12] net: stmmac: replace boolean fields in plat_stmmacenet_data with flags Message-ID: <20230623130651.a36qensnjwx6j4ea@halaney-x13s> References: <20230623100845.114085-1-brgl@bgdev.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230623100845.114085-1-brgl@bgdev.pl> 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_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 Fri, Jun 23, 2023 at 12:08:33PM +0200, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > As suggested by Jose Abreu: let's drop all 12 boolean fields in > plat_stmmacenet_data and replace them with a common bitfield. > > v1 -> v2: > - fix build on intel platforms > > Bartosz Golaszewski (12): > net: stmmac: replace the has_integrated_pcs field with a flag > net: stmmac: replace the sph_disable field with a flag > net: stmmac: replace the use_phy_wol field with a flag > net: stmmac: replace the has_sun8i field with a flag > net: stmmac: replace the tso_en field with a flag > net: stmmac: replace the serdes_up_after_phy_linkup field with a flag > net: stmmac: replace the vlan_fail_q_en field with a flag > net: stmmac: replace the multi_msi_en field with a flag > net: stmmac: replace the ext_snapshot_en field with a flag > net: stmmac: replace the int_snapshot_en field with a flag > net: stmmac: replace the rx_clk_runs_in_lpi field with a flag > net: stmmac: replace the en_tx_lpi_clockgating field with a flag > > .../stmicro/stmmac/dwmac-dwc-qos-eth.c | 4 +- > .../net/ethernet/stmicro/stmmac/dwmac-intel.c | 23 +++++------ > .../ethernet/stmicro/stmmac/dwmac-mediatek.c | 5 ++- > .../stmicro/stmmac/dwmac-qcom-ethqos.c | 8 ++-- > .../net/ethernet/stmicro/stmmac/dwmac-sun8i.c | 2 +- > .../net/ethernet/stmicro/stmmac/dwmac-tegra.c | 4 +- > .../ethernet/stmicro/stmmac/stmmac_hwtstamp.c | 4 +- > .../net/ethernet/stmicro/stmmac/stmmac_main.c | 40 +++++++++++-------- > .../net/ethernet/stmicro/stmmac/stmmac_pci.c | 2 +- > .../ethernet/stmicro/stmmac/stmmac_platform.c | 10 +++-- > .../net/ethernet/stmicro/stmmac/stmmac_ptp.c | 5 ++- > include/linux/stmmac.h | 26 ++++++------ > 12 files changed, 76 insertions(+), 57 deletions(-) > > -- > 2.39.2 > The series looks proper to me: Reviewed-by: Andrew Halaney