From patchwork Thu Feb 20 01:56:41 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peng Fan X-Patchwork-Id: 1241102 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=nxp.com header.i=@nxp.com header.a=rsa-sha256 header.s=selector2 header.b=aikJmH4o; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 48NHlM5Cykz9sRG for ; Thu, 20 Feb 2020 12:57:00 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 78EF4812DE; Thu, 20 Feb 2020 02:56:50 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=nxp.com header.i=@nxp.com header.b="aikJmH4o"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 3399E812F4; Thu, 20 Feb 2020 02:56:48 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FORGED_SPF_HELO, SPF_HELO_PASS, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.2 Received: from EUR03-AM5-obe.outbound.protection.outlook.com (mail-am5eur03on061c.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe08::61c]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id CAD36812C4 for ; Thu, 20 Feb 2020 02:56:42 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=peng.fan@nxp.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Et/dtne1xz3NXglpznNPedayOuMMfPoCY1njuT0t4vTk4e75ShK3Pf1QwZ7gI929H+Qh8AZUbNxQVGqQp6dPHgMYdcMhGITcyyGNHJfNk/rBRfggLPYgOKj/m89meCrrYHVkItuU3n6VrkFqh/CJy20xPwMzADMuV0h0d5zifGiBUPZQtHRqMc3atnzw3wRayVY9WxhbKkAMVdcTqZAGLbz/zTJ4X0y+/f8nCB7AfSZEVWS3dibP4Hffjl1EQ8nFUXJMV7Z1MgyQV7XNIhLU2yBZbfnEg+HEqOC6HP+Ne5uARXeSlGvw1Ir+Mvv+uYUv0V1lGZXpVArZ2ccnh/TVHg== 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=R4fXSP0LWsQM4dNhSm7X1IJ4dUsUzbtNIPxFUGfhhcA=; b=lJeiZqno5T2V+ZG4saF4+7DtxNvdaBzFAxSaocMLtluIT84glt6vqh7ItD7VgB5kev7zcBV+pscQgwv9pIclqhJx6ahJu/GTGI0X+R/pyHQIIQGG/S6p/ga75yOqYz4MCvorRP/Ly/mSWrDsTP7dA3RdPwFgfKYwnShL6AVkjTcEaXa36mPZYsxIIFpiLScJIR/alN6rUK5PUOaV4bvxZbLAz+yDC19D2KAQGnTbHyPcync73uDtdxa7a+bZjPSZpYMmeujOoKBoJNQUlX0G8SGLcovDGalissgvx8ZLFkE/QgsO7M9TRMNWxzcuJqNo6MC48jxOS04VMqiCcNSquA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=R4fXSP0LWsQM4dNhSm7X1IJ4dUsUzbtNIPxFUGfhhcA=; b=aikJmH4ozlVAQWc9lry5CVDSXh0OQYbwZdnMyMumQY9/YvigMjERkP0/68IgCZK/0nha8W0v/dcUv0M0tc60kA6cn7eFwywx8WPEPV0YOemPM62jf/nVJURRmfe27lwSYZgLlwEZTkDUVeMKMiMnw991aRyqVXiAIzI19Q1gOCI= Received: from AM0PR04MB4481.eurprd04.prod.outlook.com (52.135.147.15) by AM0PR04MB6642.eurprd04.prod.outlook.com (20.179.253.91) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2750.18; Thu, 20 Feb 2020 01:56:41 +0000 Received: from AM0PR04MB4481.eurprd04.prod.outlook.com ([fe80::91e2:17:b3f4:d422]) by AM0PR04MB4481.eurprd04.prod.outlook.com ([fe80::91e2:17:b3f4:d422%3]) with mapi id 15.20.2729.032; Thu, 20 Feb 2020 01:56:41 +0000 From: Peng Fan To: Tom Rini CC: "u-boot@lists.denx.de" , Jaehoon Chung , Masahiro Yamada , Rasmus Villemoes Subject: Please pull mmc mmc-2-19-2020 Thread-Topic: Please pull mmc mmc-2-19-2020 Thread-Index: AdXnj1MRPbQKKq/wTnKUPRM327tH5g== Date: Thu, 20 Feb 2020 01:56:41 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=peng.fan@nxp.com; x-originating-ip: [119.31.174.68] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 506912f1-e810-4c7c-a709-08d7b5a82172 x-ms-traffictypediagnostic: AM0PR04MB6642: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:883; x-forefront-prvs: 031996B7EF x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(396003)(376002)(39860400002)(346002)(136003)(366004)(189003)(199004)(81156014)(4326008)(7696005)(86362001)(186003)(81166006)(26005)(6506007)(33656002)(44832011)(478600001)(71200400001)(6916009)(8676002)(8936002)(52536014)(66946007)(54906003)(2906002)(66556008)(5660300002)(66446008)(64756008)(66476007)(55016002)(316002)(9686003)(76116006)(966005); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR04MB6642; H:AM0PR04MB4481.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: IrbSvpSoAdObFtlLrK91SeB5Y3AnSfG2TQU6EINtEt7LSSsbGFhHNx7syAMdPcvyabhqqRjABuEljJOPp66JYcGM/URoMJmYCS2ientsKgb5LXwfDlsJPeXexkd82UItpFhEN/cZfjhbLObFB0wDrXc0dbOlafcGeFRuW83lQZqhXvNQlvAWRIDRzVwVD3otCvDv/ZD6mpCs10wFdzX++V5NI2RNMO49Af2pioNG/rmz4woRR2jdyC4r9yymE1/x25UXIr2ZUPz2HXVNcrFkldL1nxs+H9mkpjrLyr8P71czENtoPAIxtCM3u4lSLWZMWhdwUrqT4r7avRdy7cF33S59yVes32G5Wejwmm2SnlbPyNtiqVFTyaG9CvY7/e9IDT4MZ9msQZ/DSpHd02KuhARh8OydXizsfSOny5i4TsELMZ3uPD7w/H1FvksLHE1fNG3gOENoEn+ERGerVq4WhedxYk+pNKKunDZRZaNXHgHn1TuXLB8ETbo99Yvpb3oMZuaQg/Z79Ho/c5Vd3CR5pg== x-ms-exchange-antispam-messagedata: trMtxeyHg7AObR5hCVzVKEsxhtE0+eQCz087NKLz+SnYrdydJz7wtOlH8Zd/kSJN9wcEHaA8xnHlXO7ZwtRvxyAq90omBF0/ijkWixSIrm+ITMgjJIL2ue7nb7yVeQRXK4QMdHymYa+Nn9uoayyqLg== x-ms-exchange-transport-forked: True MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 506912f1-e810-4c7c-a709-08d7b5a82172 X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Feb 2020 01:56:41.5020 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: ryvtpBijkqmsM8WFubcaVdB41s7S+lNZ6PyBb8dqC6L+Z7czDDLDX8Tad2T8s5Zi+QBxw8YJWmFFsZjTTd6/hQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR04MB6642 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.30rc1 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.102.2 at phobos.denx.de X-Virus-Status: Clean Hi Tom Please pull mmc-2-29-2020. ------------------------------------ sdhci: code clean-up and fix cache coherency problem enable cache snooping on mpc830x Fix build error when MMC_WRITE disabled ------------------------------------ CI: https://travis-ci.org/MrVan/u-boot/builds/652476827 Thanks, Peng The following changes since commit f2a73d6867ef973fbb8471cc87058205999b5e5c: Merge tag 'u-boot-stm32-20200214' of https://gitlab.denx.de/u-boot/custodians/u-boot-stm (2020-02-14 07:31:47 -0500) are available in the Git repository at: https://gitlab.denx.de/u-boot/custodians/u-boot-mmc.git tags/mmc-2-19-2020 for you to fetch changes up to 5cc25dcd5d79ef85fdad807a3e5a7af10333cfc3: mmc: sdhci: fix missing cache invalidation after reading by DMA (2020-02-19 21:27:31 +0800) ---------------------------------------------------------------- Bharat Kumar Reddy Gooty (1): drivers: mmc: rpmb: Use R1 response Jaehoon Chung (1): mmc: fix the build error when MMC_WRITE is disabled Masahiro Yamada (14): mmc: sdhci-cadence: send tune request twice to work around errata mmc: check the return value of mmc_select_mode_and_width() mmc: remove unneeded forward declarations dma-mapping: fix the prototype of dma_map_single() dma-mapping: fix the prototype of dma_unmap_single() dma-mapping: move dma_map_(un)single() to dma-mapping: add for all architectures mmc: sdhci: put the aligned buffer pointer to struct sdhci_host mmc: sdhci: reduce code duplication for aligned buffer mmc: sdhci: use lower_32_bit2() and upper_32_bits() for setting adma_addr mmc: sdhci: remove unneeded casts mmc: add mmc_get_dma_dir() helper mmc: sdhci: use dma_map_single() instead of flush_cache() before DMA mmc: sdhci: fix missing cache invalidation after reading by DMA Rasmus Villemoes (1): mmc: fsl_esdhc: actually enable cache snooping on mpc830x arch/arc/include/asm/dma-mapping.h | 1 + arch/arm/include/asm/dma-mapping.h | 29 +---------------------------- arch/m68k/include/asm/dma-mapping.h | 1 + arch/microblaze/include/asm/dma-mapping.h | 1 + arch/mips/include/asm/dma-mapping.h | 1 + arch/nds32/include/asm/dma-mapping.h | 27 +-------------------------- arch/nios2/include/asm/dma-mapping.h | 25 +------------------------ arch/powerpc/include/asm/dma-mapping.h | 1 + arch/riscv/include/asm/dma-mapping.h | 29 +---------------------------- arch/sandbox/include/asm/dma-mapping.h | 1 + arch/sh/include/asm/dma-mapping.h | 1 + arch/x86/include/asm/dma-mapping.h | 29 +---------------------------- arch/xtensa/include/asm/dma-mapping.h | 1 + drivers/dma/ti/k3-udma.c | 2 +- drivers/mmc/fsl_esdhc.c | 15 +++++++++++++-- drivers/mmc/mmc.c | 8 +++----- drivers/mmc/rpmb.c | 5 +++++ drivers/mmc/sdhci-cadence.c | 21 +++++++++++++++++---- drivers/mmc/sdhci.c | 96 ++++++++++++++++++++++++++++++++++++++++++++++-------------------------------------------------- drivers/mmc/tmio-common.c | 5 ++--- drivers/mtd/nand/raw/denali.c | 5 ++--- drivers/net/altera_tse.c | 2 +- drivers/net/ftmac110.c | 2 +- drivers/net/macb.c | 4 ++-- drivers/soc/ti/k3-navss-ringacc.c | 2 +- drivers/ufs/ufs.c | 2 +- drivers/usb/cdns3/gadget.c | 2 +- drivers/usb/dwc3/core.c | 8 ++++---- drivers/usb/dwc3/gadget.c | 2 +- drivers/usb/gadget/udc/udc-core.c | 4 ++-- include/linux/dma-mapping.h | 63 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ include/mmc.h | 6 ++++++ include/sdhci.h | 3 +++ 33 files changed, 188 insertions(+), 216 deletions(-) create mode 100644 arch/arc/include/asm/dma-mapping.h create mode 100644 arch/m68k/include/asm/dma-mapping.h create mode 100644 arch/microblaze/include/asm/dma-mapping.h create mode 100644 arch/mips/include/asm/dma-mapping.h create mode 100644 arch/powerpc/include/asm/dma-mapping.h create mode 100644 arch/sandbox/include/asm/dma-mapping.h create mode 100644 arch/sh/include/asm/dma-mapping.h create mode 100644 arch/xtensa/include/asm/dma-mapping.h create mode 100644 include/linux/dma-mapping.h