From mboxrd@z Thu Jan 1 00:00:00 1970 From: Russell King - ARM Linux admin Subject: Re: Unstable Kernel behavior on an ARM based board Date: Tue, 5 Mar 2019 14:58:53 +0000 Message-ID: <20190305145853.qsmcaop4ths2jgrl@shell.armlinux.org.uk> References: <20190305100731.uz6tleu3fkaruwb6@shell.armlinux.org.uk> <20190305112226.rhbl3dwopmip45ja@shell.armlinux.org.uk> <20190305115730.GE26369@ulmo> <20190305132350.pzfmz4yvh6ujgotn@shell.armlinux.org.uk> <20190305142351.ktciqkj5kycdwilr@shell.armlinux.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=m.gmane.org@lists.infradead.org To: Embedded Engineer Cc: Andrew Lunn , Vladimir Murzin , Jon Hunter , Thierry Reding , linux-tegra@vger.kernel.org, linux-arm-kernel@lists.infradead.org List-Id: linux-tegra@vger.kernel.org On Tue, Mar 05, 2019 at 07:57:18PM +0500, Embedded Engineer wrote: > On Tue, Mar 5, 2019 at 7:23 PM Russell King - ARM Linux admin > wrote: > > + for (offset = page->offset; offset < page->allocation; > > + offset = *(int *)(page->vaddr + offset)) > > error: 'struct dma_page' has no member named 'allocation'. So I > replaced 'page->allocation' with 'page->in_use'. Did you really meant > that? If yes, following are the boot logs: Should've been pool->allocation. Sorry about that. -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTC broadband for 0.8mile line in suburbia: sync at 12.1Mbps down 622kbps up According to speedtest.net: 11.9Mbps down 500kbps up 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=-3.0 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_PASS, USER_AGENT_NEOMUTT 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 7E56DC43381 for ; Tue, 5 Mar 2019 14:59:12 +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 467F42087C for ; Tue, 5 Mar 2019 14:59:12 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="hjGXCgED"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=armlinux.org.uk header.i=@armlinux.org.uk header.b="jlmuBIrW" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 467F42087C Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=armlinux.org.uk Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-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.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject: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=9IGaY7mo/GawScwoJjXUx0qb2/sZK8A/BVxecEsYkKI=; b=hjGXCgEDI1RoCh jX6sblALqK0LJX8UlfABUiS6OE0DMK27jwJv+04BQFYY5JFUUteh59TmBiGEuWsN20IYU6yqnS9WT IeyJ9uljIVTp4MCGOYTKegKs+KAtyjQdm6JCoAzjUbC1Zrf2yukA1K5ZrFEEGV7yIyDV6C7He8u1D 6wN7jctCqE2pgSp80N1axqxKwGBesuodLXWKsYQSb6UcIM45JKavKbp4n7i/Rfz/m7XSjqIraA6Qd 6Bw2JXtUNBAcsQ5Wg8OGHJ+5xuOdKoobWCEgufwEd68MPnR/FDQ0dqNTsaIjT9fJVC1Y8Yo3DNnmV aqrPlrnSThvzGk6uO74A==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1h1BX9-0003AJ-Lb; Tue, 05 Mar 2019 14:59:07 +0000 Received: from pandora.armlinux.org.uk ([2001:4d48:ad52:3201:214:fdff:fe10:1be6]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h1BX5-00039Z-Th for linux-arm-kernel@lists.infradead.org; Tue, 05 Mar 2019 14:59:05 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=vaN4+9zD9+mnu93ukiEUd+fHvJBNfQHYxHLshRafESo=; b=jlmuBIrWlZht24pxi8gtZL9ey /O3PN+z3ZisKj8HZOvbhzATNlDHZmgImFXOULd7lW2JHuy15LcjxArHh5SflnqgwpeEo+Glof4xM3 E2N42vhtRevVB4abTzu/Ab42TMTqzCS7Sv+xTyQtxddrfeE+G4fibB/6ywQAl5lKat8dNPngj737L ZyIGg1mhXepCZMKlyzpUJfaRghXJKcpj/uQLCPcimWB/a/USIUNigkRD1NvfImHMxQK66okQr85gG 4iPC/PXHqQEPEIygKWPUosrlbQIExHrU3nQuTlOA5FpkAZXQADm1Q65YX4WiylCT3Z3lKcmevZ8i8 5nwkGPrHg==; Received: from shell.armlinux.org.uk ([2001:4d48:ad52:3201:5054:ff:fe00:4ec]:54956) by pandora.armlinux.org.uk with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1) (envelope-from ) id 1h1BWx-0001sJ-A4; Tue, 05 Mar 2019 14:58:55 +0000 Received: from linux by shell.armlinux.org.uk with local (Exim 4.89) (envelope-from ) id 1h1BWv-0003IC-TU; Tue, 05 Mar 2019 14:58:53 +0000 Date: Tue, 5 Mar 2019 14:58:53 +0000 From: Russell King - ARM Linux admin To: Embedded Engineer Subject: Re: Unstable Kernel behavior on an ARM based board Message-ID: <20190305145853.qsmcaop4ths2jgrl@shell.armlinux.org.uk> References: <20190305100731.uz6tleu3fkaruwb6@shell.armlinux.org.uk> <20190305112226.rhbl3dwopmip45ja@shell.armlinux.org.uk> <20190305115730.GE26369@ulmo> <20190305132350.pzfmz4yvh6ujgotn@shell.armlinux.org.uk> <20190305142351.ktciqkj5kycdwilr@shell.armlinux.org.uk> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20170113 (1.7.2) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190305_065903_959109_A81BAACD X-CRM114-Status: UNSURE ( 8.95 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Andrew Lunn , Vladimir Murzin , Jon Hunter , Thierry Reding , linux-tegra@vger.kernel.org, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue, Mar 05, 2019 at 07:57:18PM +0500, Embedded Engineer wrote: > On Tue, Mar 5, 2019 at 7:23 PM Russell King - ARM Linux admin > wrote: > > + for (offset = page->offset; offset < page->allocation; > > + offset = *(int *)(page->vaddr + offset)) > > error: 'struct dma_page' has no member named 'allocation'. So I > replaced 'page->allocation' with 'page->in_use'. Did you really meant > that? If yes, following are the boot logs: Should've been pool->allocation. Sorry about that. -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTC broadband for 0.8mile line in suburbia: sync at 12.1Mbps down 622kbps up According to speedtest.net: 11.9Mbps down 500kbps up _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel