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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 1888BC6FD19 for ; Sun, 12 Mar 2023 18:12:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:From:References:Cc:To: Subject:MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=N57CLjzEv+DyTl4kQZEChm/9zSC1eLuWrMoODTSg0do=; b=2pltxGBzOLH3Ch QvCV5zdkQDEKtgZP9V5iwAjcwqjgVW2uFH7EbTnrPZpho181teb1Oi5ySPgl5M6yHNBKOHu7nHnal MFgWhwcOfAU5jHa64Ptbbs839rg9vYHUboIpVxtle7YZgxwms2wCsuhr1PAGPzHxEBWgsAMHAbCEB tyv9pRoZ7RA2xYBbO3Je3PgxOnHYqZ365qO0fX3aGGOXgph4ichTv+h+X2eLYhy/amQqErfCJBzMb 4Ezk2gGy+V/8Vbne4F0ABEEqTAUyIhpNeAj8m7mPMjDZQJ8v9td5ZYzKXuTzkLGDcrrCu+uv2kPTr KEWApiqGbHiywNZN2e+Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pbQ9z-003BOQ-FM; Sun, 12 Mar 2023 18:11:07 +0000 Received: from mail-ed1-x52e.google.com ([2a00:1450:4864:20::52e]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pbQ9j-003BHu-4A for linux-arm-kernel@lists.infradead.org; Sun, 12 Mar 2023 18:10:53 +0000 Received: by mail-ed1-x52e.google.com with SMTP id ek18so8994231edb.6 for ; Sun, 12 Mar 2023 11:10:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678644647; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=qJbzQk4TLzSKDEe2jC8259R3RwrclYP4GOKv7WeR0Ww=; b=zZTr7VMDlWX4uf8nU8uN2z43yfKKSLyKBUDDEEcIbLNTgO/RqeA4Qo566pDmoA8+eX xqRexfSEe5rYovwnSRaE3jAZk/MolOON2aXotrZ5qvjJ2WYNFksIs3HX6XIPAlqxc+G6 5JfKiZe7m7qxhTlslT8SzWB2Cu65qbpWGIcBUr/GPhP+y4Kuv9OLFmj+NyzBXtIxmgSr dbDwcH1oHiTKemOuZlcR4rZcK+cVT8JuoSlptdjlht9L+hPqRn5i8TqxemYxl9Pn/J1x OPm9U2xm9hVa93s8cEY4QHYoiFkesw84kkb5gyy1vG0Y0Qi05uATsnZ2xZjPLnDop6lx qHnA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678644647; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=qJbzQk4TLzSKDEe2jC8259R3RwrclYP4GOKv7WeR0Ww=; b=fzomASk9pM+HohhMOESR9gy6xENbEi7V09nZuTeJSihFifE5V+KeNeiHylwiXBlYMk mb0WBwidf64or5GNPIUtSNO9cXfu/288PqCsVQ3+B6UuQJxEiOE3iG3OWV74jgRoLVSK uVp5F/dKfW35R/oXhCn/A3hbV6T0QqbYO8hlI69F6cDCCgrQD24BsLlYiwv4BVzMyydF mUGOVOepn5p7j9g6kJpQHaHD7ZVkjYHTJxAoUZdaX/jr8CPjfL90KZRIxnxwqH0WLKoG TwxNazbAeu0sHln07Og0fqs8vYQnSiDvplCkuB3QhmTAvydRtWry9P/+NoBoOOqdZuCg Elsw== X-Gm-Message-State: AO0yUKXltQLW88MJBQYVpWQuNrbAOr2hHhFMDZW3IAI2YDCe4qEE71PT d/fTqs7jl88nFA/bGQWnnq09Vg== X-Google-Smtp-Source: AK7set9brgC1i/ieyhjxBiLx9HBWqe3Fd1FsMtrCMQZRRFIISTpQPpLIbjDXETPymdO1F2gGMPajNg== X-Received: by 2002:a17:907:6d1a:b0:8b1:238b:80ac with SMTP id sa26-20020a1709076d1a00b008b1238b80acmr41929936ejc.67.1678644647299; Sun, 12 Mar 2023 11:10:47 -0700 (PDT) Received: from ?IPV6:2a02:810d:15c0:828:d9f6:3e61:beeb:295a? ([2a02:810d:15c0:828:d9f6:3e61:beeb:295a]) by smtp.gmail.com with ESMTPSA id oq12-20020a170906cc8c00b008d68d018153sm2465874ejb.23.2023.03.12.11.10.46 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 12 Mar 2023 11:10:46 -0700 (PDT) Message-ID: Date: Sun, 12 Mar 2023 19:10:45 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 Subject: Re: [PATCH v5 0/3] mmc: dw_mmc: fix DW MMC cores with 32-bit bus on 64-bit Linux systems Content-Language: en-US To: Sergey Lisov , Ulf Hansson , Rob Herring , Krzysztof Kozlowski , Alim Akhtar , Jaehoon Chung Cc: linux-mmc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org References: <640e1428.c20a0220.f761b.1a1b@mx.google.com> From: Krzysztof Kozlowski In-Reply-To: <640e1428.c20a0220.f761b.1a1b@mx.google.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230312_111051_316106_0DFFE817 X-CRM114-Status: GOOD ( 16.28 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 12/03/2023 18:58, Sergey Lisov wrote: > DesignWare MMC cores have a configurable data bus width of either 16, 32, or 64 > bytes. It is possible, and some vendors actually do it, to ship a DW MMC core > configured for 32-bit data bus within a 64-bit SoC. In this case the kernel > will attempt 64-bit (readq) accesses to certain 64-bit MMIO registers, while > the core will expect pairs of 32-bit accesses. > > It seems that currently the only register for which the kernel performs 64-bit > accesses is the FIFO. The symptom is that the DW MMC core never receives a read > on the second half of the register, does not register the datum as being read, > and thus not advancing its internal FIFO pointer, breaking further reads. It > also seems that this FIFO is only used for small (less than 16 bytes) > transfers, which probably means that only some SDIO cards are affected. > > Changelog: > > v5: > - rename "samsung,exynos78xx-dw-mshc" to "samsung,exynos7885-dw-mshc" > - rename "samsung,exynos78xx-dw-mshc" to "samsung,exynos7885-dw-mshc" So this is fifth version today? You need to wait before resending, to gather other comments. Also, something is wrong with your mailing. Threading is gone and all patches arrive twice with different Message IDs. Best regards, Krzysztof _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel