From patchwork Tue Oct 27 01:18:25 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yoshihiro Shimoda X-Patchwork-Id: 7492911 X-Patchwork-Delegate: geert@linux-m68k.org Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id BFCE8BEEA4 for ; Tue, 27 Oct 2015 01:18:54 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E7607208EB for ; Tue, 27 Oct 2015 01:18:53 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id F33F3208E7 for ; Tue, 27 Oct 2015 01:18:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752101AbbJ0BSw (ORCPT ); Mon, 26 Oct 2015 21:18:52 -0400 Received: from relmlor3.renesas.com ([210.160.252.173]:55811 "EHLO relmlie2.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752287AbbJ0BSv (ORCPT ); Mon, 26 Oct 2015 21:18:51 -0400 Received: from unknown (HELO relmlir4.idc.renesas.com) ([10.200.68.154]) by relmlie2.idc.renesas.com with ESMTP; 27 Oct 2015 10:18:50 +0900 Received: from relmlac4.idc.renesas.com (relmlac4.idc.renesas.com [10.200.69.24]) by relmlir4.idc.renesas.com (Postfix) with ESMTP id 6D9213E750; Tue, 27 Oct 2015 10:18:50 +0900 (JST) Received: by relmlac4.idc.renesas.com (Postfix, from userid 0) id 679B5480A3; Tue, 27 Oct 2015 10:18:50 +0900 (JST) Received: from relmlac4.idc.renesas.com (localhost [127.0.0.1]) by relmlac4.idc.renesas.com (Postfix) with ESMTP id 5D02C48014; Tue, 27 Oct 2015 10:18:50 +0900 (JST) Received: from relmlii1.idc.renesas.com [10.200.68.65] by relmlac4.idc.renesas.com with ESMTP id LAL12439; Tue, 27 Oct 2015 10:18:50 +0900 X-IronPort-AV: E=Sophos;i="5.20,202,1444662000"; d="scan'";a="197274720" Received: from mail-pu1apc01lp0017.outbound.protection.outlook.com (HELO APC01-PU1-obe.outbound.protection.outlook.com) ([65.55.88.17]) by relmlii1.idc.renesas.com with ESMTP/TLS/AES256-SHA; 27 Oct 2015 10:18:48 +0900 Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=<>; Received: from localhost (211.11.155.144) by HK2PR06MB0914.apcprd06.prod.outlook.com (10.162.246.29) with Microsoft SMTP Server (TLS) id 15.1.306.13; Tue, 27 Oct 2015 01:18:46 +0000 From: Yoshihiro Shimoda To: , , , , , , CC: , , Yoshihiro Shimoda Subject: [PATCH v4 2/7] usb: host: xhci: add a platform-private field Date: Tue, 27 Oct 2015 10:18:25 +0900 Message-ID: <1445908710-5812-3-git-send-email-yoshihiro.shimoda.uh@renesas.com> X-Mailer: git-send-email 1.9.4.msysgit.1 In-Reply-To: <1445908710-5812-1-git-send-email-yoshihiro.shimoda.uh@renesas.com> References: <1445908710-5812-1-git-send-email-yoshihiro.shimoda.uh@renesas.com> MIME-Version: 1.0 X-Originating-IP: [211.11.155.144] X-ClientProxiedBy: OS1PR01CA0014.jpnprd01.prod.outlook.com (25.161.225.152) To HK2PR06MB0914.apcprd06.prod.outlook.com (25.162.246.29) X-Microsoft-Exchange-Diagnostics: 1; HK2PR06MB0914; 2:i0BqelXuPvOzakWED6jKaYUxo3g8INthAzfx04xO7ZZwDHJ7WjQjlHCbeFmfWDCfvNNpEM2ufEuVcdqZ0qTWFJCksRblm6r4RN6eaa5X72ZiIZ57ZavkYLT8nlSj9wt7ecXvT/P928kEXEk5P9f5LNF2sBk5dzvLd8/wWoZEeo8=; 3:5WAZ3Bx0Cls9ELiMhvXVbNxAWoZmp4uvVJv89XDidtz9i1Pjv5y3j4ZCxPlyoNvD8OdyHQ9wpG5FKvVvrk1IA4LkMvQrDJohaV391ePF7uaSxVRlNFGOo2Y0a5tTD6wz3SLolhMebqStKZfK64oqcQ==; 25:1t/FRtdVa9LsYTsgewjMim1XPA0VAOWgsn+efzd3vK8vsUfWM+ctw8hND7fIfRAiZK1H+KngOfyyXy+Bm1eNmUitV0K8NFGTpDxd0xKNNGn4rbcawxG0GDv8Lp3KIKE174ddlVwlO265ZUuTZ73rRq/ildnPaKe854Y8xLlDkTCTDwTOl9bPMZhuvxpVNKKurmIiniRPBR8VWTbq7bzvZ48XV6aqj82KluRt7WMItxv2dibnKGcN+F81c1CwDrH0RpdzhZny8V8/cf58b4/Aug== X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:HK2PR06MB0914; X-Microsoft-Exchange-Diagnostics: 1; HK2PR06MB0914; 20:c1AUSycbTdLT8E2RsVD8jzJA2PK5b06vBxCzjGbr4Xv7dFo4c0u3OsfKjAkAaGbEdiKHG94FRYasznjBheWMb0lATdgfEHs+ssejZSLHkfJXMMMan2paxqza8mXH+noqkWkCo3NBoqUz3bmxVEOBNdoyT6ZpGMC0HG6mV+2NlqBle6PNLxpdXE7UZwJuy0rSOKLVIojybAkTC0aFZmC0DMZEsoe8TwbQgOo0PmUN+iD5kqnO3s01uemQBgsv536gcLyN2ROBziUqYFebat3LrutVKz1vm9nXspKaXv594urSqInK2MD6KE6nooITYuZcGRfr/VIWsdcAWlCwmlOxf9YWqdBq6KbWQGkNYJ6yEFHI63dd6hkg0YoxSO1SvwVyxRMWBfERxn9oBxcihL/JW2lIsDVzu8MChUwoCrSK95DdONM6v6JY0Am/1IZ6i4lGp6D69s2ZwHerbbYYZau2WM7HM7Rd4r2/golBVHgNUKWfSoApv40VY2fR78UCdwmn; 4:IYhL8yFUaYMQ9FtH/c8lEeYagyxcnEA0dKipwSjsH/mVdJR+Oy3edJk1E57kqg1DPGpBMMr8WMCuVCNTRwwREXE65A2yUfJQFAAWAT71LG9S5P+ZWNcmMoQ7rZ0oj68RjdyTAZEoI1VeSIiAwjvPXuC8qaJgCXhzzjah+Cm44cTe9C8YhKQ9Uf2RqSTy73mfOWoOIhzQ/QLCCjFPLi3RGaBycrGoGbpZWHplpPNyD9vCOy7OGLqCxtIUiqHkD5tAOz1Gax6tk+fJ9hf/vlTKmW+yf0YlytdKKn7pWd24ljEIB4sTsJLpkLAeDysLRuLjL4dLoDCGLewCk0Ms0QZUWSiD1URs1idGDS962Nmqqtejm8aQ2KroIUWsppxrLVPi X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(85106069007906); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(5005006)(520078)(8121501046)(3002001)(102215026); SRVR:HK2PR06MB0914; BCL:0; PCL:0; RULEID:; SRVR:HK2PR06MB0914; X-Forefront-PRVS: 0742443479 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(6009001)(6069001)(199003)(189002)(81156007)(107886002)(5001770100001)(2950100001)(5001960100002)(92566002)(50226001)(50986999)(76176999)(87976001)(40100003)(122386002)(5008740100001)(78352002)(5004730100002)(5007970100001)(4001430100002)(101416001)(42186005)(5003940100001)(76506005)(5001920100001)(66066001)(97736004)(42382002)(229853001)(33646002)(189998001)(36756003)(105586002)(106356001)(48376002)(50466002)(77096005)(19580405001)(19580395003)(47776003); DIR:OUT; SFP:1102; SCL:1; SRVR:HK2PR06MB0914; H:localhost; FPR:; SPF:None; PTR:InfoNoRecords; A:0; MX:0; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; HK2PR06MB0914; 23:BYytffqWKjy1QljweJme8c5PgOpMxC71UQv+no1TK?= =?us-ascii?Q?M0o9UL6WRnBYaUNXrLxdlL1ePGbGOu8+3BsuCZ43/PU5yyvCBNR5xN3yH82p?= =?us-ascii?Q?QeHoWHIDVFGwOszFTUs9ia11ORj7wTbOoKqqEBnIN3dwcwEiy1z+pqrF0ybe?=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HegOfAtw7Q+q97?= =?us-ascii?Q?JqkyuacDrD8U/GqbH1CkoPd4fQU7fx7kLh2POYxhwD23v2gQeqotzqPvvFwi?= =?us-ascii?Q?5nI1bKxrSqip91wKC/AB++kZ/fhtt49?= X-Microsoft-Exchange-Diagnostics: 1; HK2PR06MB0914; 5:0x/U5qLqPjCuJBMm62zwQPlv/YR7H8J67twZCDDq72r7SOLC3lihB27cZZuHuj8N2XTz9E5R57q+ZkBE598/XEMAbWjr/7NKIMn6KWjDz1XWQcesC5ZSn3l7rCxtcIagMgeAj2yK1HNT70Av2/1Pnw==; 24:rmYqkiWKov/lIOBxyftZl2z3zhc5Rtjf/T8jtFZZsKAvB0JqgbMoqXCge1rqUdEz8N7K2yFACO9tkyGrAr/NvR2cr1nEVinCrxK6JC9IAIc=; 20:zUUzgziRb31HO6UsaTJjq+bOh+PWl8pIECG1KhtI8/quyXtC2sCOw2ZaLbpUOi0SDuxDjd2eYvdP7tH4pgMbpKenL72XyAoT6SbYY57ZdOfruootn/T9XipbiHudxhd7doqtCIE1DdP3dgXHjgk7lzcRPqazMAKSbf7F6frPEvY= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Oct 2015 01:18:46.9907 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: HK2PR06MB0914 Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-4.9 required=5.0 tests=AXB_X_OUTLOOKPROT_ENVSDR, BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This patch adds an xhci->priv field for private use by XHCI platform drivers. Until now none of the platform drivers has used this private space. Signed-off-by: Yoshihiro Shimoda --- drivers/usb/host/xhci.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/usb/host/xhci.h b/drivers/usb/host/xhci.h index be9048e..05f4a73 100644 --- a/drivers/usb/host/xhci.h +++ b/drivers/usb/host/xhci.h @@ -1657,6 +1657,9 @@ struct xhci_hcd { u32 port_status_u0; /* Compliance Mode Timer Triggered every 2 seconds */ #define COMP_MODE_RCVRY_MSECS 2000 + + /* platform-specific data -- must come last */ + unsigned long priv[0] __aligned(sizeof(s64)); }; /* Platform specific overrides to generic XHCI hc_driver ops */