Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp3010553ybk; Mon, 18 May 2020 13:31:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJymo5itOi3OrnPdXS7X/QrllpuNbUoShKa3j8bR0gftjCOf0o0B7Xky79TSBrcGVejpvRsy X-Received: by 2002:a17:906:dbef:: with SMTP id yd15mr16811377ejb.5.1589833916913; Mon, 18 May 2020 13:31:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589833916; cv=none; d=google.com; s=arc-20160816; b=njJamlILtMXO8wwzST7WcQ8T2IJ2p7GKc/Y0v6ydRY4T+RC9t1IqIlamDnddlv4XRE DI3aaG3AMTlD56byNJpvayQsxeqKBpuCbIwHFMYuKWrj+zIelB4qR1KLHOgt/BLE5xyp AXs8p359vOfKpTMgvsLipxTFKJCw5VTK1wgUocPJwgVRuK+6O9r0QjwREb6fA17J1NSd NDVrq3Ve9HzlBJW4kQkpR1C+eWvPO9lcvIjZYYEw7MrTUYv9fL5Nv22huciEIB9U7GBX HqtHZNJDpLWdgJbxcCtGWMRTVtSmRdlxn4SvIGbKCgCax59uDTM9hKSkcaOlN6yto1Ri BKfg== 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=+CBE3ZP7Fin2PPBMUY17s6krunmVd/T0uYjcT53Kr6g=; b=DGSX1ASNCzYAMwpSlc19d2iyCk9D7bT77hPqKGVpfP8L8HulX4tR9cxE4mMKjY2ay0 tdwUcm12cpUzBk57+NOQ0C7IMs0DLmapfcWfa+pNgQE5+L8/mj9/yPUPtJEnBpxm/DrI 1CWz6HHXck5VcZ7mjjyRQB7wkSm5N1uq6AHqa95dI8zkEwlU3/5/7HxnWoMio2HjN7nm J21WaBRxmt3I6iyfGOlBHszVuNdEIK7r0/TE63uiXDJDmpT5OVtELk33PWHXGzN011Vh EJWOjii0WyozRZkWu879JfI0OWWlT4GX4WyB9EV069R/gfNS2ozCNbdAQdfScpgZsfVt 3AYA== 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 g20si6855061edh.441.2020.05.18.13.31.33; Mon, 18 May 2020 13:31:56 -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 S1726276AbgERUbD (ORCPT + 99 others); Mon, 18 May 2020 16:31:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58124 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726227AbgERUbD (ORCPT ); Mon, 18 May 2020 16:31:03 -0400 Received: from sipsolutions.net (s3.sipsolutions.net [IPv6:2a01:4f8:191:4433::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 407B0C061A0C; Mon, 18 May 2020 13:31:03 -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 1jamOZ-00FkWP-9n; Mon, 18 May 2020 22:29:55 +0200 Message-ID: <8d7a3bed242ac9d3ec55a4c97e008081230f1f6d.camel@sipsolutions.net> 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:29:53 +0200 In-Reply-To: <20200518132828.553159d9@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> 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:28 -0700, Jakub Kicinski wrote: > On Mon, 18 May 2020 21:25:09 +0200 Johannes Berg wrote: > > It's pretty clear, but even then, first of all I doubt this is the case > > for many of the places that you've sprinkled the annotation on, and > > secondly it actually hides useful information. > > > > Regardless of the support issue, I think this hiding of information is > > also problematic. > > > > I really think we'd all be better off if you just made a sysfs file (I > > mistyped debugfs in some other email, sorry, apparently you didn't see > > the correction in time) that listed which device(s) crashed and how many > > times. That would actually be useful. Because honestly, if a random > > device crashed for some random reason, that's pretty much a non-event. > > If it keeps happening, then we might even want to know about it. > > Johannes - have you seen devlink health? I think we should just use > that interface, since it supports all the things you're requesting, > rather than duplicate it in sysfs. I haven't, and I'm glad to hear that's there, sounds good! I suspect that Luis wants something more generic though, that isn't just applicable to netdevices, unless devlink grew some kind of non-netdev stuff while I wasn't looking? :) johannes