All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ian Campbell <Ian.Campbell@citrix.com>
To: Ian Jackson <Ian.Jackson@eu.citrix.com>
Cc: xen-devel@lists.xen.org
Subject: Re: [PATCH OSSTEST v4 08/13] Osstest/Debian: Add "clk_ignore_unused" to default command line
Date: Wed, 21 Jan 2015 13:12:18 +0000	[thread overview]
Message-ID: <1421845938.13271.49.camel@citrix.com> (raw)
In-Reply-To: <21695.38204.428700.66771@mariner.uk.xensource.com>

On Wed, 2015-01-21 at 12:02 +0000, Ian Jackson wrote:
> Ian Campbell writes ("[PATCH OSSTEST v4 08/13] Osstest/Debian: Add "clk_ignore_unused" to default command line"):
> > 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
> 
> Actually, despite my email just now acking this: perhaps you could
> gate this on $suite ?
> 
> That way at the very least we'll be prompted every couple of years to
> see if this is still needed.

Sure. Since I know already that this won't be fixed in Jessie I propose
to insert an "if $ho->{Suite} =~ m/wheezy|jessie/;" right from the get
go, as below.

Are you OK with your Ack being retained with that? (I'll mention Jessie
in the commit log too).

Ian.

diff --git a/Osstest/Debian.pm b/Osstest/Debian.pm
index a94f847..aef1b37 100644
--- a/Osstest/Debian.pm
+++ b/Osstest/Debian.pm
@@ -159,7 +159,9 @@ sub setupboot_uboot ($$$) {
 	# Dom0 specific kernel options
 	my @xenkopt = @kopt;
 	push @xenkopt, $xenkopt;
-	push @xenkopt, "clk_ignore_unused"; # http://bugs.xenproject.org/xen/bug/45
+	# http://bugs.xenproject.org/xen/bug/45
+	push @xenkopt, "clk_ignore_unused"
+	    if $ho->{Suite} =~ m/wheezy|jessie/;
 
 	$xenkopt = join ' ', @xenkopt;
 	logm("Dom0 Linux options: $xenkopt");

  reply	other threads:[~2015-01-21 13:12 UTC|newest]

Thread overview: 45+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-21 11:17 [PATCH OSSTEST v4 00/13] support for ARM32 arndale and cubietruck platforms Ian Campbell
2015-01-21 11:18 ` [PATCH OSSTEST v4 01/13] make-flight: Run a basic test on each arm platform Ian Campbell
2015-01-21 11:18 ` [PATCH OSSTEST v4 02/13] Osstest/PDU: Add eth008.pm method to control the ARM rack PDU Ian Campbell
2015-01-21 11:43   ` Ian Jackson
2015-01-21 11:18 ` [PATCH OSSTEST v4 03/13] Osstest/Debian: Install dtbs into target filesystem in /boot/dtbs Ian Campbell
2015-01-21 11:44   ` Ian Jackson
2015-01-21 11:18 ` [PATCH OSSTEST v4 04/13] Osstest/Debian: Support for loading an FDT from u-boot script Ian Campbell
2015-01-21 11:18 ` [PATCH OSSTEST v4 05/13] Osstest/Debian: Refactor setting of dom0 kernel command line Ian Campbell
2015-01-21 11:47   ` Ian Jackson
2015-01-21 11:18 ` [PATCH OSSTEST v4 06/13] Osstest/Debian: support adding a rootdelay property to bootargs Ian Campbell
2015-01-21 11:58   ` Ian Jackson
2015-01-21 13:07     ` Ian Campbell
2015-01-21 16:18       ` Ian Jackson
2015-01-21 11:18 ` [PATCH OSSTEST v4 07/13] Osstest/Debian: Remove hardcoded addresses from boot.scr Ian Campbell
2015-01-21 12:00   ` Ian Jackson
2015-01-21 12:25     ` Ian Campbell
2015-01-21 11:18 ` [PATCH OSSTEST v4 08/13] Osstest/Debian: Add "clk_ignore_unused" to default command line Ian Campbell
2015-01-21 12:01   ` Ian Jackson
2015-01-21 12:02   ` Ian Jackson
2015-01-21 13:12     ` Ian Campbell [this message]
2015-01-21 16:18       ` Ian Jackson
2015-01-21 11:18 ` [PATCH OSSTEST v4 09/13] Osstest/Debian: Add 0x prefix to $filesize Ian Campbell
2015-01-21 12:04   ` Ian Jackson
2015-01-21 12:22     ` Ian Campbell
2015-01-21 15:08       ` Ian Jackson
2015-01-21 11:18 ` [PATCH OSSTEST v4 10/13] ts-kernel-build: Adjust kernel .config to work on the arndale boards Ian Campbell
2015-01-21 12:05   ` Ian Jackson
2015-01-21 13:20     ` Ian Campbell
2015-01-21 14:04       ` Ian Campbell
2015-01-21 16:20       ` Ian Jackson
2015-01-21 16:31         ` Ian Campbell
2015-01-21 16:36           ` Ian Jackson
2015-01-21 16:50             ` Ian Campbell
2015-01-21 17:01               ` Ian Jackson
2015-01-21 11:18 ` [PATCH OSSTEST v4 11/13] Debian: Create boot.scr with a suffix and copy to boot.scr Ian Campbell
2015-01-21 12:08   ` Ian Jackson
2015-01-21 12:27     ` Ian Campbell
2015-01-21 11:18 ` [PATCH OSSTEST v4 12/13] TestSupport: replace power_cycle_timeout with power_cycle_sleep Ian Campbell
2015-01-21 12:09   ` Ian Jackson
2015-01-21 11:18 ` [PATCH OSSTEST v4 13/13] Debian: create boot.scr.nat when installing Xen on u-boot Ian Campbell
2015-01-21 12:12   ` Ian Jackson
2015-01-29  9:54 ` [PATCH OSSTEST v4 00/13] support for ARM32 arndale and cubietruck platforms Ian Campbell
2015-01-29 11:25   ` Ian Jackson
2015-01-29 11:44     ` Ian Campbell
2015-01-29 11:54       ` Ian Campbell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1421845938.13271.49.camel@citrix.com \
    --to=ian.campbell@citrix.com \
    --cc=Ian.Jackson@eu.citrix.com \
    --cc=xen-devel@lists.xen.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.