Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp208924yba; Wed, 3 Apr 2019 07:21:13 -0700 (PDT) X-Google-Smtp-Source: APXvYqwp3Bva71i1vqnSE2+h9KCwExZ8d8VE67YTAx/wFfm1Q090iUAV6jiE5Yrm1CCr9oZ9VecA X-Received: by 2002:a17:902:a9c7:: with SMTP id b7mr112861plr.145.1554301273359; Wed, 03 Apr 2019 07:21:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554301273; cv=none; d=google.com; s=arc-20160816; b=ymjgen5RnGiN+6MfREePKeMxrgTcD90LYWlcqcD0bToeSHreG2f0tIg7tTsBJzOOPB 7m45BAJvraaaSEGV75JP5Sq1EUaSowb8DFKhJosQkKOqEiZ3mWFVcmRY+H6F+FioGRV8 uqh/VogdW1++Nt7Fi0kPOo4egvSuNPie2t6XTGNJfjgEWYXlmU3pBbwCiLJQGF0xojqi QXm06jzKpxd+OozPekArSz6ZeMStg0YluNA6844YjmJeuTotn+C3ddNurmIH9+Q8UPUF b2PtPYNVoeiuk7irEp4FnoJ3OfpAvr+itcJuueRSWl35oOKbvgO39YclRcY4Mazm1vFB DlYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=vB/OBQax5R4rjNTU0F5RxkuYfIFOtn/+V3lPfgLchV4=; b=UUKqCbk85rtOMi3ZyYK8ihLEyeuMYj3lbr85Tld/endxfvPVTydJY2L6XS/nPyquhy mBnghRwoebRLRtyEbnvNmgRriuqo1PpnoBtVIyMj9giKTotYU5bOT1zeVh/giERXbxn7 qUfwyHATHPNsl6noWUEWpqrliZ//nmTRbmgxclqTUWftBZw07gKoOpYbABBHnj1MTkJA 2vNlTWsHLYRSM8btM5aesJVp4LeH9QZNy79vikpx0yh9PUmEoYDJ+R1jj7Wue8PuWFXc KTPFlOLqzAZBEGeJQAagdyFUhsFU1T0mFYF0bKm+uwSg4N3zkYCw/nM7ty5vkSKIYQsi JwyA== 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v5si13734827pgb.83.2019.04.03.07.20.58; Wed, 03 Apr 2019 07:21:13 -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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726458AbfDCOUY (ORCPT + 99 others); Wed, 3 Apr 2019 10:20:24 -0400 Received: from mail-oi1-f194.google.com ([209.85.167.194]:43894 "EHLO mail-oi1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726144AbfDCOUX (ORCPT ); Wed, 3 Apr 2019 10:20:23 -0400 Received: by mail-oi1-f194.google.com with SMTP id t81so13681656oig.10; Wed, 03 Apr 2019 07:20:23 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=vB/OBQax5R4rjNTU0F5RxkuYfIFOtn/+V3lPfgLchV4=; b=lkcKaD3tj2OVbLfhZfQKZ5dmum2/oB+NSO6Ra40bafzGJyEo4LahiVtTWzYXZCcw+i SaoTSyAttQnVH/l0Ggh869OrPyfdMTDzgYo3XQScg7hhNGTw+SI3onCiU+dxVMnPeiJA /Io0sQIZlPwelar9b97rTzF6ateokoJelaQBL4v/YK7dEMmnJ7iXCpPccQHvlIP/5PCe i6iE+I6KCMPplHIseeDj+mlK+KJ8zWKU16BxAUYHSeWSZqbvE6p75HQDBaET7hy+bh+N QRHsmkJXlZDD8DzQE9ivwsTqq1plHAJK+AqGNrWFAlaWS4dzpvcsIuNXMqo9e3t6AjMm ZT7Q== X-Gm-Message-State: APjAAAX92huyyOWMEfHnQHLz7s99pZ4+91kdYGjtxmZSOa30LLdS8b4k DEsth3RGZTmu+G31562q2Ok= X-Received: by 2002:aca:4b03:: with SMTP id y3mr404842oia.21.1554301223123; Wed, 03 Apr 2019 07:20:23 -0700 (PDT) Received: from localhost ([130.164.62.212]) by smtp.gmail.com with ESMTPSA id q23sm6951753oic.45.2019.04.03.07.20.22 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 03 Apr 2019 07:20:22 -0700 (PDT) Date: Wed, 3 Apr 2019 07:20:22 -0700 From: Moritz Fischer To: richard.gong@linux.intel.com Cc: atull@kernel.org, mdf@kernel.org, linux-fpga@vger.kernel.org, linux-kernel@vger.kernel.org, Richard Gong Subject: Re: [PATCHv1] fpga: mgr: add FPGA configuration log Message-ID: <20190403142022.GB5752@archbook> References: <1554243943-25507-1-git-send-email-richard.gong@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1554243943-25507-1-git-send-email-richard.gong@linux.intel.com> User-Agent: Mutt/1.11.4 (2019-03-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Richard, On Tue, Apr 02, 2019 at 05:25:43PM -0500, richard.gong@linux.intel.com wrote: > From: Richard Gong > > Add a log for user to know FPGA configuration is successful > > Signed-off-by: Richard Gong > --- > drivers/fpga/fpga-mgr.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/fpga/fpga-mgr.c b/drivers/fpga/fpga-mgr.c > index c386681..559e046 100644 > --- a/drivers/fpga/fpga-mgr.c > +++ b/drivers/fpga/fpga-mgr.c > @@ -151,6 +151,7 @@ static int fpga_mgr_write_complete(struct fpga_manager *mgr, > } > mgr->state = FPGA_MGR_STATE_OPERATING; > > + dev_info(&mgr->dev, "Successfully programming FPGA\n"); That info is available in FPGA manager's sysfs status entry, if at all I'd make this a dev_dbg(). From my end I don't see how we need this really. Thanks, Moritz