Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp805039pxa; Wed, 5 Aug 2020 13:12:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxdknTPEl1/6lRC/d0oO0xetm2euhj/rOKpTcZ4OsHUDGOXzUTPkJEGI+ydNBMORzU9yVbk X-Received: by 2002:a50:ee92:: with SMTP id f18mr1020017edr.80.1596658366809; Wed, 05 Aug 2020 13:12:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596658366; cv=none; d=google.com; s=arc-20160816; b=EaJxUHQ01e/sAK46eU7S2NF2gDFzTIG/0VvNvUNgPxDbq3eOvqlUDmZZqMKV2jRxvU SzhrdcGy7GnVfkXSfJ3TA3sjqWM9W3fdHWXqlHkNRrmfY8Cd40ikLTq8R68vwmY9L54l du9RW6B5Rj+7GbREyUAeCwlGUwRWYySIhE7nGKjdQmqjuys6kcZQSMpQ0/aW0iuCMv+c xcAKZoEiXPcc7JGmhLPa/ucvtZoNCDXdCyQnFzBL/1JvVWJaUXfg0PScsFeGPfqVhXTW BpjQMPX9JZ8BzodLLgGHO0ESF2PQhUTLtgQY4TFnmAvlT1VCv6wt5B4leKEDIGuEgpYg z03w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=iktBH9Jbd+vXKhEIZoWwjGQSfq4gSF6YMLYnJ8YVd5s=; b=KHoO4Tvn1EoiCm7rYGRVwuYMiqJDKeaxKPagbQGEap4epgwN3JXbJaevgSrXx1iXUE wZZazMr1RH4MRH/H/HsO+Tc/ZQcvafcvkJsiZqIshCtf9mmhJktmgIZq5FwKrZne2bWg /3um38m3JFJlM9rxPOb1iIU/16egsMyVZZsvAq0h4oOK26Hc9IUtnIMnTI9hcylttbs+ LTAYU6TITyJowPq34ZJLACTPEVWYsdM8FN64go2s/uLaNtrLAXvjKQqEOdEiF/KvGU2w nnOcl0fs8QeQay3xwT/hXpALzitIivzSTdIKDJx2DfsPAgpggQepzdKtAIK9TE0xf2fd 1HHg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=DztFBbHa; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gr23si1938210ejb.132.2020.08.05.13.12.24; Wed, 05 Aug 2020 13:12:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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=@kernel.org header.s=default header.b=DztFBbHa; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726398AbgHEUMK (ORCPT + 99 others); Wed, 5 Aug 2020 16:12:10 -0400 Received: from mail.kernel.org ([198.145.29.99]:49490 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727020AbgHEQ1k (ORCPT ); Wed, 5 Aug 2020 12:27:40 -0400 Received: from mail-lj1-f174.google.com (mail-lj1-f174.google.com [209.85.208.174]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id E835422B48; Wed, 5 Aug 2020 10:31:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1596623482; bh=1KGUWj0pR+2MJSTXGoe2kv9kDdmhjrT4ZUDgSPT30Lg=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=DztFBbHaJmfLXguERc4iO/+C8kDCuxWxe54V2rQADelhOhyrjs+B1R02wY4g9lGwR NYLc/XumwnvqUcNuDhKnkdZ5v8SfnUAb/71U87pSpdn+jnJbAj8Z4SECzowbaP3x2p 4EBnGi/dsVGr4fG4ZH1deIbkZeUT/FXH/6HjeH5k= Received: by mail-lj1-f174.google.com with SMTP id i10so12301461ljn.2; Wed, 05 Aug 2020 03:31:21 -0700 (PDT) X-Gm-Message-State: AOAM531SQi1oBgKUQKUgQlARvMnnqBM/zjfD42hV8ifsmFIH1LdrEOow AR3dNn274KWdN6Yywe4bLHRcqFSjZMT9z5zMjFk= X-Received: by 2002:a2e:9d17:: with SMTP id t23mr1114817lji.456.1596623480201; Wed, 05 Aug 2020 03:31:20 -0700 (PDT) MIME-Version: 1.0 References: <1595792274-28580-1-git-send-email-ilial@codeaurora.org> <20200726194528.GC1661457@lunn.ch> <20200727.103233.2024296985848607297.davem@davemloft.net> <20200804192435.GG1919070@lunn.ch> In-Reply-To: <20200804192435.GG1919070@lunn.ch> From: Ilia Lin Date: Wed, 5 Aug 2020 13:31:08 +0300 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] net: dev: Add API to check net_dev readiness To: Andrew Lunn Cc: David Miller , ilial@codeaurora.org, kuba@kernel.org, jiri@mellanox.com, edumazet@google.com, ap420073@gmail.com, xiyou.wangcong@gmail.com, maximmi@mellanox.com, Ilia Lin , netdev@vger.kernel.org, open list Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org My comments inline. Thanks, Ilia Lin On Tue, Aug 4, 2020 at 10:24 PM Andrew Lunn wrote: > > On Tue, Aug 04, 2020 at 08:47:18PM +0300, Ilia Lin wrote: > > Hi Andrew and David, > > Hi Ilia > > Please don't top post. > > > > > Thank you for your comments! > > > > The client driver is still work in progress, but it can be seen here: > > https://source.codeaurora.org/quic/la/kernel/msm-4.19/tree/drivers/platform/msm/ipa/ipa_api.c#n3842 > > > > For HW performance reasons, it has to be in subsys_initcall. > > Well, until the user of this new API is ready, we will not accept the > patch. OK, but once we submit the change in the driver, is it good to go? > > You also need to explain "For HW performance reasons". Why is this > driver special that it can do things which no over driver does? There are very strict KPI requirements. E.g. automotive rear mirror must be online 3 sec since boot. > > And you should really be working on net-next, not this dead kernel > version, if you want to get merged into mainline. Of course, the upstream submition will be done on the mainline. I just gave an example of an existing product driver. > > Network drivers do not belong is drivers/platform. There is also ready > a drivers/net/ipa, so i assume you will move there. Sure, the driver in the drivers/net/ipa is the one that will be updated in the future. > > Andrew