Received: by 2002:a05:7412:f589:b0:e2:908c:2ebd with SMTP id eh9csp1150688rdb; Wed, 1 Nov 2023 12:47:25 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGp0W1D+mnwlc97EzLxPMtv2yLYzc7a5oFNE30doATbCcQwAWe6Bkf2tP4DVP6MN0Zp/h9z X-Received: by 2002:a05:6871:3986:b0:1e9:d1b8:5d5a with SMTP id oh6-20020a056871398600b001e9d1b85d5amr13989600oac.39.1698868044873; Wed, 01 Nov 2023 12:47:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698868044; cv=none; d=google.com; s=arc-20160816; b=M08NJYzcRd2uxg9O4y+gHCAYg6mr3sUVHqXLs6MPoB5RrYVGhwnRQG4v8RJWAeX053 x2pGNwrl9gICxXlzIZ4WFge/+43mlWDEDfgZuoawgcl3sp0rHivSyV++F7zt3VQW1VUd jLJwBntGACkIeYg+epVUZwzjfUT7JXgDpDkt4N4Ow5SHOxCy6mNSrGrdUQ2naK5C6Svz vT95YnSjxVeoJQQc5vKbcpoB9n60m2ismxn4iDABWFtChvLWTITnEukHy62JGHlmncVo nPubjCaNdP2HNm9tnuBfCKADKUD6u6skdAx2+PiIARMVmRNog5Nx9hSK0g+OVgmMkIOb kGnA== 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=wYk75WWjhfRsVSIrzNnwPLbfZGcI7ZKnOifzPb2PiLY=; fh=FNpU43Pj/YFmN573F4VGBShrc6T3FEci7P+n+4NWHQk=; b=beAAtIiNWJF1hp9KSO24A2OSVq+2x/iWBRdargA9ios6xUTxluyuw05QRT//1GsLPs pJVoqkib/h7kMcvgeDx+kLz4eILJteeNuxKEYeYC+oHG1785cfpVNLrrb2hIHDmdCxFG oAoxv1GSMLWxGXhIRi7ts017cPme9KE+tBJDQe0DHvSMqAoWNUyEvopNuJm/gWhoSqLJ oMS9YfT67I3K/4aLC6JYNWcSPCSyxSVkA7OhRVaYrXuqfwGSqTgs8dQjqnCvSDbhhaEG 4aKEp0eAolN5IjbjCG/k4y3yXX6viBG9g1owGfzUD6EYT6mai2xykXxyPcDP4K68YvFV LOdg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=tvLD5QyP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 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. [23.128.96.35]) by mx.google.com with ESMTPS id d189-20020a6336c6000000b005b7f3f3ecc5si529937pga.735.2023.11.01.12.47.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Nov 2023 12:47:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=tvLD5QyP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 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 ABC0C8087DC3; Wed, 1 Nov 2023 12:47:19 -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 S1347175AbjKATrF (ORCPT + 99 others); Wed, 1 Nov 2023 15:47:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43054 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347115AbjKATrF (ORCPT ); Wed, 1 Nov 2023 15:47:05 -0400 Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 954209F; Wed, 1 Nov 2023 12:46:58 -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=wYk75WWjhfRsVSIrzNnwPLbfZGcI7ZKnOifzPb2PiLY=; b=tvLD5QyPRht3WABrSXs9QsyqgP AbCUa6QUcXE+QcecXR0Ri9H5FmW4mJfpQqR85pOJ+v3J80KphGVmNeE2GwZIaE5vMmKyf2ncclPqx EIOnskEg7gE6oqw6PRMGXqHrQFKsvBRmVUzdPoaQ5KZZjL7v2hgka38ahFjbgtqmq/Og=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1qyHAs-000hdr-5r; Wed, 01 Nov 2023 20:46:46 +0100 Date: Wed, 1 Nov 2023 20:46:46 +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: <6dca432f-2a25-4e34-b44e-7cca0b045566@lunn.ch> 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> <65428629.050a0220.b2431.1edc@mx.google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <65428629.050a0220.b2431.1edc@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 12:47:19 -0700 (PDT) > Do we have API to check this? Or I think I should just check the iram > and dram size and see if iram_size % sizeof(u32) is zero and return > error otherwise. Yes, that sounds correct. Andrew