Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1878802ybl; Thu, 19 Dec 2019 04:36:16 -0800 (PST) X-Google-Smtp-Source: APXvYqyvHpfHYi65u/jsGej09vhha3LQmMFlb75nQHLau+94wDescTgJa45CuNOA1auPwg2Y6DB7 X-Received: by 2002:a05:6830:3013:: with SMTP id a19mr8644412otn.217.1576758976036; Thu, 19 Dec 2019 04:36:16 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w9si3351209otl.138.2019.12.19.04.36.03; Thu, 19 Dec 2019 04:36:16 -0800 (PST) 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=@synopsys.com header.s=mail header.b=ijzysRJn; dkim=fail header.i=@synopsys.onmicrosoft.com header.s=selector2-synopsys-onmicrosoft-com header.b=hb22uj3E; arc=fail (signature failed); 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=NONE sp=NONE dis=NONE) header.from=synopsys.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726736AbfLSMfX (ORCPT + 99 others); Thu, 19 Dec 2019 07:35:23 -0500 Received: from sv2-smtprelay2.synopsys.com ([149.117.73.133]:46432 "EHLO smtprelay-out1.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726668AbfLSMfX (ORCPT ); Thu, 19 Dec 2019 07:35:23 -0500 Received: from mailhost.synopsys.com (badc-mailhost2.synopsys.com [10.192.0.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by smtprelay-out1.synopsys.com (Postfix) with ESMTPS id 032B6405CE; Thu, 19 Dec 2019 12:35:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=synopsys.com; s=mail; t=1576758922; bh=q9nSCLKN+ybg3Iv5RrQnpSwQkN5PK6SW3QQlu+40y8Q=; h=From:To:CC:Subject:Date:References:In-Reply-To:From; b=ijzysRJnM3KoTw11JgnW/Lheka3u1nZvAzRtgPam42AWw6G6o0gFHBynITZJwOeYZ 5sUS0G/o62LvfN7b5g3xuW7gp0q0/rFzZ9n/zZTMoeBJw6M+Da/X21C9j9hAO3wPE1 Zow/7OV2mvJDhd1eNEVwJyLZFRS540jxz96N/FQLBLpR7w13Nm0uNPMcSinZibzbg/ WEVHlh4YmqvaSmpH3D9DXFvHvkwrVxLBwKHPc2KOeyTumNIV/8hhKqM2u0GEt8aqfV COEOZQvItgYZ8FFaRQs9vJ3h7gSS/RnpNp5eXCTxL552SRny6sHEEyzH1yWWdHy9F+ fiW9GMTtt0uxQ== Received: from US01WEHTC3.internal.synopsys.com (us01wehtc3.internal.synopsys.com [10.15.84.232]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by mailhost.synopsys.com (Postfix) with ESMTPS id 8175BA0067; Thu, 19 Dec 2019 12:35:19 +0000 (UTC) Received: from US01HYBRID2.internal.synopsys.com (10.15.246.24) by US01WEHTC3.internal.synopsys.com (10.15.84.232) with Microsoft SMTP Server (TLS) id 14.3.408.0; Thu, 19 Dec 2019 04:35:02 -0800 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (10.202.3.67) by mrs.synopsys.com (10.15.246.24) with Microsoft SMTP Server (TLS) id 14.3.408.0; Thu, 19 Dec 2019 04:35:01 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hNqUnUo6nSGxU8c4DLIchKTSnNIv8Jbhy3+/+bvLpytaGGm8gycZbAZhP2IehVy9aSR71Sc+CylKA8Y+XJA5J7SJvesu89AkBkTQtmrqk0hP0qBp0XNZ0BLe+3Zcx/FDEtymU36bTdVtyYcM3fsC+mkyZlIqhF7AvmD9GgH+GoPq+C8G+OnMDQMUZHWnU14lTXdHoaSqc3y9yMsl6V5uqrdGa18ia1bW+k9KlFaav0VVuK91ggQjeYYI5m5jHoVYJyMZ966ES3QKD/o1ohyl2KiSWhPw7miOQI4fuYofMgHefeNzOxuSlBGNyd7IuK3o8smZIKJrIuXGa4IL3ZZpsw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=q9nSCLKN+ybg3Iv5RrQnpSwQkN5PK6SW3QQlu+40y8Q=; b=BCE6kdljgXiNS/cI8qTRbDr0HolzGKuMFt4Q0q/lcoCygvGb7ESZ0kCLwM6nfwhhDnmVs1JsvZz71p/ZshUChrt3gqhv/jC5atRcyHBpaQoIf+P8CyCp3yCoqNZf1vdiQ0TcU7Y/VN7wgADsks4v4ynpUVLSZYVpA0QhvEN+12rEntqyvTj0A9Awhy7Lygb1vbDUmg8+pizPrldnId3GiQbVr89f6mMk3hJI73pOi3E8QeF5mRlvJPQclm6NpNabXilEFjDnP6PGUSEYNOaofde/czUAyAkDt26nqLTEwbTHwSPOWFe0Juq37vJKoF792O3NVZQMf7oukQqB56rlkQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=synopsys.com; dmarc=pass action=none header.from=synopsys.com; dkim=pass header.d=synopsys.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=synopsys.onmicrosoft.com; s=selector2-synopsys-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=q9nSCLKN+ybg3Iv5RrQnpSwQkN5PK6SW3QQlu+40y8Q=; b=hb22uj3EjAWXY4l0Nhj9Iq7fFW6fz6z4xI4inuxKB0JclDlFe4oBCoZ56hOO3r2jvIgDIC1selULcESeVrf1LqQc3MnLxb2FDDmgNZZ4Wsx5D2z357/hl1oPDxLB8hp2TNg8k79pqd8XanKWTSyxtTylziF1zq+m/h/vnRam9yA= Received: from MN2PR12MB4093.namprd12.prod.outlook.com (52.135.51.203) by MN2PR12MB4160.namprd12.prod.outlook.com (10.255.125.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.15; Thu, 19 Dec 2019 12:34:59 +0000 Received: from MN2PR12MB4093.namprd12.prod.outlook.com ([fe80::d0e:7272:4a88:ffeb]) by MN2PR12MB4093.namprd12.prod.outlook.com ([fe80::d0e:7272:4a88:ffeb%5]) with mapi id 15.20.2538.019; Thu, 19 Dec 2019 12:34:59 +0000 From: Minas Harutyunyan To: John Keeping CC: Greg Kroah-Hartman , "linux-usb@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-rockchip@lists.infradead.org" Subject: Re: [PATCH 1/2] usb: dwc2: Fix IN FIFO allocation Thread-Topic: [PATCH 1/2] usb: dwc2: Fix IN FIFO allocation Thread-Index: AQHVtmBmfU6CbvSImkS5xZoCE5ywbqfBZLEA Date: Thu, 19 Dec 2019 12:34:59 +0000 Message-ID: <69ae7364-391d-6075-27d8-7ed7c4aae2ff@synopsys.com> References: <20191219113432.1229852-1-john@metanate.com> In-Reply-To: <20191219113432.1229852-1-john@metanate.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.1 authentication-results: spf=none (sender IP is ) smtp.mailfrom=hminas@synopsys.com; x-originating-ip: [46.162.196.54] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 70f98fff-6926-43b6-f6e3-08d7847fdcb2 x-ms-traffictypediagnostic: MN2PR12MB4160: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-forefront-prvs: 0256C18696 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(366004)(346002)(376002)(39860400002)(136003)(396003)(199004)(189003)(6506007)(53546011)(6916009)(26005)(36756003)(76116006)(31686004)(66946007)(66476007)(6486002)(478600001)(186003)(4326008)(8676002)(8936002)(31696002)(86362001)(81156014)(81166006)(2616005)(66446008)(91956017)(316002)(66556008)(64756008)(5660300002)(2906002)(71200400001)(54906003)(6512007);DIR:OUT;SFP:1102;SCL:1;SRVR:MN2PR12MB4160;H:MN2PR12MB4093.namprd12.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: synopsys.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: PMDta/CiIX8t47/Nw1RMlM8IBmGJfMt77xGE8M6hvNEL7nLzyMyLWXtnnpDM9D5uFuBX9BtwOY+rvyt1ZgpMaOrf2PnGBDuSns+MnL5Zn8wSWcZWnh7QsJqGJm4rkqlOD7nH8yri1zAhezGUXu8xFqIYDBiIorlyfGmDrLdZX1U+YAvXyyVq6v5wZDFwq+IJiBU3e3wxMZYJSQuKjmQah+iotc1lZleoYoksymDrrKAOhwhLx5xVYmji1U8OA1RHmHuMw9UBAl7vWTRSK3fzqmGxSTdTeTpN0GZb1BnPO1EKKbvJS9mN9jN85AvWkEY3VvpP94qvXFE1AuGL2U5pSAdW6n0Z4wM95aIKgJhKMIutiB+099QJf/afasgGK98NncDTWuA5HV4q6SZENYcimB4oDU/RVQgEdRHiBvlQBzRezf+wkghxC3Ncfsvtgw5O x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 70f98fff-6926-43b6-f6e3-08d7847fdcb2 X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Dec 2019 12:34:59.3319 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: c33c9f88-1eb7-4099-9700-16013fd9e8aa X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: xYR3IguHrlotNSx9SQ9bnnmLRB18/SV8dJIjiyzjDOhfawb+4A60e74xOwdbHRDEFk4hPpaRe5c4IsRbWXzQbQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR12MB4160 X-OriginatorOrg: synopsys.com Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGkgSm9obiwNCg0KT24gMTIvMTkvMjAxOSAzOjM0IFBNLCBKb2huIEtlZXBpbmcgd3JvdGU6DQo+ IE9uIGNoaXBzIHdpdGggZmV3ZXIgRklGT3MgdGhhbiBlbmRwb2ludHMgKGZvciBleGFtcGxlIFJL MzI4OCB3aGljaCBoYXMgOQ0KPiBlbmRwb2ludHMsIGJ1dCBvbmx5IDYgd2hpY2ggYXJlIGNhYmFi bGUgb2YgaW5wdXQpLCB0aGUgRFBUWEZTSVpODQo+IHJlZ2lzdGVycyBhYm92ZSB0aGUgRklGTyBj b3VudCBtYXkgcmV0dXJuIGludmFsaWQgdmFsdWVzLg0KPiANCg0KUkszMjg4IChyZXYuMi4yIE1h ci4yMDE3KSBkYXRhYm9vayBzYXlzOg0KLSBTdXBwb3J0IHVwIHRvIDkgZGV2aWNlIG1vZGUgZW5k cG9pbnRzIGluIGFkZGl0aW9uIHRvIGNvbnRyb2wgZW5kcG9pbnQgMA0KLSBTdXBwb3J0IHVwIHRv IDYgZGV2aWNlIG1vZGUgSU4gZW5kcG9pbnRzIGluY2x1ZGluZyBjb250cm9sIGVuZHBvaW50IDAN Ci0gRW5kcG9pbnRzIDEvMy81LzcgY2FuIGJlIHVzZWQgb25seSBhcyBkYXRhIElOIGVuZHBvaW50 DQotIEVuZHBvaW50cyAyLzQvNiBjYW4gYmUgdXNlZCBvbmx5IGFzIGRhdGEgT1VUIGVuZHBvaW50 DQotIEVuZHB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