Received: by 10.213.65.68 with SMTP id h4csp550684imn; Tue, 13 Mar 2018 12:43:44 -0700 (PDT) X-Google-Smtp-Source: AG47ELvtxJOhbW127NWYDtofhCdN4CE2aAuIIH6hCmimnM0pccfji7XBPNGws/tPNgaH40zdTx/8 X-Received: by 10.98.152.205 with SMTP id d74mr1706516pfk.115.1520970224011; Tue, 13 Mar 2018 12:43:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1520970223; cv=none; d=google.com; s=arc-20160816; b=EAH1sMmELP/9oxvUVmmCxyipe2YLex+RWAgSyG7mc8zJXoxBe3Tq6ZSbYMbtIMWcsA pH8i3TC1fqCFEDqoTPr8yqvL4XTbF3HNvt3qGw7KvtRXceuCFOr4g5MFNVx5Ynsyd17U WTJMWY2U+N4oIeZAz8dCLEMsQeI56XzoyEfg9OE++bDsnsvBk6AR2ifCH+Z3R0L5aan1 XXYPuokeTqGDHCjSCCpvxx9+wUfjA95j4eXto2nLNlW/qSEDDUmBvZgfJ5Ox7eNfKlfw FLFdbky1gd6DJyYy+yiCyVdMLhzvWcSjJ+rZ8s/enI1pA0k9C0p+NUJlg0g310cJogeQ BxKA== 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:in-reply-to :mime-version:user-agent:date:message-id:from:cc:references:to :subject:dkim-signature:arc-authentication-results; bh=ah6XUmiz8deGNXT0Zw+ruGJzNaDbYvdIYKCHqyE0tGc=; b=uQlQZMgaQbGexcahH7+6axbyA+SEKRFe29Vq7cvB3SqdChpiHEPfx3z/gGAfCaV3JH +TJ1PsH0cN0wlMbO8+2ssDeSFFpHG621ogI9ZkisCcn9vtUoW/jyFyPjvg9GcB1kzZWL Kwvsl25LeX9vzbX02TNkdQy6istJkE9Iz4HyYO/8GckzGLoBiHm6MkaW2Y6rkC8NQE0g l0EwCIptO8sCqwL0sdTm3tbzl3w0CPMqJviixtonkYa1DQYtD3qU4cZudiUfcn7j3j0R nwJZYmhtr6GtUyTU6ftMZPt4bf76xYbaZhUbfcs9qcxFTGuhAxTVcbetSWOKpXDQ+42R EBTg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b=RPo0h+sQ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s24si659001pfj.121.2018.03.13.12.43.29; Tue, 13 Mar 2018 12:43:43 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b=RPo0h+sQ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932332AbeCMTma (ORCPT + 99 others); Tue, 13 Mar 2018 15:42:30 -0400 Received: from mail-wm0-f66.google.com ([74.125.82.66]:33907 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752136AbeCMTm2 (ORCPT ); Tue, 13 Mar 2018 15:42:28 -0400 Received: by mail-wm0-f66.google.com with SMTP id a20so15593143wmd.1 for ; Tue, 13 Mar 2018 12:42:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=ah6XUmiz8deGNXT0Zw+ruGJzNaDbYvdIYKCHqyE0tGc=; b=RPo0h+sQHXsppG2877c/4zXzufmnuX3yavOmwQczArcHqOLRS8Raw/X00XarPJ4Wx9 gpeTR9yCKhTFbzjCIeYhm6a5OEfzTl9YWm6N2QeaiQm7mbCFegx5AopfDCWd5nsR/mK9 APNtFUg6u/9z+n2D2tiI67BCjnkx72zrmGwEg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=ah6XUmiz8deGNXT0Zw+ruGJzNaDbYvdIYKCHqyE0tGc=; b=b1/xzHJf1hsHOxv1r+Xhg+41QNASXCNpNRuGnsTpKNY6pWHF7w0PUIDVj9BbvJ6/N+ CVYqAluSNP3YpIsqdbmguqVFSpvp595GJ1KbVqH2js2jf4Gl3BVlTt/lHacQFkYBwM2N UOkoH1prYdEafVFb4lhyHL9hzmtIARpkale0fL3SP+PzvEJcWIRf5uuU0cjVXlPdXYnD eLZERB5hk91XffTdRGnjQkid/lhU4tuZwkmK50p5e9LM5O/C3xmxlhQs4Yw5uXVZAE9c 1EqHBqxLz1bhWc/BvTGROR/4JPOQqGRJ6vaY3TgPg5YlO4cf4fUgoLE6YJ8TFitmgsUe GsCw== X-Gm-Message-State: AElRT7HuISWPN3+TV6Mu4HxFFyiOocSsCaVHulaiyNFPEF8pSjdyo+TE 8Xnmd5W13mD7XLa9dvlLmwhuAcVG X-Received: by 10.80.192.146 with SMTP id k18mr257987edf.229.1520970147654; Tue, 13 Mar 2018 12:42:27 -0700 (PDT) Received: from [192.168.178.129] (f140230.upc-f.chello.nl. [80.56.140.230]) by smtp.gmail.com with ESMTPSA id u46sm997861edm.57.2018.03.13.12.42.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 13 Mar 2018 12:42:27 -0700 (PDT) Subject: Re: [2/3] mwifiex: support sysfs initiated device coredump To: Kalle Valo References: <1519210220-22437-3-git-send-email-arend.vanspriel@broadcom.com> <20180312094115.2E1C1606DB@smtp.codeaurora.org> <5AA67616.2000602@broadcom.com> <87efkoazow.fsf@kamboji.qca.qualcomm.com> Cc: Marcel Holtmann , linux-wireless@vger.kernel.org, linux-bluetooth@vger.kernel.org, linux-kernel@vger.kernel.org, Greg Kroah-Hartman From: Arend van Spriel Message-ID: <5AA829A1.1090209@broadcom.com> Date: Tue, 13 Mar 2018 20:42:25 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 MIME-Version: 1.0 In-Reply-To: <87efkoazow.fsf@kamboji.qca.qualcomm.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 3/13/2018 2:10 PM, Kalle Valo wrote: > Arend van Spriel writes: > >> On 3/12/2018 10:41 AM, Kalle Valo wrote: >>> Arend Van Spriel wrote: >>> >>>> Since commit 3c47d19ff4dc ("drivers: base: add coredump driver ops") >>>> it is possible to initiate a device coredump from user-space. This >>>> patch adds support for it adding the .coredump() driver callback. >>>> As there is no longer a need to initiate it through debugfs remove >>>> that code. >>>> >>>> Signed-off-by: Arend van Spriel >>> >>> Based on the discussion I assume this is ok to take to w-d-next. If that's not >>> the case, please let me know ASAP. >> >> It is up to the mwifiex maintainers to decide, I guess. The ABI >> documentation need to be revised and change the callback to void >> return type. I am not sure what the best approach is. 1) apply this >> and fix return type later, or 2) fix return type and resubmit this. >> What is your opinion? > > I guess the callback change will go through Greg's tree? Then I suspect > it's easier that you submit the callback change to Greg first and wait > for it to trickle down to wireless-drivers-next (after the next merge > window) and then I can apply the driver patches. Otherwise there might > be a conflict between my and Greg's tree. That was my assessment, but unfortunately Marcel already applied the btmrvl patch before I could reply. So how do I move from here? Option 1) revert brmrvl and fix callback return type, or 2) apply mwifiex patch and fix callback return type later for both drivers. Regards, Arend