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
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
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
.
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
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
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
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
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
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
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
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
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
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
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
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
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
, 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
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
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
, 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
: 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
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
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
: 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
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
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
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
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
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
: 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
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
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
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
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
: 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
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
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
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
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
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
> 在 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
在 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
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
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
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
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
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
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
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:
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
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
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
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
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
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
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
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
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
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
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
301 - 400 of 646 matches
Mail list logo