From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2E827C47082 for ; Mon, 7 Jun 2021 12:03:15 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id D375A61246 for ; Mon, 7 Jun 2021 12:03:14 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D375A61246 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=arm.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=pN3qQzgvdLTwnz5a50rKxDDPrBPVGfNq7iSMUKvKpPM=; b=2L/o1PG1yeE0Oj 4bJbd+/9DhEppGSDiy5Qq/ons4tm4cIsKcOb6iX3SqVzLz2MKecAnPj3JGqhjbpTDDzUlKzoc776r 7T4sBUbTbJVB5g02qkDBFl3LagfqrsH17CKZpyx4ItB50TBZGTunNhrc6JobrOUaoTPWE4SWpGfH5 yTDQeX7MFEFEVkou0rfeppuydGs4f+bAaC+pystrnRbhhuuGqB13DVL0pzG4I1jEbTCOSIKHkQLXb aKS7WxcvOUsEp82HUJ5i1qvsBCn3d2XMFcCUToLBYctxa8PVFoJDiYrUkIlPU63h29gJLrj8tQDo9 HLc9V+VXlQoJBqJ4yNAQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1lqDwk-003TFN-7p; Mon, 07 Jun 2021 12:01:34 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1lqDwd-003TE7-Tl for linux-arm-kernel@lists.infradead.org; Mon, 07 Jun 2021 12:01:32 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id E05C731B; Mon, 7 Jun 2021 05:01:23 -0700 (PDT) Received: from C02TD0UTHF1T.local (unknown [10.57.4.24]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 650293F73D; Mon, 7 Jun 2021 05:01:21 -0700 (PDT) Date: Mon, 7 Jun 2021 13:01:18 +0100 From: Mark Rutland To: Marek Szyprowski Cc: Will Deacon , linux-arm-kernel@lists.infradead.org, kernel-team@android.com, Catalin Marinas , Ard Biesheuvel , Arnd Bergmann , Vincent Whitchurch , Bartlomiej Zolnierkiewicz Subject: Re: [PATCH] arm64: cache: Lower ARCH_DMA_MINALIGN to 64 (L1_CACHE_BYTES) Message-ID: <20210607120118.GC97489@C02TD0UTHF1T.local> References: <20210527124356.22367-1-will@kernel.org> <4d0c8318-bad8-2be7-e292-fc8f70c198de@samsung.com> <20210602135123.GD12753@C02TD0UTHF1T.local> <130ce34f-460a-0046-f722-00144f2d5502@samsung.com> <20210604100114.GC64162@C02TD0UTHF1T.local> <0d10411d-49fe-fbca-0479-e2983af16aa8@samsung.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <0d10411d-49fe-fbca-0479-e2983af16aa8@samsung.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210607_050128_030257_05C56DB4 X-CRM114-Status: GOOD ( 14.19 ) 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 Mon, Jun 07, 2021 at 11:58:32AM +0200, Marek Szyprowski wrote: > Hi Mark, > I've just checked with the latest firmware from > https://github.com/raspberrypi/firmware (master branch, just copied > everything to /boot) and the issue is still there. > > If you start from arm64/defconfig without modules, please make sure you > have enabled all RPi drivers, otherwise VC4 DRM won't come up. I've > managed to reproduce the issue without the modules with the following > changes to arm64's defconfig: > > ./scripts/config -e DRM -e DRM_VC4 -e CONFIG_CLK_RASPBERRYPI -e > CONFIG_SENSORS_RASPBERRYPI_HWMON -e CONFIG_I2C_BCM2835 -e > CONFIG_ARM_RASPBERRYPI_CPUFREQ Thanks for this! With that config on commit 65688d2a05deb9f0 I also see a hang at the end of boot, but before reaching userspace, with the last messages in dmesg as below. I'll go check that the ARCH_DMA_MINALIGN affects this, then I'll go play with debug options. | [ 1.397102] 3f201000.serial: ttyAMA0 at MMIO 0x3f201000 (irq = 99, base_baud = 0) is a PL011 rev2 | [ 1.406437] serial serial0: tty port ttyAMA0 registered | [ 1.408914] sdhost-bcm2835 3f202000.mmc: loaded - DMA enabled (>1) | [ 1.430510] raspberrypi-firmware soc:firmware: Attached to firmware from 2021-05-24T19:52:58 | [ 1.504953] mmc0: host does not support reading read-only switch, assuming write-enable | [ 1.514908] mmc0: new high speed SDXC card at address 0001 | [ 1.521626] mmcblk0: mmc0:0001 00000 59.6 GiB | [ 1.528406] mmcblk0: p1 p2 | [ 1.644694] debugfs: Directory '3f902000.hdmi' with parent 'vc4-hdmi' already present! | [ 1.654544] vc4-drm soc:gpu: bound 3f902000.hdmi (ops vc4_hdmi_ops) | [ 1.661078] vc4-drm soc:gpu: bound 3f806000.vec (ops vc4_vec_ops) | [ 1.667401] vc4-drm soc:gpu: bound 3f400000.hvs (ops vc4_hvs_ops) | [ 1.673760] vc4-drm soc:gpu: bound 3f004000.txp (ops vc4_txp_ops) | [ 1.680096] vc4-drm soc:gpu: bound 3f206000.pixelvalve (ops vc4_crtc_ops) | [ 1.687157] vc4-drm soc:gpu: bound 3f207000.pixelvalve (ops vc4_crtc_ops) | [ 1.694172] vc4-drm soc:gpu: bound 3f807000.pixelvalve (ops vc4_crtc_ops) | [ 1.701170] vc4-drm soc:gpu: bound 3fc00000.v3d (ops vc4_v3d_ops) | [ 1.709277] [drm] Initialized vc4 0.0.0 20140616 for soc:gpu on minor 0 Thanks, Mark. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel