Message ID | HE1PR07MB4169B7A47CC7105A9FC3E993ACFF2@HE1PR07MB4169.eurprd07.prod.outlook.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-he1eur04on2064.outbound.protection.outlook.com [40.107.7.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 39BE1B642; Mon, 3 Jun 2024 01:47:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.7.64 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717379232; cv=fail; b=S1FgmqQH5F1fav1Q2z4qRnKo+dRWRvFVPX086yUBogSn1J2uF7ltb2Jb8p8McjYl5HD+S9P2vNbL6uMUsn4NyTuGmdGwXer/eB5t8xI3qa5hwLTlJFCigFqbamARh4Ri4yTdxnijK8YNeU4BLZVDa1f9Ez0qQkCF6LnsVOzp0Yw= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717379232; c=relaxed/simple; bh=Sq7yDLIk4uB6ew9/igF0qfD7kf2JJ4+2w6fYr5hA7wU=; h=From:To:CC:Subject:Date:Message-ID:References:In-Reply-To: Content-Type:MIME-Version; b=FpkTlXopek9o/gBccg7eSgYH3qurotoRcjNsl2VRvqetvs+jeEgve9/qYBsCtEDib3x/UEYkuX+xlK1dZ5m1KanSnLxuuPNAGiAnUQ55j9sZcbDJ+YeRtlq2Eirsyv0aG8EAvbEFPMDfZJI2gPL7wqf46CCTLOIQOhE5ZqJgibo= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nokia-sbell.com; spf=pass smtp.mailfrom=nokia-sbell.com; dkim=pass (2048-bit key) header.d=nokia-sbell.com header.i=@nokia-sbell.com header.b=EeEbp9iv; arc=fail smtp.client-ip=40.107.7.64 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nokia-sbell.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nokia-sbell.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=nokia-sbell.com header.i=@nokia-sbell.com header.b="EeEbp9iv" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RIeIAqfnY+DQJmrZBkV9ZGhY1E8xFNbfRljZ1bK1mmmVFIJVk8srWkiO037v+dXqQ8KIGGv5RxYqVY8HZdIEzqXiGiUHWEeBNC7fNkTCYYNYdOtYqEnOWLWaes9WpLbNPky6fVDbO0tc9j1H3+M948Vmtlkk6gwQNDcJxXCpudBBWU0aj5/T/t/GAnVuwMl9qKAADx68kZofd1bHhEoOfT3sEZfW0WJwcB6JNHnXCXUKxGhLVnjspzx7+9jO3jyOWOGuv7wRUAuws4zBqWNybDIXiWmtHbuxzyXEnapB/57mYIY+UPg92Y48umyuHFHDVuNY3sJThsCU40eVBd9r5g== 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=3f5l3jyuUgkJyW0jPm2QZBJLMIq7NSzIo2nuxrTDNq8=; b=eucjbDuQdHOjCEFbjlSUOPdkmbr7wNKUGwt+9pCvDARZxalZxQ0gwj5UINBKK4ifo1Oe6WjNbZ2xDIpPmECi2/vVR5yion/IeS7VVKi8rWoIwZHuy5O2tPgZx4xPM0AbZvxGTs+9Gw5xuvGNrAHYfitCQUvsaoWDHsV0np9pyXgFZDGr2VDrljWrJfBvRrNTm2aax9UqGkeACfUrEXZH8rR5e91++buKsnDeGRsVs8M+Lig5Qj62ckLXLP4JOV0c9Kt2+kB8RwDBBDKZltJCeNvH59sCrnglJu8fjFBIPT06CECVMQ14yVYeU3oaqzuteWTqjS/0ML8YsldyjPtzKQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nokia-sbell.com; dmarc=pass action=none header.from=nokia-sbell.com; dkim=pass header.d=nokia-sbell.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nokia-sbell.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=3f5l3jyuUgkJyW0jPm2QZBJLMIq7NSzIo2nuxrTDNq8=; b=EeEbp9ivsJTD8TKa1WTlkqB6vWPmeU8iLnoAT+tzvftgwteTkxgtP+KbwtCmGIXqfkF4Iy8mdCbXJACwijA9/f+IAD9RJ8aWBGpGUtimXkkxkKrLIgIufpF55DXSYI6xsYycATBOsr+L1WQZ6eQRiSt6DIr7sDs52rICTQKVcDtm9H6NoT5R91dovabQ1NkOEy4v92lLeijmUjvAMg+MhsdShADO2QEzptzMziyKlSgT7iOo8U54+G86+IroTVbtPs4KOW1dXQpsdysXqdyWZxZaji7dGM4RitIWupBcO2Mf6/CbrTmKKfWX3X4wM2Qbdou8GxtFhDZohlEW9ZfB5g== Received: from HE1PR07MB4169.eurprd07.prod.outlook.com (2603:10a6:7:9d::25) by PA4PR07MB8390.eurprd07.prod.outlook.com (2603:10a6:102:2a1::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.21; Mon, 3 Jun 2024 01:46:52 +0000 Received: from HE1PR07MB4169.eurprd07.prod.outlook.com ([fe80::93cb:c23a:3cda:4fa1]) by HE1PR07MB4169.eurprd07.prod.outlook.com ([fe80::93cb:c23a:3cda:4fa1%4]) with mapi id 15.20.7633.018; Mon, 3 Jun 2024 01:46:50 +0000 From: "Qianbin Zheng (NSB)" <qianbin.zheng@nokia-sbell.com> To: "gregkh@linuxfoundation.org" <gregkh@linuxfoundation.org> CC: "u.kleine-koenig@pengutronix.de" <u.kleine-koenig@pengutronix.de>, "linux-usb@vger.kernel.org" <linux-usb@vger.kernel.org>, "linuxppc-dev@lists.ozlabs.org" <linuxppc-dev@lists.ozlabs.org>, "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org> Subject: [PATCH] usb: gadget: fsl: Enable usb snoop on PPC64 Thread-Topic: [PATCH] usb: gadget: fsl: Enable usb snoop on PPC64 Thread-Index: AQHaszupw160VnAcEUi+I4pyUMNTnrGxERVQ Date: Mon, 3 Jun 2024 01:46:50 +0000 Message-ID: <HE1PR07MB4169B7A47CC7105A9FC3E993ACFF2@HE1PR07MB4169.eurprd07.prod.outlook.com> References: <20240531091926.3324847-1-qianbin.zheng@nokia-sbell.com> In-Reply-To: <20240531091926.3324847-1-qianbin.zheng@nokia-sbell.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nokia-sbell.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: HE1PR07MB4169:EE_|PA4PR07MB8390:EE_ x-ms-office365-filtering-correlation-id: 7b78c9c9-b7f4-4b06-6035-08dc836f0984 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0;ARA:13230031|376005|366007|1800799015|38070700009; x-microsoft-antispam-message-info: Fu1Zx73sQFZQdLJ1HsrC/1M+FqXhYsaWZOZvdPlRjDWKvNZkgDW0dxvNlaqlPApalWmz+niY7/kqfTwnpvuGTQgzd1LbVYQlmSl9K5X9OCPsUiuaxtL+ys9ahjLunjrTEL+qYm2ANa3LtvpEQdz0PISqKug3pgmuTKqS/EYeE367r1Fq+01UAKTMNiVT3/d4cqFyYQe+sUKg+kYWX1Ntnlb9HJWdjSwxXnhYPB4AIxhtJAr0M3VCadfADsThDwXZ4aBqWd+JEBfJh9B11k1+K7P1FyQOd3gJO5pq4vhOCa5Z/z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== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:HE1PR07MB4169.eurprd07.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(376005)(366007)(1800799015)(38070700009);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: c5lMwK3fen+A2UX2JMH0loPTqUh2UgOysh6y/2yf/ZZqcTOQ1hvCXtFmHbDSDTX9XxRTevTvaqjmsK0QthnLEb7yK5uT7zyynjfCIB5WW5WAktBmMP6B+Xy0rvSBoCHWwMOGahMduU5BgMy1hGIE1DyZuKEGknr6ZIZ9VLr5esiowVeqRHwYayEVRMWL3ODpgxTZRRQ/dELflemXL4jmW4zY4RYEPOcpFXj2hXDpCkvu8p7cJlNPlgpo15n0lW5SCk77BpenPv2iDpsqmNwpQfMm/3U/sOaaFJPVHLUTpMXpCQCKSnRR/5/giN31FetVkHPNuH661OgqitQPykpW7uuQsFQCpO5fuvcP6+Lkb+ictMtU3Xt8/nDppUBdHD7hj4YTVaXRw/FmJ2QTivFtgUBjePsemU8nbqSslGgd7MMaFesOjE2nu6WO8mrwXn12N9dlSoHmGDBtMQnqvGG0sLs0UQUGgU1icbW5LWDCn17jf9A9w1B4wNARkqHDeU4bmHeZuLlRAF2CACX8NwW3tSVuKGquirrLyd6xceXb1POjZlQsQHJZthKQ0RhWdH1smtTcthexJic2dMxx8a057Gj7/gDU9hXugEzvtkUAk+UcQ4EybnPhh9ZeTqa8D6lSYKUOXnsw0k5OWWdS4ocMpHlvJClftFvkahpvbib4TRjp+bLZs/gpMcgdiKFJ5fDyWbuYovrQthLaQf2RCa7wy/XBXUpiZuBFhKQqIn6Lra3i3Hnh2h13JnyUjoryTdQ9bMjhxUC5IdSdLse/sFDJUFpnjnOD6Zmnju9eUSe8VsbeTeIhpOBIiIDAqdcqGkMZBSBCwRdeKXpnrs5BYQfddosZTVNpj1fj1jI6RvzZkhpNekVHO7ZALtbsh+2SBloem1AtSW466bWhwXpYRBf5Rdfv9UlZnx1DYS5o2UD70c5CE0dfyw69+kZyMN70BAO3qZ+hvNYI0PdjX06hRrLAt3jeiE6G4pcMYoic1mtlwjsLuXq8rUSJu7cdvzHvmDRGQ311o64MjpfmVTi2HHcD4k0YhzlOpjZW+bOpXY2POy5a+E2ZUbKVwRJ1JvrbEI0ZQCulq9mF+egq6F7jnwhbx3ZWzTI1XN87O4UoXtB7OiFqgA73nUlbQxmEalHwbZfBEtJyGGi4u5HhvoxmG1b7xPcEdQh92Ruy2mnqU3y9Pe9wU9G/TPDkoHg5/yvJZ9NAY87cusDDOeeaOLUR+SiZWv1s6Hyqg6oynjwgTnleqzR0ZF2okyQciGpTrDYFUShsJRVaSdedAqiV5lNpVy7lwMRpCgV7T5cu3oeYWfITQ5N1cJEVMD7ZU5YzEgfZ1PEZUZ7izYK3fb3cgBujAgmAnF9r6NL5GLcZkIcnD61H6wdmnJ9fxwlZYvqeDfvC/wjWprZCsnWUFLyDCZK82F8+7Eycgjq5Fq0zK9BGnSVdsrnLaiHKQrPqDRI/TVwgH3f05nM5wpCGC2mEFgAIcvaG4IiSZdfbgBpyM5IVlBPBn9hJ19H5p0IzPavtnG9VOsx2NBSocbwbrRI9wu9PAwrmXvGp+9hF+gqsAi3Y87wPaUeahsLEmkwCo8Waezj+UKRSPKPrpspWKl1El2UoWyOh5g== Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: <linux-usb.vger.kernel.org> List-Subscribe: <mailto:linux-usb+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-usb+unsubscribe@vger.kernel.org> MIME-Version: 1.0 X-OriginatorOrg: nokia-sbell.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: HE1PR07MB4169.eurprd07.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7b78c9c9-b7f4-4b06-6035-08dc836f0984 X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Jun 2024 01:46:50.3665 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 5d471751-9675-428d-917b-70f44f9630b0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: vXKvjukFJarVPRHJMY6x7wf3N82j4rR2djMptYIyWtzzyDTaXDexUQ0b0Yegc68GaPLuzOtGN7+ZgqR9aqDbPgAXCrPibtM3drO8UwrD2xo= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PA4PR07MB8390 |
Series |
usb: gadget: fsl: Enable usb snoop on PPC64
|
expand
|
On Mon, Jun 03, 2024 at 01:46:50AM +0000, Qianbin Zheng (NSB) wrote:
> Turn on usb snooping on PPC64.
This says what you are doing, but not _why_ you are doing it?
What changed to allow this to now work properly?
thanks,
greg k-h
diff --git a/drivers/usb/gadget/udc/fsl_udc_core.c b/drivers/usb/gadget/udc/fsl_udc_core.c index 3432ebfae978..a0f3498086d5 100644 --- a/drivers/usb/gadget/udc/fsl_udc_core.c +++ b/drivers/usb/gadget/udc/fsl_udc_core.c @@ -328,7 +328,7 @@ static int dr_controller_setup(struct fsl_udc *udc) __raw_writel(ctrl, &usb_sys_regs->control); } -#if defined(CONFIG_PPC32) && !defined(CONFIG_NOT_COHERENT_CACHE) +#if (defined(CONFIG_PPC32) || (defined(CONFIG_PPC64))) && !defined(CONFIG_NOT_COHERENT_CACHE) /* Turn on cache snooping hardware, since some PowerPC platforms * wholly rely on hardware to deal with cache coherent. */
Turn on usb snooping on PPC64. Signed-off-by: Qianbin Zheng <qianbin.zheng@nokia-sbell.com> --- drivers/usb/gadget/udc/fsl_udc_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)