[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <c4776494-f13a-4268-8fbb-b50e6981f5d1@zhaoxin.com>
Date: Tue, 5 Dec 2023 11:47:52 +0800
From: LeoLiu-oc <leoliu-oc@...oxin.com>
To: Herbert Xu <herbert@...dor.apana.org.au>
CC: <olivia@...enic.com>, <martin@...ser.cx>,
<jiajie.ho@...rfivetech.com>, <jenny.zhang@...rfivetech.com>,
<mmyangfl@...il.com>, <robh@...nel.org>,
<linux-kernel@...r.kernel.org>, <linux-crypto@...r.kernel.org>,
<x86@...r.kernel.org>, <CobeChen@...oxin.com>,
<TonyWWang@...oxin.com>, <YunShen@...oxin.com>,
<LeoLiu@...oxin.com>
Subject: Re: [PATCH v2] hwrng: add Zhaoxin rng driver base on rep_xstore
instruction
在 2023/12/1 17:34, Herbert Xu 写道:
> On Tue, Nov 21, 2023 at 11:29:39AM +0800, LeoLiu-oc wrote:
>>
>> +static const struct x86_cpu_id via_rng_cpu_ids[] = {
>> + X86_MATCH_VENDOR_FAM_FEATURE(CENTAUR, 6, X86_FEATURE_XSTORE, NULL),
>> + {}
>> +};
>> +MODULE_DEVICE_TABLE(x86cpu, via_rng_cpu_ids);
>
> Rather than moving the whole thing, just add this near the start
> of the file:
>
> static const struct x86_cpu_id via_rng_cpu_ids[];
>
> Cheers,
Thank you for your suggestions. Will make modifications in the next
version as suggested.
Sincerely,
Leoliu-oc
Powered by blists - more mailing lists