Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp3010437ybk; Mon, 18 May 2020 13:31:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxB7Pmcj0lcpVNmUXdyr1XI++vIXwNhmbFjCAOVgNZE4ueAfNN5vBky0tLQmagPVfZo5+Cg X-Received: by 2002:a17:907:2065:: with SMTP id qp5mr16070665ejb.136.1589833905213; Mon, 18 May 2020 13:31:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589833905; cv=none; d=google.com; s=arc-20160816; b=FSHKGPMdeg+LDVuuyGjjWF3sKmS99A7K2I3d1rb+Jm53c5uf8+Zms2ndb8kBzfe7sk pnMbV+glObPsh+MmiTBFL/y2WwWq5/JMSdfn6dMjt3hMqFjWWqt7Eu+7CIn529iGgSQB LhlvLa2RfVrR38Q1Gvdp7w39SN1NxwUnIxFmxSGtOd7Wl6SYybbQN3hrhS3GBlVd27kd weDQyPN1PR6tXC8hurSOfirhKpaaGwSglCzvvoETH/+NUcwksOZ4pjg51exWGmm8YE0z SSkg6GOxArqZTVeot2dTrttUG9SMzF4hHY5VvUuc4f7S4EIsanb/NK6jFRwDg9VeJ8H8 7VoA== 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 :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=WKrHvp1OlMT2DbbpmSUXiFUvp9/wYi6syPMmMZ/4xoQ=; b=COge9L7Es8Z23LWMIXoQBn5aegoxIGUoj1nW6ZseqaGGLUJaZxOMU85s0NEwtmzfqF 6nbB2cWL/B83NejuYAVknmGfwuQTPQ2jl3y+J3xvk+CLa1Ub2R6NFwwIlYio5wRG7dMZ pEvCrTGcPNuqWdODZ0tvmYw53jyI4/u+XrOhI7QeLEd7rzBeAMz/GH96G+iS1SoHcUPi LQXmH+8YqfHUeBxw1e1td6UFUPc21S8q9VUmJ8j5KDshP+qNwFS3irCortKa8rpz1b4C sby7NwmkTI30AajpcmYRQoVQQRcsdo5Dw4l10wXwPSjzM7ZNR0WZ3J1D85hU9v4vTKeg REOw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=2YnI6fPN; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i11si6513445edv.153.2020.05.18.13.31.20; Mon, 18 May 2020 13:31:45 -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; dkim=pass header.i=@kernel.org header.s=default header.b=2YnI6fPN; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726513AbgERU2e (ORCPT + 99 others); Mon, 18 May 2020 16:28:34 -0400 Received: from mail.kernel.org ([198.145.29.99]:53706 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726227AbgERU2d (ORCPT ); Mon, 18 May 2020 16:28:33 -0400 Received: from kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com (unknown [163.114.132.5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id E620620643; Mon, 18 May 2020 20:28:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1589833713; bh=SCI58Ehuhb/dq++jUy3yXw6n3N3jm3m5ZOFoUuWjP1s=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=2YnI6fPN174NzUWIqK6Rfr4gXiGLwfbfXYDkqqPIkt3MdQgiAFGFknueo07/DgiPW egTdf+xMzKGiDST81aiZlS7W+bXrfyx+HIBEGOPyJy705hOQdXqJkarhB/lqAs99ve MXJLUSYJwCPlXfUHeoQf13kiLhMd83yAXMlyU3lM= Date: Mon, 18 May 2020 13:28:28 -0700 From: Jakub Kicinski To: Johannes Berg 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 Subject: Re: [PATCH v2 12/15] ath10k: use new module_firmware_crashed() Message-ID: <20200518132828.553159d9@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> In-Reply-To: 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> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII 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, 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.