From patchwork Fri Jul 21 16:29:08 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 792214 Return-Path: X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.infradead.org (client-ip=65.50.211.133; helo=bombadil.infradead.org; envelope-from=linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="QEcpa4L+"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="D/ZM0/0c"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3xDbnt0pHKz9sRg for ; Sat, 22 Jul 2017 02:29:38 +1000 (AEST) 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:To:Subject:Message-ID:Date:From: References:In-Reply-To:MIME-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=FGEfjuEGGimpg934+sJtOiHU3O9jgyfoOkgy2hvA9/k=; b=QEcpa4L+0CL1x7 ibwNeJfYO/tWfGBOHOIAxurJwBoyt/mouQt4Mij1QgZ2Pf/ufU0p6rzvClyRHL8fIcU/uvUZfWD9N /kXNp/jOBA1ApmXYWffYIZ+9XgrERjL2cGYIKlmGk/SE/D4RfCT5CJ9CQC0YhGmMqpzZ2hyk2IFaJ YXdf6DHo76b6JFqIqQGmkoqxEPT2CwgRzFfLyzdLhfKanB0KkCrQMlDe5qaMrsNrcId0aEVXpVuxG 8UKvPcoamilSfmg9siGn7zGfmSBkXcCGiG4vMhed3uPBO0taBZFDiNYTRCY7F1AbHqHjXnyUxNvGe MEaoy9pKFxWhz+fcmXFw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dYao2-0006LL-JA; Fri, 21 Jul 2017 16:29:34 +0000 Received: from mail-ua0-x234.google.com ([2607:f8b0:400c:c08::234]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dYany-0006Ku-TJ for linux-arm-kernel@lists.infradead.org; Fri, 21 Jul 2017 16:29:33 +0000 Received: by mail-ua0-x234.google.com with SMTP id d29so39922690uai.2 for ; Fri, 21 Jul 2017 09:29:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=DwFj7qEN+LY1RnuyEXrHcZJivK4F52+9yqPlPJsq6BQ=; b=D/ZM0/0cMY0WHoXPYYvBhAmC4ttqkYkMijbBiyzcMWEgPREuW2lLHIzg/rztiCScTW HB21+FUcNFCRnCAiiERp30oT6cJxK1rCXKsm9QFARD2BOgM1/8IqqdzpVagE7qphHnEC dIZgXJgvAF0bBFHncYgUw5xmnM9snVSGjS0psrlIzlr40NnvdgrDfpIpeeCGFM+Zuq7F kiY1q4Gz4R55SmYXzYDNBd7BuhHWJVlzAcrRECOT3vIiwxteERQ6NNtUyG00inH1TanZ cyAZGblg9Agu0Elbt/xnzkDkWTlAoCWNW1BfytrJnXghNc6H3zsusKtZxrPKzhQRVySS VSRg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=DwFj7qEN+LY1RnuyEXrHcZJivK4F52+9yqPlPJsq6BQ=; b=YSferi07Jyb+krPf8JlMY9INmn9g4gR7xlEuLB+/hjdGOPe7Td6Fgpiz5hEQy3Rr3D 0w2OqHsEx3w0191euM8B0sKt7Wng0yUekooWAMPliNU+jWFFStBBvtzrK/XT3cKgV2B4 m9gVP0HLYsdnTimPiq8vuIza6I6sKRctaOqpD0wjQoLM3XFZVXwlStdF2GxzKJHo+yBc hS0s4uIoB0/nh3U+hpNpufVtRhXJHl2rMW4zoSQJX6vT8B9Yh3mmwdR+aUkRQvIxEmdk F5Ma0jhr8ECpxQkUf6HKniux6bqjU0HzCx6JCbzSTd3YkK1uCK+UAH4PM/wrObeqTGTf tHOw== X-Gm-Message-State: AIVw113AMCA+7FBVgiMPZasI4A/ZPWZJDnlE3gvobmMveMbgDz7bViSO NiRxhQ1hSTpdtbzQ6/3bD8jp4nq6vWiw X-Received: by 10.176.3.6 with SMTP id 6mr4749056uat.56.1500654548723; Fri, 21 Jul 2017 09:29:08 -0700 (PDT) MIME-Version: 1.0 Received: by 10.31.204.1 with HTTP; Fri, 21 Jul 2017 09:29:08 -0700 (PDT) In-Reply-To: <20170720235354.GF31807@n2100.armlinux.org.uk> References: <20170720123933.rioxhsthaaby4cnl@pengutronix.de> <20170720141528.kxrw5r4hpa2hebvd@pengutronix.de> <20170720235354.GF31807@n2100.armlinux.org.uk> From: Fabio Estevam Date: Fri, 21 Jul 2017 13:29:08 -0300 Message-ID: Subject: Re: IMX53 on recent 4.4.x kernels To: Russell King - ARM Linux X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170721_092931_116536_ED86926C X-CRM114-Status: GOOD ( 10.61 ) X-Spam-Score: -2.0 (--) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (-2.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [2607:f8b0:400c:c08:0:0:0:234 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (festevam[at]gmail.com) -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.0 UPPERCASE_50_75 message body is 50-75% uppercase X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "Vellemans, Noel" , Pengutronix Sales Team , Robert Schwebel , "linux-arm-kernel@lists.infradead.org" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org List-Id: linux-imx-kernel.lists.patchwork.ozlabs.org Hi Russell, On Thu, Jul 20, 2017 at 8:53 PM, Russell King - ARM Linux wrote: > Another thing to check is that you have features like the spinlock > debug, semaphore debug, lockdep, tracing etc all disabled - these > can add quite a bit of additional processing into critical paths. Yes, this really helps. On my tests with Noel's application the execution time goes from 41 to 22 seconds on kernel 4.13-rc1. Here is the defconfig changes generated by manually removing these features and then using savedefconfig: diff --git a/arch/arm/configs/imx_v6_v7_defconfig b/arch/arm/configs/imx_v6_v7_defconfig index 49e7969..21a37bd 100644 --- a/arch/arm/configs/imx_v6_v7_defconfig +++ b/arch/arm/configs/imx_v6_v7_defconfig @@ -9,6 +9,7 @@ CONFIG_CGROUPS=y CONFIG_RELAY=y CONFIG_BLK_DEV_INITRD=y CONFIG_EXPERT=y +CONFIG_KALLSYMS_ALL=y CONFIG_PERF_EVENTS=y # CONFIG_SLUB_DEBUG is not set # CONFIG_COMPAT_BRK is not set @@ -80,7 +81,6 @@ CONFIG_CAN_FLEXCAN=y CONFIG_BT=y CONFIG_BT_HCIUART=y CONFIG_BT_HCIUART_H4=y -CONFIG_BT_HCIUART_LL=y CONFIG_CFG80211=y CONFIG_CFG80211_WEXT=y CONFIG_MAC80211=y @@ -166,9 +166,9 @@ CONFIG_MOUSE_PS2_ELANTECH=y CONFIG_INPUT_TOUCHSCREEN=y CONFIG_TOUCHSCREEN_ADS7846=y CONFIG_TOUCHSCREEN_EGALAX=y +CONFIG_TOUCHSCREEN_MAX11801=y CONFIG_TOUCHSCREEN_IMX6UL_TSC=y CONFIG_TOUCHSCREEN_EDT_FT5X06=y -CONFIG_TOUCHSCREEN_MAX11801=y CONFIG_TOUCHSCREEN_MC13783=y CONFIG_TOUCHSCREEN_TSC2004=y CONFIG_TOUCHSCREEN_TSC2007=y @@ -177,7 +177,6 @@ CONFIG_TOUCHSCREEN_SX8654=y CONFIG_TOUCHSCREEN_COLIBRI_VF50=y CONFIG_INPUT_MISC=y CONFIG_INPUT_MMA8450=y -CONFIG_HID_MULTITOUCH=y CONFIG_SERIO_SERPORT=m # CONFIG_LEGACY_PTYS is not set CONFIG_SERIAL_IMX=y @@ -237,7 +236,6 @@ CONFIG_V4L_PLATFORM_DRIVERS=y CONFIG_SOC_CAMERA=y CONFIG_V4L_MEM2MEM_DRIVERS=y CONFIG_VIDEO_CODA=m -CONFIG_SOC_CAMERA_OV2640=y CONFIG_IMX_IPUV3_CORE=y CONFIG_DRM=y CONFIG_DRM_PANEL_SIMPLE=y @@ -274,6 +272,7 @@ CONFIG_SND_SOC_CS42XX8_I2C=y CONFIG_SND_SOC_TLV320AIC3X=y CONFIG_SND_SOC_WM8960=y CONFIG_SND_SIMPLE_CARD=y +CONFIG_HID_MULTITOUCH=y CONFIG_USB=y CONFIG_USB_EHCI_HCD=y CONFIG_USB_EHCI_MXC=y @@ -388,7 +387,7 @@ CONFIG_PRINTK_TIME=y CONFIG_DEBUG_FS=y CONFIG_MAGIC_SYSRQ=y # CONFIG_SCHED_DEBUG is not set -CONFIG_PROVE_LOCKING=y +CONFIG_STACKTRACE=y # CONFIG_DEBUG_BUGVERBOSE is not set # CONFIG_FTRACE is not set # CONFIG_ARM_UNWIND is not set