Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp796115ybl; Fri, 16 Aug 2019 04:15:00 -0700 (PDT) X-Google-Smtp-Source: APXvYqyGsjRKvzw0OeSxQ19x9oBVPSsnUVOZexwBO5CaWbYs62Bj2dslUVeFcd2IhLhLf7H9Y5jB X-Received: by 2002:a17:902:8492:: with SMTP id c18mr8883309plo.279.1565954100285; Fri, 16 Aug 2019 04:15:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565954100; cv=none; d=google.com; s=arc-20160816; b=fTfP04F412GkqLh74G5lEl01C0C0GXgOpmae07JoOvnprF1mroYy6YXFOT8cUsa/sh UOA5NSiMbscmudharySIbQdsqtl2fZ4kmbu/rjQcSE0PX80EPiEe5idaOqafMOFtAtfL NwxFiT6Djw4xgTSoqvwK1Xqwon4O8wGJ0oh80sRL3dbi0/zsZSneBhN/vdDzng9xYpoc 3YlY1iJbMwNcV1c2kwZz9yyNwEqrhkFUDaC04/hsympiakhNTJZE2eIgZR1SNHudCOTC +HriPUfuRNLvcl0zpAH6XBDweS5WXd7An67cyHWQIODlg1Zk69JoXTKAgt/ayuR9V6b4 ihuQ== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=Se9FnC70bZxLERef0LJQv/WdYxwMDfgrnFEQPWOSsjI=; b=j4f21ajWrjq1SUaCPCtIGmP5so0aN765stoNZ7eoSONEmKEsGPuPWY2ScLNbae0iAT EL6ngB0/MzIy/lD+agbLGHJxlrpjANlBKXvSI0qT67efmYU/mCUB+GeqtMoDe1vUnEEB dwb12tQMDXgmIqW3KxLbN3xg5OgbUN2Dwzc2CgfnU3mFYKEvZYWO8gGFMm5HfStm5XS1 cYMk0BSkyHxsXsdXBGB8uVpMDME70LZEe+3l+6iCuxNJTsMpdEY5VWsZ5hKqeQeC+y/f c5xd+1FjPRnAjETCYRstBNH7GFuYgbIWkjojhIlFFI19o8FCNX6LWntEVbUvHl0OHreA zlsQ== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v189si3639863pgd.289.2019.08.16.04.14.41; Fri, 16 Aug 2019 04:15:00 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727099AbfHPLNt (ORCPT + 99 others); Fri, 16 Aug 2019 07:13:49 -0400 Received: from mga01.intel.com ([192.55.52.88]:53004 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727007AbfHPLNt (ORCPT ); Fri, 16 Aug 2019 07:13:49 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 16 Aug 2019 04:13:48 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,393,1559545200"; d="scan'208";a="188785382" Received: from mprabhug-mobl1.amr.corp.intel.com (HELO [10.252.132.82]) ([10.252.132.82]) by orsmga002.jf.intel.com with ESMTP; 16 Aug 2019 04:13:47 -0700 Subject: Re: [alsa-devel] [PATCH v2 0/3] soundwire: debugfs support for 5.4 To: Vinod Koul Cc: alsa-devel@alsa-project.org, tiwai@suse.de, gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org, broonie@kernel.org, srinivas.kandagatla@linaro.org, jank@cadence.com, slawomir.blauciak@intel.com References: <20190812235942.7120-1-pierre-louis.bossart@linux.intel.com> <20190816094308.GA12733@vkoul-mobl.Dlink> From: Pierre-Louis Bossart Message-ID: <9f4789b2-66bd-4b17-2b13-934348a18691@linux.intel.com> Date: Fri, 16 Aug 2019 06:13:46 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <20190816094308.GA12733@vkoul-mobl.Dlink> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 8/16/19 4:43 AM, Vinod Koul wrote: > On 12-08-19, 18:59, Pierre-Louis Bossart wrote: >> This patchset enables debugfs support and corrects all the feedback >> provided on an earlier RFC ('soundwire: updates for 5.4') >> >> There is one remaining hard-coded value in intel.c that will need to >> be fixed in a follow-up patchset not specific to debugfs: we need to >> remove hard-coded Intel-specific configurations from cadence_master.c >> (PDI offsets, etc). >> >> Changes since v1 (Feedback from GKH) >> Handle debugfs in a more self-contained way (no dentry as return or parameter) >> Used CONFIG_DEBUG_FS in structures and code to make it easier to >> remove if need be. >> No functional change for register dumps. >> >> Changes since RFC (Feedback from GKH, Vinod, Guennadi, Cezary, Sanyog): >> removed error checks >> used DEFINE_SHOW_ATTRIBUTE and seq_file >> fixed copyright dates >> fixed SPDX license info to use GPL2.0 only >> fixed Makefile to include debugfs only if CONFIG_DEBUG_FS is selected >> used static inlines for fallback compilation >> removed intermediate variables >> removed hard-coded constants in loops (used registers offsets and >> hardware capabilities) >> squashed patch 3 > > These looks good but failed to apply. Please rebase on soundwire-next > and resend Could you do us a favor and make sure your soundwire/fixes branch is actually merged in soundwire/next? in this case the Makefile is changed in soundwire/fixes and not in next. If you use git am --3way things work fine and the conflict is resolved. Applying: soundwire: add debugfs support Using index info to reconstruct a base tree... M drivers/soundwire/Makefile M include/linux/soundwire/sdw.h Falling back to patching base and 3-way merge... Auto-merging include/linux/soundwire/sdw.h Auto-merging drivers/soundwire/Makefile Applying: soundwire: cadence_master: add debugfs register dump Applying: soundwire: intel: add debugfs register dump