From patchwork Fri Nov 21 13:17:01 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ian Campbell X-Patchwork-Id: 41303 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f72.google.com (mail-wg0-f72.google.com [74.125.82.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id C0832244B0 for ; Fri, 21 Nov 2014 13:18:41 +0000 (UTC) Received: by mail-wg0-f72.google.com with SMTP id y19sf2962583wgg.7 for ; Fri, 21 Nov 2014 05:18:37 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:date:message-id:in-reply-to :references:mime-version:cc:subject:precedence:list-id :list-unsubscribe:list-post:list-help:list-subscribe:content-type :content-transfer-encoding:sender:errors-to:x-original-sender :x-original-authentication-results:mailing-list:list-archive; bh=/zrUv0rNQLyoid1Jq0Qs1tBElx+1yJjB4D0Oj2QcFxQ=; b=gCyqsFHb/9tYfYVMhNhZ0d6X+EOaV4za/PGiTPX1vARxUU94NPZySCjL0qt64VgQ81 g/QecDFbohBjl2PynZKv3Yd205c029aI7KNqTZ98atoY9UeHKRsnp3YGTIeykdJEYrOK ZnkEaSjD+EWbUs69/7jSvC7tt/4I5OXAM/vhpqfmTUhRb2NyJPxNFu9Ckh/kOmXcPe7A FW3DEZ+MC9tq7aUAYkJrJJE3JhgGJuzySkA9TXc9G9jj/lJ5fYa1ARtu+nX+usm/vVT6 jKU1OlTvlRt4VpBenRYR1DRMgaHmo0VxmVYje8P6jXQ2gjxrd6D1LEVSJT6fyc+XEB7w r3nQ== X-Gm-Message-State: ALoCoQkJv6EcEYl+grGXApT27cMS2m4iisBAjHSbb71LAxul8TdL7o3r6uVXRrLgHiQIh5uWnnXT X-Received: by 10.194.134.193 with SMTP id pm1mr1557798wjb.4.1416575916234; Fri, 21 Nov 2014 05:18:36 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.7.9 with SMTP id f9ls173829laa.66.gmail; Fri, 21 Nov 2014 05:18:35 -0800 (PST) X-Received: by 10.152.21.9 with SMTP id r9mr4565065lae.76.1416575915838; Fri, 21 Nov 2014 05:18:35 -0800 (PST) Received: from mail-la0-f46.google.com (mail-la0-f46.google.com. [209.85.215.46]) by mx.google.com with ESMTPS id tb1si5243887lbb.130.2014.11.21.05.18.35 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 21 Nov 2014 05:18:35 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.46 as permitted sender) client-ip=209.85.215.46; Received: by mail-la0-f46.google.com with SMTP id gd6so4165152lab.5 for ; Fri, 21 Nov 2014 05:18:35 -0800 (PST) X-Received: by 10.112.189.10 with SMTP id ge10mr4431383lbc.23.1416575915656; Fri, 21 Nov 2014 05:18:35 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.184.201 with SMTP id ew9csp87124lbc; Fri, 21 Nov 2014 05:18:34 -0800 (PST) X-Received: by 10.52.121.82 with SMTP id li18mr1298790vdb.82.1416575914093; Fri, 21 Nov 2014 05:18:34 -0800 (PST) Received: from lists.xen.org (lists.xen.org. [50.57.142.19]) by mx.google.com with ESMTPS id vu5si2254674vcb.70.2014.11.21.05.18.33 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Fri, 21 Nov 2014 05:18:34 -0800 (PST) Received-SPF: none (google.com: xen-devel-bounces@lists.xen.org does not designate permitted sender hosts) client-ip=50.57.142.19; Received: from localhost ([127.0.0.1] helo=lists.xen.org) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1Xro5S-0007LP-Bc; Fri, 21 Nov 2014 13:17:22 +0000 Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1Xro5R-0007Jr-AO for xen-devel@lists.xen.org; Fri, 21 Nov 2014 13:17:21 +0000 Received: from [193.109.254.147] by server-5.bemta-14.messagelabs.com id 07/F3-08051-06B3F645; Fri, 21 Nov 2014 13:17:20 +0000 X-Env-Sender: Ian.Campbell@citrix.com X-Msg-Ref: server-13.tower-27.messagelabs.com!1416575827!13996777!7 X-Originating-IP: [66.165.176.89] X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: VHJ1c3RlZCBJUDogNjYuMTY1LjE3Ni44OSA9PiAyMDMwMDc=\n X-StarScan-Received: X-StarScan-Version: 6.12.4; banners=-,-,- X-VirusChecked: Checked Received: (qmail 29775 invoked from network); 21 Nov 2014 13:17:20 -0000 Received: from smtp.citrix.com (HELO SMTP.CITRIX.COM) (66.165.176.89) by server-13.tower-27.messagelabs.com with RC4-SHA encrypted SMTP; 21 Nov 2014 13:17:20 -0000 X-IronPort-AV: E=Sophos;i="5.07,431,1413244800"; d="scan'208";a="193695954" Received: from ukmail1.uk.xensource.com (10.80.16.128) by smtprelay.citrix.com (10.13.107.78) with Microsoft SMTP Server id 14.3.181.6; Fri, 21 Nov 2014 08:17:17 -0500 Received: from kazak.uk.xensource.com ([10.80.2.80] helo=zakaz.uk.xensource.com) by ukmail1.uk.xensource.com with smtp (Exim 4.69) (envelope-from ) id 1Xro5M-0003B0-CL; Fri, 21 Nov 2014 13:17:17 +0000 Received: by zakaz.uk.xensource.com (sSMTP sendmail emulation); Fri, 21 Nov 2014 13:17:16 +0000 From: Ian Campbell To: Date: Fri, 21 Nov 2014 13:17:01 +0000 Message-ID: <1416575824-15555-12-git-send-email-ian.campbell@citrix.com> X-Mailer: git-send-email 2.1.1 In-Reply-To: <1416505070.26869.2.camel@citrix.com> References: <1416505070.26869.2.camel@citrix.com> MIME-Version: 1.0 X-DLP: MIA2 Cc: Ian Campbell , xen-devel@lists.xen.org Subject: [Xen-devel] [PATCH OSSTEST v3 12/15] Osstest/Debian: Add "clk_ignore_unused" to default command line X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Post: , List-Help: , List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: ian.campbell@citrix.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.46 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Archive: dom0 is not aware that some clocks are actually in use (e.g. by the hypervisor), so this stops the kernel from messing with (specifically, disabling) those clocks. It's harmless even when not needed. Really there ought to be some interface to communicate this from Xen to dom0, or some other mechanism to gate things. See http://bugs.xenproject.org/xen/bug/45 Signed-off-by: Ian Campbell --- v3: More verbiage about why this is done v2: New patch, previously incorrectly included in "Osstest/Debian: Workaround oddities in the u-boot script parser." --- Osstest/Debian.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Osstest/Debian.pm b/Osstest/Debian.pm index 0f92661..3e56c1f 100644 --- a/Osstest/Debian.pm +++ b/Osstest/Debian.pm @@ -178,7 +178,8 @@ ext2load scsi 0 \\\${kernel_addr_r} $kern fdt mknod /chosen module\@0 fdt set /chosen/module\@0 compatible "xen,linux-zimage" "xen,multiboot-module" fdt set /chosen/module\@0 reg <\\\${kernel_addr_r} \\\${filesize}> -fdt set /chosen/module\@0 bootargs "$xenkopt ro root=$root" +# clk_ignore_unused is due to http://bugs.xenproject.org/xen/bug/45 +fdt set /chosen/module\@0 bootargs "$xenkopt ro root=$root clk_ignore_unused" echo Loaded $kern to \\\${kernel_addr_r} (\\\${filesize}) echo command line: $xenkopt ro root=$root