Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp3017821ybk; Mon, 18 May 2020 13:45:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwuEyDoRhxePVy6Qm3dBZXHRcRXYe2D5YamSZcZ6ETz6Qyqjmbkesohbc4h3y+uIujV93kf X-Received: by 2002:a05:6402:2211:: with SMTP id cq17mr14787255edb.171.1589834706545; Mon, 18 May 2020 13:45:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589834706; cv=none; d=google.com; s=arc-20160816; b=KcmF8rCq5wmZaCfnMeoj1SNpSqdij6u06XunRRO2AjReciNEG6FVywce23bgIpO42h z3CwNJecc9jdyQ7hLeyiTmO4c9rJ+BeFfCrwtyLzOnUlQ5ZWy0KySmQcH+oZwxksBtpf MUg025Edr3Hf8IHd9AstDXA/sXXcsgq733GaiGjL2e9SxgjbZZWNThPl07RE02F4wJMi LBZfqBnFP/Glc2g1UlfFQ7BCjrh5Jov54i0vrlKI2nrHhs3RJWywx8HC8O9z9d8KOs88 c3HLedRAE5dpASp1XiqOhmBNdLzXnCyXyNgThvnq6/pHaTbqM3KKFKBH4p+n6CoAceRm sCEA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id; bh=ULlkr2SqwxefpP3aLdoXAkQz8ASsI1n6AhrvXHF5vvE=; b=xpoY3iqdt5KntbUMxEmOTMb9yyHyBWGjGDvohxbYZkQyWG0K69JxlOjEUQ1umb71le 9nTvnUnC+A9Sp2M5YCO7sphPjZvza/g5f1T/IDXzgcdVXMrVCelH0U/nGOIOhi7Wh4Ya 3jwdCyE+cngeC556t9ROxlH7cNXTVUQiKRLIdobUnpI2Y5E4FB0o/SAfI/AQkYDWq9dk seAj7WRJ6gdpCGarNl32P726dNW9KknNItDkiQjhhCkSzfW8nW8jTbIVsyP+TJS30+bd S/+lhJDQGPtFXGxUgP3kTXs3gGX6rUzX7CtxyZDRl1t6iRJe6HSiRd/asLsdXCHNGJ7R XuYg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e2si7026069edj.470.2020.05.18.13.44.42; Mon, 18 May 2020 13:45:06 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726821AbgERUmX (ORCPT + 99 others); Mon, 18 May 2020 16:42:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59936 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726270AbgERUmX (ORCPT ); Mon, 18 May 2020 16:42:23 -0400 Received: from sipsolutions.net (s3.sipsolutions.net [IPv6:2a01:4f8:191:4433::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 13AE8C061A0C; Mon, 18 May 2020 13:42:23 -0700 (PDT) Received: by sipsolutions.net with esmtpsa (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.93) (envelope-from ) id 1jama5-00Fkrl-PA; Mon, 18 May 2020 22:41:49 +0200 Message-ID: Subject: Re: [PATCH v2 12/15] ath10k: use new module_firmware_crashed() From: Johannes Berg To: Jakub Kicinski Cc: Luis Chamberlain , Steve deRosier , Ben Greear , jeyu@kernel.org, akpm@linux-foundation.org, arnd@arndb.de, rostedt@goodmis.org, mingo@redhat.com, aquini@redhat.com, cai@lca.pw, dyoung@redhat.com, bhe@redhat.com, peterz@infradead.org, tglx@linutronix.de, gpiccoli@canonical.com, pmladek@suse.com, Takashi Iwai , schlad@suse.de, andriy.shevchenko@linux.intel.com, keescook@chromium.org, daniel.vetter@ffwll.ch, will@kernel.org, mchehab+samsung@kernel.org, Kalle Valo , "David S. Miller" , Network Development , LKML , linux-wireless , ath10k@lists.infradead.org Date: Mon, 18 May 2020 22:41:48 +0200 In-Reply-To: <20200518133521.6052042e@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> References: <20200515212846.1347-1-mcgrof@kernel.org> <20200515212846.1347-13-mcgrof@kernel.org> <2b74a35c726e451b2fab2b5d0d301e80d1f4cdc7.camel@sipsolutions.net> <20200518165154.GH11244@42.do-not-panic.com> <4ad0668d-2de9-11d7-c3a1-ad2aedd0c02d@candelatech.com> <20200518170934.GJ11244@42.do-not-panic.com> <20200518171801.GL11244@42.do-not-panic.com> <20200518190930.GO11244@42.do-not-panic.com> <20200518132828.553159d9@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> <8d7a3bed242ac9d3ec55a4c97e008081230f1f6d.camel@sipsolutions.net> <20200518133521.6052042e@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.36.2 (3.36.2-1.fc32) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On Mon, 2020-05-18 at 13:35 -0700, Jakub Kicinski wrote: > > It's intended to be a generic netlink channel for configuring devices. > > All the firmware-related interfaces have no dependencies on netdevs, > in fact that's one of the reasons we moved to devlink - we don't want > to hold rtnl lock just for talking to device firmware. Sounds good :) So I guess Luis just has to add some way in devlink to hook up devlink health in a simple way to drivers, perhaps? I mean, many drivers won't really want to use devlink for anything else, so I guess it should be as simple as the API that Luis proposed ("firmware crashed for this struct device"), if nothing more interesting is done with devlink? Dunno. But anyway sounds like it should somehow integrate there rather than the way this patchset proposed? johannes