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

Re: [PATCH] xen: Remove trigraphs from comments


  • To: Michal Orzel <michal.orzel@xxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Tue, 6 Dec 2022 13:42:54 +0100
  • 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=Cq+3cPuAIh6ha3JvbHeSayWTcEfl07kbwc/ma9eUPNM=; b=O1BaHBKlnYAfqVkpK5f3zzxHYr7OYCGO12fZt7i+gbjCs13nxRW3B76IPE4SJDKqbtMzrSRqUCQsW/fuhmt4MT9r2Ah4VzjAx9ekNhHu3DW05g2KY9R9i4N4lDf6rASxPiwUqFLYOAUVl9lt2OvmdYNuPx3/4VmaLPncXgO67gKh4Hr5CTgjyh3QlWu05vBNFUn0Cv2Npluhq5PyFUX8TsY8hrBNnCJSs904LufdNh4Gv1WoqlD0p0RmktxmTzBe6f6OWzogVLJ2v3ITEjbVHKohKhe2FIQnmCuZx++A2LHKM1N7rLq3hoxixImn1xs87KrcEbgOJGnTt03OjnNtcQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fbYznsmAC4Inor1X1CigEQUFrc/rvrc33HnAoVb0M22tWNxRMTTXM2HmNYIJoFsW4Ze5mmR7qQEP4buAdNxLLQORAxYfjCwx8BdQvTUiqn2wVkolx8H8GjhilsZIRBEflGrTD0rw+ua9E6ChQmWJtZtC4hubkfmB1zFg7NOQEsKeU+Vy9XGXiVrFpfBbgHZdb7D8DrjBsAsuDBseSV20KJZNR3Nm64b1xVKM07pD5jVvDgGdLihy2OZEsCO28YNgJewxo4k4MhlVTk6Ms97nY/Z6/9ihbtwYxqqxJr5Te1huefrAZD+WdbQ+8sF4Guz7X7VzcZ1JBIbB7iPawwb47A==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
  • Cc: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, George Dunlap <george.dunlap@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx
  • Delivery-date: Tue, 06 Dec 2022 12:43:05 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 06.12.2022 11:59, Michal Orzel wrote:
> --- a/xen/include/public/arch-x86_64.h
> +++ b/xen/include/public/arch-x86_64.h
> @@ -22,5 +22,5 @@
>   * A similar callback occurs if the segment selectors are invalid.
>   * failsafe_address is used as the value of eip.
>   *
> - * On x86_64, event_selector and failsafe_selector are ignored (???).
> + * On x86_64, event_selector and failsafe_selector are ignored (?).

May I ask that this become (?!?) instead?

> --- a/xen/include/xen/pci_regs.h
> +++ b/xen/include/xen/pci_regs.h
> @@ -246,13 +246,13 @@
>  #define  PCI_PM_CTRL_STATE_MASK      0x0003  /* Current power state (D0 to 
> D3) */
>  #define  PCI_PM_CTRL_NO_SOFT_RESET   0x0008  /* No reset for D3hot->D0 */
>  #define  PCI_PM_CTRL_PME_ENABLE      0x0100  /* PME pin enable */
> -#define  PCI_PM_CTRL_DATA_SEL_MASK   0x1e00  /* Data select (??) */
> -#define  PCI_PM_CTRL_DATA_SCALE_MASK 0x6000  /* Data scale (??) */
> +#define  PCI_PM_CTRL_DATA_SEL_MASK   0x1e00  /* Data select (?) */
> +#define  PCI_PM_CTRL_DATA_SCALE_MASK 0x6000  /* Data scale (?) */
>  #define  PCI_PM_CTRL_PME_STATUS      0x8000  /* PME pin status */
> -#define PCI_PM_PPB_EXTENSIONS        6       /* PPB support extensions (??) 
> */
> -#define  PCI_PM_PPB_B2_B3    0x40    /* Stop clock when in D3hot (??) */
> -#define  PCI_PM_BPCC_ENABLE  0x80    /* Bus power/clock control enable (??) 
> */
> -#define PCI_PM_DATA_REGISTER 7       /* (??) */
> +#define PCI_PM_PPB_EXTENSIONS        6       /* PPB support extensions (?) */
> +#define  PCI_PM_PPB_B2_B3    0x40    /* Stop clock when in D3hot (?) */
> +#define  PCI_PM_BPCC_ENABLE  0x80    /* Bus power/clock control enable (?) */
> +#define PCI_PM_DATA_REGISTER 7       /* (?) */
>  #define PCI_PM_SIZEOF                8

We've inherited all of these from Linux, and I notice Linux still has it
this same way. Ideally Linux would change first, but I'd be okay with a
sentence added to the description clarifying that we knowingly accept
the divergence.

With the adjustments:
Reviewed-by: Jan Beulich <jbeulich@xxxxxxxx>

Jan



 


Rackspace

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