[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 1/2] xen/x86: io_apic: Introduce a command line option to skip timer check


  • To: Julien Grall <julien@xxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Mon, 18 Sep 2023 12:29:21 +0200
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=hJpM2wcyZFCkye6di8twy9KWEZsd85thUaHZaVge6mw=; b=nvjNyVYJhIhgRLFcfJQrD/1f1vQ7f+LBjvamAO8X03JOac3a5mIpyNaWeFm+JVW/U+0ksGPbrugvx2uki2PY4sa2WhmCvTtYVuBs8qteHVInlMyA5vzvmJVJOCHXJdYToXOjLMyHuM+PTZMfCd/CdUwKGcR5ZWm4qyLz5Lj8GskX/SsyQ9uulPO6YP2eyecfzWczAr2w7q5jkYNRkYLemuiW7J/fqsnKX6VBfeN8+vb9L7hUGWf/aQPCWEGtzbBA8JMlLXXeKjSc06A+PpwR6Fq6MObAeS0M6aacmokgFo0PukxXLLUFdJTWlFIEnZPba7FwFhkhfEHUUGOJIKYFaQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=AD2CKRgP6sfvUBxkQmJ7bB+ABpH4hJrLfi7b/Ln3S0HUEgIfXxQChDdtX9wgarul6jz92aVefyVKu4ur+XcBQLN4DAVLpAWQASTiGh0OQmgfv80yc5vGz9UR6rLfoiPtEJdcCkduQte5mNzahUYXUak7wKoK2LV2X76bzS0mCBG4uXowKK4VYOM3tcYREzJoutWEJu/RRXRPctReon5GEbHOKf14XZGYcTt3xgM9LQoV8SyTpxURMXayh0a8ZDSlbnlOFBx7NkGNgASpMqPDn2aFFq1zNZgIpNP0UyR5dTX2H/dSN9DR9Bj11t79Fe3I+Bm7LVcUgctcUVf9K4sn5Q==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
  • Cc: Julien Grall <jgrall@xxxxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, George Dunlap <george.dunlap@xxxxxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx
  • Delivery-date: Mon, 18 Sep 2023 10:29:31 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 15.09.2023 15:18, Julien Grall wrote:
> On 07/09/2023 15:09, Jan Beulich wrote:
>> On 18.08.2023 15:44, Julien Grall wrote:
>>> --- a/docs/misc/xen-command-line.pandoc
>>> +++ b/docs/misc/xen-command-line.pandoc
>>> @@ -1896,6 +1896,13 @@ This option is ignored in **pv-shim** mode.
>>>   ### nr_irqs (x86)
>>>   > `= <integer>`
>>>   
>>> +### no_timer_works (x86)
>>> +> `=<boolean>`
>>> +
>>> +> Default: `true`
>>> +
>>> +Disables the code which tests for broken timer IRQ sources.
>>
>> In description and code it's "check", but here it's "works". Likely
>> just a typo. But I'd prefer if we didn't introduce any new "no*"
>> options which then can be negated to "no-no*". Make it "timer-check"
>> (also avoiding the underscore, no matter that Linux uses it), or
>> alternatively make it a truly positive option, e.g. "timer-irq-works".
> 
> I don't mind too much about using - over _ but it is never clear why you 
> strongly push for it (and whether the others agrees).

Informal feedback suggested that various people agree and no-one strongly
disagrees to the argument of underscore really only being an auxiliary
separator character, when no better one can be used, and it also being
two keypresses to type on most keyboards, when dash is just one.

> Is this documented 
> somewhere? If not, can you do it so everyone can apply it consistently? 
> (At least I would not remember to ask for it because I am happy with the _).

As to documenting - it's not clear to me where such documentation ought
to go. In a way this is coding style, so it could be ./CODING_STYLE, but
then my experience with proposing changes there has been at best mixed.

Jan



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.