From patchwork Thu Oct 6 09:52:57 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vadym Kochan X-Patchwork-Id: 13000077 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id CFC30C433FE for ; Thu, 6 Oct 2022 09:53:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231503AbiJFJxl (ORCPT ); Thu, 6 Oct 2022 05:53:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35228 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230281AbiJFJxj (ORCPT ); Thu, 6 Oct 2022 05:53:39 -0400 Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-eopbgr70092.outbound.protection.outlook.com [40.107.7.92]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1E7227C772; Thu, 6 Oct 2022 02:53:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=j+8E1qJ3/hrpM5Z4135SoKvzyhIXcOJFeRCHxnA4UThyOOJixrq6i/6wjTGippflRBPkcG9hS+C67aYgMN3uVOsmxv+jzghLNNpTNYqjWEko4T8SqtF4B4037J3DkIt7CTsYP8z78GRPp7serOIABYmUznW3X/AHTxWspcW7Wzken8UifQRVKMnXWSE/WX/wZ6+zp/S+g3AwEgvYz4XaPoIwStVMpUli3uv891bEBIXqxu4gkjVb/dCGwqAv4aZvCebIyyxcKBIIrJAq4/b8paL5RYADI5CatS1YigkqzCHVLAYAZQlIPslow2NQvVoHeBvG/fDPbJsfZcu9eT0Tow== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=V8guXpKtrhAvEf+c5U9vDlZX19/Nrk9GbJq8CPEJypQ=; b=WaH6xdDJTacbKPQfblb/OjSkdn8qYtRb0WJ9xc230Nd4ULysZZmXnP9OcxjVIXEzSSBpOGjr2cCVX5qO2ujnQdN6V3B0PwI+nxNvPPoPthUFtndxlsLz/twAePsmBqBgsg1df0r2kPj3ci2NqB0DsHAhbe4Zng30xzeZYtWTOfFXX07922L72qulDfebyfSsg95PlLXKArTKGT85X8kNWmRBky7oP25SqM4q/gyV48MdIdPx0HPm+kG7HmDlWocwHRjK5V2l/JvFUSDXZN7Rd55YzWMOpTcqmpEzjSS5+ifFOGBMaotPr0tWHAoptd2n2BnoI60/5MaPNVojtXdeyA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=plvision.eu; dmarc=pass action=none header.from=plvision.eu; dkim=pass header.d=plvision.eu; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=plvision.eu; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=V8guXpKtrhAvEf+c5U9vDlZX19/Nrk9GbJq8CPEJypQ=; b=IFcgIDEgvZgPr9JPWyRVuLhxpRPFr3Uqa6jcTdpYlvDAEJsKW8ZGlCEcmwAr/1m+SoEAT9CO6Ql5X/3UEJZBEiF5eWTcKA+Lk6CxAMYuQXHUAsyCoLuD3sQjwxzAdTXwjplCEkAbghxrFfV2WLRypkE2G/pkeFy1v/QHQ67r4x8= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=plvision.eu; Received: from VI1P190MB0317.EURP190.PROD.OUTLOOK.COM (2603:10a6:802:38::26) by AM7P190MB0776.EURP190.PROD.OUTLOOK.COM (2603:10a6:20b:119::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5676.34; Thu, 6 Oct 2022 09:53:34 +0000 Received: from VI1P190MB0317.EURP190.PROD.OUTLOOK.COM ([fe80::eb13:ec7c:e027:8404]) by VI1P190MB0317.EURP190.PROD.OUTLOOK.COM ([fe80::eb13:ec7c:e027:8404%3]) with mapi id 15.20.5676.032; Thu, 6 Oct 2022 09:53:34 +0000 From: Vadym Kochan To: Alan Stern , Greg Kroah-Hartman , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Elad Nachman , Yuval Shaia , Vadym Kochan Subject: [PATCH] usb: ehci-orion: Extend DMA mask to 64 bit for AC5 platform Date: Thu, 6 Oct 2022 12:52:57 +0300 Message-Id: <20221006095257.6934-1-vadym.kochan@plvision.eu> X-Mailer: git-send-email 2.17.1 X-ClientProxiedBy: FR0P281CA0133.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:97::11) To VI1P190MB0317.EURP190.PROD.OUTLOOK.COM (2603:10a6:802:38::26) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: VI1P190MB0317:EE_|AM7P190MB0776:EE_ X-MS-Office365-Filtering-Correlation-Id: b9051235-b677-4686-d704-08daa780a215 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ug8cYPXBQHb+NFok0HXHwpcjOFXRDLKV3XBctlJqwDPhaCEyyyjoA6RUSekmF2i8yvmCsVcGZoQQdNKjuDDCc5vGtOX1pNAhEuYVzVkFzgtcE/+EgAArRbv01TmLEu/bAtAlIqMFKCz0i4ike+r2SJcqgnO4ricWq5O6r4nIzBs+ev9U4HYOZALkQ3Ael6ieKY6DddpbmsvtYxWCgx9Vz54196daAu8SERS2bO9os6Y9StasBnPv1suYbJtDxbV7VTBT1s/GUf00sd+N6/ByKi/6mjiPYsDN+o90wyynlGtc4xoTOhXAyzGDv1y/X53/H/GuSiBHLkn/gkPIYrQiajpf24CCNZDDIyTMnhTD5lv6MZJpjKuiGxOLyPT+SiWbMm/XEvwmkXnmQiVsqE8L/LlA4KFJeXdKCCpzwXHfgKG2yNwy4mx0OontSYPxFCVLlBdYwcVDOowQK1cGjOkeJumiWWusRK/y5Frw3WqcoD1bKaA1ioQlPC41DyQZU/L7NBThCvdiAEEMacjj0BkoYa9rkvxuiiOn9QlIF3Xddb0Xweru/MbKpHETuCXiuReM+rUJEdOrG6O8JJR+50StjahIpq1Krym2lCd6d1gbRWj+/ZLr2aOMdeslJ0cvtvomCHONMpctTemguVZyO4v3yIzDxVHyx3EetubmqsN08+/sL7/LvvIzhRSYfjVc1CVhFko68Jd9WOsm6FkNdhfg1cgSa6uj/FsTrm2cacDZOxtjGfYn6X9qmbMIwH/z3aDs X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:VI1P190MB0317.EURP190.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(13230022)(4636009)(136003)(39830400003)(396003)(366004)(376002)(346002)(451199015)(2906002)(36756003)(54906003)(8936002)(110136005)(41300700001)(316002)(66476007)(66946007)(66556008)(38350700002)(8676002)(86362001)(478600001)(4326008)(83380400001)(44832011)(107886003)(6666004)(4744005)(6486002)(186003)(52116002)(6506007)(26005)(6512007)(1076003)(2616005)(5660300002)(38100700002);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: s3SII+E9H3hqIlR3fmnDzO92WclGLSgUQrHWNH8hVe/kjelPh0aHO509UFSmrHd5snHsQAYt6SWWFC/wimGs/Lmwt7HeLMgFFybSm+mt6/pY/JkWfiV0xi+WngmjlDy3rDQv2vM1bpoKelRPCx4dpBSH3caB0wgzO2Es3jxI56a38kl486X3OnHeoqO8HzRnz1uuW3/aJ47oRAs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4LWclW5z3tuVx0L50i1AfTfT2tmPtFOY0Z6KXKiiKyWtROPmeHtLUW5fqZjbCTBX/MxSf9lrB3tIgCn3816tCtv9NFepcwFOOtEVDHB0iVpxzECBsEfPsY67Oi7a45U4qAyh0qQhrjtWluJcWXeoef/uSCC+grdxh/82Uo92rXVnbQyjKH4v0RK/e/7z41yjeY+WnSvERVzAX/ndU0qtFxM+aBHXWsAVXzxpAG9An0/WOOkqiGZ1yUjrc7gqW/Lz8wwnp4G4rA5weW9KuCU1aKkz3Rs+F9QcNV3zdFQGxYpOF2TJ8h76g7XvKnoSVWcpwuh2QIBws0Kf1Rg== X-OriginatorOrg: plvision.eu X-MS-Exchange-CrossTenant-Network-Message-Id: b9051235-b677-4686-d704-08daa780a215 X-MS-Exchange-CrossTenant-AuthSource: VI1P190MB0317.EURP190.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Oct 2022 09:53:34.5370 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 03707b74-30f3-46b6-a0e0-ff0a7438c9c4 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: ulUc59+B1nThSycM7cp1ulQMDGKuFXNlG4U+vVlXOGGhrxCAQ8WHYpsSrBjmyF9mn4JL3j0D1DRfQMvo54IdocyZqs3FMnHK3Ozz+ClyrRw= X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM7P190MB0776 Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org From: Elad Nachman Signed-off-by: Elad Nachman Signed-off-by: Vadym Kochan --- drivers/usb/host/ehci-orion.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/host/ehci-orion.c b/drivers/usb/host/ehci-orion.c index a3454a3ea4e0..c6205abebbdf 100644 --- a/drivers/usb/host/ehci-orion.c +++ b/drivers/usb/host/ehci-orion.c @@ -230,7 +230,7 @@ static int ehci_orion_drv_probe(struct platform_device *pdev) * set. Since shared usb code relies on it, set it here for * now. Once we have dma capability bindings this can go away. */ - err = dma_coerce_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(32)); + err = dma_coerce_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(64)); if (err) goto err;