Re: [RFC] staging/vSMP: new driver

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

 



Greetings Randy,

>From: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>Sent: Wednesday, March 16, 2022 20:31To: Czerwacki, Eial <eial.czerwacki@xxxxxxx>; linux-staging@xxxxxxxxxxxxxxx <linux-staging@xxxxxxxxxxxxxxx>Cc: SAP vSMP Linux Maintainer <linux.vsmp@xxxxxxx>Subject: Re: [RFC] staging/vSMP: new driver
> 
>[You don't often get email from rdunlap@xxxxxxxxxxxxx. Learn why this is important at http://aka.ms/LearnAboutSenderIdentification.]
>
>Hi--
>
>On 3/16/22 11:13, Czerwacki, Eial wrote:
>> Introducing the vSMP guest driver which allows interaction with the vSMP control device when
>> running a Linux OS atop of the vSMP hypervisor.
>> vSMP is a resource aggregation hypervisor from SAP.
>
>
Done, thanks for the comments.

>> diff --git a/drivers/staging/vsmp/common/version.c b/drivers/staging/vsmp/common/version.c
>> new file mode 100644
>> index 000000000000..35b5a7785e9a
>> --- /dev/null
>> +++ b/drivers/staging/vsmp/common/version.c
>> @@ -0,0 +1,85 @@
>> +/* SPDX-License-Identifier: GPL-2.0 */
>> +/*
>> + * vSMP version
>> + * Copyright (C) 2022 SAP.
>> + */
>> +
>> +#include <linux/slab.h>
>> +#include <linux/kobject.h>
>> +
>> +#include "../api.h"
>> +#include "../registers.h"
>> +
>> +#define VERSION_MAX_LEN (1 << 19)
>
>Wow, that's a lot of version info.  What is in it?
>
>--
>~Randy

the version comes in a text mode that displays the entire system configuration under vSMP.
the current max possible len of this str is 512 MB, usually, the used length is way lower

Thanks,

Eial




[Index of Archives]     [Linux Driver Development]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux