From: Boris Ostrovsky <boris.ostrovsky@oracle.com>
To: Jan Beulich <JBeulich@suse.com>
Cc: andrew.cooper3@citrix.com, kevin.tian@intel.com,
dietmar.hahn@ts.fujitsu.com, xen-devel@lists.xenproject.org
Subject: Re: [PATCH 1/2] x86/VPMU: Disable VPMU when NMI watchdog is on
Date: Thu, 29 Jan 2015 10:25:07 -0500 [thread overview]
Message-ID: <54CA50D3.40203@oracle.com> (raw)
In-Reply-To: <54CA2B90020000780005AC70@mail.emea.novell.com>
On 01/29/2015 06:46 AM, Jan Beulich wrote:
>>>> On 28.01.15 at 20:56, <boris.ostrovsky@oracle.com> wrote:
>> @@ -59,6 +60,12 @@ static void __init parse_vpmu_param(char *s)
>> }
>> /* fall through */
>> case 1:
>> + if ( opt_watchdog )
>> + {
>> + printk("NMI watchdog is enabled. Disabling VPMU\n");
>> + opt_vpmu_enabled = 0;
>> + break;
>> + }
>> opt_vpmu_enabled |= VPMU_BOOT_ENABLED;
>> break;
>> }
>
> Not only to address Andrew's concerns this needs to be changed:
> Logging messages from cmdline argument parsing functions is only
> marginally useful - they won't appear on the serial console. But
> afaict that'll go away anyway by consolidating the patch into simply
> checking opt_watchdog from vPMU code.
Not on the console, but the do show up in the log:
root@haswell> xl dmesg|grep -i vpmu
(XEN) NMI watchdog is enabled. Disabling VPMU
(XEN) Command line: placeholder conring_size=512k loglvl=all
sync_console=true flask_enforcing=1 com1=38400,8n1,pci console=com1
watchdog vpmu
root@haswell>
But regardless, I am going to do the opt_watchdog check in VPMU init code.
-boris
next prev parent reply other threads:[~2015-01-29 15:25 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-28 19:56 [PATCH 0/2] Two VPMU/watchdog-related patches Boris Ostrovsky
2015-01-28 19:56 ` [PATCH 1/2] x86/VPMU: Disable VPMU when NMI watchdog is on Boris Ostrovsky
2015-01-28 21:49 ` Andrew Cooper
2015-01-28 22:33 ` Boris Ostrovsky
2015-01-28 22:41 ` Andrew Cooper
2015-01-28 23:36 ` Boris Ostrovsky
2015-01-29 11:54 ` Andrew Cooper
2015-01-29 11:46 ` Jan Beulich
2015-01-29 15:25 ` Boris Ostrovsky [this message]
2015-01-28 19:56 ` [PATCH 2/2] x86/VPMU: Handle APIC_LVTPC accesses Boris Ostrovsky
2015-01-29 11:54 ` Jan Beulich
2015-01-29 15:28 ` Boris Ostrovsky
2015-01-29 15:44 ` Jan Beulich
2015-01-29 11:37 ` [PATCH 0/2] Two VPMU/watchdog-related patches Jan Beulich
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=54CA50D3.40203@oracle.com \
--to=boris.ostrovsky@oracle.com \
--cc=JBeulich@suse.com \
--cc=andrew.cooper3@citrix.com \
--cc=dietmar.hahn@ts.fujitsu.com \
--cc=kevin.tian@intel.com \
--cc=xen-devel@lists.xenproject.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.