Received: by 2002:a05:7412:f589:b0:e2:908c:2ebd with SMTP id eh9csp1051091rdb; Wed, 1 Nov 2023 09:55:58 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGMDAxgd4FjReglzQqbFC/h9IAvJJK5G6EKFcCWYyPVNHOwC+Xefqh9E2wrgeKwYgNYjS40 X-Received: by 2002:a17:907:7e81:b0:9b9:b12c:133d with SMTP id qb1-20020a1709077e8100b009b9b12c133dmr2232432ejc.53.1698857758179; Wed, 01 Nov 2023 09:55:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698857758; cv=none; d=google.com; s=arc-20160816; b=K7X2OcXrEsneAuDMl9pK6B+ZykVo1hRSUeMgry9qJPuIdvy4HYUiAVl57NahDWuhoj Vow6SGyPYr2B75lLN/qTutctcn6eh+M+1m2bEtqCwqNcy556yGnptACewgr/vd0vUmRP YbfnaJYWM9arMTHitwBpzzTII3KZL47Uzo/ygQV90O3VVkFJHBPvUwJ4sXYLRRA9/OkX hxuAHEkubDvsw68tvb6eBzEfOn8vCGWMYmEw+a+O3jOlCgG9bv1iySpoQBl031PcIuPv HG41k2MpDvfqa/7ktxeOv6JllpxSuc3Q3GwutxDPU1bksCJpOzrmL5+L7YfE0Hvf6Q7z VbnQ== 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=uRia4cZK0HeSMeK6jPeNFLxgVj3O+ilb8mVwJsKRUHs=; fh=FNpU43Pj/YFmN573F4VGBShrc6T3FEci7P+n+4NWHQk=; b=D+jqmwDaB55DkLM1frK11jD821qNu162zYxso6/jvF0oSUDtaaNSDyiD1eAc15NBZn GOwJhjTxbAI9ftTbtwPCdxvEIqsLJFHsgkWtN8n0Brn9cPJtaPW90JHTexB4T1UlFOzz MQDSzt0emi/EYE2xlAz04a9FXV/NDDtGi8tRIxHqiml3LHmnPQgR/8W20fhPUz4oudgA IsTCo0TucCj+ahNBK3tm9dfMynCLTe03dgEUCMPBq/rC4J17/5M/QTt1CNWc+dOnv613 S2/lVqOciLseCxKaN3iksb4N5k6XdvaTMWfWtjtLQCGPPba/Dk7KgbN6o8WSD400wep+ xDOw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=lokuY4Xv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id bk14-20020a170907360e00b0099bc8f0358asi99605ejc.918.2023.11.01.09.55.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Nov 2023 09:55:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=lokuY4Xv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 092138086503; Wed, 1 Nov 2023 09:55:34 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343964AbjKAQzG (ORCPT + 99 others); Wed, 1 Nov 2023 12:55:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39194 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231233AbjKAQzG (ORCPT ); Wed, 1 Nov 2023 12:55:06 -0400 Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 57507FD; Wed, 1 Nov 2023 09:55:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=uRia4cZK0HeSMeK6jPeNFLxgVj3O+ilb8mVwJsKRUHs=; b=lokuY4XvzNt/boNaj0aIXwFkPA rk25+FMrQwyt4JGcGkEz0ES3KIdjkwOWg00D4+FrroqkoIC7+feeto8zgMPjME/XzUgV0rx8WyEyj hNBxUcvXrlAbgi0YMRsiMaqSAdtZf1+FoRwd9xZZiQKLjE7AGH4FeqlFfQ03Fwmwhmhg=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1qyEUU-000hEa-IB; Wed, 01 Nov 2023 17:54:50 +0100 Date: Wed, 1 Nov 2023 17:54:50 +0100 From: Andrew Lunn To: Christian Marangi Cc: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heiner Kallweit , Russell King , netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Robert Marko Subject: Re: [net-next PATCH v2 1/2] net: phy: aquantia: add firmware load support Message-ID: References: <20231101123608.11157-1-ansuelsmth@gmail.com> <4b536ad3-2112-4f28-90e4-586b5745be20@lunn.ch> <65427400.5d0a0220.41c58.0ded@mx.google.com> <34a0b76e-aa0e-4148-ba01-c3b4608f17f7@lunn.ch> <65427fd4.df0a0220.28d26.1955@mx.google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <65427fd4.df0a0220.28d26.1955@mx.google.com> X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email 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 (groat.vger.email [0.0.0.0]); Wed, 01 Nov 2023 09:55:34 -0700 (PDT) > There are plenty of firmware around so it can be checked by from what I > have, it looks like they are word aligned... Ok I will use the > get_unaligned and add a comment saying that we assume the iram and dram > section are always word aligned. We probably want to know if there is firmware out there which is not word aligned. So i would probably do phydev_err() and return -EINVAL. Andrew