Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp515036pxb; Fri, 28 Jan 2022 04:21:21 -0800 (PST) X-Google-Smtp-Source: ABdhPJxJFiCEeG/MHypcp0p8C64lCw3HkJ6jt+TXAreWr1gSgjCqQGn0Z5dYM0SSP8CDYWqnfxIJ X-Received: by 2002:a17:907:1b13:: with SMTP id mp19mr6560731ejc.531.1643372481347; Fri, 28 Jan 2022 04:21:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643372481; cv=none; d=google.com; s=arc-20160816; b=N33Dt5Vtxeo6AThOwoqTCcAWUFQ40yhJsxuw7/ATKoM3vKoeBt7xW9lkh1Vh9CAQNC thFVLKFqcyzt5s+VzQdRWll9SDoVaz8sHpAyy+kQehQzK2/Y1QMM5tke7SOKTQLbt/tI JAS82M+g+9cwZPtS5o3JM4Hnc0yJvEwbElkqthZElh032pfUrj5gEmZoN/L2REiKNCnV lEOxGxEYFcpLbZHP/i9SdmvQmq5lYXZdEPZ7h6B9AmBbKclFgMRLqQ8+TKsHK4nSJFid TaMkPS6MdZHxcXNuH5e/KftGNcvUmwtSXexcrJPFKMmTJkxA++B9Df4kAB7u8vvE0S8b yXZw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:message-id:in-reply-to :subject:cc:to:from:date:dkim-signature; bh=ShEKS2ZK4mxFHNd0Vzi4emcYqsX/naqjnPMKi5lQ6ZQ=; b=ZeHeh8CzoJU1jETj6eeBJit4vt9i5pGctmjqsBBWqk2nYws2Al88pFPUFZ0DdpG8KA MFPa0ynPip7VpAsfI5l6PdnC9QkcUEVDhJucLhZP2FIhDSuMj8eRKkMmsxB199TEol5d w7BFqoSWjcIHceFcV2LzXKYTcm0jXOmBWqr5nVj1oNYh4WOl25Q61pbq6br6FV3sEQHa dVgzPQLh/CEbDiuLgTweZvDbUxXUDCXNStf21qjvY0MZmIviW3dvxUVuNmEnlD1Vcnh0 /z3QMdbEAEVgRl8shNhQSropCDeQ82BJYrSsomJsm3QyERmV4Q03Yn9iB1cPT1Au7rRZ 0TUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Kxi+WRWB; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 24si3503141edv.621.2022.01.28.04.20.58; Fri, 28 Jan 2022 04:21:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Kxi+WRWB; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244693AbiA0Rgd (ORCPT + 72 others); Thu, 27 Jan 2022 12:36:33 -0500 Received: from mga06.intel.com ([134.134.136.31]:15160 "EHLO mga06.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234505AbiA0Rgc (ORCPT ); Thu, 27 Jan 2022 12:36:32 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1643304992; x=1674840992; h=date:from:to:cc:subject:in-reply-to:message-id: references:mime-version; bh=uOVaM3aqU2efVKuIV1QKNA+69ITzm5/5egkZQYxJzPY=; b=Kxi+WRWBrz1hmiCZ52znWF45esqlQ9uMUtVC2s1H+RcoGvNONzwPndhc dk1f2WgYVeKlNHdktgJOuxJou4sqkGov5zFTlaJ+Yiz+vIFmwYuhN2NUQ WEUU8xRn4Ez2Dm7p6zhshrzM5pkQHVbKfQXT3AuA7WsmV+Eq/XaxgqUKO b8UtRjGl/HOA6dcZiI0b08IG1uVmsV2POT/sA6vXjU4E1hGTk/4AjwG2W d9q02upkAvy3zhMAGVMgtXazjsKrl64aDZgcUMYxqo+wnr8ehYuOtTJXK BBJnBMa2LqYfG0pa54KW1MRxHYwxyxb2a7m8Xr8A9eCnmEe6iyT1UR0xY Q==; X-IronPort-AV: E=McAfee;i="6200,9189,10239"; a="307633372" X-IronPort-AV: E=Sophos;i="5.88,321,1635231600"; d="scan'208";a="307633372" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Jan 2022 09:36:31 -0800 X-IronPort-AV: E=Sophos;i="5.88,321,1635231600"; d="scan'208";a="535753201" Received: from pstepan-mobl2.ger.corp.intel.com ([10.249.43.201]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Jan 2022 09:36:24 -0800 Date: Thu, 27 Jan 2022 19:36:16 +0200 (EET) From: =?ISO-8859-15?Q?Ilpo_J=E4rvinen?= To: "Martinez, Ricardo" cc: Netdev , linux-wireless@vger.kernel.org, kuba@kernel.org, davem@davemloft.net, johannes@sipsolutions.net, ryazanov.s.a@gmail.com, loic.poulain@linaro.org, m.chetan.kumar@intel.com, chandrashekar.devegowda@intel.com, linuxwwan@intel.com, chiranjeevi.rapolu@linux.intel.com, haijun.liu@mediatek.com, amir.hanania@intel.com, Andy Shevchenko , dinesh.sharma@intel.com, eliot.lee@intel.com, moises.veleta@intel.com, pierre-louis.bossart@intel.com, muralidharan.sethuraman@intel.com, Soumya.Prakash.Mishra@intel.com, sreehari.kancharla@intel.com Subject: Re: [PATCH net-next v4 03/13] net: wwan: t7xx: Add core components In-Reply-To: Message-ID: <8b47678-7c66-e62f-e5b-442a1a14138e@linux.intel.com> References: <20220114010627.21104-1-ricardo.martinez@linux.intel.com> <20220114010627.21104-4-ricardo.martinez@linux.intel.com> <21cc8585-9bad-2322-44c2-fc99c4dccda0@linux.intel.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="8323329-478051102-1643304991=:1631" Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --8323329-478051102-1643304991=:1631 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT On Tue, 25 Jan 2022, Martinez, Ricardo wrote: > On 1/24/2022 6:51 AM, Ilpo Järvinen wrote: > > On Thu, 13 Jan 2022, Ricardo Martinez wrote: > > > +int t7xx_fsm_append_cmd(struct t7xx_fsm_ctl *ctl, enum t7xx_fsm_cmd_state > > > cmd_id, unsigned int flag) > > No callsite in this patch seems to care about the error code, is it ok? > > Even though there's no recovery path (like retry) for t7xx_fsm_append_cmd() > failures, it makes sense to > > propagate the error instead of ignoring it, will add that in the next version. > > > E.g.: > > > +int t7xx_md_init(struct t7xx_pci_dev *t7xx_dev) > > > +{ > > > ... > > If this returns an error, does it mean init/probe stalls? Or is there > > some backup to restart? > An error here will cause probe to fail, there's no recovery path for this. Just to clarify, I think you misunderstood what I meant as you cut the critical line out in the reply. ...I meant heare that if t7xx_fsm_append_cmd returns an error, it will not make the probe to fail but lead to probe stalling (which propagating the error you intend to do will nicely address). -- i. --8323329-478051102-1643304991=:1631--