lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <0812c44f777d4026b79df2e3698294be@sphcmbx02.sunplus.com.tw>
Date:   Tue, 28 Dec 2021 08:45:21 +0000
From:   Edwin Chiu 邱垂峰 <edwin.chiu@...plus.com>
To:     Sudeep Holla <sudeep.holla@....com>,
        Edwin Chiu <edwinchiu0505tw@...il.com>
CC:     "robh+dt@...nel.org" <robh+dt@...nel.org>,
        "devicetree@...r.kernel.org" <devicetree@...r.kernel.org>,
        "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
        "rafael@...nel.org" <rafael@...nel.org>,
        "daniel.lezcano@...aro.org" <daniel.lezcano@...aro.org>,
        "linux-pm@...r.kernel.org" <linux-pm@...r.kernel.org>
Subject: RE: [PATCH v2 2/2] cpuidle:sunplus:create cpuidle driver for sunplus
 sp7021

Hi Sudeep and Daniel:

Thanks your response.
My CPU is arm CA7 that is 32bits cpu.
If I directly used cpuidle-arm.c function with enable "Generic ARM/ARM64 CPU idle Driver",
the cpuidle driver mount fail with "unsupported enable-method property".

This is due to linux kernel no invoke CPUIDLE_METHOD_OF_DECLARE for arm 32bits cpu.
There have no define cpuidle_ops.init and cpuidle_ops.suspend function for arm 32bits cpu too.

So I create cpuidle-sunplus.c to execute my cpuidle function.
Please correct me if I got mistake.


邱垂峰 EdwinChiu
智能運算專案
T: +886-3-5786005 ext.2590
edwin.chiu@...plus.com
300 新竹科學園區創新一路19號

> -----Original Message-----
> From: Sudeep Holla <sudeep.holla@....com>
> Sent: Monday, December 20, 2021 8:11 PM
> To: Edwin Chiu <edwinchiu0505tw@...il.com>
> Cc: robh+dt@...nel.org; Edwin Chiu 邱垂峰 <edwin.chiu@...plus.com>; devicetree@...r.kernel.org;
> linux-kernel@...r.kernel.org; rafael@...nel.org; Sudeep Holla <sudeep.holla@....com>;
> daniel.lezcano@...aro.org; linux-pm@...r.kernel.org
> Subject: Re: [PATCH v2 2/2] cpuidle:sunplus:create cpuidle driver for sunplus sp7021
> 
> On Mon, Dec 20, 2021 at 01:37:32PM +0800, Edwin Chiu wrote:
> > Create cpuidle driver for sunplus sp7021 chip
> >
> 
> Based on the driver here, I couldn't understand why you can't make use of existing cpuidle-arm.c driver
> 
> --
> Regards,
> Sudeep

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ