xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: "Andres Lagar-Cavilla" <andres@lagarcavilla.org>
To: Tim Deegan <tim@xen.org>
Cc: olaf@aepfle.de, keir@xen.org, hongkaixing@huawei.com,
	andres@gridcentric.ca, xen-devel@lists.xen.org,
	wei.wang2@amd.com, Andres Lagar-Cavilla <andres@lagarcavilla.org>,
	Jan Beulich <jbeulich@suse.com>,
	adin@gridcentric.ca
Subject: Re: [PATCH 1 of 3] IOMMU: Add command line param to disable sharing of IOMMU and hap tables
Date: Tue, 27 Mar 2012 08:19:26 -0700	[thread overview]
Message-ID: <0747a3141f01d25f7fa6b077eece22a9.squirrel@webmail.lagarcavilla.org> (raw)
In-Reply-To: <20120322110300.GF37468@ocelot.phlegethon.org>

> At 10:57 +0000 on 22 Mar (1332413830), Jan Beulich wrote:
>> >          if ( !parse_bool(s) )
>> > -            iommu_enabled = 0;
>> > +            iommu_enabled = val;
>>
>> ... this one must remain unchanged, and the handling of the "no-"
>> prefix should come afterwards.
>
> Meh.  I reserve the right to set 'iommu=no-yes'. :)
> That is to say, I don't think it makes any real difference.

Well, it'd be great if one version or the other goes in before 4.2 closes :)
Thanks
Andres

>
> Tim.
>
>> >          else if ( !strcmp(s, "force") || !strcmp(s, "required") )
>> > -            force_iommu = 1;
>> > +            force_iommu = val;
>> >          else if ( !strcmp(s, "workaround_bios_bug") )
>> >              iommu_workaround_bios_bug = 1;
>> >          else if ( !strcmp(s, "verbose") )
>> > -            iommu_verbose = 1;
>> > -        else if ( !strcmp(s, "no-snoop") )
>> > -            iommu_snoop = 0;
>> > -        else if ( !strcmp(s, "no-qinval") )
>> > -            iommu_qinval = 0;
>> > -        else if ( !strcmp(s, "no-intremap") )
>> > -            iommu_intremap = 0;
>> > +            iommu_verbose = val;
>> > +        else if ( !strcmp(s, "snoop") )
>> > +            iommu_snoop = val;
>> > +        else if ( !strcmp(s, "qinval") )
>> > +            iommu_qinval = val;
>> > +        else if ( !strcmp(s, "intremap") )
>> > +            iommu_intremap = val;
>> >          else if ( !strcmp(s, "debug") )
>> > -            iommu_debug = 1;
>> > +            iommu_debug = val;
>> >          else if ( !strcmp(s, "amd-iommu-perdev-intremap") )
>> > -            amd_iommu_perdev_intremap = 1;
>> > +            amd_iommu_perdev_intremap = val;
>> >          else if ( !strcmp(s, "dom0-passthrough") )
>> > -            iommu_passthrough = 1;
>> > +            iommu_passthrough = val;
>> >          else if ( !strcmp(s, "dom0-strict") )
>> > -            iommu_dom0_strict = 1;
>> > +            iommu_dom0_strict = val;
>> >          else if ( !strcmp(s, "sharept") )
>> > -            iommu_hap_pt_share = 1;
>> > +            iommu_hap_pt_share = val;
>> >
>> >          s = ss + 1;
>> >      } while ( ss );
>>
>>
>>
>>
>> _______________________________________________
>> Xen-devel mailing list
>> Xen-devel@lists.xen.org
>> http://lists.xen.org/xen-devel
>

  reply	other threads:[~2012-03-27 15:19 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-21 19:22 [PATCH 0 of 3] Fixes for paging/sharing with AMD processors Andres Lagar-Cavilla
2012-03-21 19:22 ` [PATCH 1 of 3] IOMMU: Add command line param to disable sharing of IOMMU and hap tables Andres Lagar-Cavilla
2012-03-22  9:17   ` Jan Beulich
2012-03-22 10:44     ` Tim Deegan
2012-03-22 10:57       ` Jan Beulich
2012-03-22 11:03         ` Tim Deegan
2012-03-27 15:19           ` Andres Lagar-Cavilla [this message]
2012-03-29 10:27             ` Tim Deegan
2012-03-29 10:57               ` Keir Fraser
2012-03-29 11:09                 ` Tim Deegan
2012-03-29 15:05               ` Jan Beulich
2012-03-21 19:22 ` [PATCH 2 of 3] Clip mfn to allowable width when building a PTE Andres Lagar-Cavilla
2012-03-22  9:18   ` Jan Beulich
2012-03-22 10:50     ` Tim Deegan
2012-03-22 11:02       ` Jan Beulich
2012-03-22 14:54         ` Andres Lagar-Cavilla
2012-03-22 15:31           ` Jan Beulich
2012-03-27 15:21             ` Andres Lagar-Cavilla
2012-03-21 19:23 ` [PATCH 3 of 3] x86/mm: Teach paging to page table-based p2m Andres Lagar-Cavilla
2012-03-22 10:55   ` Tim Deegan
2012-03-22 14:47     ` Andres Lagar-Cavilla
  -- strict thread matches above, loose matches on Subject: below --
2012-03-01  3:15 [PATCH 0 of 3] RFC Paging support for AMD NPT V2 Andres Lagar-Cavilla
2012-03-01  3:15 ` [PATCH 1 of 3] IOMMU: Add command line param to disable sharing of IOMMU and hap tables Andres Lagar-Cavilla

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=0747a3141f01d25f7fa6b077eece22a9.squirrel@webmail.lagarcavilla.org \
    --to=andres@lagarcavilla.org \
    --cc=adin@gridcentric.ca \
    --cc=andres@gridcentric.ca \
    --cc=hongkaixing@huawei.com \
    --cc=jbeulich@suse.com \
    --cc=keir@xen.org \
    --cc=olaf@aepfle.de \
    --cc=tim@xen.org \
    --cc=wei.wang2@amd.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).