All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chao Peng <chao.p.peng@linux.intel.com>
To: He Chen <he.chen@linux.intel.com>
Cc: wei.liu2@citrix.com, ian.campbell@citrix.com,
	stefano.stabellini@eu.citrix.com, andrew.cooper3@citrix.com,
	ian.jackson@eu.citrix.com, jbeulich@suse.com,
	xen-devel@lists.xenproject.org, keir@xen.org
Subject: Re: [PATCH v5 1/3] x86: Support enable CDP by boot parameter and add get CDP status
Date: Wed, 30 Sep 2015 11:10:02 +0800	[thread overview]
Message-ID: <20150930031002.GK5813@pengc-linux.bj.intel.com> (raw)
In-Reply-To: <1443428969-4695-2-git-send-email-he.chen@linux.intel.com>

>  
> +static inline bool_t cdp_is_enabled(unsigned int socket,
> +                                    unsigned long *cdp_socket_enable)

Since cdp_socket_enable is defined in file scope, I don't think it's
required to pass again.

Chao

> +{
> +    return cdp_socket_enable && test_bit(socket, cdp_socket_enable);
> +}

  reply	other threads:[~2015-09-30  3:14 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-28  8:29 [PATCH v5 0/3] detect and initialize CDP (Code/Data Prioritization) feature He Chen
2015-09-28  8:29 ` [PATCH v5 1/3] x86: Support enable CDP by boot parameter and add get CDP status He Chen
2015-09-30  3:10   ` Chao Peng [this message]
2015-09-28  8:29 ` [PATCH v5 2/3] x86: add domctl cmd to set/get CDP code/data CBM He Chen
2015-09-30  3:29   ` Chao Peng
2015-09-28  8:29 ` [PATCH v5 3/3] tools & docs: add tools and docs support for Intel CDP He Chen
2015-09-29 13:47   ` Ian Campbell
2015-09-30  2:46     ` Chao Peng

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=20150930031002.GK5813@pengc-linux.bj.intel.com \
    --to=chao.p.peng@linux.intel.com \
    --cc=andrew.cooper3@citrix.com \
    --cc=he.chen@linux.intel.com \
    --cc=ian.campbell@citrix.com \
    --cc=ian.jackson@eu.citrix.com \
    --cc=jbeulich@suse.com \
    --cc=keir@xen.org \
    --cc=stefano.stabellini@eu.citrix.com \
    --cc=wei.liu2@citrix.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.