Message ID | 1490383355-23176-14-git-send-email-jliang@xilinx.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-remoteproc-owner@kernel.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 55181601E9 for <patchwork-linux-remoteproc@patchwork.kernel.org>; Fri, 24 Mar 2017 19:31:27 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4257327D16 for <patchwork-linux-remoteproc@patchwork.kernel.org>; Fri, 24 Mar 2017 19:31:27 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3747F27E5A; Fri, 24 Mar 2017 19:31:27 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C333527D16 for <patchwork-linux-remoteproc@patchwork.kernel.org>; Fri, 24 Mar 2017 19:31:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S967140AbdCXTb0 (ORCPT <rfc822;patchwork-linux-remoteproc@patchwork.kernel.org>); Fri, 24 Mar 2017 15:31:26 -0400 Received: from mail-dm3nam03on0078.outbound.protection.outlook.com ([104.47.41.78]:60864 "EHLO NAM03-DM3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S967087AbdCXTaQ (ORCPT <rfc822; linux-remoteproc@vger.kernel.org>); Fri, 24 Mar 2017 15:30:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xilinx.onmicrosoft.com; s=selector1-xilinx-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=jKDcBwGuv8GnEVW6dueg6HWAeEyfePxlhUgNNoZfR5c=; b=xrcC5m2962Maj2Uh41WNNJZtDNjrZkMRvmP1fNo7e5WA9Tp3/wKCoo5mD2fGcyE+Vbh7SK4HN+qINJkkVv+PTTBHBLhJmRFxETfLpK1rT6WqXndEuKj/ydWYGg+SuRDGhgUqoxq8yWjroNTPDiYnypqLG4DR/kwnqTV3Sr2sE8E= Received: from DM5PR02CA0053.namprd02.prod.outlook.com (10.168.192.15) by DM2PR02MB1386.namprd02.prod.outlook.com (10.161.143.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.977.11; Fri, 24 Mar 2017 19:29:59 +0000 Received: from SN1NAM02FT028.eop-nam02.prod.protection.outlook.com (2a01:111:f400:7e44::208) by DM5PR02CA0053.outlook.office365.com (2603:10b6:3:39::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.991.14 via Frontend Transport; Fri, 24 Mar 2017 19:29:59 +0000 Authentication-Results: spf=pass (sender IP is 149.199.60.100) smtp.mailfrom=xilinx.com; vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=bestguesspass action=none header.from=xilinx.com; Received-SPF: Pass (protection.outlook.com: domain of xilinx.com designates 149.199.60.100 as permitted sender) receiver=protection.outlook.com; client-ip=149.199.60.100; helo=xsj-pvapsmtpgw02; Received: from xsj-pvapsmtpgw02 (149.199.60.100) by SN1NAM02FT028.mail.protection.outlook.com (10.152.72.105) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.977.7 via Frontend Transport; Fri, 24 Mar 2017 19:29:59 +0000 Received: from unknown-38-66.xilinx.com ([149.199.38.66]:55453 helo=xsj-pvapsmtp01) by xsj-pvapsmtpgw02 with esmtp (Exim 4.63) (envelope-from <wendy.liang@xilinx.com>) id 1crUuM-0002ap-I1; Fri, 24 Mar 2017 12:29:58 -0700 Received: from [127.0.0.1] (helo=localhost) by xsj-pvapsmtp01 with smtp (Exim 4.63) (envelope-from <wendy.liang@xilinx.com>) id 1crUuM-0002mW-Dn; Fri, 24 Mar 2017 12:29:58 -0700 Received: from xsj-pvapsmtp01 (xsj-pvapsmtp01.xilinx.com [149.199.38.66]) by xsj-smtp-dlp2.xlnx.xilinx.com (8.13.8/8.13.1) with ESMTP id v2OJTmC8022964; Fri, 24 Mar 2017 12:29:48 -0700 Received: from [172.19.2.167] (helo=xsjjliang50.xilinx.com) by xsj-pvapsmtp01 with esmtp (Exim 4.63) (envelope-from <wendy.liang@xilinx.com>) id 1crUuC-0002jg-JM; Fri, 24 Mar 2017 12:29:48 -0700 From: Wendy Liang <wendy.liang@xilinx.com> To: <bjorn.andersson@linaro.org> CC: <linux-remoteproc@vger.kernel.org>, <linux-kernel@vger.kernel.org>, "Wendy Liang" <wendy.liang@xilinx.com>, Wendy Liang <jliang@xilinx.com>, Michal Simek <michal.simek@xilinx.com> Subject: [RFC LINUX PATCH 13/19] remoteproc: add config_wait_complete to rproc_vdev Date: Fri, 24 Mar 2017 12:22:29 -0700 Message-ID: <1490383355-23176-14-git-send-email-jliang@xilinx.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1490383355-23176-1-git-send-email-jliang@xilinx.com> References: <1490383355-23176-1-git-send-email-jliang@xilinx.com> X-RCIS-Action: ALLOW X-TM-AS-Product-Ver: IMSS-7.1.0.1224-8.1.0.1062-22962.005 X-TM-AS-User-Approved-Sender: Yes;Yes X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:149.199.60.100; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(39860400002)(39850400002)(39840400002)(39450400003)(39410400002)(2980300002)(438002)(199003)(189002)(9170700003)(81166006)(50226002)(8676002)(8936002)(38730400002)(36756003)(76176999)(189998001)(36386004)(107886003)(4326008)(5660300001)(110136004)(50986999)(50466002)(5003940100001)(305945005)(106466001)(33646002)(9786002)(54906002)(48376002)(356003)(77096006)(2906002)(6916009)(6666003)(2351001)(2950100002)(47776003)(107986001)(217873001); DIR:OUT; SFP:1101; SCL:1; SRVR:DM2PR02MB1386; H:xsj-pvapsmtpgw02; FPR:; SPF:Pass; MLV:sfv; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; SN1NAM02FT028; 1:Ctqw8CM8bxusWSmOLHDSDl+bBFwZ3N7Iy23DZI3jJUvXaDBvzm7PwMcFPLTgXQwL35kPmdBlO3QRaG0GpvGJMjfjJOIvQtzt/1ATPIzWP3HR3r2T3KCsyISY3kkBs9VgG/WZlESorSSd/BhE7WmccoC7uthZ6VPc3YhWBon5wuirpV0nSA9RyaWTkmR+/2SdK3TDAi7q6aykSX0ed/oQWLPN8RoC3PQ4wFVa63fgbapZn0+pMg5KUoGbLrc/yeE6M9YhN0YEfPO4/Yf9a9fnYY1E00hW9uZMIjqpXaFbeDtV+rwFtCp8/9g1YCTvGzM1VFWZv3ONC4Vorp7KGeYkPJQwmwbceQhebUbCmuhdCXkbzkkV2tPrwH8Jmtm3tTRbo3XY0GJjQV9e+AQkZusWGHnNQGAu3GOXVYI+yJfu09p79shj6bp9MZR+X3DYFfSa4OdPYMddsuHEh1ztbGepfxRMcOsOZimq40Qs91iSPOFElFToxCLT4XWcFskxnoOsjYn3NVx9FrJoi9OqeixqUP05UmNCkRNDvuW7tpl7rAvRcD1/bl3Zlw1DauH5XRywq5VmcAISzQi+it8Im0JC3A== MIME-Version: 1.0 Content-Type: text/plain X-MS-Office365-Filtering-Correlation-Id: 41965c6a-de50-44d6-515b-08d472ec290d X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(8251501002)(2017030254075); SRVR:DM2PR02MB1386; X-Microsoft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5C03K6XFrHcE9PyDqrjpB2jgMFq7AxPn2ZqSDi22ypV87GTPID37HfL1RWuCvxFP7uVOKeMA6Z1Qq9githrjl7epGL+lLT/s6D4NcC/3Lhri3ql196Finz3rookxU715tjG8/rXVReB1TV0o2YfNnOCkF0lvEJNzeoanI61icAhtt75Q4j2IYV4tD7rD2+LXGJzL0DTZH5w==; 20:cT/gDiJndoiKAeWdoXv+CZ3Rpgeh9wsKqxastkHyyqNzvzLjIe1BVp3bSdKfwrLc6+NfIcvSV1XCZLPex4SJDh0NHdeL/KnsuQye8sXnHVZs1oN+6TgcwFS22toUBgJeCbVqlhnqYZ+0+7ZK/BNvHhIGd8lvglU/m10s1q+fhCMFpggcW1woaW2paeP1CLtFbPZFjze+T2CTLF5/XQOpNNzbS2hXu876IVIm1Lncx3AINDcfxIcDvQzoH16pZSJ4BfaD92sqSQsEExN1wOHJZ4wE+CBEyOwrQCnfnq1SkDW4TPn4H/Fb7Tu6Cd4jXSTGWtRYl5DfV5CzLJEgsnZY/BWVQbfCn4MaeCKQWEQzQ4PF7sYm0Dy+MKRprrlGYFUNnIvotxmu0mu8zMlthmunTSqujBaIkmovk3l9dZebQmuZvjqs6UszdV9GX+9fyGRjKE4UbjqvqKJvlv3buKywEvCqTsFBlV+fXZUnv9y2A9R/oido+u6ZUEOsLPciuzMw X-Microsoft-Antispam-PRVS: <DM2PR02MB1386395FC1A66B67B13DEDCFB03E0@DM2PR02MB1386.namprd02.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:(192813158149592); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(13024025)(13015025)(13023025)(13018025)(13017025)(5005006)(8121501046)(3002001)(10201501046)(6055026)(6041248)(20161123562025)(20161123558025)(20161123555025)(20161123564025)(20161123560025)(6072148); SRVR:DM2PR02MB1386; BCL:0; PCL:0; RULEID:; SRVR:DM2PR02MB1386; X-Microsoft-Exchange-Diagnostics: 1; DM2PR02MB1386; 4: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Cb/r6EYLdwCwR8sG?= =?us-ascii?Q?3eXSlrVmiULQb7uSjtc5iT+UEVq?= X-Microsoft-Exchange-Diagnostics: 1; DM2PR02MB1386; 6:WlOexjdtxmYipwH9rQ06aKA1C9NOeHoIUSjgjngoo3zHbwbHu7MHL5skfma4XKFEyTCuoIbuTA0huOWroPHgcbtT3dGK9Mp3SYU0W67lvxqHAAW/naaBjxGrg5LUvitCD2rXoDeVmak61qYqHtf9cxOZ/sMpPk+M/O8xU0bm9IoDAl+PjxKVDzng0FVlAusN571HFmEJtzdBDpBkR7YHZhfyBwtfSVj810bqo6fXV18SUNfi74FU6nkYskOSsPJ0/tJvTvQHiPaA1g3q+NDd8R1ro5LUogHmBPi5WPFqLW4fKNoCAaDXIc1WJkdKKO0XRNYZhxzTMyM7o4ZQ/q2aYqqJVKls47Um5OrCP3UK5pJ1uFZxp/TITj/yCHgz/Y0d4gyfzu4T8ft4KCepsm4yKMSNHTyucH0VTUAMDZJuXHQ=; 5:yDEGNmNMzLixjGre1ofxf3QFRiUsEG8wwvfKO/UIYnX7apd1MlF+nRZrwSXsjOsknkXOL4v7hJXXWVK9C2nntjMAVGNoDmg06WdSGdAsX3Fj/U/k/k6nORZRfqUNEGQW5wID4fHZbfbPoG1FsCGEbg==; 24:QfedLgAyVuiJq50x2Ct9IfRl9nSOha0kf0cyMpPZBWM94xH+92HEgKc4nnyaz7EIBwSvkFmPP6aTYwsmePn324hq2oePI5xWBMq3AzhqG2g= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; DM2PR02MB1386; 7:8JV/MvkRGKDeBKQLxH5+R3SsneGad6WL9zpMSetoauISnaPwVJBUdALBR+zuxqKDDmdXfCNgzxdukcP6Abv/bXqLQXVaNnHFKB8pj8fyDFO0Hdc0ikhC46STLe+5NYtBLpIvvwTZkFHLxq7goA1F5gr3JS7KPw6LBAewn3UXw4tZcWcJhEGK8K53vvXQYdTJeYSPzdd5P0ow1bmRaABeA+5d3dwLb311dDJfcO/kirSXmwN0/Vb9i/dite1v4oLxrq3XARYMpSFD7TuntAnmNHLJiL835Vy4eKnkt5yzxPXujaCO7u+jv0Zp3FNtPQBZgcHnYOoBJa8GQ/jfnPDx6g== X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Mar 2017 19:29:59.0950 (UTC) X-MS-Exchange-CrossTenant-Id: 657af505-d5df-48d0-8300-c31994686c5c X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=657af505-d5df-48d0-8300-c31994686c5c; Ip=[149.199.60.100]; Helo=[xsj-pvapsmtpgw02] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM2PR02MB1386 Sender: linux-remoteproc-owner@vger.kernel.org Precedence: bulk List-ID: <linux-remoteproc.vger.kernel.org> X-Mailing-List: linux-remoteproc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/drivers/remoteproc/remoteproc_virtio.c b/drivers/remoteproc/remoteproc_virtio.c index e45e17b..c6f7ca4 100644 --- a/drivers/remoteproc/remoteproc_virtio.c +++ b/drivers/remoteproc/remoteproc_virtio.c @@ -340,6 +340,7 @@ int rproc_add_virtio_dev(struct rproc_vdev *rvdev, int id) vdev->dev.parent = dev; vdev->dev.release = rproc_virtio_dev_release; + init_completion(&rvdev->config_wait_complete); /* * We're indirectly making a non-temporary copy of the rproc pointer * here, because drivers probed with this vdev will indirectly diff --git a/include/linux/remoteproc.h b/include/linux/remoteproc.h index 303210b..4ce7579 100644 --- a/include/linux/remoteproc.h +++ b/include/linux/remoteproc.h @@ -534,6 +534,7 @@ struct rproc_vring { * @vdev: the virio device * @vring: the vrings for this vdev * @rsc_offset: offset of the vdev's resource entry + * @config_wait_complete: mark asynchronous vdev config wait complete */ struct rproc_vdev { struct kref refcount; @@ -546,6 +547,7 @@ struct rproc_vdev { struct virtio_device vdev; struct rproc_vring vring[RVDEV_NUM_VRINGS]; u32 rsc_offset; + struct completion config_wait_complete; }; struct rproc *rproc_get_by_phandle(phandle phandle);