]> xenbits.xensource.com Git - people/liuw/osstest.git/commitdiff
Osstest/Debian: Add "clk_ignore_unused" to default command line
authorIan Campbell <ian.campbell@citrix.com>
Thu, 22 Jan 2015 11:05:02 +0000 (11:05 +0000)
committerIan Campbell <ian.campbell@citrix.com>
Mon, 26 Jan 2015 11:01:24 +0000 (11:01 +0000)
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

This bug is present in at least Wheezy and Jessie so apply this
workaround to those.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Osstest/Debian.pm

index 146fa94719a3f5d2d7a3eaed63a60206373af417..8b94913f83416e3c8f330bc9c29b4f7e7f3d3cf5 100644 (file)
@@ -151,6 +151,9 @@ sub setupboot_uboot ($$$) {
 
        my @xenkopt = uboot_common_kernel_bootargs($ho);
        push @xenkopt, $xenkopt;
+       # http://bugs.xenproject.org/xen/bug/45
+       push @xenkopt, "clk_ignore_unused"
+           if $ho->{Suite} =~ m/wheezy|jessie/;
 
        $xenkopt = join ' ', @xenkopt;