[PATCH 2/2 v3] intel_pstate: add kernel parameter to enable loading on Sun X86 servers.

2014-11-24 Thread Ethan Zhao
To force loading on Oracle Sun X86 servers, provide one kernel command line parameter intel_pstate = onora For those who be aware of the risk doing so. Signed-off-by: Ethan Zhao --- v2: change to hardware vendor specific naming parameter. Documentation/kernel-parameters.txt | 3

[PATCH 0/2 v3]intel_pstate: skip this driver if hit Sun X86 servers

2014-11-24 Thread Ethan Zhao
of the risk. Compiled and tested with stable-3.18-rc5 on Oracle Sun server X4-2 series. Thanks test and review by Linda Knippers and the suggestion,review from Dirk Brandewie . -- v2: fix break HP Proliant issue. v3: expand the hardware vendor list. Ethan Zhao (2): intel_pstate: skip

[PATCH 1/2 v3] intel_pstate: skip this driver if Sun server has _PPC method

2014-11-24 Thread Ethan Zhao
Oracle Sun X86 servers have dynamic power capping capability that works via ACPI _PPC method etc, so skip loading this driver if Sun server has ACPI _PPC enabled. Signed-off-by: Ethan Zhao --- v2: fix break HP Proliant issue. v3: expand the hardware vendor list. drivers/cpufreq

[PATCH 0/2 v3]intel_pstate: skip this driver if hit Sun X86 servers

2014-11-24 Thread Ethan Zhao
. Ethan Zhao (2): intel_pstate: skip this driver if Sun server has _PPC method intel_pstate: add kernel parameter to enable loading on Sun X86 servers. Documentation/kernel-parameters.txt | 3 +++ drivers/cpufreq/intel_pstate.c | 49 ++--- 2 files

[PATCH 1/2 v3] intel_pstate: skip this driver if Sun server has _PPC method

2014-11-24 Thread Ethan Zhao
Oracle Sun X86 servers have dynamic power capping capability that works via ACPI _PPC method etc, so skip loading this driver if Sun server has ACPI _PPC enabled. Signed-off-by: Ethan Zhao ethan.z...@oracle.com --- v2: fix break HP Proliant issue. v3: expand the hardware vendor list. drivers

[PATCH 2/2 v3] intel_pstate: add kernel parameter to enable loading on Sun X86 servers.

2014-11-24 Thread Ethan Zhao
To force loading on Oracle Sun X86 servers, provide one kernel command line parameter intel_pstate = onora For those who be aware of the risk doing so. Signed-off-by: Ethan Zhao ethan.z...@oracle.com --- v2: change to hardware vendor specific naming parameter. Documentation/kernel

[PATCH 0/2 v2] intel_pstate: skip this driver if hit Sun X86 servers

2014-11-23 Thread Ethan Zhao
and be aware of the risk. Compiled and tested with stable-3.18-rc5 on Oracle Sun server X4-2. -- Ethan Zhao (2): intel_pstate: skip this driver if Sun server has _PPC method intel_pstate: add kernel parameter to enable loading on Sun X86 servers. Documentation/kernel-parameters.txt | 3

[PATCH 2/2 v2] intel_pstate: add kernel parameter to enable loading on Sun X86 servers.

2014-11-23 Thread Ethan Zhao
To force loading on Oracle Sun X86 servers, provide one kernel command line parameter intel_pstate = onora For those who be aware of the risk doing so. Signed-off-by: Ethan Zhao v2: change the command line parameter naming to specific to Oracle Sun servers. --- Documentation/kernel

[PATCH 1/2 v2] intel_pstate: skip this driver if Sun server has _PPC method

2014-11-23 Thread Ethan Zhao
Oracle Sun X86 servers have dynamic power capping capability that works via ACPI _PPC method etc, so skip loading this driver if Sun server has ACPI _PPC enabled. Signed-off-by: Ethan Zhao v2: only match ORACLE oem id. --- drivers/cpufreq/intel_pstate.c | 20 1 file

Re: [PATCH 3/3] intel_pstate: add module and kernel command line parameter to ignore ACPI _PPC

2014-11-23 Thread ethan zhao
Linda, On 2014/11/21 13:00, Linda Knippers wrote: On 11/20/2014 10:07 PM, Ethan Zhao wrote: Kristen, Whatever I would like there is a way to load intel_pstate and give it a try even it does not support all the PM features. I think 'force' is OK. Linda, Do you like

Re: [PATCH 1/3] intel_pstate: skip the driver if Sun server has ACPI _PPC method

2014-11-23 Thread ethan zhao
Linda, On 2014/11/21 12:44, Linda Knippers wrote: On 11/20/2014 07:37 PM, ethan zhao wrote: Dirk, On 2014/11/21 0:50, Dirk Brandewie wrote: On 11/19/2014 12:22 PM, Linda Knippers wrote: On 11/18/2014 3:37 AM, Ethan Zhao wrote: Oracle Sun X86 servers have dynamic power capping capability

Re: [PATCH 1/3] intel_pstate: skip the driver if Sun server has ACPI _PPC method

2014-11-23 Thread ethan zhao
Linda, On 2014/11/21 12:44, Linda Knippers wrote: On 11/20/2014 07:37 PM, ethan zhao wrote: Dirk, On 2014/11/21 0:50, Dirk Brandewie wrote: On 11/19/2014 12:22 PM, Linda Knippers wrote: On 11/18/2014 3:37 AM, Ethan Zhao wrote: Oracle Sun X86 servers have dynamic power capping capability

Re: [PATCH 3/3] intel_pstate: add module and kernel command line parameter to ignore ACPI _PPC

2014-11-23 Thread ethan zhao
Linda, On 2014/11/21 13:00, Linda Knippers wrote: On 11/20/2014 10:07 PM, Ethan Zhao wrote: Kristen, Whatever I would like there is a way to load intel_pstate and give it a try even it does not support all the PM features. I think 'force' is OK. Linda, Do you like

[PATCH 1/2 v2] intel_pstate: skip this driver if Sun server has _PPC method

2014-11-23 Thread Ethan Zhao
Oracle Sun X86 servers have dynamic power capping capability that works via ACPI _PPC method etc, so skip loading this driver if Sun server has ACPI _PPC enabled. Signed-off-by: Ethan Zhao ethan.z...@oracle.com v2: only match ORACLE oem id. --- drivers/cpufreq/intel_pstate.c | 20

[PATCH 2/2 v2] intel_pstate: add kernel parameter to enable loading on Sun X86 servers.

2014-11-23 Thread Ethan Zhao
To force loading on Oracle Sun X86 servers, provide one kernel command line parameter intel_pstate = onora For those who be aware of the risk doing so. Signed-off-by: Ethan Zhao ethan.z...@oracle.com v2: change the command line parameter naming to specific to Oracle Sun servers

[PATCH 0/2 v2] intel_pstate: skip this driver if hit Sun X86 servers

2014-11-23 Thread Ethan Zhao
and be aware of the risk. Compiled and tested with stable-3.18-rc5 on Oracle Sun server X4-2. -- Ethan Zhao (2): intel_pstate: skip this driver if Sun server has _PPC method intel_pstate: add kernel parameter to enable loading on Sun X86 servers. Documentation/kernel-parameters.txt | 3

Re: [PATCH 3/3] intel_pstate: add module and kernel command line parameter to ignore ACPI _PPC

2014-11-20 Thread Ethan Zhao
, 2014 at 5:23 AM, Kristen Carlson Accardi wrote: > On Thu, 20 Nov 2014 08:57:34 +0800 > ethan wrote: > >> >> >> > 在 2014年11月20日,03:05,Kristen Carlson Accardi 写道: >> > >> > On Tue, 18 Nov 2014 17:37:06 +0900 >> > Ethan Zhao wrote: >&g

Re: [PATCH 1/3] intel_pstate: skip the driver if Sun server has ACPI _PPC method

2014-11-20 Thread ethan zhao
Dirk, On 2014/11/21 0:50, Dirk Brandewie wrote: On 11/19/2014 12:22 PM, Linda Knippers wrote: On 11/18/2014 3:37 AM, Ethan Zhao wrote: Oracle Sun X86 servers have dynamic power capping capability that works via ACPI _PPC method etc, so skip loading this driver if Sun server has ACPI _PPC

Re: [PATCH 1/3] intel_pstate: skip the driver if Sun server has ACPI _PPC method

2014-11-20 Thread ethan zhao
Dirk, On 2014/11/21 0:50, Dirk Brandewie wrote: On 11/19/2014 12:22 PM, Linda Knippers wrote: On 11/18/2014 3:37 AM, Ethan Zhao wrote: Oracle Sun X86 servers have dynamic power capping capability that works via ACPI _PPC method etc, so skip loading this driver if Sun server has ACPI _PPC

Re: [PATCH 3/3] intel_pstate: add module and kernel command line parameter to ignore ACPI _PPC

2014-11-20 Thread Ethan Zhao
, 2014 at 5:23 AM, Kristen Carlson Accardi kris...@linux.intel.com wrote: On Thu, 20 Nov 2014 08:57:34 +0800 ethan ethan.ker...@gmail.com wrote: 在 2014年11月20日,03:05,Kristen Carlson Accardi kris...@linux.intel.com 写道: On Tue, 18 Nov 2014 17:37:06 +0900 Ethan Zhao ethan.z...@oracle.com wrote

[PATCH 1/3] intel_pstate: skip the driver if Sun server has ACPI _PPC method

2014-11-18 Thread Ethan Zhao
Oracle Sun X86 servers have dynamic power capping capability that works via ACPI _PPC method etc, so skip loading this driver if Sun server has ACPI _PPC enabled. Signed-off-by: Ethan Zhao --- drivers/cpufreq/intel_pstate.c | 20 1 file changed, 20 insertions(+) diff --git

[PATCH 2/3] intel_pstate: allow driver to be built as a module

2014-11-18 Thread Ethan Zhao
From: Brian Maly To provide the flexibility of module, allow this driver to be configured and built as a module. Signed-off-by: Brian Maly Signed-off-by: Ethan Zhao --- drivers/cpufreq/Kconfig.x86| 2 +- drivers/cpufreq/intel_pstate.c | 6 ++ 2 files changed, 7 insertions(+), 1

[PATCH 1/3] intel_pstate: skip the driver if Sun server has ACPI _PPC method

2014-11-18 Thread Ethan Zhao
Oracle Sun X86 servers have dynamic power capping capability that works via ACPI _PPC method etc, so skip loading this driver if Sun server has ACPI _PPC enabled. Signed-off-by: Ethan Zhao --- drivers/cpufreq/intel_pstate.c | 20 1 file changed, 20 insertions(+) diff --git

[PATCH 2/3] intel_pstate: allow driver to be built as a module

2014-11-18 Thread Ethan Zhao
From: Brian Maly To provide the flexibility of module, allow this driver to be configured and built as a module. Signed-off-by: Brian Maly Signed-off-by: Ethan Zhao --- drivers/cpufreq/Kconfig.x86| 2 +- drivers/cpufreq/intel_pstate.c | 6 ++ 2 files changed, 7 insertions(+), 1

[PATCH 0/3] intel_pstate: allow to be built as module and handle Sun server power capping.

2014-11-18 Thread Ethan Zhao
with ignore_acpi_ppc=1 These cases passed and work fine. -- Brian Maly (1): intel_pstate: allow driver to be built as a module Ethan Zhao (2): intel_pstate: skip the driver if Sun server has ACPI _PPC method intel_pstate: add module and kernel command line parameter to ignore ACPI _PPC

[PATCH 3/3] intel_pstate: add module and kernel command line parameter to ignore ACPI _PPC

2014-11-18 Thread Ethan Zhao
Add kernel command line parameter intel_pstate = ignore_acpi_ppc and module parameter ignore_acpi_ppc = 1 to allow driver to ignore the ACPI _PPC existence even for Sun x86 servers. These parameter could be used for debug\test\workaround etc purpose. Signed-off-by: Ethan Zhao

[PATCH 3/3] intel_pstate: add module and kernel command line parameter to ignore ACPI _PPC

2014-11-18 Thread Ethan Zhao
Add kernel command line parameter intel_pstate = ignore_acpi_ppc and module parameter ignore_acpi_ppc = 1 to allow driver to ignore the ACPI _PPC existence even for Sun x86 servers. These parameter could be used for debug\test\workaround etc purpose. Signed-off-by: Ethan Zhao

[PATCH 0/3] intel_pstate: allow to be built as module and handle Sun server power capping.

2014-11-18 Thread Ethan Zhao
with ignore_acpi_ppc=1 These cases passed and work fine. -- Brian Maly (1): intel_pstate: allow driver to be built as a module Ethan Zhao (2): intel_pstate: skip the driver if Sun server has ACPI _PPC method intel_pstate: add module and kernel command line parameter to ignore ACPI _PPC

Re: [PATCH] intel_pstate: allow to be built as module and handle Sun server power capping.

2014-11-18 Thread ethan zhao
Sorry, I missed the -n to git format-patch, please ignore this patch. Thanks, Ethan On 2014/11/18 16:27, Ethan Zhao wrote: Oracle Sun servers(X86) have power capping features that work via ACPI _PPC method, patch No.1 is used to skip this driver if Oracle Sun server and _PPC detected

[PATCH] intel_pstate: add module and kernel command line parameter to ignore ACPI _PPC

2014-11-18 Thread Ethan Zhao
Add kernel command line parameter intel_pstate = ignore_acpi_ppc and module parameter ignore_acpi_ppc = 1 to allow driver to ignore the ACPI _PPC existence even for Sun x86 servers. These parameter could be used for debug\test\workaround etc purpose. Signed-off-by: Ethan Zhao

[PATCH] intel_pstate: skip the driver if Sun server has ACPI _PPC method

2014-11-18 Thread Ethan Zhao
Oracle Sun X86 servers have dynamic power capping capability that works via ACPI _PPC method etc, so skip loading this driver if Sun server has ACPI _PPC enabled. Signed-off-by: Ethan Zhao --- drivers/cpufreq/intel_pstate.c | 20 1 file changed, 20 insertions(+) diff --git

[PATCH] intel_pstate: add module and kernel command line parameter to ignore ACPI _PPC

2014-11-18 Thread Ethan Zhao
Add kernel command line parameter intel_pstate = ignore_acpi_ppc and module parameter ignore_acpi_ppc = 1 to allow driver to ignore the ACPI _PPC existence even for Sun x86 servers. These parameter could be used for debug\test\workaround etc purpose. Signed-off-by: Ethan Zhao

[PATCH] intel_pstate: allow to be built as module and handle Sun server power capping.

2014-11-18 Thread Ethan Zhao
with ignore_acpi_ppc=1 These cases passed and work fine. -- Brian Maly (1): intel_pstate: allow driver to be built as a module Ethan Zhao (2): intel_pstate: skip the driver if Sun server has ACPI _PPC method intel_pstate: add module and kernel command line parameter to ignore ACPI _PPC

[PATCH] intel_pstate: allow driver to be built as a module

2014-11-18 Thread Ethan Zhao
From: Brian Maly To provide the flexibility of module, allow this driver to be configured and built as a module. Signed-off-by: Brian Maly Signed-off-by: Ethan Zhao --- drivers/cpufreq/Kconfig.x86| 2 +- drivers/cpufreq/intel_pstate.c | 6 ++ 2 files changed, 7 insertions(+), 1

[PATCH] intel_pstate: skip the driver if Sun server has ACPI _PPC method

2014-11-18 Thread Ethan Zhao
Oracle Sun X86 servers have dynamic power capping capability that works via ACPI _PPC method etc, so skip loading this driver if Sun server has ACPI _PPC enabled. Signed-off-by: Ethan Zhao --- drivers/cpufreq/intel_pstate.c | 20 1 file changed, 20 insertions(+) diff --git

[PATCH] intel_pstate: allow driver to be built as a module

2014-11-18 Thread Ethan Zhao
From: Brian Maly To provide the flexibility of module, allow this driver to be configured and built as a module. Signed-off-by: Brian Maly Signed-off-by: Ethan Zhao --- drivers/cpufreq/Kconfig.x86| 2 +- drivers/cpufreq/intel_pstate.c | 6 ++ 2 files changed, 7 insertions(+), 1

[PATCH] intel_pstate: allow to be built as module and handle Sun server power capping.

2014-11-18 Thread Ethan Zhao
with ignore_acpi_ppc=1 These cases passed and work fine. -- Brian Maly (1): intel_pstate: allow driver to be built as a module Ethan Zhao (2): intel_pstate: skip the driver if Sun server has ACPI _PPC method intel_pstate: add module and kernel command line parameter to ignore ACPI _PPC

[PATCH] intel_pstate: allow to be built as module and handle Sun server power capping.

2014-11-18 Thread Ethan Zhao
with ignore_acpi_ppc=1 These cases passed and work fine. -- Brian Maly (1): intel_pstate: allow driver to be built as a module Ethan Zhao (2): intel_pstate: skip the driver if Sun server has ACPI _PPC method intel_pstate: add module and kernel command line parameter to ignore ACPI _PPC

[PATCH] intel_pstate: allow driver to be built as a module

2014-11-18 Thread Ethan Zhao
From: Brian Maly brian.m...@oracle.com To provide the flexibility of module, allow this driver to be configured and built as a module. Signed-off-by: Brian Maly brian.m...@oracle.com Signed-off-by: Ethan Zhao ethan.z...@oracle.com --- drivers/cpufreq/Kconfig.x86| 2 +- drivers/cpufreq

[PATCH] intel_pstate: allow driver to be built as a module

2014-11-18 Thread Ethan Zhao
From: Brian Maly brian.m...@oracle.com To provide the flexibility of module, allow this driver to be configured and built as a module. Signed-off-by: Brian Maly brian.m...@oracle.com Signed-off-by: Ethan Zhao ethan.z...@oracle.com --- drivers/cpufreq/Kconfig.x86| 2 +- drivers/cpufreq

[PATCH] intel_pstate: skip the driver if Sun server has ACPI _PPC method

2014-11-18 Thread Ethan Zhao
Oracle Sun X86 servers have dynamic power capping capability that works via ACPI _PPC method etc, so skip loading this driver if Sun server has ACPI _PPC enabled. Signed-off-by: Ethan Zhao ethan.z...@oracle.com --- drivers/cpufreq/intel_pstate.c | 20 1 file changed, 20

[PATCH] intel_pstate: allow to be built as module and handle Sun server power capping.

2014-11-18 Thread Ethan Zhao
with ignore_acpi_ppc=1 These cases passed and work fine. -- Brian Maly (1): intel_pstate: allow driver to be built as a module Ethan Zhao (2): intel_pstate: skip the driver if Sun server has ACPI _PPC method intel_pstate: add module and kernel command line parameter to ignore ACPI _PPC

[PATCH] intel_pstate: add module and kernel command line parameter to ignore ACPI _PPC

2014-11-18 Thread Ethan Zhao
Add kernel command line parameter intel_pstate = ignore_acpi_ppc and module parameter ignore_acpi_ppc = 1 to allow driver to ignore the ACPI _PPC existence even for Sun x86 servers. These parameter could be used for debug\test\workaround etc purpose. Signed-off-by: Ethan Zhao ethan.z

[PATCH] intel_pstate: skip the driver if Sun server has ACPI _PPC method

2014-11-18 Thread Ethan Zhao
Oracle Sun X86 servers have dynamic power capping capability that works via ACPI _PPC method etc, so skip loading this driver if Sun server has ACPI _PPC enabled. Signed-off-by: Ethan Zhao ethan.z...@oracle.com --- drivers/cpufreq/intel_pstate.c | 20 1 file changed, 20

[PATCH] intel_pstate: add module and kernel command line parameter to ignore ACPI _PPC

2014-11-18 Thread Ethan Zhao
Add kernel command line parameter intel_pstate = ignore_acpi_ppc and module parameter ignore_acpi_ppc = 1 to allow driver to ignore the ACPI _PPC existence even for Sun x86 servers. These parameter could be used for debug\test\workaround etc purpose. Signed-off-by: Ethan Zhao ethan.z

Re: [PATCH] intel_pstate: allow to be built as module and handle Sun server power capping.

2014-11-18 Thread ethan zhao
Sorry, I missed the -n to git format-patch, please ignore this patch. Thanks, Ethan On 2014/11/18 16:27, Ethan Zhao wrote: Oracle Sun servers(X86) have power capping features that work via ACPI _PPC method, patch No.1 is used to skip this driver if Oracle Sun server and _PPC detected

[PATCH 3/3] intel_pstate: add module and kernel command line parameter to ignore ACPI _PPC

2014-11-18 Thread Ethan Zhao
Add kernel command line parameter intel_pstate = ignore_acpi_ppc and module parameter ignore_acpi_ppc = 1 to allow driver to ignore the ACPI _PPC existence even for Sun x86 servers. These parameter could be used for debug\test\workaround etc purpose. Signed-off-by: Ethan Zhao ethan.z

[PATCH 0/3] intel_pstate: allow to be built as module and handle Sun server power capping.

2014-11-18 Thread Ethan Zhao
with ignore_acpi_ppc=1 These cases passed and work fine. -- Brian Maly (1): intel_pstate: allow driver to be built as a module Ethan Zhao (2): intel_pstate: skip the driver if Sun server has ACPI _PPC method intel_pstate: add module and kernel command line parameter to ignore ACPI _PPC

[PATCH 3/3] intel_pstate: add module and kernel command line parameter to ignore ACPI _PPC

2014-11-18 Thread Ethan Zhao
Add kernel command line parameter intel_pstate = ignore_acpi_ppc and module parameter ignore_acpi_ppc = 1 to allow driver to ignore the ACPI _PPC existence even for Sun x86 servers. These parameter could be used for debug\test\workaround etc purpose. Signed-off-by: Ethan Zhao ethan.z

[PATCH 0/3] intel_pstate: allow to be built as module and handle Sun server power capping.

2014-11-18 Thread Ethan Zhao
with ignore_acpi_ppc=1 These cases passed and work fine. -- Brian Maly (1): intel_pstate: allow driver to be built as a module Ethan Zhao (2): intel_pstate: skip the driver if Sun server has ACPI _PPC method intel_pstate: add module and kernel command line parameter to ignore ACPI _PPC

[PATCH 2/3] intel_pstate: allow driver to be built as a module

2014-11-18 Thread Ethan Zhao
From: Brian Maly brian.m...@oracle.com To provide the flexibility of module, allow this driver to be configured and built as a module. Signed-off-by: Brian Maly brian.m...@oracle.com Signed-off-by: Ethan Zhao ethan.z...@oracle.com --- drivers/cpufreq/Kconfig.x86| 2 +- drivers/cpufreq

[PATCH 1/3] intel_pstate: skip the driver if Sun server has ACPI _PPC method

2014-11-18 Thread Ethan Zhao
Oracle Sun X86 servers have dynamic power capping capability that works via ACPI _PPC method etc, so skip loading this driver if Sun server has ACPI _PPC enabled. Signed-off-by: Ethan Zhao ethan.z...@oracle.com --- drivers/cpufreq/intel_pstate.c | 20 1 file changed, 20

[PATCH 2/3] intel_pstate: allow driver to be built as a module

2014-11-18 Thread Ethan Zhao
From: Brian Maly brian.m...@oracle.com To provide the flexibility of module, allow this driver to be configured and built as a module. Signed-off-by: Brian Maly brian.m...@oracle.com Signed-off-by: Ethan Zhao ethan.z...@oracle.com --- drivers/cpufreq/Kconfig.x86| 2 +- drivers/cpufreq

[PATCH 1/3] intel_pstate: skip the driver if Sun server has ACPI _PPC method

2014-11-18 Thread Ethan Zhao
Oracle Sun X86 servers have dynamic power capping capability that works via ACPI _PPC method etc, so skip loading this driver if Sun server has ACPI _PPC enabled. Signed-off-by: Ethan Zhao ethan.z...@oracle.com --- drivers/cpufreq/intel_pstate.c | 20 1 file changed, 20

[PATCH] ixgbe: delete one duplicate marcro definition of IXGBE_MAX_L2A_QUEUES

2014-09-20 Thread Ethan Zhao
There is typo in ixgbe.h, two marcro definition of IXGBE_MAX_L2A_QUEUES to 4, delete one, clear the compiler warning. Signed-off-by: Ethan Zhao --- drivers/net/ethernet/intel/ixgbe/ixgbe.h |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/drivers/net/ethernet/intel/ixgbe

[PATCH] ixgbe: delete one duplicate marcro definition of IXGBE_MAX_L2A_QUEUES

2014-09-20 Thread Ethan Zhao
There is typo in ixgbe.h, two marcro definition of IXGBE_MAX_L2A_QUEUES to 4, delete one, clear the compiler warning. Signed-off-by: Ethan Zhao ethan.z...@oracle.com --- drivers/net/ethernet/intel/ixgbe/ixgbe.h |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/drivers/net

[PATCH V4 3/4 resend] xen-pciback: use pci device flag operation helper function

2014-09-08 Thread Ethan Zhao
Use pci device flag operation helper functions when set device to assigned or deassigned state. Acked-by: David Vrabel Reviewed-by: Konrad Rzeszutek Wilk Signed-off-by: Ethan Zhao --- drivers/xen/xen-pciback/pci_stub.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH V4 4/4 resend] PCI: use device flag operation helper function in iov.c

2014-09-08 Thread Ethan Zhao
Use device flag operation helper functions when check device assignment status. Signed-off-by: Ethan Zhao --- drivers/pci/iov.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/pci/iov.c b/drivers/pci/iov.c index cb6f247..4d109c0 100644 --- a/drivers/pci/iov.c

[PATCH V4 2/4 resend] KVM: use pci device flag operation helper functions

2014-09-08 Thread Ethan Zhao
Use helper function instead of direct operation to pci device flag when set device to assigned or deassigned. Acked-by: Paolo Bonzini Signed-off-by: Ethan Zhao --- virt/kvm/assigned-dev.c |2 +- virt/kvm/iommu.c|4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff

[PATCH V4 1/4 resend] PCI: introduce helper functions for device flag operation

2014-09-08 Thread Ethan Zhao
This patch introduced three helper functions to hide direct device flag operation. void pci_set_dev_assigned(struct pci_dev *pdev); void pci_clear_dev_assigned(struct pci_dev *pdev); bool pci_is_dev_assigned(struct pci_dev *pdev); Signed-off-by: Ethan Zhao --- v2: simplify unnecessory ternary

[PATCH v4 0/4 resend] Introduce device assignment flag operation helper function

2014-09-08 Thread Ethan Zhao
: amend helper function naming. v4: fix incorrect type in return expression warning found by Fengguang Wu. Appreciate suggestion from alex.william...@redhat.com, david.vra...@citrix.com, alexander.h.du...@intel.com Resend for v3.18 building. Thanks, Ethan --- Ethan Zhao (4): PCI: introduce helper

Re: [PATCH v3 0/4 resend] Introduce device assignment flag operation helper function

2014-09-08 Thread ethan zhao
Bjorn, Thanks, will fix the building issue for new version and resend. Ethan On 2014/9/9 1:08, Bjorn Helgaas wrote: On Fri, Sep 05, 2014 at 11:15:22AM -0600, Bjorn Helgaas wrote: On Fri, Aug 08, 2014 at 01:36:03PM +0800, Ethan Zhao wrote: This patch set introduces three PCI device flag

Re: [PATCH v3 0/4 resend] Introduce device assignment flag operation helper function

2014-09-08 Thread ethan zhao
Bjorn, Thanks, will fix the building issue for new version and resend. Ethan On 2014/9/9 1:08, Bjorn Helgaas wrote: On Fri, Sep 05, 2014 at 11:15:22AM -0600, Bjorn Helgaas wrote: On Fri, Aug 08, 2014 at 01:36:03PM +0800, Ethan Zhao wrote: This patch set introduces three PCI device flag

[PATCH v4 0/4 resend] Introduce device assignment flag operation helper function

2014-09-08 Thread Ethan Zhao
: amend helper function naming. v4: fix incorrect type in return expression warning found by Fengguang Wu. Appreciate suggestion from alex.william...@redhat.com, david.vra...@citrix.com, alexander.h.du...@intel.com Resend for v3.18 building. Thanks, Ethan --- Ethan Zhao (4): PCI: introduce helper

[PATCH V4 1/4 resend] PCI: introduce helper functions for device flag operation

2014-09-08 Thread Ethan Zhao
This patch introduced three helper functions to hide direct device flag operation. void pci_set_dev_assigned(struct pci_dev *pdev); void pci_clear_dev_assigned(struct pci_dev *pdev); bool pci_is_dev_assigned(struct pci_dev *pdev); Signed-off-by: Ethan Zhao ethan.z...@oracle.com --- v2: simplify

[PATCH V4 4/4 resend] PCI: use device flag operation helper function in iov.c

2014-09-08 Thread Ethan Zhao
Use device flag operation helper functions when check device assignment status. Signed-off-by: Ethan Zhao ethan.z...@oracle.com --- drivers/pci/iov.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/pci/iov.c b/drivers/pci/iov.c index cb6f247..4d109c0 100644

[PATCH V4 2/4 resend] KVM: use pci device flag operation helper functions

2014-09-08 Thread Ethan Zhao
Use helper function instead of direct operation to pci device flag when set device to assigned or deassigned. Acked-by: Paolo Bonzini pbonz...@redhat.com Signed-off-by: Ethan Zhao ethan.z...@oracle.com --- virt/kvm/assigned-dev.c |2 +- virt/kvm/iommu.c|4 ++-- 2 files changed, 3

[PATCH V4 3/4 resend] xen-pciback: use pci device flag operation helper function

2014-09-08 Thread Ethan Zhao
Use pci device flag operation helper functions when set device to assigned or deassigned state. Acked-by: David Vrabel david.vra...@citrix.com Reviewed-by: Konrad Rzeszutek Wilk konrad.w...@oracle.com Signed-off-by: Ethan Zhao ethan.z...@oracle.com --- drivers/xen/xen-pciback/pci_stub.c |4

[PATCH 3/4] xen-pciback: use pci device flag operation helper function

2014-08-07 Thread Ethan Zhao
Use pci device flag operation helper functions when set device to assigned or deassigned state. Acked-by: David Vrabel Reviewed-by: Konrad Rzeszutek Wilk Signed-off-by: Ethan Zhao --- drivers/xen/xen-pciback/pci_stub.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH v3 0/4 resend] Introduce device assignment flag operation helper function

2014-08-07 Thread Ethan Zhao
: amend helper function naming. Appreciate suggestion from alex.william...@redhat.com, david.vra...@citrix.com, alexander.h.du...@intel.com Resend for v3.16 building. Thanks, Ethan --- Ethan Zhao (4): PCI: introduce helper functions for device flag operation KVM: use pci device flag operation

[PATCH 1/4] PCI: introduce helper functions for device flag operation

2014-08-07 Thread Ethan Zhao
This patch introduced three helper functions to hide direct device flag operation. void pci_set_dev_assigned(struct pci_dev *pdev); void pci_clear_dev_assigned(struct pci_dev *pdev); bool pci_is_dev_assigned(struct pci_dev *pdev); Signed-off-by: Ethan Zhao --- v2: simplify unnecessory ternary

[PATCH 4/4] PCI: use device flag operation helper function in iov.c

2014-08-07 Thread Ethan Zhao
Use device flag operation helper functions when check device assignment status. Signed-off-by: Ethan Zhao --- drivers/pci/iov.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/pci/iov.c b/drivers/pci/iov.c index cb6f247..4d109c0 100644 --- a/drivers/pci/iov.c

[PATCH 2/4] KVM: use pci device flag operation helper functions

2014-08-07 Thread Ethan Zhao
Use helper function instead of direct operation to pci device flag when set device to assigned or deassigned. Acked-by: Paolo Bonzini Signed-off-by: Ethan Zhao --- virt/kvm/assigned-dev.c |2 +- virt/kvm/iommu.c|4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff

[PATCH 2/4] KVM: use pci device flag operation helper functions

2014-08-07 Thread Ethan Zhao
Use helper function instead of direct operation to pci device flag when set device to assigned or deassigned. Acked-by: Paolo Bonzini pbonz...@redhat.com Signed-off-by: Ethan Zhao ethan.z...@oracle.com --- virt/kvm/assigned-dev.c |2 +- virt/kvm/iommu.c|4 ++-- 2 files changed, 3

[PATCH v3 0/4 resend] Introduce device assignment flag operation helper function

2014-08-07 Thread Ethan Zhao
: amend helper function naming. Appreciate suggestion from alex.william...@redhat.com, david.vra...@citrix.com, alexander.h.du...@intel.com Resend for v3.16 building. Thanks, Ethan --- Ethan Zhao (4): PCI: introduce helper functions for device flag operation KVM: use pci device flag operation

[PATCH 1/4] PCI: introduce helper functions for device flag operation

2014-08-07 Thread Ethan Zhao
This patch introduced three helper functions to hide direct device flag operation. void pci_set_dev_assigned(struct pci_dev *pdev); void pci_clear_dev_assigned(struct pci_dev *pdev); bool pci_is_dev_assigned(struct pci_dev *pdev); Signed-off-by: Ethan Zhao ethan.z...@oracle.com --- v2: simplify

[PATCH 4/4] PCI: use device flag operation helper function in iov.c

2014-08-07 Thread Ethan Zhao
Use device flag operation helper functions when check device assignment status. Signed-off-by: Ethan Zhao ethan.z...@oracle.com --- drivers/pci/iov.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/pci/iov.c b/drivers/pci/iov.c index cb6f247..4d109c0 100644

[PATCH 3/4] xen-pciback: use pci device flag operation helper function

2014-08-07 Thread Ethan Zhao
Use pci device flag operation helper functions when set device to assigned or deassigned state. Acked-by: David Vrabel david.vra...@citrix.com Reviewed-by: Konrad Rzeszutek Wilk konrad.w...@oracle.com Signed-off-by: Ethan Zhao ethan.z...@oracle.com --- drivers/xen/xen-pciback/pci_stub.c |4

Re: [PATCH 3/4 v3] xen-pciback: use pci device flag operation helper function

2014-07-29 Thread Ethan Zhao
On Tue, Jul 29, 2014 at 6:07 PM, David Vrabel wrote: > On 29/07/14 05:06, Ethan Zhao wrote: >> Use pci device flag operation helper functions when set device >> to assigned or deassigned state. >> >> Signed-off-by: Ethan Zhao > > Konrad already reviewed this but

Re: [PATCH 2/4 v3] KVM: use pci device flag operation helper functions

2014-07-29 Thread Ethan Zhao
This patch was already Acked-by: Paolo Bonzini I forgot to add the Ack tag. Thanks, Ethan Sorry for last post in HTML format with ipad. On Tue, Jul 29, 2014 at 12:06 PM, Ethan Zhao wrote: > Use helper function instead of direct operation to pci device > flag when set device to as

Re: [PATCH 3/4 v3] xen-pciback: use pci device flag operation helper function

2014-07-29 Thread Ethan Zhao
> 在 2014年7月29日,下午6:07,David Vrabel 写道: > >> On 29/07/14 05:06, Ethan Zhao wrote: >> Use pci device flag operation helper functions when set device >> to assigned or deassigned state. >> >> Signed-off-by: Ethan Zhao > > Konrad already reviewed this b

Re: [PATCH 3/4 v3] xen-pciback: use pci device flag operation helper function

2014-07-29 Thread Ethan Zhao
在 2014年7月29日,下午6:07,David Vrabel david.vra...@citrix.com 写道: On 29/07/14 05:06, Ethan Zhao wrote: Use pci device flag operation helper functions when set device to assigned or deassigned state. Signed-off-by: Ethan Zhao ethan.z...@oracle.com Konrad already reviewed this but you've

Re: [PATCH 2/4 v3] KVM: use pci device flag operation helper functions

2014-07-29 Thread Ethan Zhao
This patch was already Acked-by: Paolo Bonzini pbonz...@redhat.com I forgot to add the Ack tag. Thanks, Ethan Sorry for last post in HTML format with ipad. On Tue, Jul 29, 2014 at 12:06 PM, Ethan Zhao ethan.z...@oracle.com wrote: Use helper function instead of direct operation to pci device

Re: [PATCH 3/4 v3] xen-pciback: use pci device flag operation helper function

2014-07-29 Thread Ethan Zhao
On Tue, Jul 29, 2014 at 6:07 PM, David Vrabel david.vra...@citrix.com wrote: On 29/07/14 05:06, Ethan Zhao wrote: Use pci device flag operation helper functions when set device to assigned or deassigned state. Signed-off-by: Ethan Zhao ethan.z...@oracle.com Konrad already reviewed

[PATCH 1/4 v3] PCI: introduce helper functions for device flag operation

2014-07-28 Thread Ethan Zhao
This patch introduced three helper functions to hide direct device flag operation. void pci_set_dev_assigned(struct pci_dev *pdev); void pci_clear_dev_assigned(struct pci_dev *pdev); bool pci_is_dev_assigned(struct pci_dev *pdev); Signed-off-by: Ethan Zhao --- v2: simplify unnecessory ternary

[PATCH 2/4 v3] KVM: use pci device flag operation helper functions

2014-07-28 Thread Ethan Zhao
Use helper function instead of direct operation to pci device flag when set device to assigned or deassigned. Signed-off-by: Ethan Zhao --- v3: amend helper functions naming. virt/kvm/assigned-dev.c |2 +- virt/kvm/iommu.c|4 ++-- 2 files changed, 3 insertions(+), 3 deletions

[PATCH 4/4 v3] PCI: use device flag operation helper function in iov.c

2014-07-28 Thread Ethan Zhao
Use device flag operation helper functions when check device assignment status. Signed-off-by: Ethan Zhao --- v3: amend helper functions naming. drivers/pci/iov.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/pci/iov.c b/drivers/pci/iov.c index de7a747

[PATCH 3/4 v3] xen-pciback: use pci device flag operation helper function

2014-07-28 Thread Ethan Zhao
Use pci device flag operation helper functions when set device to assigned or deassigned state. Signed-off-by: Ethan Zhao --- v3: amend helper functions naming. drivers/xen/xen-pciback/pci_stub.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/xen/xen

[PATCH 0/4 v3] Introduce device assignment flag operation helper function

2014-07-28 Thread Ethan Zhao
This patch set introduces three PCI device flag operation helper functions when set pci device PF/VF to assigned or deassigned status also check it. and patch 2,3,4 apply these helper functions to KVM,XEN and PCI. v2: simplify unnecessory ternary operation in function pci_is_dev_assigned(). v3:

Re: [PATCH 1/4] PCI: introduce helper functions for device flag operation

2014-07-28 Thread Ethan Zhao
Both of you and Alex W prefer the 'Verb' , Ok, I accept the suggestion. Thanks, Ethan On Tue, Jul 29, 2014 at 11:37 AM, Alexander Duyck wrote: > On 07/28/2014 07:43 PM, ethan zhao wrote: >> >> On 2014/7/29 10:31, Alex Williamson wrote: >>> On Tue, 2014-07-29 at 09:53

Re: [PATCH] ixgbe: remove useless bd_number from adapter struct

2014-07-28 Thread Ethan Zhao
Thanks Brown, Aaron F On Tue, Jul 29, 2014 at 10:51 AM, Brown, Aaron F wrote: >> From: linux-kernel-ow...@vger.kernel.org [mailto:linux-kernel- >> ow...@vger.kernel.org] On Behalf Of Ethan Zhao >> Sent: Monday, July 28, 2014 12:41 AM >> To: Kirsher, Jeffrey T; Brandebur

Re: [PATCH 1/4] PCI: introduce helper functions for device flag operation

2014-07-28 Thread ethan zhao
On 2014/7/29 10:31, Alex Williamson wrote: On Tue, 2014-07-29 at 09:53 +0800, ethan zhao wrote: On 2014/7/29 5:00, Alex Williamson wrote: On Wed, 2014-07-23 at 00:19 +0800, Ethan Zhao wrote: This patch introduced three helper functions to hide direct device flag operation. void

[PATCH 1/4 v2] PCI: introduce helper functions for device flag operation

2014-07-28 Thread Ethan Zhao
This patch introduced three helper functions to hide direct device flag operation. void pci_set_dev_assigned(struct pci_dev *pdev); void pci_set_dev_deassigned(struct pci_dev *pdev); bool pci_is_dev_assigned(struct pci_dev *pdev); Signed-off-by: Ethan Zhao --- v2: simplify unnecessory ternary

Re: [PATCH 1/4] PCI: introduce helper functions for device flag operation

2014-07-28 Thread ethan zhao
On 2014/7/29 5:00, Alex Williamson wrote: On Wed, 2014-07-23 at 00:19 +0800, Ethan Zhao wrote: This patch introduced three helper functions to hide direct device flag operation. void pci_set_dev_assigned(struct pci_dev *pdev); void pci_set_dev_deassigned(struct pci_dev *pdev); bool

[PATCH] ixgbevf: remove useless bd_number from struct ixgbevf_adapter

2014-07-28 Thread Ethan Zhao
It is useless and buggy, just remove it. Signed-off-by: Ethan Zhao --- drivers/net/ethernet/intel/ixgbevf/ixgbevf.h |1 - drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c |4 2 files changed, 0 insertions(+), 5 deletions(-) diff --git a/drivers/net/ethernet/intel/ixgbevf

[PATCH] ixgbe: remove useless bd_number from adapter struct

2014-07-28 Thread Ethan Zhao
Because bd_number is not useful anymore, so remove it from adapter struct, or if keep it, we have to fix the boards driven counter bug in ixgbe_remove() and ixgbe_probe() only for trival debug purpose -- other output is enough. Signed-off-by: Ethan Zhao --- drivers/net/ethernet/intel/ixgbe

[PATCH] ixgbe: remove useless bd_number from adapter struct

2014-07-28 Thread Ethan Zhao
Because bd_number is not useful anymore, so remove it from adapter struct, or if keep it, we have to fix the boards driven counter bug in ixgbe_remove() and ixgbe_probe() only for trival debug purpose -- other output is enough. Signed-off-by: Ethan Zhao ethan.z...@oracle.com --- drivers/net

[PATCH] ixgbevf: remove useless bd_number from struct ixgbevf_adapter

2014-07-28 Thread Ethan Zhao
It is useless and buggy, just remove it. Signed-off-by: Ethan Zhao ethan.z...@oracle.com --- drivers/net/ethernet/intel/ixgbevf/ixgbevf.h |1 - drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c |4 2 files changed, 0 insertions(+), 5 deletions(-) diff --git a/drivers/net

Re: [PATCH 1/4] PCI: introduce helper functions for device flag operation

2014-07-28 Thread ethan zhao
On 2014/7/29 5:00, Alex Williamson wrote: On Wed, 2014-07-23 at 00:19 +0800, Ethan Zhao wrote: This patch introduced three helper functions to hide direct device flag operation. void pci_set_dev_assigned(struct pci_dev *pdev); void pci_set_dev_deassigned(struct pci_dev *pdev); bool

[PATCH 1/4 v2] PCI: introduce helper functions for device flag operation

2014-07-28 Thread Ethan Zhao
This patch introduced three helper functions to hide direct device flag operation. void pci_set_dev_assigned(struct pci_dev *pdev); void pci_set_dev_deassigned(struct pci_dev *pdev); bool pci_is_dev_assigned(struct pci_dev *pdev); Signed-off-by: Ethan Zhao ethan.z...@oracle.com --- v2: simplify

<    1   2   3   4   5   6   7   >