public inbox for kernelci@lists.linux.dev
 help / color / mirror / Atom feed
* Hardware registry schema proposal
@ 2025-10-08 21:20 Hambardzumyan, Minas
  2025-10-09  8:19 ` Ben Copeland
  2025-10-09  9:58 ` Jan Lübbe
  0 siblings, 2 replies; 5+ messages in thread
From: Hambardzumyan, Minas @ 2025-10-08 21:20 UTC (permalink / raw)
  To: kernelci@lists.linux.dev; +Cc: Menon, Nishanth, Sheraw, Barry

Hello,

I signed up a couple of weeks ago to propose a schema for organizing information about the hardware tested in Kernel-CI labs.

Please review and share your comments on a proposed schema here:
https://github.com/TexasInstruments-Sandbox/KernelCi-collaboration/blob/main/hardware_registry/hardware_registry_schema.yaml

along with an example yaml file here:
https://github.com/TexasInstruments-Sandbox/KernelCi-collaboration/blob/main/hardware_registry/hardware_registry.yaml

In summary, the schema defines following main sections with cross references:

* silicon_vendors: A collection of silicon vendors (processors, SOCs)
* platform_vendors: A collection of platform vendors (servers, laptops, boards, etc.)
* processors: A collection of processors used on tested platforms
* system_modules: A collection of system modules (SoMs, SiPs) 
* platforms: A collection of platforms tested in labs

Regards,
Minas.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Hardware registry schema proposal
  2025-10-08 21:20 Hardware registry schema proposal Hambardzumyan, Minas
@ 2025-10-09  8:19 ` Ben Copeland
  2025-11-13 12:53   ` Minas Hambardzumyan
  2025-10-09  9:58 ` Jan Lübbe
  1 sibling, 1 reply; 5+ messages in thread
From: Ben Copeland @ 2025-10-09  8:19 UTC (permalink / raw)
  To: Hambardzumyan, Minas
  Cc: kernelci@lists.linux.dev, Menon, Nishanth, Sheraw, Barry

Hello Minas,

On Wed, 8 Oct 2025 at 22:20, Hambardzumyan, Minas <minas@ti.com> wrote:
>
> Hello,
>
> I signed up a couple of weeks ago to propose a schema for organizing information about the hardware tested in Kernel-CI labs.
>
> Please review and share your comments on a proposed schema here:
> https://github.com/TexasInstruments-Sandbox/KernelCi-collaboration/blob/main/hardware_registry/hardware_registry_schema.yaml
>
> along with an example yaml file here:
> https://github.com/TexasInstruments-Sandbox/KernelCi-collaboration/blob/main/hardware_registry/hardware_registry.yaml
>
> In summary, the schema defines following main sections with cross references:
>
> * silicon_vendors: A collection of silicon vendors (processors, SOCs)
> * platform_vendors: A collection of platform vendors (servers, laptops, boards, etc.)
> * processors: A collection of processors used on tested platforms
> * system_modules: A collection of system modules (SoMs, SiPs)
> * platforms: A collection of platforms tested in labs

I think it would also make sense to add revisions in.

If you look at LAVA, you can see the messiness of not having revisions
https://gitlab.com/lava/lava/-/tree/master/etc/dispatcher-config/device-types?ref_type=heads

Ben

>
> Regards,
> Minas.
>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Hardware registry schema proposal
  2025-10-08 21:20 Hardware registry schema proposal Hambardzumyan, Minas
  2025-10-09  8:19 ` Ben Copeland
@ 2025-10-09  9:58 ` Jan Lübbe
  2025-10-13 21:01   ` Minas Hambardzumyan
  1 sibling, 1 reply; 5+ messages in thread
From: Jan Lübbe @ 2025-10-09  9:58 UTC (permalink / raw)
  To: Hambardzumyan, Minas, kernelci@lists.linux.dev
  Cc: Menon, Nishanth, Sheraw, Barry

On Wed, 2025-10-08 at 21:20 +0000, Hambardzumyan, Minas wrote:
> Hello,
> 
> I signed up a couple of weeks ago to propose a schema for organizing information about the hardware tested in Kernel-CI labs.
> 
> Please review and share your comments on a proposed schema here:
> https://github.com/TexasInstruments-Sandbox/KernelCi-collaboration/blob/main/hardware_registry/hardware_registry_schema.yaml
> 
> along with an example yaml file here:
> https://github.com/TexasInstruments-Sandbox/KernelCi-collaboration/blob/main/hardware_registry/hardware_registry.yaml
> 
> In summary, the schema defines following main sections with cross references:
> 
> * silicon_vendors: A collection of silicon vendors (processors, SOCs)
> * platform_vendors: A collection of platform vendors (servers, laptops, boards, etc.)
> * processors: A collection of processors used on tested platforms
> * system_modules: A collection of system modules (SoMs, SiPs) 
> * platforms: A collection of platforms tested in labs

You have an `id` property which seems to always match the mapping entry name.
Can they be different? If not, it seems redundant and the property could be
removed.

Regards,
Jan

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Hardware registry schema proposal
  2025-10-09  9:58 ` Jan Lübbe
@ 2025-10-13 21:01   ` Minas Hambardzumyan
  0 siblings, 0 replies; 5+ messages in thread
From: Minas Hambardzumyan @ 2025-10-13 21:01 UTC (permalink / raw)
  To: Jan Lübbe, kernelci@lists.linux.dev; +Cc: Menon, Nishanth, Sheraw, Barry

On 10/9/25 04:58, Jan Lübbe wrote:
> On Wed, 2025-10-08 at 21:20 +0000, Hambardzumyan, Minas wrote:
>> Hello,
>>
>> I signed up a couple of weeks ago to propose a schema for organizing information about the hardware tested in Kernel-CI labs.
>>
>> Please review and share your comments on a proposed schema here:
>> https://github.com/TexasInstruments-Sandbox/KernelCi-collaboration/blob/main/hardware_registry/hardware_registry_schema.yaml
>>
>> along with an example yaml file here:
>> https://github.com/TexasInstruments-Sandbox/KernelCi-collaboration/blob/main/hardware_registry/hardware_registry.yaml
>>
>> In summary, the schema defines following main sections with cross references:
>>
>> * silicon_vendors: A collection of silicon vendors (processors, SOCs)
>> * platform_vendors: A collection of platform vendors (servers, laptops, boards, etc.)
>> * processors: A collection of processors used on tested platforms
>> * system_modules: A collection of system modules (SoMs, SiPs)
>> * platforms: A collection of platforms tested in labs
> 
> You have an `id` property which seems to always match the mapping entry name.
> Can they be different? If not, it seems redundant and the property could be
> removed.

Yes I have set id and yaml key name the same. Intention was include the 
hardware name in each yaml section, such that functions taking it as an 
argument would have access to the name without having to pass an extra 
parameter. I agree this does create a possibility for the two being 
different by mistake.

I think keeping the id would make it easier to use, but I have no 
problem removing it if there is a strong opinion to remove it.

> 
> Regards,
> Jan


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Hardware registry schema proposal
  2025-10-09  8:19 ` Ben Copeland
@ 2025-11-13 12:53   ` Minas Hambardzumyan
  0 siblings, 0 replies; 5+ messages in thread
From: Minas Hambardzumyan @ 2025-11-13 12:53 UTC (permalink / raw)
  To: Ben Copeland; +Cc: kernelci@lists.linux.dev, Menon, Nishanth, Sheraw, Barry

Hello Ben,

On 10/9/25 03:19, Ben Copeland wrote:
> Hello Minas,
> 
> On Wed, 8 Oct 2025 at 22:20, Hambardzumyan, Minas <minas@ti.com> wrote:
>>
>> Hello,
>>
>> I signed up a couple of weeks ago to propose a schema for organizing information about the hardware tested in Kernel-CI labs.
>>
>> Please review and share your comments on a proposed schema here:
>> https://github.com/TexasInstruments-Sandbox/KernelCi-collaboration/blob/main/hardware_registry/hardware_registry_schema.yaml
>>
>> along with an example yaml file here:
>> https://github.com/TexasInstruments-Sandbox/KernelCi-collaboration/blob/main/hardware_registry/hardware_registry.yaml
>>
>> In summary, the schema defines following main sections with cross references:
>>
>> * silicon_vendors: A collection of silicon vendors (processors, SOCs)
>> * platform_vendors: A collection of platform vendors (servers, laptops, boards, etc.)
>> * processors: A collection of processors used on tested platforms
>> * system_modules: A collection of system modules (SoMs, SiPs)
>> * platforms: A collection of platforms tested in labs
> 
> I think it would also make sense to add revisions in.
> 
> If you look at LAVA, you can see the messiness of not having revisions
> https://gitlab.com/lava/lava/-/tree/master/etc/dispatcher-config/device-types?ref_type=heads

I added version to the schema and example -- please review (committed at 
the same URLs above).

Minas

> 
> Ben
> 
>>
>> Regards,
>> Minas.
>>


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-11-13 12:53 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-08 21:20 Hardware registry schema proposal Hambardzumyan, Minas
2025-10-09  8:19 ` Ben Copeland
2025-11-13 12:53   ` Minas Hambardzumyan
2025-10-09  9:58 ` Jan Lübbe
2025-10-13 21:01   ` Minas Hambardzumyan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox