[PATCH] igb: read PBA number from flash

2020-08-29 Thread Gal Hammer
Fixed flash presence check for 82576 controllers so the part number string is read and displayed correctly. Signed-off-by: Gal Hammer --- drivers/net/ethernet/intel/igb/igb_main.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/net/ethernet/intel/igb/igb_main.c b

Re: [PATCH v5] drivers/misc: vm_gen_counter: initial driver implementation

2018-03-15 Thread Gal Hammer
a7b8eab70 >> --- /dev/null >> +++ b/Documentation/ABI/testing/sysfs-hypervisor >> @@ -0,0 +1,13 @@ >> +What:/sys/hypervisor/vm_gen_counter > > It's not a counter, is it? > I'd go with "vm_generation_id" here. Eschew abbreviation. Th

Re: [PATCH v5] drivers/misc: vm_gen_counter: initial driver implementation

2018-03-15 Thread Gal Hammer
/sysfs-hypervisor >> @@ -0,0 +1,13 @@ >> +What:/sys/hypervisor/vm_gen_counter > > It's not a counter, is it? > I'd go with "vm_generation_id" here. Eschew abbreviation. The names were chosen so they'll match Microsoft's specification

Re: [PATCH v5] drivers/misc: vm_gen_counter: initial driver implementation

2018-03-15 Thread Gal Hammer
On Wed, Mar 14, 2018 at 9:25 PM, Michael S. Tsirkin wrote: > On Wed, Mar 14, 2018 at 07:25:36PM +0100, Greg KH wrote: >> On Tue, Mar 13, 2018 at 07:40:51PM +0200, Michael S. Tsirkin wrote: >> > I think it's a good idea to use sysfs for this. However, >> > there are a couple of

Re: [PATCH v5] drivers/misc: vm_gen_counter: initial driver implementation

2018-03-15 Thread Gal Hammer
On Wed, Mar 14, 2018 at 9:25 PM, Michael S. Tsirkin wrote: > On Wed, Mar 14, 2018 at 07:25:36PM +0100, Greg KH wrote: >> On Tue, Mar 13, 2018 at 07:40:51PM +0200, Michael S. Tsirkin wrote: >> > I think it's a good idea to use sysfs for this. However, >> > there are a couple of missing interfaces

Re: [PATCH] drivers/virt: vm_gen_counter: initial driver implementation

2018-02-22 Thread Gal Hammer
owledge of the running host. At the moment, the driver supports only QEMU, but we're planning to enhance it once we'll have access to other vendor hypervisors. > >> +Date:February 2018 >> +Contact: Or Idgar <id...@virtualoco.com> >>

Re: [PATCH] drivers/virt: vm_gen_counter: initial driver implementation

2018-02-22 Thread Gal Hammer
n the "root" of /sys/hypervisor? As far as I know, most of today's hypervisors support this feature, so adding a subdirectory doesn't seem right. The guest user should be able to access the UUID without a knowledge of the running host. At the moment, the driver supports only QEMU, but we're