RE: [PATCH] eal: add support for TRNG with Arm RNG feature

2024-07-27 Thread Wathsala Wathawana Vithanage
Hi Mattias, > > The primary goal of this patch is to provide a direct interface to HW, > > instead of letting kernel handle it. This is not an API just for Arm > > CPUs, as other vendors also have similar HW features. For instance, > > Intel and AMD has support for x86 RDRAND and RDSEED instructio

Re: [PATCH] eal: add support for TRNG with Arm RNG feature

2024-07-27 Thread Stephen Hemminger
On Sat, 27 Jul 2024 15:45:55 + Wathsala Wathawana Vithanage wrote: > Hi Mattias, > > > > The primary goal of this patch is to provide a direct interface to HW, > > > instead of letting kernel handle it. This is not an API just for Arm > > > CPUs, as other vendors also have similar HW feature

Re: [PATCH] eal: add support for TRNG with Arm RNG feature

2024-07-27 Thread Mattias Rönnblom
On 2024-07-27 17:45, Wathsala Wathawana Vithanage wrote: Hi Mattias, The primary goal of this patch is to provide a direct interface to HW, instead of letting kernel handle it. This is not an API just for Arm CPUs, as other vendors also have similar HW features. For instance, Intel and AMD has

RE: [PATCH v1 1/4] power: refactor core power management library

2024-07-27 Thread Tummala, Sivaprasad
[AMD Official Use Only - AMD Internal Distribution Only] Hi Dave, From: Hunt, David Sent: Tuesday, July 23, 2024 3:34 PM To: Tummala, Sivaprasad ; anatoly.bura...@intel.com; jer...@marvell.com; lihuis...@huawei.com; david.march...@redhat.com; Yigit, Ferruh ; konstantin.anan...@huawei.com Cc:

RE: [PATCH v1 3/4] test/power: removed function pointer validations

2024-07-27 Thread Tummala, Sivaprasad
[AMD Official Use Only - AMD Internal Distribution Only] Hi Dave, Inline.. From: Hunt, David Sent: Monday, July 22, 2024 4:20 PM To: Tummala, Sivaprasad ; anatoly.bura...@intel.com; jer...@marvell.com; lihuis...@huawei.com; david.march...@redhat.com; Yigit, Ferruh ; konstantin.anan...@huawei

RE: [PATCH v1 4/4] power/amd_uncore: uncore power management support for AMD EPYC processors

2024-07-27 Thread Tummala, Sivaprasad
[AMD Official Use Only - AMD Internal Distribution Only] Hi Dave, > -Original Message- > From: Hunt, David > Sent: Tuesday, July 23, 2024 4:03 PM > To: Tummala, Sivaprasad ; > anatoly.bura...@intel.com; jer...@marvell.com; lihuis...@huawei.com; > david.march...@redhat.com; Yigit, Ferruh

RE: [PATCH] eal: add support for TRNG with Arm RNG feature

2024-07-27 Thread Wathsala Wathawana Vithanage
> -Original Message- > From: Stephen Hemminger > Sent: Saturday, July 27, 2024 10:54 AM > To: Wathsala Wathawana Vithanage > Cc: Mattias Rönnblom ; Shunzhi Wen > ; tho...@monjalon.net; Mattias Rönnblom > ; Ruifeng Wang > ; Bruce Richardson ; > Tyler Retzlaff ; Min Zhou > ; David Christe

RE: [PATCH] eal: add support for TRNG with Arm RNG feature

2024-07-27 Thread Wathsala Wathawana Vithanage
> If your patch are to have non-zero chance of being accepted, it should include > a base implementation based on getrandom() (and the Windows equivalent), > with the proper optimizations (e.g., batching entropy requests to the kernel > on a per-lcore basis). > > You would also need to provide a r

Re: [PATCH] eal: add support for TRNG with Arm RNG feature

2024-07-27 Thread Stephen Hemminger
On Sat, 27 Jul 2024 22:27:05 + Wathsala Wathawana Vithanage wrote: > > The answer is to have API's like (rte_csrand) which then call the OS level > > primitives. The trust is then passed to the OS. I trust Linus, Theo de > > Raadt, and > > the rest of the open OS community to evaluate and in