From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joerg Roedel Subject: Re: [PATCH] iommu/arm-smmu: add a shortcut when the @dev_node is NULL Date: Wed, 20 Jan 2016 13:02:25 +0100 Message-ID: <20160120120225.GD18805@8bytes.org> References: <1452564905-2662-1-git-send-email-shijie.huang@arm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <1452564905-2662-1-git-send-email-shijie.huang-5wv7dgnIgG8@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: iommu-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: iommu-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: Huang Shijie Cc: iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org, nd-5wv7dgnIgG8@public.gmane.org, will.deacon-5wv7dgnIgG8@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org List-Id: iommu@lists.linux-foundation.org On Tue, Jan 12, 2016 at 10:15:05AM +0800, Huang Shijie wrote: > This patch adds a shortcut for the code when the @device_node is NULL. > In my juno-r1 board, the boot time can be faster by 0.004014s. How have you made sure this number is reliable and not just noise in the boot process? Joerg From mboxrd@z Thu Jan 1 00:00:00 1970 From: joro@8bytes.org (Joerg Roedel) Date: Wed, 20 Jan 2016 13:02:25 +0100 Subject: [PATCH] iommu/arm-smmu: add a shortcut when the @dev_node is NULL In-Reply-To: <1452564905-2662-1-git-send-email-shijie.huang@arm.com> References: <1452564905-2662-1-git-send-email-shijie.huang@arm.com> Message-ID: <20160120120225.GD18805@8bytes.org> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Tue, Jan 12, 2016 at 10:15:05AM +0800, Huang Shijie wrote: > This patch adds a shortcut for the code when the @device_node is NULL. > In my juno-r1 board, the boot time can be faster by 0.004014s. How have you made sure this number is reliable and not just noise in the boot process? Joerg From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933493AbcATMC3 (ORCPT ); Wed, 20 Jan 2016 07:02:29 -0500 Received: from 8bytes.org ([81.169.241.247]:53921 "EHLO theia.8bytes.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932819AbcATMC1 (ORCPT ); Wed, 20 Jan 2016 07:02:27 -0500 Date: Wed, 20 Jan 2016 13:02:25 +0100 From: Joerg Roedel To: Huang Shijie Cc: will.deacon@arm.com, linux-arm-kernel@lists.infradead.org, iommu@lists.linux-foundation.org, linux-kernel@vger.kernel.org, nd@arm.com Subject: Re: [PATCH] iommu/arm-smmu: add a shortcut when the @dev_node is NULL Message-ID: <20160120120225.GD18805@8bytes.org> References: <1452564905-2662-1-git-send-email-shijie.huang@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1452564905-2662-1-git-send-email-shijie.huang@arm.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jan 12, 2016 at 10:15:05AM +0800, Huang Shijie wrote: > This patch adds a shortcut for the code when the @device_node is NULL. > In my juno-r1 board, the boot time can be faster by 0.004014s. How have you made sure this number is reliable and not just noise in the boot process? Joerg